run_tests.sh should really use upper-constraints

Bug #1644697 reported by Richard Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Tony Breeds

Bug Description

We're starting to see lots of compatibility issues that will be solved if we have run_tests.sh support upper-constraints. This will not stop us from removing run_tests.sh in Queens, but will allow us avoid issues along the way and to test the changes now and backport to stable.

Changed in horizon:
status: New → Triaged
importance: Undecided → High
milestone: none → ocata-2
tags: added: newton-backport-potential
tags: added: mitaka-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/402291

Changed in horizon:
assignee: nobody → Tony Breeds (o-tony)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/402291
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a909ed26c2aa6daf2c5fc59a2f575a66cdddbfb5
Submitter: Jenkins
Branch: master

commit a909ed26c2aa6daf2c5fc59a2f575a66cdddbfb5
Author: Tony Breeds <email address hidden>
Date: Fri Nov 25 15:48:35 2016 +1100

    Add constraints support to run_tests.sh

    Currently developers need to manually build a constratined venv if they
    want to match the versions that are tested in the gate. This change
    adds logic to run_tests.sh and install_venv*.py to default to the same
    constraints file used in the gate.

    With constraints enabled the 'churn' in the environment should be
    minimised so remove the developer optimisation for detecting when
    packaged versions change and always just install/update. This has the
    down side of making the script preamble slightly longer but we always
    print_help() so I don't think it'll be terribly inconvenient.

    Change-Id: I9bf85adb5aa2c85d8c0f0f22ac9efe5cac3646c0
    Closes-Bug: 1644697

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/403812

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/403813

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/newton)

Reviewed: https://review.openstack.org/403813
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=18b637bb40fa938aed6645b3681410979b58e4a1
Submitter: Jenkins
Branch: stable/newton

commit 18b637bb40fa938aed6645b3681410979b58e4a1
Author: Tony Breeds <email address hidden>
Date: Fri Nov 25 15:48:35 2016 +1100

    Add constraints support to run_tests.sh

    Currently developers need to manually build a constratined venv if they
    want to match the versions that are tested in the gate. This change
    adds logic to run_tests.sh and install_venv*.py to default to the same
    constraints file used in the gate.

    With constraints enabled the 'churn' in the environment should be
    minimised so remove the developer optimisation for detecting when
    packaged versions change and always just install/update. This has the
    down side of making the script preamble slightly longer but we always
    print_help() so I don't think it'll be terribly inconvenient.

    Change-Id: I9bf85adb5aa2c85d8c0f0f22ac9efe5cac3646c0
    Closes-Bug: 1644697
    (cherry picked from commit a909ed26c2aa6daf2c5fc59a2f575a66cdddbfb5)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/mitaka)

Reviewed: https://review.openstack.org/403812
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0fc208fb48b54fdae3d2977db1bf7737bd2f0925
Submitter: Jenkins
Branch: stable/mitaka

commit 0fc208fb48b54fdae3d2977db1bf7737bd2f0925
Author: Tony Breeds <email address hidden>
Date: Fri Nov 25 15:48:35 2016 +1100

    Add constraints support to run_tests.sh

    Currently developers need to manually build a constratined venv if they
    want to match the versions that are tested in the gate. This change
    adds logic to run_tests.sh and install_venv*.py to default to the same
    constraints file used in the gate.

    With constraints enabled the 'churn' in the environment should be
    minimised so remove the developer optimisation for detecting when
    packaged versions change and always just install/update. This has the
    down side of making the script preamble slightly longer but we always
    print_help() so I don't think it'll be terribly inconvenient.

    Change-Id: I9bf85adb5aa2c85d8c0f0f22ac9efe5cac3646c0
    Closes-Bug: 1644697
    (cherry picked from commit a909ed26c2aa6daf2c5fc59a2f575a66cdddbfb5)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 9.1.1

This issue was fixed in the openstack/horizon 9.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.0.0b2

This issue was fixed in the openstack/horizon 11.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 10.0.2

This issue was fixed in the openstack/horizon 10.0.2 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.