Flaky config unit tests vnc_cfg_api_server.tests.test_crud_basic.TestListUpdate

Bug #1759891 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Édouard Thuleau

Bug Description

======================================================================
FAIL: setUpClass (vnc_cfg_api_server.tests.test_crud_basic.TestListUpdate)
tags: worker-3
----------------------------------------------------------------------
Traceback (most recent call last):
  File "vnc_cfg_api_server/tests/test_crud_basic.py", line 179, in setUpClass
    super(TestListUpdate, cls).setUpClass(*args, **kwargs)
  File "../common/tests/test_common.py", line 745, in setUpClass
    db=db)
  File "../common/tests/test_common.py", line 233, in create_api_server_instance
    ret_server_info['service_port'])
  File "../common/tests/test_utils.py", line 1117, in block_till_port_listened
    raise Exception("port %s not up after %d retries" % (server_port, retries))
Exception: port 54300 not up after 30 retries

From the unit test API server log file:

[SYS_ERR]: VncApiError: Error in rabbitmq heartbeat greenlet: 'Connection' object has no attribute 'connected'

Tags: config
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41189
Submitter: Édouard Thuleau (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/41189
Committed: http://github.com/Juniper/contrail-controller/commit/6bd534a940298e1ec5fa70b0fe023d1ecbeec6d4
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 6bd534a940298e1ec5fa70b0fe023d1ecbeec6d4
Author: Édouard Thuleau <email address hidden>
Date: Thu Mar 29 18:23:43 2018 +0200

[config] Fix Kazoo client mock for unit test

Sometimes config unit tests failed due to an error in the RabbitMQ
client. It's due to a bug in the Kazoo client mock used by unit tests.

Change-Id: I8bdaa3bc2b60682ae3e7dd10aa94742472b2beb3
Closes-Bug: #1759891

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.