stx-tools: Dockerfile build fails (pyparsing)

Bug #1948697 reported by Davlet Panech
6
This bug affects 1 person
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 "pyparsing".

This likely affects all branches.

Severity
--------
Critical

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-10-24

Last Pass
---------
master/2021-10-22

Timestamp/Logs
--------------
00:36:29 Step 28/52 : RUN pip install -c /home/$MYUNAME/builder-constraints.txt pbr==5.6.0 --upgrade && pip install -c /home/$MYUNAME/builder-constraints.txt git-review==2.1.0 --upgrade && pip install -c /home/$MYUNAME/builder-constraints.txt python-subunit==1.4.0 junitxml==0.7 testtools==2.4.0 --upgrade && pip install -c /home/$MYUNAME/builder-constraints.txt tox==3.23.0 --upgrade
[...]
00:36:45 Collecting pyparsing>=2.0.2 (from packaging>=14->tox==3.23.0)
00:36:45 Downloading https://files.pythonhosted.org/packages/31/c9/b29ea153b9bffaae787ecc81873b4b51bd36cc13c37586b41891beae37eb/pyparsing-3.0.1.tar.gz (876kB)
00:36:46 Complete output from command python setup.py egg_info:
00:36:46 Traceback (most recent call last):
00:36:46 File "<string>", line 1, in <module>
00:36:46 File "/tmp/pip-build-Pmo8SM/pyparsing/setup.py", line 8, in <module>
00:36:46 from pyparsing import __version__ as pyparsing_version
00:36:46 File "pyparsing/__init__.py", line 112, in <module>
00:36:46 from .util import *
00:36:46 File "pyparsing/util.py", line 16
00:36:46 _all_names: List[str] = []
00:36:46 ^
00:36:46 SyntaxError: invalid syntax
00:36:46

Test Activity
-------------
N/A

Workaround
----------
None

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/tools/+/815346

Changed in starlingx:
status: New → In Progress
Davlet Panech (dpanech)
Changed in starlingx:
assignee: nobody → Davlet Panech (dpanech)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/815346
Committed: https://opendev.org/starlingx/tools/commit/4b13662f54ad81ff9433b68708a5914165c9c5c6
Submitter: "Zuul (22348)"
Branch: master

commit 4b13662f54ad81ff9433b68708a5914165c9c5c6
Author: Davlet Panech <email address hidden>
Date: Mon Oct 25 11:32:15 2021 -0400

    Use pyparsing===2.4.7

    This is the last version that works with python 2.7

    Closes-Bug: 1948697
    Signed-off-by: Davlet Panech <email address hidden>
    Change-Id: Ib9660c1d43f261c091ae1cbf2ccf66f2c7073ce8

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.5.0 stx.6.0 stx.build
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.