gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.15k stars 477 forks source link

UNIT_IntrospectionCurveHandler_TEST timing out #2121

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


The test has been flakily (about 1 in every 4 tries for me locally) timing out since pull request #2544 was merged. This can be observed on both homebrew and ubuntu Jenkins jobs.

Not sure if related, but several tests (including this one) which involve ign-transport have been printing:

ReqHandler::SetResponse() Warning: This function shouldn't be executing.

@nkoenig , @scpeters , @caguero

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Similar issue for UNIT_ExportDialog_TEST: issue #2122

osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


On successful runs, I see that message three times:

********* Start testing of IntrospectionCurveHandler_TEST *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : IntrospectionCurveHandler_TEST::initTestCase()
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.23.2.91
ReqHandler::SetResponse() Warning: This function shouldn't be executing.
ReqHandler::SetResponse() Warning: This function shouldn't be executing.
ReqHandler::SetResponse() Warning: This function shouldn't be executing.
SharePercentChange[0.427262] ShareMaxPercentChange[2]
ResPercentChange[1.11953]ResMaxPercentChange[5]
PASS   : IntrospectionCurveHandler_TEST::AddRemoveCurve()
PASS   : IntrospectionCurveHandler_TEST::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of IntrospectionCurveHandler_TEST *********

but when it times out, I only see the message two times:

********* Start testing of IntrospectionCurveHandler_TEST *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : IntrospectionCurveHandler_TEST::initTestCase()
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.23.2.91
ReqHandler::SetResponse() Warning: This function shouldn't be executing.
ReqHandler::SetResponse() Warning: This function shouldn't be executing.
osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


I attached gdb to an instance of the test hanging and got the following backtrace:

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Issue #2182 was marked as a duplicate of this issue.