← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1581325] [NEW] test_dhcp_agent_main_agent_manager fails in UT

 

Public bug reported:

We can see UT failure[1]. Oslo.service 1.9.0 caused this error.

ft8.16: neutron.tests.unit.agent.dhcp.test_agent.TestDhcpAgent.test_dhcp_agent_main_agent_manager_StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "neutron/tests/unit/agent/dhcp/test_agent.py", line 287, in test_dhcp_agent_main_agent_manager
    mock.call().wait()])
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 969, in assert_has_calls
    ), cause)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/six.py", line 718, in raise_from
    raise value
AssertionError: Calls not found.
Expected: [call(<oslo_config.cfg.ConfigOpts object at 0x7fa97c05af10>),
 call().launch_service(<ANY>),
 call().wait()]
Actual: [call(<oslo_config.cfg.ConfigOpts object at 0x7fa97c05af10>, restart_method='reload'),
 call().launch_service(<neutron.service.Service object at 0x7fa975834750>, workers=1),
 call().wait()]

[1]: http://logs.openstack.org/92/314492/1/gate/gate-neutron-
python27/c2878bb/testr_results.html.gz

** Affects: neutron
     Importance: Undecided
     Assignee: Hirofumi Ichihara (ichihara-hirofumi)
         Status: In Progress


** Tags: gate-failure unittest

** Summary changed:

- test_dhcp_agent_main_agent_manager failes in UT
+ test_dhcp_agent_main_agent_manager fails in UT

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

Title:
  test_dhcp_agent_main_agent_manager fails in UT

Status in neutron:
  In Progress

Bug description:
  We can see UT failure[1]. Oslo.service 1.9.0 caused this error.

  ft8.16: neutron.tests.unit.agent.dhcp.test_agent.TestDhcpAgent.test_dhcp_agent_main_agent_manager_StringException: Empty attachments:
    pythonlogging:''
    stderr
    stdout

  Traceback (most recent call last):
    File "neutron/tests/unit/agent/dhcp/test_agent.py", line 287, in test_dhcp_agent_main_agent_manager
      mock.call().wait()])
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 969, in assert_has_calls
      ), cause)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/six.py", line 718, in raise_from
      raise value
  AssertionError: Calls not found.
  Expected: [call(<oslo_config.cfg.ConfigOpts object at 0x7fa97c05af10>),
   call().launch_service(<ANY>),
   call().wait()]
  Actual: [call(<oslo_config.cfg.ConfigOpts object at 0x7fa97c05af10>, restart_method='reload'),
   call().launch_service(<neutron.service.Service object at 0x7fa975834750>, workers=1),
   call().wait()]

  [1]: http://logs.openstack.org/92/314492/1/gate/gate-neutron-
  python27/c2878bb/testr_results.html.gz

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


Follow ups