← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1587239] [NEW] cover job is failing too frequently

 

Public bug reported:

this appears a lot in the cover job logs:

2016-05-31 03:10:56.236 | pkg_resources.ContextualVersionConflict: (amqp
2.0.0 (/home/jenkins/workspace/keystone-coverage-
db/.tox/cover/lib/python2.7/site-packages),
Requirement.parse('amqp<2.0,>=1.4.9'), set(['kombu']))

Looking at the logs, this was installed:

2016-05-31 03:10:47.259 | cover installed: amqp==2.0.0,...kombu==3.0.35

Which goes against global-requirements:

amqp>=1.4.0,<2.0 # LGPL

And upper-requirements:

amqp===1.4.9

The tox target does not honor the upper constraints, but has a comment
indicating it's not possible? I'm not sure.

[testenv:cover]
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
# NOTE(sdague): this target does not use constraints because
# upstream infra does not yet support it. Once that's fixed, we can
# drop the install_command.
install_command = pip install -U --force-reinstall {opts} {packages}
commands =
  find keystone -type f -name "*.pyc" -delete
  python setup.py testr --coverage --testr-args='{posargs}'

** Affects: keystone
     Importance: High
         Status: New

** Changed in: keystone
   Importance: Undecided => High

** Description changed:

  this appears a lot in the cover job logs:
  
  2016-05-31 03:10:56.236 | pkg_resources.ContextualVersionConflict: (amqp
  2.0.0 (/home/jenkins/workspace/keystone-coverage-
  db/.tox/cover/lib/python2.7/site-packages),
  Requirement.parse('amqp<2.0,>=1.4.9'), set(['kombu']))
  
- Looking at:
+ Looking at the logs, this was installed:
  
  2016-05-31 03:10:47.259 | cover installed: amqp==2.0.0,...kombu==3.0.35
  
  Which goes against global-requirements:
  
  amqp>=1.4.0,<2.0 # LGPL
  
  And upper-requirements:
  
  amqp===1.4.9
  
  The tox target does not honor the upper constraints, but has a comment
  indicating it's not possible? I'm not sure.
  
  [testenv:cover]
  # Also do not run test_coverage_ext tests while gathering coverage as those
  # tests conflict with coverage.
  # NOTE(sdague): this target does not use constraints because
  # upstream infra does not yet support it. Once that's fixed, we can
  # drop the install_command.
  install_command = pip install -U --force-reinstall {opts} {packages}
  commands =
-   find keystone -type f -name "*.pyc" -delete
-   python setup.py testr --coverage --testr-args='{posargs}'
+   find keystone -type f -name "*.pyc" -delete
+   python setup.py testr --coverage --testr-args='{posargs}'

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

Title:
  cover job is failing too frequently

Status in OpenStack Identity (keystone):
  New

Bug description:
  this appears a lot in the cover job logs:

  2016-05-31 03:10:56.236 | pkg_resources.ContextualVersionConflict:
  (amqp 2.0.0 (/home/jenkins/workspace/keystone-coverage-
  db/.tox/cover/lib/python2.7/site-packages),
  Requirement.parse('amqp<2.0,>=1.4.9'), set(['kombu']))

  Looking at the logs, this was installed:

  2016-05-31 03:10:47.259 | cover installed:
  amqp==2.0.0,...kombu==3.0.35

  Which goes against global-requirements:

  amqp>=1.4.0,<2.0 # LGPL

  And upper-requirements:

  amqp===1.4.9

  The tox target does not honor the upper constraints, but has a comment
  indicating it's not possible? I'm not sure.

  [testenv:cover]
  # Also do not run test_coverage_ext tests while gathering coverage as those
  # tests conflict with coverage.
  # NOTE(sdague): this target does not use constraints because
  # upstream infra does not yet support it. Once that's fixed, we can
  # drop the install_command.
  install_command = pip install -U --force-reinstall {opts} {packages}
  commands =
    find keystone -type f -name "*.pyc" -delete
    python setup.py testr --coverage --testr-args='{posargs}'

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


Follow ups