tempest 'all-plugins' stop working for in-tree plugins using master Tempest

Bug #1880217 reported by Ghanshyam Mann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-bgpvpn
In Progress
Undecided
Ghanshyam Mann
tempest
Invalid
Undecided
Ghanshyam Mann

Bug Description

If you are running test wth in-tree tempest plugin (for some of stable branches) then python2 jobs 'all-plugins' tox env would not work anymore and end up failing the job.

Example: https://zuul.opendev.org/t/openstack/build/7d3f36f464bb4642bb1647f4b0b8e91f/log/job-output.txt#2375

For in-tree plugins (which were before queens cycle when we separated all the tempest plugins into separate repo but few are still left), 'all-plugins' tox env which is supposed to detect the system wide installed plugins will not work now for python2.7 jobs. Temepst venv is installed with py3 and so 'all-plugins' no longer detect the tempest plugins installed as python2.7 site-packages.

We can fix it in two ways:
1. Install in-tree plugins as one of the Tempest plugin using TEMPEST_PLUGINS var so that it get installed in Tempest venv. && run the test using the 'all' tox env instead of 'all-plugins'.

2. Separate the in-tree tempest plugins or backport the same to stable branch if already done in master. - https://governance.openstack.org/tc/goals/selected/queens/split-tempest-plugins.html

First options is easy one if you want to avoid big backport.

Changed in tempest:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
status: New → Triaged
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

nothing to do on tempest side so marking as invalid. fix is on job side.

Changed in tempest:
status: Triaged → Invalid
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :
Changed in bgpvpn:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-bgpvpn (stable/stein)

Reviewed: https://review.opendev.org/730379
Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=0e0ee5a8e7ef0271764f2e7cfa9b2411fdaf34da
Submitter: Zuul
Branch: stable/stein

commit 0e0ee5a8e7ef0271764f2e7cfa9b2411fdaf34da
Author: Ghanshyam Mann <email address hidden>
Date: Fri May 22 12:15:49 2020 -0500

    Use tox 'all' env instead of 'all-plugins' for networking bgpvpn tempest plugin

    networking bgpvpn tempest plugin is in-tree plugin till stein and
    used to be run with all-plugins tox env which does not work now for
    python2.7 jobs. Temepst venv is installed with py3 and all-plugins
    no longer detect the system wide installed tempest plugins.

    This commit makes to installed networking bgpvpn as tempest plugins so
    that Tempest venv can detect it and run tests with 'all' tox env.

    Closes-Bug: #1880217

    Depends-On: https://review.opendev.org/#/c/730378/
    Change-Id: Ia281acb40eac38db88c495cbf2ded322a204a0f5

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-bgpvpn stein-eol

This issue was fixed in the openstack/networking-bgpvpn stein-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.