CI: dlrn build fails to build instack-undercloud because it doesn't have setup.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Bug appears in a lot of gate jobs:
DEBUG: Unsharing. Flags: 134217728
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/
+ umask 022
+ cd /builddir/
+ cd /builddir/
+ rm -rf instack-
+ /usr/bin/gzip -dc /builddir/
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd instack-
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git add .
+ /usr/bin/git commit -q -a --author 'rpm-build <rpm-build>' -m 'instack-
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/
+ umask 022
+ cd /builddir/
+ cd instack-
+ /usr/bin/python2 setup.py build
/usr/bin/python2: can't open file 'setup.py': [Errno 2] No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/
Bad exit status from /var/tmp/
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/
result = func(*args, **kw)
File "/usr/lib/
raise exception.
Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/
root cause has to be https:/ /review. openstack. org/#/c/ 613621/ instack-undercloud was removed.