Seeing shell command error in jenkins job: netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-gate-stateful-magnesium


Srinivas <srinivas.rachakonda@...>
 

Hi All,

 

We are seeing shell command errors while executing job:

https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-magnesium/

 

11:25:59     netifaces.c:1:20: fatal error: Python.h: No such file or directory

11:25:59      #include <Python.h>

11:25:59                         ^

11:25:59     compilation terminated.

11:25:59     error: command 'gcc' failed with exit status 1

11:25:59     ----------------------------------------

11:25:59 ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v4a40puj/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v4a40puj/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cjdw72tm/install-record.txt --single-version-externally-managed --compile --user --prefix= Check the logs for full command output.

11:25:59 Build step 'Execute shell' marked build as failure

 

Can anyone please look into the issue.

 

Thanks,

Srinivas

+91-9243478719

 


Anil Belur
 



On Mon, Sep 30, 2019, 11:16 Srinivas via Lists.Opendaylight.Org <srinivas.rachakonda=altencalsoftlabs.com@...> wrote:

Hi All,

 

We are seeing shell command errors while executing job:

https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-magnesium/

 

11:25:59     netifaces.c:1:20: fatal error: Python.h: No such file or directory

11:25:59      #include <Python.h>

11:25:59                         ^

11:25:59     compilation terminated.

11:25:59     error: command 'gcc' failed with exit status 1

11:25:59     ----------------------------------------

11:25:59 ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v4a40puj/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v4a40puj/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cjdw72tm/install-record.txt --single-version-externally-managed --compile --user --prefix= Check the logs for full command output.

11:25:59 Build step 'Execute shell' marked build as failure

 

Can anyone please look into the issue.


I see that the latest job is going through is this still and issue?