← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1822575] [NEW] lower-constraints are not used in gate job

 

Public bug reported:

the lower constraints tox env attempts to run nova's unit tests with
the minium supported software versions declared in nova lower-constraints.txt

due to the way the install command is specified in the default tox env

install_command = pip install
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain
/upper-constraints.txt} {opts} {packages}

the upper-constraints.txt was also passed to pip.

pips constraint solver takes the first deffintion of a constraint and
discards all redfinitoins.

because upper-constraints.txt was included before lower-constraints.txt the lower constraints were
ignored.

there are two patchs proposed to fix this 
https://review.openstack.org/#/c/622972 and https://review.openstack.org/#/c/645392

we should merge one of them.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1822575

Title:
  lower-constraints are not used in gate job

Status in OpenStack Compute (nova):
  New

Bug description:
  the lower constraints tox env attempts to run nova's unit tests with
  the minium supported software versions declared in nova lower-constraints.txt

  due to the way the install command is specified in the default tox env

  install_command = pip install
  -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain
  /upper-constraints.txt} {opts} {packages}

  the upper-constraints.txt was also passed to pip.

  pips constraint solver takes the first deffintion of a constraint and
  discards all redfinitoins.

  because upper-constraints.txt was included before lower-constraints.txt the lower constraints were
  ignored.

  there are two patchs proposed to fix this 
  https://review.openstack.org/#/c/622972 and https://review.openstack.org/#/c/645392

  we should merge one of them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1822575/+subscriptions


Follow ups