← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467110] Re: glance.tests.functional.test_reload.TestReload.test_reload fails on FreeBSD

 

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

** Changed in: glance
    Milestone: None => liberty-1

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

Title:
  glance.tests.functional.test_reload.TestReload.test_reload fails on
  FreeBSD

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

Bug description:
  The glance.tests.functional.test_reload.TestReload.test_reload test
  fails on FreeBSD because it uses 'strace' that's usually not present
  on FreeBSD.

  Traceback (most recent call last):
    File "glance/tests/functional/test_reload.py", line 113, in test_reload
      self.start_servers(fork_socket=False, **vars(self))
    File "glance/tests/functional/__init__.py", line 768, in start_servers
      self.start_with_retry(self.api_server, 'api_port', 3, **kwargs)
    File "glance/tests/functional/__init__.py", line 738, in start_with_retry
      launch_msg = self.wait_for_servers([server], expect_launch)
    File "glance/tests/functional/__init__.py", line 829, in wait_for_servers
      execute(cmd, raise_error=False, expect_exit=False)
    File "glance/tests/utils.py", line 307, in execute
      env=env)
    File "/usr/local/lib/python2.7/subprocess.py", line 710, in __init__
      errread, errwrite)
    File "/usr/local/lib/python2.7/subprocess.py", line 1335, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory
  Ran 1 tests in 136.994s (+6.953s)
  FAILED (id=2, failures=1)
  error: testr failed (1)

  strace _could_ be installed from FreeBSD ports [1], however, it's
  available only for i386 and that's a huge limitation.

  1: http://www.freshports.org/devel/strace/

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


References