← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1543040] [NEW] neutron.tests.unit.agent.linux.test_async_process.TestFailingAsyncProcess.test_failing_async_process_handle_error_once failed in Liberty periodic job

 

Public bug reported:

http://logs.openstack.org/periodic-stable/periodic-neutron-python27
-constraints-liberty/25e168f/testr_results.html.gz

  File "neutron/tests/unit/agent/linux/test_async_process.py", line 294, in test_failing_async_process_handle_error_once
    self.assertEqual(1, handle_error_mock.call_count)
  File "/home/jenkins/workspace/periodic-neutron-python27-constraints-liberty/.tox/py27-constraints/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/jenkins/workspace/periodic-neutron-python27-constraints-liberty/.tox/py27-constraints/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 1 != 0

Also note that in the same run,
neutron.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_encode_process_input
failed too.

Traceback (most recent call last):
  File "neutron/tests/unit/agent/linux/test_utils.py", line 141, in test_encode_process_input
    self.mock_popen.assert_called_once_with(str_idata)
  File "/home/jenkins/workspace/periodic-neutron-python27-constraints-liberty/.tox/py27-constraints/local/lib/python2.7/site-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'communicate' to be called once. Called 2 times.

The failing test was introduced in Liberty as part of
https://review.openstack.org/#/c/272682/ backport.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: gate-failure unittest

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

Title:
  neutron.tests.unit.agent.linux.test_async_process.TestFailingAsyncProcess.test_failing_async_process_handle_error_once
  failed in Liberty periodic job

Status in neutron:
  New

Bug description:
  http://logs.openstack.org/periodic-stable/periodic-neutron-python27
  -constraints-liberty/25e168f/testr_results.html.gz

    File "neutron/tests/unit/agent/linux/test_async_process.py", line 294, in test_failing_async_process_handle_error_once
      self.assertEqual(1, handle_error_mock.call_count)
    File "/home/jenkins/workspace/periodic-neutron-python27-constraints-liberty/.tox/py27-constraints/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/periodic-neutron-python27-constraints-liberty/.tox/py27-constraints/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 1 != 0

  Also note that in the same run,
  neutron.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_encode_process_input
  failed too.

  Traceback (most recent call last):
    File "neutron/tests/unit/agent/linux/test_utils.py", line 141, in test_encode_process_input
      self.mock_popen.assert_called_once_with(str_idata)
    File "/home/jenkins/workspace/periodic-neutron-python27-constraints-liberty/.tox/py27-constraints/local/lib/python2.7/site-packages/mock/mock.py", line 947, in assert_called_once_with
      raise AssertionError(msg)
  AssertionError: Expected 'communicate' to be called once. Called 2 times.

  The failing test was introduced in Liberty as part of
  https://review.openstack.org/#/c/272682/ backport.

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


Follow ups