Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restraintd crashes when fetching git repository with https url #22

Open
mrniranjan opened this issue Sep 30, 2014 · 0 comments
Open

restraintd crashes when fetching git repository with https url #22

mrniranjan opened this issue Sep 30, 2014 · 0 comments

Comments

@mrniranjan
Copy link

Version:restraint-0.1.17-2.fc20.x86_64
OS: Fedora 20

Steps to reproduce:

  1. Create an job xml as below:
<?xml version="1.0"?>
<job>
  <recipeSet>
   <recipe role="MASTER" id="1">
    <task name="/CoreOS/dogtag/mniranja-test1">
        <params>
            <param name="QUICKINSTALL" value="TRUE"/>
            <param name="USER_SHOW_CA" value="TRUE"/>
            <param name="CERT_SHOW_CA" value="TRUE"/>
            <param name="KEY_SHOW_KRA" value="TRUE"/>
        </params>
        <fetch url="https://git.fedorahosted.org/cgit/pki.git/snapshot/pki-master.tar.gz#pki-master/tests/dogtag"/>
    </task>
   </recipe>
  </recipeSet>
</job>
  1. Start restraintd on remote server
  2. Run restraint --remote http://dhcp207-176.lab.eng.pnq.redhat.com:8081 --job rhcs.xml
  3. On Restraintd server , restraintd crashes:
[root@dhcp207-176 ~]# systemctl status restraintd
restraintd.service - The restraint harness.
   Loaded: loaded (/usr/lib/systemd/system/restraintd.service; enabled)
   Active: failed (Result: core-dump) since Tue 2014-09-30 18:36:02 EDT; 17s ago
  Process: 2193 ExecStart=/usr/bin/restraintd (code=dumped, signal=SEGV)
  Process: 2190 ExecStartPre=/usr/bin/check_beaker (code=exited, status=0/SUCCESS)
 Main PID: 2193 (code=dumped, signal=SEGV)```

```Sep 30 18:35:25 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: ** ERROR: (null)
Sep 30 18:35:25 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: ** Completed Task : 1
Sep 30 18:35:25 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: ** Message: Aborted task 1 due to error: (null)
Sep 30 18:35:25 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: * Finished recipe
Sep 30 18:36:02 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: * Fetching recipe: http://10.65.207.230:39851/recipes/3/
Sep 30 18:36:02 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: * Parsing recipe
Sep 30 18:36:02 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: * Running recipe
Sep 30 18:36:02 dhcp207-176.lab.eng.pnq.redhat.com restraintd[2193]: ** Fetching task: 1 [/mnt/tests/git.fedorahosted.org/cgit/pki.git/snapshot/pki-master.tar.gz/pki-master/tests/dogtag]
Sep 30 18:36:02 dhcp207-176.lab.eng.pnq.redhat.com systemd[1]: restraintd.service: main process exited, code=dumped, status=11/SEGV
Sep 30 18:36:02 dhcp207-176.lab.eng.pnq.redhat.com systemd[1]: Unit restraintd.service entered failed state.```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant