← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1410563] [NEW] test_exception_not_eaten_from_registry_to_api fails if curl is not installed

 

Public bug reported:

======================================================================
FAIL: glance.tests.functional.v1.test_misc.TestMiscellaneous.test_exception_not_eaten_from_registry_to_api
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "glance/tests/functional/v1/test_misc.py", line 109, in test_exception_not_eaten_from_registry_to_api
    exitcode, out, err = execute(cmd)
  File "glance/tests/utils.py", line 313, in execute
    raise RuntimeError(msg)
RuntimeError: Command curl -g http://127.0.0.1:55451/v1/images did not succeed. Returned an exit code of 127.

STDOUT:

STDERR: /bin/sh: 1: curl: not found


I don't see a devref for setting up a development environment for
glance, nor a readme for native dependencies for running glance
functional tests, but it looks like something should be added for that
(or the test should mock/stub out curl?).

** Affects: glance
     Importance: Medium
         Status: Triaged


** Tags: documentation

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

Title:
  test_exception_not_eaten_from_registry_to_api fails if curl is not
  installed

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

Bug description:
  ======================================================================
  FAIL: glance.tests.functional.v1.test_misc.TestMiscellaneous.test_exception_not_eaten_from_registry_to_api
  tags: worker-0
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "glance/tests/functional/v1/test_misc.py", line 109, in test_exception_not_eaten_from_registry_to_api
      exitcode, out, err = execute(cmd)
    File "glance/tests/utils.py", line 313, in execute
      raise RuntimeError(msg)
  RuntimeError: Command curl -g http://127.0.0.1:55451/v1/images did not succeed. Returned an exit code of 127.

  STDOUT:

  STDERR: /bin/sh: 1: curl: not found


  I don't see a devref for setting up a development environment for
  glance, nor a readme for native dependencies for running glance
  functional tests, but it looks like something should be added for that
  (or the test should mock/stub out curl?).

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


Follow ups

References