Functional tests failing due to timeout while killing process

Bug #1919345 reported by Slawek Kaplonski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Rodolfo Alonso

Bug Description

Example of failures:

    https://cb02acb070cff5b90918-a2819ce1e1d01d4ba47cf0d26d5585a5.ssl.cf5.rackcdn.com/778993/6/gate/neutron-functional-with-uwsgi/ebebe12/testr_results.html

    https://0ee130e4a5a2946be1c4-63ec39ca44f5300255d15df097f93e08.ssl.cf1.rackcdn.com/780054/2/check/neutron-functional-with-uwsgi/bc96480/testr_results.html

    https://2593fe2c1676d625fafc-b5f24c1063ad83372f17d0890078a578.ssl.cf5.rackcdn.com/765846/7/check/neutron-functional-with-uwsgi/29b9cdc/testr_results.html

    https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_b83/763231/16/check/neutron-functional-with-uwsgi/b836250/testr_results.html

Stacktrace:

ft1.4: neutron.tests.functional.agent.linux.test_keepalived.KeepalivedManagerTestCase.test_keepalived_spawns_conflicting_pid_vrrp_subprocesstesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/agent/linux/test_keepalived.py", line 54, in _stop_keepalived_manager
    self.manager.disable()
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/keepalived.py", line 482, in disable
    pm.disable(sig=str(int(signal.SIGTERM)))
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/external_process.py", line 113, in disable
    utils.execute(cmd, run_as_root=self.run_as_root,
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/utils.py", line 131, in execute
    _stdout, _stderr, returncode = priv_utils.execute_process(
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/oslo_privsep/priv_context.py", line 247, in _wrap
    return self.channel.remote_call(name, args, kwargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/oslo_privsep/daemon.py", line 214, in remote_call
    result = self.send_recv((Message.CALL.value, name, args, kwargs))
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/oslo_privsep/comm.py", line 172, in send_recv
    reply = future.result()
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/oslo_privsep/comm.py", line 109, in result
    self.condvar.wait()
  File "/usr/lib/python3.8/threading.py", line 302, in wait
    waiter.acquire()
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/eventlet/semaphore.py", line 120, in acquire
    hubs.get_hub().switch()
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/eventlet/hubs/hub.py", line 313, in switch
    return self.greenlet.switch()
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/eventlet/hubs/hub.py", line 365, in run
    self.wait(sleep_time)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/eventlet/hubs/poll.py", line 80, in wait
    presult = self.do_poll(seconds)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/eventlet/hubs/epolls.py", line 31, in do_poll
    return self.poll.poll(seconds)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.8/site-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
    raise TimeoutException()
fixtures._fixtures.timeout.TimeoutException

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

This issue was addressed in [1]. Until we find a better method to re-implement shell command "kill", we'll continue using it.

[1]https://review.opendev.org/c/openstack/neutron/+/782972

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Changed in neutron:
status: Confirmed → Fix Released
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.