neutron.tests.functional.agent.linux.test_ovsdb_monitor.TestSimpleInterfaceMonitor.test_get_events reads output sometimes too early

Bug #1583763 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Jakub Libosvar

Bug Description

The test expects that stdout buffers are populated right after ovsdb-monitor async process is spawned. Sometimes get_events() is called before ovsdb output is read that causes following failure:

http://logs.openstack.org/15/316615/1/check/gate-neutron-dsvm-functional/c3be6f8/testr_results.html.gz

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/318898

Changed in neutron:
assignee: nobody → Jakub Libosvar (libosvar)
status: New → In Progress
tags: added: functional-tests
Changed in neutron:
importance: Undecided → Medium
tags: added: mitaka-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/318898
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=de390cdce60f7859f81328a0888df34c47d51d49
Submitter: Jenkins
Branch: master

commit de390cdce60f7859f81328a0888df34c47d51d49
Author: Jakub Libosvar <email address hidden>
Date: Thu May 19 21:25:10 2016 +0200

    functional: Fix ovsdb-monitor waiting for first events

    In case ovsdb-monitor is started but hasn't processed output from ovsdb
    then stdout buffers are not populated with data yet. This patch waits
    for new events that can be buffer after get_events() is called.

    Closes-Bug: 1583763
    Change-Id: I4f281770844dd262d6ad25bec4b942af36445b18

Changed in neutron:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b2

This issue was fixed in the openstack/neutron 9.0.0.0b2 development milestone.

tags: removed: neutron-proactive-backport-potential
tags: removed: mitaka-backport-potential
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.