stackviz failing on stable jobs with py3.5 while installation

Bug #1863161 reported by Ghanshyam Mann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackViz
Fix Released
Undecided
Unassigned
devstack
Fix Released
Undecided
Unassigned
tempest
Invalid
Undecided
Ghanshyam Mann

Bug Description

2020-02-13 17:39:57.674398 | controller | skipping: Conditional result was False
2020-02-13 17:39:57.734961 |
2020-02-13 17:39:57.735297 | TASK [process-stackviz : Check if stackviz archive exists]
2020-02-13 17:39:59.275797 | controller | ok
2020-02-13 17:39:59.325503 |
2020-02-13 17:39:59.325838 | TASK [process-stackviz : debug]
2020-02-13 17:39:59.374087 | controller | skipping: Conditional result was False
2020-02-13 17:39:59.423977 |
2020-02-13 17:39:59.424585 | TASK [process-stackviz : Check if subunit data exists]
2020-02-13 17:40:00.244105 | controller | ok
2020-02-13 17:40:00.301313 |
2020-02-13 17:40:00.301641 | TASK [process-stackviz : debug]
2020-02-13 17:40:00.389089 | controller | skipping: Conditional result was False
2020-02-13 17:40:00.453978 |
2020-02-13 17:40:00.454359 | TASK [process-stackviz : Install stackviz]
2020-02-13 17:40:13.168313 | controller | ERROR
2020-02-13 17:40:13.168986 | controller | {
2020-02-13 17:40:13.169105 | controller | "msg": "stdout: Using base prefix '/usr'\nNew python executable in /tmp/stackviz/bin/python3\nAlso creating executable in /tmp/stackviz/bin/python\nInstalling setuptools, pip, wheel...done.\nRunning virtualenv with interpreter /usr/bin/python3\nLooking in indexes: http://mirror.gra1.ovh.openstack.org/pypi/simple, http://mirror.gra1.ovh.openstack.org/wheel/ubuntu-16.04-x86_64\nProcessing /opt/cache/files/stackviz-latest.tar.gz\n\n:stderr: ERROR: Package 'stackviz' requires a different Python: 3.5.2 not in '>=3.6'\n"
2020-02-13 17:40:13.169215 | controller | }

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :
affects: openstack-gate → stackviz
Changed in stackviz:
status: New → Fix Committed
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

we need to wait for periodic job periodic-package-stackviz-element to publish the latest tarball on https://tarballs.openstack.org/stackviz/dist/.

Meanwhile let's not fail job on stackviz failure.

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

Fix proposed to branch: master
Review: https://review.opendev.org/707720

Changed in tempest:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
status: New → In Progress
Revision history for this message
Martin Kopec (mkopec) wrote :

Is this still needed as python3.5 has been dropped?

Revision history for this message
Martin Kopec (mkopec) wrote :

notes from IRC meeting:

gmann: stackviz is fixed for py3.5 but i think i had Tempest patch also not to fail job for any failure in stackviz. i will check if that is not merged yet.
py 3.5 is dropped form Tempest but we restored its support in stackviz as rocky job still use py3.5 on their xenial node. so till rocky is EOl we can keep supporting it. pinning stackviz is too complex

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Ghanshyam Mann (<email address hidden>) on branch: master
Review: https://review.opendev.org/707720

Revision history for this message
Martin Kopec (mkopec) wrote :

https://review.opendev.org/707720 got abandoned as it will be taken care of in devstack as stackviz role is moved to devstack - https://review.opendev.org/#/c/761246/

Martin Kopec (mkopec)
Changed in stackviz:
status: Fix Committed → Fix Released
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

stackviz role is moved form temepst to devstack

Changed in tempest:
status: In Progress → Invalid
Revision history for this message
Martin Kopec (mkopec) wrote :

Fixed in master and the stable branches (train is pending for gates, but it's already approved):
https://review.opendev.org/q/Ifee04f28ecee52e74803f1623aba5cfe5ee5ec90

Changed in devstack:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/train)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/785547
Committed: https://opendev.org/openstack/devstack/commit/16da65c30272b45bf6e138adb68d3cfcf80813e6
Submitter: "Zuul (22348)"
Branch: stable/train

commit 16da65c30272b45bf6e138adb68d3cfcf80813e6
Author: Ghanshyam Mann <email address hidden>
Date: Thu Apr 8 11:03:37 2021 -0500

    Make stackviz tasks not to fail jobs

    Due to issue on stckviz side, job start
    failing with POST_FAILURE. If we fix the
    issue still we need to wait for periodic job
    periodic-package-stackviz-element to publish
    the latest tarball on https://tarballs.openstack.org/stackviz/dist/.

    Let's not fail the job for any issue occur during
    stackviz processing.

    Closes-Bug: 1863161
    Depends-On: https://review.opendev.org/c/openstack/grenade/+/785767

    Change-Id: Ifee04f28ecee52e74803f1623aba5cfe5ee5ec90
    (cherry picked from commit 580fec54c3a970de80ab66b3decca69704ff1179)
    (cherry picked from commit 800eb4dd446f93734d420005f93d0dcb88564dd4)
    (cherry picked from commit 3b2feba2ef6a08f639b36bfe995705ec3a785ff8)
    (cherry picked from commit 4f9c1e084c8d762c873549e8fc9524d6ee24f1c1)

tags: added: in-stable-train
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.