Comment 10 for bug 1999183

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to devstack (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/867071
Committed: https://opendev.org/openstack/devstack/commit/b11a403c37f9873cdaaa6afc31619ab72b0fd8c2
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit b11a403c37f9873cdaaa6afc31619ab72b0fd8c2
Author: Ghanshyam Mann <email address hidden>
Date: Thu Dec 8 20:24:46 2022 -0600

    Pin tox<4.0.0 for <=stable/zed branch testing

    Tox 4.0.0 has some incompatible changes, epecially more
    strict on allowlist_externals. Tempest recently changed
    allowlist_externals not to be *[1] causing the failure
    on jobs where lib/tempest failing to run the tempest
    as command in virtual env.

    ----------
    venv: commands[0]> tempest verify-config -uro /tmp/tmp.qH5KgJHTF4
    venv: failed with tempest is not allowed, use allowlist_externals to allow it
    ------

    We do not need to test/fix the <=stable/zed branches with tox 4.0.0
    and pinning them with the compatible tox version of the time stable
    brnaches were releaased is better way.

    This commit proposes:
    1. Pinning the tox<4.0.0 for <=stable/ze branches testing
    2. Workaround to unblock the master gate by pinning it <4.0.0 but
    we should make our testing compatible with tox 4.0.0 soon.

    Related-Bug: #1999183

    [1] https://review.opendev.org/c/openstack/tempest/+/865314 devstack based job started failing to run tempest command on venv.

    Change-Id: I9a138af94dedc0d8ce5a0d519d75779415d3c30b
    (cherry picked from commit ba54baa4253f2c770760b59a4a8f28317e5e260d)
    (cherry picked from commit a3227ba0c0a6b951b301e556f78e634e6ce9e770)
    (cherry picked from commit 395f44708506b30b29b35dd655dddd434bac9a08)
    (cherry picked from commit 02f286a80a478d662e079fe066d311e4cf7264d8)
    (cherry picked from commit 0a72476d895d925fdd37b4e42e2930b415b99d8f)
    (cherry picked from commit 02b6981f5121293840cb82cc06a28ba71b2ca28b)