← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1240342] Re: ec2 test_api failures

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
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/1240342

Title:
  ec2 test_api failures

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Currently, some tests in ec2/test_api.py fail if boto version is
  between 2 and 2.14:

  In boto version < 2.14.0 -> method new_http_connection takes exactly two arguments
  In boto version = 2.14.0 -> method new_http_connection takes exactly three arguments

  If the unit tests use boto version 2.14.0, all tests pass.
  If the unit tests are run with a version of boto < 2.14, tests fail with the error: "new_http_connection does not take 2 or more positional arguments"

  This is because the comparison done using pkg.parse_version is incorrect.
  For eg. version 2.13.3 is incorrectly computed as being greater than 2.14
  This causes the wrong number of arguments to be expected to be called. (in this case, 3 instead of 2, which causes the test to fail)

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