stx-tools: Dockerfile build fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Davlet Panech |
Bug Description
Brief Description
-----------------
Dockerfile in starlingx/tools fails to build due to compile errors in python package "testtools".
This hasn't affected CENGN builds yet because they use Docker cache that bypasses this step.
This likely affects all branches.
Severity
--------
Major
Steps to Reproduce
------------------
Clear docker cache and to build starlingx/tools Docker file
Expected Behavior
------------------
Build works
Actual Behavior
----------------
Build fails
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/2021-07-17
Last Pass
---------
Approx Jul 15 2021
Timestamp/Logs
--------------
docker build --build-arg MYUID=18876 --build-arg MYUNAME=jenkins --ulimit core=0 --network host --tag jenkins:
[...]
22:08:20 Step 1/42 : FROM centos:7.4.1708
22:08:20 ---> 9f266d35e02c
[...]
22:47:50 Step 16/42 : RUN cpanm --notest Fatal && cpanm --notest XML::SAX && cpanm --notest XML::SAX::Expat && cpanm --notest XML::Parser && cpanm --notest XML::Simple
[...]
22:48:03 [0mRemoving intermediate container 3060c1582917
22:48:08 ---> 8e86f758e3f3
22:48:08 Step 17/42 : RUN pip install -c /home/$
22:48:09 ---> Running in e16e19343e71
22:48:11 Collecting python-subunit
22:48:11 Downloading https:/
22:48:11 Collecting junitxml
22:48:11 Downloading https:/
22:48:12 Collecting testtools>=0.9.34 (from python-subunit)
22:48:12 Downloading https:/
22:48:12 Complete output from command python setup.py egg_info:
22:48:12 /usr/lib64/
22:48:12 warnings.warn(msg)
22:48:12 Traceback (most recent call last):
22:48:12 File "<string>", line 1, in <module>
22:48:12 File "/tmp/pip-
22:48:12 pbr=True)
22:48:12 File "/usr/lib64/
22:48:12 _setup_distribution = dist = klass(attrs)
22:48:12 File "/usr/lib/
22:48:12 _Distribution.
22:48:12 File "/usr/lib64/
22:48:12 self.finalize_
22:48:12 File "/usr/lib/
22:48:12 ep.load()(self, ep.name, value)
22:48:12 File "/usr/lib/
22:48:12 entry = __import_
22:48:12 File "/usr/lib/
22:48:12 from pbr import util
22:48:12 File "/usr/lib/
22:48:12 import pbr.hooks
22:48:12 File "/usr/lib/
22:48:12 from pbr.hooks import backwards
22:48:12 File "/usr/lib/
22:48:12 from pbr import packaging
22:48:12 File "/usr/lib/
22:48:12 from pbr import testr_command
22:48:12 File "/usr/lib/
22:48:12 from testrepository import commands
22:48:12 File "/usr/lib/
22:48:12 import subunit
22:48:12 File "/usr/lib/
22:48:12 from testtools import content, content_type, ExtendedToOrigi
22:48:12 File "testtools/
22:48:12 from testtools.runtest import (
22:48:12 File "testtools/
22:48:12 from testtools.
22:48:12 File "testtools/
22:48:12 from testtools.
22:48:12 File "testtools/
22:48:12 from testtools.content import (
22:48:12 File "testtools/
22:48:12 yield from _iter_chunks(
22:48:12 ^
22:48:12 SyntaxError: invalid syntax
22:48:12
22:48:12 -------
22:48:12 [91mCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-
22:48:12 [0m[91mYou are using pip version 8.1.2, however version 21.1.3 is available.
22:48:12 You should consider upgrading via the 'pip install --upgrade pip' command.
22:48:12 [0mThe command '/bin/sh -c pip install -c /home/$
Test Activity
-------------
N/A
Workaround
----------
None
tags: | added: stx.build |
Changed in starlingx: | |
importance: | Undecided → High |
assignee: | nobody → Davlet Panech (dpanech) |
tags: | added: stx.4.0 stx.5.0 stx.6.0 |
Changed in starlingx: | |
status: | In Progress → Fix Committed |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. opendev. org/c/starlingx /tools/ +/801344
Review: https:/