← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540495] [NEW] Version 0.28 of xfvbwrapper breaks integration tests

 

Public bug reported:

Version 0.28 (released on Jan 31) breaks all integration tests with
stacktrace

2016-02-01 16:58:10.961 | 2016-02-01 16:58:10.904 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 160, in setUp
2016-02-01 16:58:10.961 | 2016-02-01 16:58:10.905 |     super(TestCase, self).setUp()
2016-02-01 16:58:10.961 | 2016-02-01 16:58:10.907 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 60, in setUp
2016-02-01 16:58:10.962 | 2016-02-01 16:58:10.909 |     self.vdisplay.xvfb_cmd.append("-noreset")
2016-02-01 16:58:10.962 | 2016-02-01 16:58:10.910 | AttributeError: Xvfb instance has no attribute 'xvfb_cmd'

The solution is to adapt to new version by passing additional arguments
when initializing Xvfb instance (instead of appending them to xvfb_cmd
list which doesn't exist now before .start() is invoked).

** Affects: horizon
     Importance: Critical
     Assignee: Timur Sufiev (tsufiev-x)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Timur Sufiev (tsufiev-x)

** Changed in: horizon
   Importance: Undecided => Critical

** Changed in: horizon
    Milestone: None => mitaka-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1540495

Title:
  Version 0.28 of xfvbwrapper breaks integration tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Version 0.28 (released on Jan 31) breaks all integration tests with
  stacktrace

  2016-02-01 16:58:10.961 | 2016-02-01 16:58:10.904 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 160, in setUp
  2016-02-01 16:58:10.961 | 2016-02-01 16:58:10.905 |     super(TestCase, self).setUp()
  2016-02-01 16:58:10.961 | 2016-02-01 16:58:10.907 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 60, in setUp
  2016-02-01 16:58:10.962 | 2016-02-01 16:58:10.909 |     self.vdisplay.xvfb_cmd.append("-noreset")
  2016-02-01 16:58:10.962 | 2016-02-01 16:58:10.910 | AttributeError: Xvfb instance has no attribute 'xvfb_cmd'

  The solution is to adapt to new version by passing additional
  arguments when initializing Xvfb instance (instead of appending them
  to xvfb_cmd list which doesn't exist now before .start() is invoked).

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


Follow ups