CENGN build failure due to updated more-itertools module

Bug #1859642 reported by Don Penney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Critical
Don Penney

Bug Description

Brief Description
-----------------
A recent update to the more-itertools python module causes a failure in the CENGN build in the STX_BUILD_container_setup job:

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/

Severity
--------
Critical

Reproducibility
---------------
Reproducible

Branch/Pull Time/Commit
-----------------------
First build failure seen with Jan 11, 2020, master build

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

Reviewed: https://review.opendev.org/702471
Committed: https://git.openstack.org/cgit/starlingx/tools/commit/?id=12c3dc47720bc8d011a746faf42b824caac8faa6
Submitter: Zuul
Branch: master

commit 12c3dc47720bc8d011a746faf42b824caac8faa6
Author: Don Penney <email address hidden>
Date: Tue Jan 14 11:20:50 2020 -0500

    Constrain more-itertools for build failure

    A recent update to the more-itertools python module causes a failure
    in the STX_BUILD_container_setup CENGN build job. This module dropped
    python-2.7 support after its 5.0.0 release. The newest update causes a
    failure due to code that does not work with 2.7.

    This commit adds a builder-constraints.txt file that the Dockerfile
    passes to the pip install command to constrain module versions during
    setup of the build container, allowing us to constrain the
    more-itertools version to 5.0.0, the last version to officially
    support python 2.7.

    Change-Id: I3432c204ecd7c4ddedd8a7dea14216d4ec31e0aa
    Closes-Bug: 1859642
    Signed-off-by: Don Penney <email address hidden>

Changed in starlingx:
status: New → Fix Released
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking for stx.2.0 & stx.3.0 given this will cause builds to fail / Critical priority.

@Don, Please cherry-pick to the release branches at your earliest convenience.

Changed in starlingx:
importance: Undecided → Critical
assignee: nobody → Don Penney (dpenney)
tags: added: stx.2.0 stx.3.0 stx.4.0 stx.build
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (r/stx.3.0)

Fix proposed to branch: r/stx.3.0
Review: https://review.opendev.org/702947

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (r/stx.2.0)

Fix proposed to branch: r/stx.2.0
Review: https://review.opendev.org/702948

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (r/stx.3.0)

Reviewed: https://review.opendev.org/702947
Committed: https://git.openstack.org/cgit/starlingx/tools/commit/?id=7b095f365e33a6d68d524501cd953eb04df312b1
Submitter: Zuul
Branch: r/stx.3.0

commit 7b095f365e33a6d68d524501cd953eb04df312b1
Author: Don Penney <email address hidden>
Date: Tue Jan 14 11:20:50 2020 -0500

    Constrain more-itertools for build failure

    A recent update to the more-itertools python module causes a failure
    in the STX_BUILD_container_setup CENGN build job. This module dropped
    python-2.7 support after its 5.0.0 release. The newest update causes a
    failure due to code that does not work with 2.7.

    This commit adds a builder-constraints.txt file that the Dockerfile
    passes to the pip install command to constrain module versions during
    setup of the build container, allowing us to constrain the
    more-itertools version to 5.0.0, the last version to officially
    support python 2.7.

    Change-Id: I3432c204ecd7c4ddedd8a7dea14216d4ec31e0aa
    Closes-Bug: 1859642
    Signed-off-by: Don Penney <email address hidden>
    (cherry picked from commit 12c3dc47720bc8d011a746faf42b824caac8faa6)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (r/stx.2.0)

Reviewed: https://review.opendev.org/702948
Committed: https://git.openstack.org/cgit/starlingx/tools/commit/?id=997443e7548b7a30a632f66b3597979a0a4c5da8
Submitter: Zuul
Branch: r/stx.2.0

commit 997443e7548b7a30a632f66b3597979a0a4c5da8
Author: Don Penney <email address hidden>
Date: Tue Jan 14 11:20:50 2020 -0500

    Constrain more-itertools for build failure

    A recent update to the more-itertools python module causes a failure
    in the STX_BUILD_container_setup CENGN build job. This module dropped
    python-2.7 support after its 5.0.0 release. The newest update causes a
    failure due to code that does not work with 2.7.

    This commit adds a builder-constraints.txt file that the Dockerfile
    passes to the pip install command to constrain module versions during
    setup of the build container, allowing us to constrain the
    more-itertools version to 5.0.0, the last version to officially
    support python 2.7.

    Change-Id: I3432c204ecd7c4ddedd8a7dea14216d4ec31e0aa
    Closes-Bug: 1859642
    Signed-off-by: Don Penney <email address hidden>
    (cherry picked from commit 12c3dc47720bc8d011a746faf42b824caac8faa6)

Ghada Khalil (gkhalil)
tags: added: in-r-stx20 in-r-stx30
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (f/centos8)

Fix proposed to branch: f/centos8
Review: https://review.opendev.org/705825

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (f/centos8)
Download full text (8.1 KiB)

Reviewed: https://review.opendev.org/705825
Committed: https://git.openstack.org/cgit/starlingx/tools/commit/?id=43144cbe58278d8a0857cc0fd55df2b6bb921a15
Submitter: Zuul
Branch: f/centos8

commit a3f18007ccad266810d5b02fffe51b7ef3b2463c
Author: Shuicheng Lin <email address hidden>
Date: Sun Jan 19 19:14:55 2020 +0800

    Add Kata Container support

    The patch is based on 431885231ae41256188a7c32f0f5351c4455707b
    And is updated with kata 1.10 repo and 1.10.0-4.1 rpms.

    1. add kata container 1.10 stable repo with kata 1.10.0-4.1 rpms.
       kata-runtime is the main rpm, and other rpms including qemu
       are the rpms required by kata-runtime.
    2. upgrade containerd to 1.3.0
       To support kata container, kubernetes need switch runtime from
       dockershim to containerd. And need use containered with 1.3.0
       in order to support secure private registry.
    3. add crictl as the CLI for containerd.

    Story: 2006145
    Task: 36744
    Task: 36745
    Task: 36746

    Change-Id: I932e0dde0a0b48257e4acd17d6550f9ec5029555
    Signed-off-by: Shuicheng Lin <email address hidden>

commit 0011f51e91a9b98ef4c0150fc0ce608e022deb45
Author: Kristal Dale <email address hidden>
Date: Fri Jan 17 14:18:30 2020 -0800

    Update landing pages for docs and release notes:

    - Use updated project name in titles/text
    - Correct text for link to Storyboard (docs)
    - Correct capitalization in section headings
    - Correct formatting for section headings

    Change-Id: Id116b27f333e038802a706fadb47484e68f837d8
    Signed-off-by: Kristal Dale <email address hidden>

commit ac3e6bfe4aa956816a58cbe13a362e0116776d1f
Author: Saul Wold <email address hidden>
Date: Thu Jan 16 09:59:27 2020 -0800

    ibsh: remove tarball no longer used by cgcs-users

    The cgcs-users package provides a restricted shell ibsh (Iron Bars SHell)
    that is no longer being referenced in StarlingX, so we can remove this
    tarball from the download list.

    Story: 2007102
    Task: 38148
    Depends-On: https://review.opendev.org/702939
    Change-Id: I6e1a25e7318eb3e26150e916335d58c2b60a8f67
    Signed-off-by: Saul Wold <email address hidden>

commit 896fa6b227929bb0b9b28e2a2ca7ead7060963c0
Author: Don Penney <email address hidden>
Date: Wed Jan 15 23:48:42 2020 -0500

    Drop python-smartpm from tarball-dl.lst

    As python-smartpm is no longer required, it can now be dropped from
    the tarball-dl.lst file.

    Depends-On: https://review.opendev.org/702791
    Change-Id: Ifc0a413688151ebb68a71b83a23adb888d1ece08
    Story: 2006227
    Task: 38138
    Signed-off-by: Don Penney <email address hidden>

commit 83709a0a384f92e7042bb9f01e7b52b8a4ba738a
Author: Don Penney <email address hidden>
Date: Tue Jan 14 20:38:59 2020 +0000

    Revert "Add Kata Container support"

    This reverts commit 431885231ae41256188a7c32f0f5351c4455707b.

    Reverting due to https://bugs.launchpad.net/starlingx/+bug/1859686

    Change-Id: Id86981d6b854f5f6f42b99e094b789af263105b7

commit 12c3dc47720bc8d011a746faf42b824caac8faa6
Author: Don Penney <email address hidden>
Date: Tue...

Read more...

tags: added: in-f-centos8
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.