mockchain-parallel failes, missing python2-requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
Build failure seen on CENGN Starting June 5
Mockchain-parallel requires python2-requests, but it is not found.
Mockchain-parallel runs inside docker. the Dockerfile does not explicitly
list python2-requests as a requires package. The Dockerfile does list
mock, which used to resolve to mock-1.
python2-requests. Centos/EPEL upgraded to mock-1.
night, and it now pulls in python36-requests, rather than python2-requests.
Corrective options
1) Convert mockchain-parallel to python3 (better long term solution)
2) Add python2-requests to our Dockerfile. (the quick solution)
Severity
--------
Provide the severity of the defect.
Critical
Steps to Reproduce
------------------
1) create a new build container
2) run build-pkgs inside the new container
Expected Behavior
------------------
build-pkgs successfully invokes mockchain-parallel
Actual Behavior
----------------
build fails in a new container
Reproducibility
---------------
<Reproducible/
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
20190605T013000Z
Last Pass
---------
20190604T144018Z
Timestamp/Logs
--------------
02:23:45 Traceback (most recent call last):
02:23:45 File "/localdisk/
02:23:45 import requests
02:23:45 ImportError: No module named requests
02:23:45 dirname: missing operand
02:23:45 Try 'dirname --help' for more information.
02:23:45
02:23:45 Auditing for obsolete srpms
02:23:45 waiting for srpm audit to complete
02:23:45 Auditing for obsolete rpms
02:23:45 waiting for rpm audit to complete
02:23:45 Audit complete
02:23:45
02:23:45 ERROR: Failed to build rpms using 'nice -n 20 ionice -c Idle /bin/ionice mockchain-parallel ...
Test Activity
-------------
Build
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
Marking as release gating; critical as builds are failing on cengn