Stable gates broken due os-log-merger not py3 compatible

Bug #1863220 reported by Maciej Jozefczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Critical
Unassigned

Bug Description

From today stable networking-ovn gates are failing on:

2020-02-13 12:28:42.507945 | primary | 2020-02-13 12:28:42.507 | + /opt/stack/new/networking-ovn/networking_ovn/tests/contrib/post_test_hook.sh:generate_log_index:L27: set +o xtrace
2020-02-13 12:28:42.509736 | primary | 2020-02-13 12:28:42.509 | Using base prefix '/usr'
2020-02-13 12:28:42.511381 | primary | 2020-02-13 12:28:42.510 | New python executable in /tmp/os-log-merger/bin/python3
2020-02-13 12:28:42.513031 | primary | 2020-02-13 12:28:42.512 | Also creating executable in /tmp/os-log-merger/bin/python
2020-02-13 12:28:42.514726 | primary | 2020-02-13 12:28:42.514 | Installing setuptools, pip, wheel...
2020-02-13 12:28:42.516314 | primary | 2020-02-13 12:28:42.515 | done.
2020-02-13 12:28:42.517940 | primary | 2020-02-13 12:28:42.517 | Looking in indexes: http://mirror.ord.rax.opendev.org/pypi/simple, http://mirror.ord.rax.opendev.org/wheel/ubuntu-18.04-x86_64
2020-02-13 12:28:42.519529 | primary | 2020-02-13 12:28:42.519 | Collecting os-log-merger==1.1.0
2020-02-13 12:28:42.521146 | primary | 2020-02-13 12:28:42.520 | Downloading http://mirror.ord.rax.opendev.org/pypifiles/packages/b9/ee/9f9f86c6f140030356a8f36200778a234748f91db1727dea8a6891612fbf/os-log-merger-1.1.0.tar.gz (18 kB)
2020-02-13 12:28:42.523541 | primary | 2020-02-13 12:28:42.523 | ERROR: Command errored out with exit status 1:
2020-02-13 12:28:42.525619 | primary | 2020-02-13 12:28:42.525 | command: /tmp/os-log-merger/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k9w1glh2/os-log-merger/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k9w1glh2/os-log-merger/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-k9w1glh2/os-log-merger/pip-egg-info
2020-02-13 12:28:42.527294 | primary | 2020-02-13 12:28:42.526 | cwd: /tmp/pip-install-k9w1glh2/os-log-merger/
2020-02-13 12:28:42.528917 | primary | 2020-02-13 12:28:42.528 | Complete output (7 lines):
2020-02-13 12:28:42.530618 | primary | 2020-02-13 12:28:42.530 | Traceback (most recent call last):
2020-02-13 12:28:42.532619 | primary | 2020-02-13 12:28:42.532 | File "<string>", line 1, in <module>
2020-02-13 12:28:42.534281 | primary | 2020-02-13 12:28:42.533 | File "/tmp/pip-install-k9w1glh2/os-log-merger/setup.py", line 4, in <module>
2020-02-13 12:28:42.536139 | primary | 2020-02-13 12:28:42.535 | from oslogmerger.oslogmerger import __version__
2020-02-13 12:28:42.537748 | primary | 2020-02-13 12:28:42.537 | File "/tmp/pip-install-k9w1glh2/os-log-merger/oslogmerger/oslogmerger.py", line 9, in <module>
2020-02-13 12:28:42.539608 | primary | 2020-02-13 12:28:42.539 | import urllib2
2020-02-13 12:28:42.541397 | primary | 2020-02-13 12:28:42.540 | ModuleNotFoundError: No module named 'urllib2'
2020-02-13 12:28:42.543137 | primary | 2020-02-13 12:28:42.542 | ----------------------------------------

Looks like from now the default venv started to be py3 os-log-merger is not py3 compatible.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/707820

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/stein)

Reviewed: https://review.opendev.org/707820
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=bfcc2a39b6979cb5e929055993423c2622a38611
Submitter: Zuul
Branch: stable/stein

commit bfcc2a39b6979cb5e929055993423c2622a38611
Author: Maciej Józefczyk <email address hidden>
Date: Fri Feb 14 12:27:29 2020 +0100

    Bump-up os-log-merger to latest version

    The virtualenv now is created with python3 by default.
    Because of it we need to bump os-log-merger to the
    version that supports py3.

    Change-Id: Ifc0f188122931bc89ae8f90096b4bcc7303ec080
    Closes-Bug: #1863220

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/708313

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/708314

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/708315

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/train)

Reviewed: https://review.opendev.org/708313
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=c2b413e5a720b15f05cc463f46d767140b545ddf
Submitter: Zuul
Branch: stable/train

commit c2b413e5a720b15f05cc463f46d767140b545ddf
Author: Maciej Józefczyk <email address hidden>
Date: Fri Feb 14 12:27:29 2020 +0100

    Bump-up os-log-merger to latest version

    The virtualenv now is created with python3 by default.
    Because of it we need to bump os-log-merger to the
    version that supports py3.

    Change-Id: Ifc0f188122931bc89ae8f90096b4bcc7303ec080
    Closes-Bug: #1863220
    (cherry picked from commit bfcc2a39b6979cb5e929055993423c2622a38611)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/queens)

Reviewed: https://review.opendev.org/708314
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=9f193e3ce1ab9c96a0913ace8c0bb70aad708b07
Submitter: Zuul
Branch: stable/queens

commit 9f193e3ce1ab9c96a0913ace8c0bb70aad708b07
Author: Maciej Józefczyk <email address hidden>
Date: Fri Feb 14 12:27:29 2020 +0100

    Bump-up os-log-merger to latest version

    The virtualenv now is created with python3 by default.
    Because of it we need to bump os-log-merger to the
    version that supports py3.

    Change-Id: Ifc0f188122931bc89ae8f90096b4bcc7303ec080
    Closes-Bug: #1863220
    (cherry picked from commit bfcc2a39b6979cb5e929055993423c2622a38611)

tags: added: in-stable-queens
tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/rocky)

Reviewed: https://review.opendev.org/708315
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=1cd71ab49e1c7b7e4dc3ae97c9037786ac1642ec
Submitter: Zuul
Branch: stable/rocky

commit 1cd71ab49e1c7b7e4dc3ae97c9037786ac1642ec
Author: Maciej Józefczyk <email address hidden>
Date: Fri Feb 14 12:27:29 2020 +0100

    Bump-up os-log-merger to latest version

    The virtualenv now is created with python3 by default.
    Because of it we need to bump os-log-merger to the
    version that supports py3.

    Change-Id: Ifc0f188122931bc89ae8f90096b4bcc7303ec080
    Closes-Bug: #1863220
    (cherry picked from commit bfcc2a39b6979cb5e929055993423c2622a38611)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 5.1.0

This issue was fixed in the openstack/networking-ovn 5.1.0 release.

Changed in networking-ovn:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn queens-eol

This issue was fixed in the openstack/networking-ovn queens-eol release.

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.