Failure in test_l2_agent_restart(OVS,Flat network)

Bug #1904897 reported by Terry Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Critical
Slawek Kaplonski

Bug Description

Occasionally the test fails to ping. In this case, the tests failed on an OVN-specific patch that could not have possibly interacted with the test: https://zuul.opendev.org/t/openstack/build/2eb4d891d3324814b28b1db5ea8ee148

{0} neutron.tests.fullstack.test_connectivity.TestUninterruptedConnectivityOnL2AgentRestart.test_l2_agent_restart(OVS,Flat network) [84.192269s] ... FAILED

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
    return f(self, *args, **kwargs)

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_connectivity.py", line 236, in test_l2_agent_restart
    self._assert_ping_during_agents_restart(

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/base.py", line 123, in _assert_ping_during_agents_restart
    common_utils.wait_until_true(

      File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/common/net_helpers.py", line 145, in async_ping
    f.result()

      File "/usr/lib/python3.8/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()

      File "/usr/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
    raise self._exception

      File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/common/net_helpers.py", line 127, in assert_async_ping
    ns_ip_wrapper.netns.execute([ping_command, '-W', timeout, '-c', '1',

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/ip_lib.py", line 721, in execute
    return utils.execute(cmd, check_exit_code=check_exit_code,

      File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/utils.py", line 149, in execute
    raise exceptions.ProcessExecutionError(msg,

    neutron_lib.exceptions.ProcessExecutionError: Exit code: 1; Cmd: ['ip', 'netns', 'exec', 'test-dd15072f-a4b0-4568-82e9-51105e34b6a1', 'ping', '-W', 2, '-c', '1', '20.0.0.112']; Stdin: ; Stdout: PING 20.0.0.112 (20.0.0.112) 56(84) bytes of data.

--- 20.0.0.112 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

; Stderr:

There seem to be lots of dhcp agent errors here: https://zuul.opendev.org/t/openstack/build/2eb4d891d3324814b28b1db5ea8ee148

like:

Unable to access /tmp/tmp8ryzi43r/tmp_u0y3amv/state_path_c5hn5z2/external/pids/b8da6190-ce0d-4937-8346-678c702ab812.pid.haproxy; Error: [Errno 2] No such file or directory: '/tmp/tmp8ryzi43r/tmp_u0y3amv/state_path_c5hn5z2/external/pids/b8da6190-ce0d-4937-8346-678c702ab812.pid.haproxy' get_value_from_file /home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/utils.py:251

tags: added: fullstack gate-failure
Changed in neutron:
importance: Undecided → Critical
Changed in neutron:
milestone: none → wallaby-1
Changed in neutron:
milestone: wallaby-1 → wallaby-2
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

I didn't found issues like that in the logstash in last week at least. So lets close that issue for now. If it will happen again, please reopen it with link to the fresh logs of the failure.

Changed in neutron:
status: New → Incomplete
assignee: nobody → Slawek Kaplonski (slaweq)
Changed in neutron:
milestone: wallaby-2 → none
Changed in neutron:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.