← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1399817] Re: 403 Forbidden - Timestamp failed validation in EC2 unit tests

 

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

** Changed in: nova
    Milestone: None => kilo-1

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

Title:
  403 Forbidden - Timestamp failed validation in EC2 unit tests

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  EC2 unit tests can sometimes fail:

  Traceback (most recent call last):
    File "/home/johannes/openstack/nova/nova/tests/unit/api/ec2/test_api.py", line 287, in test_xmlns_version_matches_request_version
      self.ec2.get_all_instances()
    File "/home/johannes/virtualenvs/migrations/local/lib/python2.7/site-packages/boto/ec2/connection.py", line 586, in get_all_instances
      max_results=max_results)
    File "/home/johannes/virtualenvs/migrations/local/lib/python2.7/site-packages/boto/ec2/connection.py", line 682, in get_all_reservations
      [('item', Reservation)], verb='POST')
    File "/home/johannes/virtualenvs/migrations/local/lib/python2.7/site-packages/boto/connection.py", line 1182, in get_list
      raise self.ResponseError(response.status, response.reason, body)
  EC2ResponseError: EC2ResponseError: 403 Forbidden
  <html>
   <head>
    <title>403 Forbidden</title>
   </head>
   <body>
    <h1>403 Forbidden</h1>
    Timestamp failed validation.<br /><br />


   </body>
  </html>

  It can happen in one of a number of EC2 unit tests. My latest test run
  failed in these tests:

  nova.tests.unit.api.ec2.test_api.ApiEc2TestCase.test_authorize_revoke_security_group_cidr
  nova.tests.unit.api.ec2.test_api.ApiEc2TestCase.test_create_delete_security_group
  nova.tests.unit.api.ec2.test_api.ApiEc2TestCase.test_xmlns_version_matches_request_version

  I've seen it in other EC2 related test cases too. Usually running
  again will produce a failure in a different test case or none.

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


References