← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1326899] [NEW] FAIL: glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_copy_from_image_authorized_upload_image_authorized

 

Public bug reported:

2014-05-27 22:27:18.106 | ${PYTHON:-python} -m subunit.run discover -t ./ ./glance/tests  
2014-05-27 22:27:18.106 | ======================================================================
2014-05-27 22:27:18.106 | FAIL: glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_copy_from_image_authorized_upload_image_authorized
2014-05-27 22:27:18.106 | tags: worker-0
2014-05-27 22:27:18.106 | ----------------------------------------------------------------------
2014-05-27 22:27:18.106 | Traceback (most recent call last):
2014-05-27 22:27:18.106 |   File "glance/tests/unit/v1/test_api.py", line 904, in test_add_copy_from_image_authorized_upload_image_authorized
2014-05-27 22:27:18.107 |     self.assertEqual(res.status_int, 201)
2014-05-27 22:27:18.107 |   File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 321, in assertEqual
2014-05-27 22:27:18.107 |     self.assertThat(observed, matcher, message)
2014-05-27 22:27:18.107 |   File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 406, in assertThat
2014-05-27 22:27:18.107 |     raise mismatch_error
2014-05-27 22:27:18.107 | MismatchError: 400 != 201
2014-05-27 22:27:18.107 | ======================================================================
2014-05-27 22:27:18.107 | FAIL: process-returncode
2014-05-27 22:27:18.107 | tags: worker-0
2014-05-27 22:27:18.107 | ----------------------------------------------------------------------
2014-05-27 22:27:18.107 | Binary content:
2014-05-27 22:27:18.108 |   traceback (test/plain; charset="utf8")
2014-05-27 22:27:18.108 | Ran 2249 tests in 777.846s
2014-05-27 22:27:18.108 | FAILED (id=0, failures=2, skips=33)
2014-05-27 22:27:18.108 | error: testr failed (1)
2014-05-27 22:27:18.190 | ERROR: InvocationError: '/home/jenkins/workspace/gate-glance-python26/.tox/py26/bin/python -m glance.openstack.common.lockutils python setup.py test --slowest --testr-args=--concurrency 1 '
2014-05-27 22:27:18.190 | ___________________________________ summary ____________________________________
2014-05-27 22:27:18.190 | ERROR:   py26: commands failed

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1326899

Title:
  FAIL:
  glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_copy_from_image_authorized_upload_image_authorized

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  2014-05-27 22:27:18.106 | ${PYTHON:-python} -m subunit.run discover -t ./ ./glance/tests  
  2014-05-27 22:27:18.106 | ======================================================================
  2014-05-27 22:27:18.106 | FAIL: glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_copy_from_image_authorized_upload_image_authorized
  2014-05-27 22:27:18.106 | tags: worker-0
  2014-05-27 22:27:18.106 | ----------------------------------------------------------------------
  2014-05-27 22:27:18.106 | Traceback (most recent call last):
  2014-05-27 22:27:18.106 |   File "glance/tests/unit/v1/test_api.py", line 904, in test_add_copy_from_image_authorized_upload_image_authorized
  2014-05-27 22:27:18.107 |     self.assertEqual(res.status_int, 201)
  2014-05-27 22:27:18.107 |   File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 321, in assertEqual
  2014-05-27 22:27:18.107 |     self.assertThat(observed, matcher, message)
  2014-05-27 22:27:18.107 |   File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 406, in assertThat
  2014-05-27 22:27:18.107 |     raise mismatch_error
  2014-05-27 22:27:18.107 | MismatchError: 400 != 201
  2014-05-27 22:27:18.107 | ======================================================================
  2014-05-27 22:27:18.107 | FAIL: process-returncode
  2014-05-27 22:27:18.107 | tags: worker-0
  2014-05-27 22:27:18.107 | ----------------------------------------------------------------------
  2014-05-27 22:27:18.107 | Binary content:
  2014-05-27 22:27:18.108 |   traceback (test/plain; charset="utf8")
  2014-05-27 22:27:18.108 | Ran 2249 tests in 777.846s
  2014-05-27 22:27:18.108 | FAILED (id=0, failures=2, skips=33)
  2014-05-27 22:27:18.108 | error: testr failed (1)
  2014-05-27 22:27:18.190 | ERROR: InvocationError: '/home/jenkins/workspace/gate-glance-python26/.tox/py26/bin/python -m glance.openstack.common.lockutils python setup.py test --slowest --testr-args=--concurrency 1 '
  2014-05-27 22:27:18.190 | ___________________________________ summary ____________________________________
  2014-05-27 22:27:18.190 | ERROR:   py26: commands failed

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


Follow ups

References