I’ve posted https://review.opendev.org/702471 to resolve the build failure, constraining more-itertools to the last version that officially supports python 2.7.

 

 

From: Scott Little [mailto:scott.little@windriver.com]
Sent: Tuesday, January 14, 2020 10:06 AM
To: starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] [build-report] STX_BUILD_container_setup - Build # 636 - Failure!

 

Container setup failed on this command.

 

stx-tools/Dockerfile ...

 

RUN pip install python-subunit junitxml --upgrade && \
    pip install tox --upgrade

 

resulting in ...

00:00:52.319   Downloading https://files.pythonhosted.org/packages/df/8c/c278395367a46c00d28036143fdc6583db8f98622b83875403f16473509b/more-itertools-8.1.0.tar.gz (78kB)
00:00:52.485     Complete output from command python setup.py egg_info:
00:00:52.485     Traceback (most recent call last):
00:00:52.485       File "<string>", line 1, in <module>
00:00:52.485       File "/tmp/pip-build-ixeFen/more-itertools/setup.py", line 5, in <module>
00:00:52.485         from more_itertools import __version__
00:00:52.485       File "more_itertools/__init__.py", line 1, in <module>
00:00:52.485         from .more import *  # noqa
00:00:52.485       File "more_itertools/more.py", line 480
00:00:52.485         yield from iterable
00:00:52.485                  ^
00:00:52.485     SyntaxError: invalid syntax
00:00:52.485     
00:00:52.485     ----------------------------------------
00:00:52.517 [91mCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ixeFen/more-itertools/
00:00:52.517 [0m[91mYou are using pip version 8.1.2, however version 19.3.1 is available.

We haven't changed the dockerfile.  Something has changed upstream at pypi.  Has anyone else observed this?

 

Scott

 

 

 

 

On 2020-01-13 7:02 p.m., build.starlingx@gmail.com wrote:

Project: STX_BUILD_container_setup
Build #: 636
Status: Failure
Timestamp: 20200114T000124Z
 
Check logs at:
http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/20200114T000000Z/logs
--------------------------------------------------------------------------------
Parameters
 
PROJECT: master
MY_WORKSPACE: /localdisk/loadbuild/jenkins/master/20200114T000000Z
DOCKER_BUILD_ID: jenkins-master-20200114T000000Z-builder
PUBLISH_LOGS_URL: http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/20200114T000000Z/logs
DOCKER_BUILD_TAG: master-20200114T000000Z-builder-image
PUBLISH_LOGS_BASE: /export/mirror/starlingx/master/centos/20200114T000000Z/logs
MY_REPO_ROOT: /localdisk/designer/jenkins/master



_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss@lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss