Fullstack test neutron.tests.fullstack.test_logging.TestLogging is failing on Ubuntu Focal

Bug #1890269 reported by Slawek Kaplonski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Slawek Kaplonski

Bug Description

Failure stacktrace:

ft1.1: neutron.tests.fullstack.test_logging.TestLogging.test_loggingtesttools.testresult.real._StringException: stderr: {{{
/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.")
  result = self._query(query)
/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/common/ovs_lib.py:344: DeprecationWarning: Use of run_ofctl is deprecated and will be removed in version 'V'
  debtcollector.deprecate("Use of run_ofctl is "
/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.")
  result = self._query(query)
/usr/lib/python3.8/subprocess.py:942: ResourceWarning: subprocess 136490 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.8/subprocess.py:942: ResourceWarning: subprocess 151338 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.8/subprocess.py:942: ResourceWarning: subprocess 126106 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
}}}

stdout: {{{
Running upgrade for neutron ...
OK
}}}

Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 704, in wait_until_true
    eventlet.sleep(sleep)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/eventlet/greenthread.py", line 36, in sleep
    hub.switch()
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/eventlet/hubs/hub.py", line 298, in switch
    return self.greenlet.switch()
eventlet.timeout.Timeout: 60 seconds

During handling of the above exception, another exception occurred:

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_logging.py", line 182, in test_logging
    self._check_log(log_id=log_id, action='DROP', regex_str="dst_port=22")
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_logging.py", line 87, in _check_log
    utils.wait_until_true(lambda: _is_log_event(log_id, action, regex_str))
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 709, in wait_until_true
    raise WaitTimeout(_("Timed out after %d seconds") % timeout)
neutron.common.utils.WaitTimeout: Timed out after 60 seconds

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

This is in fact caused by missing ncat package on node with ubuntu 20.04 and it should be fixed with https://review.opendev.org/#/c/734304/ which installs ncat package in functional/fullstack jobs

Changed in neutron:
status: Confirmed → In Progress
Changed in neutron:
status: In Progress → 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.