Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fedora KDE] Tests do not pass on fresh source install - Discovery fails #113

Open
osrf-migration opened this issue Sep 10, 2019 · 6 comments
Labels
bug Something isn't working tests Broken or missing tests / testing infra

Comments

@osrf-migration
Copy link

Original report (archived issue) by Til Hoff (Bitbucket: turakar).


Description

ign-transport is compiled from source without errors. After that, make test is run. Some of the tests, most noticeably UNIT_Discovery_TEST, fails. Test INTEGRATION_twoProcsSrvCallStress hangs and blocks further tests.

Steps to reproduce

  • use Fedora KDE 29 / 30
  • install dependencies (migrated from the install instructions for ignition)
sudo dnf install cmake freeglut-devel ffmpeg-devel freeimage-devel gflags-devel glew-devel gts-devel ogre-devel protobuf-devel protobuf-c-devel qt5 tinyxml2-devel tinyxml-devel pkg-config protobuf-compiler python qt5-qtquickcontrols qt5-qtquickcontrols2 qt5-devel qt5-qtdeclarative-devel qt5-qtquickcontrols2-devel ruby rubygem-ronn uuid-devel libzip-devel jsoncpp-devel libcurl-devel libyaml-devel czmq-devel cppzmq-devel sqlite-devel libwebsockets-devel eigen3-devel openssl-devel git mercurial make g++
  • build dart, assimp and gflags from source (unrelated to ign-transport, but important for the merge-install)

    • On Fedora KDE 30 you can use gflags-devel from the repositories
  • clone the sources as laid out in the official install instructions for ignition

  • build a merge-install

colcon build --merge-install
  • Execute the following:
cd ign-transport
mkdir build && cd build
cmake ..
make
make test

Expected behaviour

Compilation works. All tests pass.

Actual behaviour

Compilation works (no severe warnings printed, no dependencies not found). Test results:

Running tests...
Test project /home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/build
      Start  1: UNIT_AdvertiseOptions_TEST
 1/90 Test  #1: UNIT_AdvertiseOptions_TEST .............................   Passed    0.01 sec
      Start  2: check_UNIT_AdvertiseOptions_TEST
 2/90 Test  #2: check_UNIT_AdvertiseOptions_TEST .......................   Passed    0.02 sec
      Start  3: UNIT_CIface_TEST
 3/90 Test  #3: UNIT_CIface_TEST .......................................   Passed    0.37 sec
      Start  4: check_UNIT_CIface_TEST
 4/90 Test  #4: check_UNIT_CIface_TEST .................................   Passed    0.02 sec
      Start  5: UNIT_Clock_TEST
 5/90 Test  #5: UNIT_Clock_TEST ........................................   Passed    1.66 sec
      Start  6: check_UNIT_Clock_TEST
 6/90 Test  #6: check_UNIT_Clock_TEST ..................................   Passed    0.02 sec
      Start  7: UNIT_Discovery_TEST
 7/90 Test  #7: UNIT_Discovery_TEST ....................................***Failed   33.84 sec
      Start  8: check_UNIT_Discovery_TEST
 8/90 Test  #8: check_UNIT_Discovery_TEST ..............................   Passed    0.03 sec
      Start  9: UNIT_HandlerStorage_TEST
 9/90 Test  #9: UNIT_HandlerStorage_TEST ...............................   Passed    0.02 sec
      Start 10: check_UNIT_HandlerStorage_TEST
10/90 Test #10: check_UNIT_HandlerStorage_TEST .........................   Passed    0.03 sec
      Start 11: UNIT_Helpers_TEST
11/90 Test #11: UNIT_Helpers_TEST ......................................   Passed    0.01 sec
      Start 12: check_UNIT_Helpers_TEST
12/90 Test #12: check_UNIT_Helpers_TEST ................................   Passed    0.02 sec
      Start 13: UNIT_MessageInfo_TEST
13/90 Test #13: UNIT_MessageInfo_TEST ..................................   Passed    0.01 sec
      Start 14: check_UNIT_MessageInfo_TEST
14/90 Test #14: check_UNIT_MessageInfo_TEST ............................   Passed    0.02 sec
      Start 15: UNIT_NetUtils_TEST
15/90 Test #15: UNIT_NetUtils_TEST .....................................   Passed    0.02 sec
      Start 16: check_UNIT_NetUtils_TEST
16/90 Test #16: check_UNIT_NetUtils_TEST ...............................   Passed    0.03 sec
      Start 17: UNIT_NodeOptions_TEST
17/90 Test #17: UNIT_NodeOptions_TEST ..................................   Passed    0.01 sec
      Start 18: check_UNIT_NodeOptions_TEST
18/90 Test #18: check_UNIT_NodeOptions_TEST ............................   Passed    0.02 sec
      Start 19: UNIT_Node_TEST
19/90 Test #19: UNIT_Node_TEST .........................................   Passed   23.13 sec
      Start 20: check_UNIT_Node_TEST
20/90 Test #20: check_UNIT_Node_TEST ...................................   Passed    0.02 sec
      Start 21: UNIT_Packet_TEST
21/90 Test #21: UNIT_Packet_TEST .......................................   Passed    0.01 sec
      Start 22: check_UNIT_Packet_TEST
22/90 Test #22: check_UNIT_Packet_TEST .................................   Passed    0.03 sec
      Start 23: UNIT_Publisher_TEST
23/90 Test #23: UNIT_Publisher_TEST ....................................   Passed    0.01 sec
      Start 24: check_UNIT_Publisher_TEST
24/90 Test #24: check_UNIT_Publisher_TEST ..............................   Passed    0.02 sec
      Start 25: UNIT_SubscribeOptions_TEST
25/90 Test #25: UNIT_SubscribeOptions_TEST .............................   Passed    0.02 sec
      Start 26: check_UNIT_SubscribeOptions_TEST
26/90 Test #26: check_UNIT_SubscribeOptions_TEST .......................   Passed    0.02 sec
      Start 27: UNIT_TopicStorage_TEST
27/90 Test #27: UNIT_TopicStorage_TEST .................................   Passed    0.01 sec
      Start 28: check_UNIT_TopicStorage_TEST
28/90 Test #28: check_UNIT_TopicStorage_TEST ...........................   Passed    0.03 sec
      Start 29: UNIT_TopicUtils_TEST
29/90 Test #29: UNIT_TopicUtils_TEST ...................................   Passed    0.01 sec
      Start 30: check_UNIT_TopicUtils_TEST
30/90 Test #30: check_UNIT_TopicUtils_TEST .............................   Passed    0.02 sec
      Start 31: UNIT_Uuid_TEST
31/90 Test #31: UNIT_Uuid_TEST .........................................   Passed    0.01 sec
      Start 32: check_UNIT_Uuid_TEST
32/90 Test #32: check_UNIT_Uuid_TEST ...................................   Passed    0.02 sec
      Start 33: UNIT_ign_TEST
33/90 Test #33: UNIT_ign_TEST ..........................................***Timeout 240.03 sec
      Start 34: check_UNIT_ign_TEST
34/90 Test #34: check_UNIT_ign_TEST ....................................   Passed    0.02 sec
      Start 35: UNIT_ign_src_TEST
35/90 Test #35: UNIT_ign_src_TEST ......................................   Passed    6.45 sec
      Start 36: check_UNIT_ign_src_TEST
36/90 Test #36: check_UNIT_ign_src_TEST ................................   Passed    0.02 sec
      Start 37: INTEGRATION_versioned_symbols
37/90 Test #37: INTEGRATION_versioned_symbols ..........................   Passed    0.03 sec
      Start 38: INTEGRATION_authPubSub
38/90 Test #38: INTEGRATION_authPubSub .................................   Passed   10.81 sec
      Start 39: check_INTEGRATION_authPubSub
39/90 Test #39: check_INTEGRATION_authPubSub ...........................   Passed    0.03 sec
      Start 40: INTEGRATION_scopedTopic
40/90 Test #40: INTEGRATION_scopedTopic ................................   Passed   11.47 sec
      Start 41: check_INTEGRATION_scopedTopic
41/90 Test #41: check_INTEGRATION_scopedTopic ..........................   Passed    0.03 sec
      Start 42: INTEGRATION_twoProcsPubSub
42/90 Test #42: INTEGRATION_twoProcsPubSub .............................***Exception: SegFault 73.67 sec
      Start 43: check_INTEGRATION_twoProcsPubSub
43/90 Test #43: check_INTEGRATION_twoProcsPubSub .......................   Passed    0.03 sec
      Start 44: INTEGRATION_twoProcsSrvCall
44/90 Test #44: INTEGRATION_twoProcsSrvCall ............................***Exception: SegFault 35.44 sec
      Start 45: check_INTEGRATION_twoProcsSrvCall
45/90 Test #45: check_INTEGRATION_twoProcsSrvCall ......................   Passed    0.03 sec
      Start 46: INTEGRATION_twoProcsSrvCallStress

The tests hang here with low CPU usage for over one hour. There is a detailed log in the comments below.

Version

  • Fedora KDE 29 / 30
  • source install
  • latest ignition (blueprint)

Additional Information

@osrf-migration
Copy link
Author

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


Can you provide more detail about the test failures by setting the CTEST_OUTPUT_ON_FAILURE environment variable and running make test again?

@osrf-migration
Copy link
Author

Original comment by Til Hoff (Bitbucket: turakar).


Long log ahead:

(venv) [t@tpc build]$ CTEST_OUTPUT_ON_FAILURE=ON make test
Running tests...
Test project /home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/build
      Start  1: UNIT_AdvertiseOptions_TEST
 1/90 Test  #1: UNIT_AdvertiseOptions_TEST .............................   Passed    0.01 sec
      Start  2: check_UNIT_AdvertiseOptions_TEST
 2/90 Test  #2: check_UNIT_AdvertiseOptions_TEST .......................   Passed    0.02 sec
      Start  3: UNIT_CIface_TEST
 3/90 Test  #3: UNIT_CIface_TEST .......................................   Passed    0.12 sec
      Start  4: check_UNIT_CIface_TEST
 4/90 Test  #4: check_UNIT_CIface_TEST .................................   Passed    0.03 sec
      Start  5: UNIT_Clock_TEST
 5/90 Test  #5: UNIT_Clock_TEST ........................................   Passed    1.42 sec
      Start  6: check_UNIT_Clock_TEST
 6/90 Test  #6: check_UNIT_Clock_TEST ..................................   Passed    0.02 sec
      Start  7: UNIT_Discovery_TEST
 7/90 Test  #7: UNIT_Discovery_TEST ....................................***Failed   17.43 sec
Running main() from gtest_main.cc
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from DiscoveryTest
[ RUN      ] DiscoveryTest.TestBasicAPI
[       OK ] DiscoveryTest.TestBasicAPI (1 ms)
[ RUN      ] DiscoveryTest.WithoutCallingStart
[       OK ] DiscoveryTest.WithoutCallingStart (1 ms)
[ RUN      ] DiscoveryTest.TestAdvertiseNoResponse
[       OK ] DiscoveryTest.TestAdvertiseNoResponse (1102 ms)
[ RUN      ] DiscoveryTest.TestAdvertise
---------------
Enabled: false
Discovery state
        UUID: 8ed5cf66-b448-42db-a088-37efba4d2c21
Settings
        Activity: 100 ms.
        Heartbeat: 1000ms.
        Silence: 3000 ms.
Known information:
---
Activity
        <empty>
---------------
        * Sending HEARTBEAT msg []
        * Sending HEARTBEAT msg []
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:231: Failure
Value of: connectionExecuted
  Actual: false
Expected: true
        * Sending HEARTBEAT msg []
        * Sending HEARTBEAT msg []
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:260: Failure
Value of: connectionExecuted
  Actual: false
Expected: true
        * Sending BYE msg []
[  FAILED  ] DiscoveryTest.TestAdvertise (3103 ms)
[ RUN      ] DiscoveryTest.TestAdvertiseSameProc
[       OK ] DiscoveryTest.TestAdvertiseSameProc (1102 ms)
[ RUN      ] DiscoveryTest.TestDiscover
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:325: Failure
Value of: connectionExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:336: Failure
Value of: connectionExecuted
  Actual: false
Expected: true
[  FAILED  ] DiscoveryTest.TestDiscover (1301 ms)
[ RUN      ] DiscoveryTest.TestUnadvertise
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:377: Failure
Value of: disconnectionExecuted
  Actual: false
Expected: true
[  FAILED  ] DiscoveryTest.TestUnadvertise (2103 ms)
[ RUN      ] DiscoveryTest.TestNodeBye
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:423: Failure
Value of: disconnectionExecuted
  Actual: false
Expected: true
[  FAILED  ] DiscoveryTest.TestNodeBye (2203 ms)
[ RUN      ] DiscoveryTest.TestTwoPublishersSameTopic
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:472: Failure
Expected equality of these values:
  g_counter
    Which is: 1
  2
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:484: Failure
Expected equality of these values:
  g_counter
    Which is: 1
  2
[  FAILED  ] DiscoveryTest.TestTwoPublishersSameTopic (1402 ms)
[ RUN      ] DiscoveryTest.TestActivity
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:80: Failure
Expected equality of these values:
  this->activity.find(_pUuid) != this->activity.end()
    Which is: false
  _expectedActivity
    Which is: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/Discovery_TEST.cc:80: Failure
Expected equality of these values:
  this->activity.find(_pUuid) != this->activity.end()
    Which is: false
  _expectedActivity
    Which is: true
[  FAILED  ] DiscoveryTest.TestActivity (5103 ms)
[ RUN      ] DiscoveryTest.WrongIgnIp
Error setting socket option (IP_MULTICAST_IF).
Did you set the environment variable IGN_IP with a correct IP address? 
  [127.0.0.0] seems an invalid local IP address.
  Using 127.0.0.1 as hostname.
[       OK ] DiscoveryTest.WrongIgnIp (0 ms)
[----------] 11 tests from DiscoveryTest (17422 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test case ran. (17422 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 6 tests, listed below:
[  FAILED  ] DiscoveryTest.TestAdvertise
[  FAILED  ] DiscoveryTest.TestDiscover
[  FAILED  ] DiscoveryTest.TestUnadvertise
[  FAILED  ] DiscoveryTest.TestNodeBye
[  FAILED  ] DiscoveryTest.TestTwoPublishersSameTopic
[  FAILED  ] DiscoveryTest.TestActivity

 6 FAILED TESTS

      Start  8: check_UNIT_Discovery_TEST
 8/90 Test  #8: check_UNIT_Discovery_TEST ..............................   Passed    0.03 sec
      Start  9: UNIT_HandlerStorage_TEST
 9/90 Test  #9: UNIT_HandlerStorage_TEST ...............................   Passed    0.02 sec
      Start 10: check_UNIT_HandlerStorage_TEST
10/90 Test #10: check_UNIT_HandlerStorage_TEST .........................   Passed    0.03 sec
      Start 11: UNIT_Helpers_TEST
11/90 Test #11: UNIT_Helpers_TEST ......................................   Passed    0.02 sec
      Start 12: check_UNIT_Helpers_TEST
12/90 Test #12: check_UNIT_Helpers_TEST ................................   Passed    0.02 sec
      Start 13: UNIT_MessageInfo_TEST
13/90 Test #13: UNIT_MessageInfo_TEST ..................................   Passed    0.01 sec
      Start 14: check_UNIT_MessageInfo_TEST
14/90 Test #14: check_UNIT_MessageInfo_TEST ............................   Passed    0.02 sec
      Start 15: UNIT_NetUtils_TEST
15/90 Test #15: UNIT_NetUtils_TEST .....................................   Passed    0.01 sec
      Start 16: check_UNIT_NetUtils_TEST
16/90 Test #16: check_UNIT_NetUtils_TEST ...............................   Passed    0.02 sec
      Start 17: UNIT_NodeOptions_TEST
17/90 Test #17: UNIT_NodeOptions_TEST ..................................   Passed    0.02 sec
      Start 18: check_UNIT_NodeOptions_TEST
18/90 Test #18: check_UNIT_NodeOptions_TEST ............................   Passed    0.03 sec
      Start 19: UNIT_Node_TEST
19/90 Test #19: UNIT_Node_TEST .........................................   Passed   17.92 sec
      Start 20: check_UNIT_Node_TEST
20/90 Test #20: check_UNIT_Node_TEST ...................................   Passed    0.03 sec
      Start 21: UNIT_Packet_TEST
21/90 Test #21: UNIT_Packet_TEST .......................................   Passed    0.02 sec
      Start 22: check_UNIT_Packet_TEST
22/90 Test #22: check_UNIT_Packet_TEST .................................   Passed    0.02 sec
      Start 23: UNIT_Publisher_TEST
23/90 Test #23: UNIT_Publisher_TEST ....................................   Passed    0.02 sec
      Start 24: check_UNIT_Publisher_TEST
24/90 Test #24: check_UNIT_Publisher_TEST ..............................   Passed    0.02 sec
      Start 25: UNIT_SubscribeOptions_TEST
25/90 Test #25: UNIT_SubscribeOptions_TEST .............................   Passed    0.02 sec
      Start 26: check_UNIT_SubscribeOptions_TEST
26/90 Test #26: check_UNIT_SubscribeOptions_TEST .......................   Passed    0.03 sec
      Start 27: UNIT_TopicStorage_TEST
27/90 Test #27: UNIT_TopicStorage_TEST .................................   Passed    0.02 sec
      Start 28: check_UNIT_TopicStorage_TEST
28/90 Test #28: check_UNIT_TopicStorage_TEST ...........................   Passed    0.02 sec
      Start 29: UNIT_TopicUtils_TEST
29/90 Test #29: UNIT_TopicUtils_TEST ...................................   Passed    0.02 sec
      Start 30: check_UNIT_TopicUtils_TEST
30/90 Test #30: check_UNIT_TopicUtils_TEST .............................   Passed    0.02 sec
      Start 31: UNIT_Uuid_TEST
31/90 Test #31: UNIT_Uuid_TEST .........................................   Passed    0.01 sec
      Start 32: check_UNIT_Uuid_TEST
32/90 Test #32: check_UNIT_Uuid_TEST ...................................   Passed    0.02 sec
      Start 33: UNIT_ign_TEST
33/90 Test #33: UNIT_ign_TEST ..........................................***Timeout 240.05 sec
[==========] Running 12 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 12 tests from ignTest
[ RUN      ] ignTest.TopicList
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:100: Failure
Value of: topicFound
  Actual: false
Expected: true
[  FAILED  ] ignTest.TopicList (15312 ms)
[ RUN      ] ignTest.TopicInfo
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:132: Failure
Value of: infoFound
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:133: Failure
Value of: output.find("ignition.msgs.Vector3d") != std::string::npos
  Actual: false
Expected: true
[  FAILED  ] ignTest.TopicInfo (15939 ms)
[ RUN      ] ignTest.ServiceList
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:165: Failure
Value of: serviceFound
  Actual: false
Expected: true
[  FAILED  ] ignTest.ServiceList (14928 ms)
[ RUN      ] ignTest.ServiceInfo
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:197: Failure
Value of: infoFound
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:198: Failure
Value of: output.find("ignition.msgs.Int32") != std::string::npos
  Actual: false
Expected: true
[  FAILED  ] ignTest.ServiceInfo (15324 ms)
[ RUN      ] ignTest.TopicListSameProc
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:232: Failure
Value of: topicFound
  Actual: false
Expected: true
[  FAILED  ] ignTest.TopicListSameProc (15533 ms)
[ RUN      ] ignTest.TopicInfoSameProc
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:264: Failure
Value of: infoFound
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:265: Failure
Value of: output.find("ignition.msgs.Vector3d") != std::string::npos
  Actual: false
Expected: true
[  FAILED  ] ignTest.TopicInfoSameProc (15731 ms)
[ RUN      ] ignTest.ServiceListSameProc
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:288: Failure
Value of: serviceFound
  Actual: false
Expected: true
[  FAILED  ] ignTest.ServiceListSameProc (15542 ms)
[ RUN      ] ignTest.ServiceInfoSameProc
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:312: Failure
Value of: infoFound
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:313: Failure
Value of: output.find("ignition.msgs.Int32") != std::string::npos
  Actual: false
Expected: true
[  FAILED  ] ignTest.ServiceInfoSameProc (15149 ms)
[ RUN      ] ignTest.TopicPublish
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:334: Failure
Expected equality of these values:
  g_topicCBStr
    Which is: "bad_value"
  "good_value"
[  FAILED  ] ignTest.TopicPublish (1972 ms)
[ RUN      ] ignTest.ServiceRequest
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:372: Failure
Expected equality of these values:
  output
    Which is: "Service call timed out\n"
  "data: " + value + "\n\n"
    Which is: "data: 10\n\n"
With diff:
@@ -1,1 +1,2 @@
-Service call timed out\n
+data: 10
+\n

[  FAILED  ] ignTest.ServiceRequest (1188 ms)
[ RUN      ] ignTest.TopicEcho
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:392: Failure
Value of: output.find("x: 1") != std::string::npos
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:393: Failure
Value of: output.find("y: 2") != std::string::npos
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/src/ign_TEST.cc:394: Failure
Value of: output.find("z: 3") != std::string::npos
  Actual: false
Expected: true
[  FAILED  ] ignTest.TopicEcho (3115 ms)
[ RUN      ] ignTest.TopicEchoNum

      Start 34: check_UNIT_ign_TEST
34/90 Test #34: check_UNIT_ign_TEST ....................................   Passed    0.03 sec
      Start 35: UNIT_ign_src_TEST
35/90 Test #35: UNIT_ign_src_TEST ......................................   Passed    1.32 sec
      Start 36: check_UNIT_ign_src_TEST
36/90 Test #36: check_UNIT_ign_src_TEST ................................   Passed    0.03 sec
      Start 37: INTEGRATION_versioned_symbols
37/90 Test #37: INTEGRATION_versioned_symbols ..........................   Passed    0.03 sec
      Start 38: INTEGRATION_authPubSub
38/90 Test #38: INTEGRATION_authPubSub .................................   Passed   10.32 sec
      Start 39: check_INTEGRATION_authPubSub
39/90 Test #39: check_INTEGRATION_authPubSub ...........................   Passed    0.03 sec
      Start 40: INTEGRATION_scopedTopic
40/90 Test #40: INTEGRATION_scopedTopic ................................   Passed    1.62 sec
      Start 41: check_INTEGRATION_scopedTopic
41/90 Test #41: check_INTEGRATION_scopedTopic ..........................   Passed    0.03 sec
      Start 42: INTEGRATION_twoProcsPubSub
42/90 Test #42: INTEGRATION_twoProcsPubSub .............................***Exception: SegFault 51.86 sec
[==========] Running 12 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 12 tests from twoProcPubSub
[ RUN      ] twoProcPubSub.PubSubTwoProcsThreeNodes
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from twoProcPubSub
[ RUN      ] twoProcPubSub.PubSubTwoProcsTwoNodesSubscriber
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:126: Failure
Value of: pub.HasConnections()
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:105: Failure
Value of: cbExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:106: Failure
Value of: cbRawExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:107: Failure
Value of: cb2Executed
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:116: Failure
Value of: node.Unsubscribe(g_topic)
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:125: Failure
Value of: cb2Executed
  Actual: false
Expected: true
[  FAILED  ] twoProcPubSub.PubSubTwoProcsTwoNodesSubscriber (12010 ms)
[----------] 1 test from twoProcPubSub (12010 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (12010 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] twoProcPubSub.PubSubTwoProcsTwoNodesSubscriber

 1 FAILED TEST
[  FAILED  ] twoProcPubSub.PubSubTwoProcsThreeNodes (12121 ms)
[ RUN      ] twoProcPubSub.RawPubSubTwoProcsThreeNodes
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from twoProcPubSub
[ RUN      ] twoProcPubSub.PubSubTwoProcsTwoNodesSubscriber
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:168: Failure
Expected: (retries) < (5u), actual: 6 vs 5
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:105: Failure
Value of: cbExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:106: Failure
Value of: cbRawExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:107: Failure
Value of: cb2Executed
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:116: Failure
Value of: node.Unsubscribe(g_topic)
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSubSubscriber_aux.cc:125: Failure
Value of: cb2Executed
  Actual: false
Expected: true
[  FAILED  ] twoProcPubSub.PubSubTwoProcsTwoNodesSubscriber (12010 ms)
[----------] 1 test from twoProcPubSub (12010 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (12011 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] twoProcPubSub.PubSubTwoProcsTwoNodesSubscriber

 1 FAILED TEST
[  FAILED  ] twoProcPubSub.RawPubSubTwoProcsThreeNodes (12117 ms)
[ RUN      ] twoProcPubSub.PubSubWrongTypesOnSubscription
[       OK ] twoProcPubSub.PubSubWrongTypesOnSubscription (3121 ms)
[ RUN      ] twoProcPubSub.PubRawSubWrongTypesOnSubscription
[       OK ] twoProcPubSub.PubRawSubWrongTypesOnSubscription (3120 ms)
[ RUN      ] twoProcPubSub.PubSubWrongTypesTwoSubscribers
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:268: Failure
Value of: cbVectorExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:269: Failure
Value of: genericCbExecuted
  Actual: false
Expected: true
[  FAILED  ] twoProcPubSub.PubSubWrongTypesTwoSubscribers (3119 ms)
[ RUN      ] twoProcPubSub.PubSubWrongTypesTwoRawSubscribers
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:332: Failure
Value of: correctRawCbExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:333: Failure
Value of: genericRawCbExecuted
  Actual: false
Expected: true
[  FAILED  ] twoProcPubSub.PubSubWrongTypesTwoRawSubscribers (3120 ms)
[ RUN      ] twoProcPubSub.FastPublisher
[       OK ] twoProcPubSub.FastPublisher (620 ms)
[ RUN      ] twoProcPubSub.SubThrottled
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:386: Failure
Expected equality of these values:
  counter
    Which is: 0
  2
[  FAILED  ] twoProcPubSub.SubThrottled (3001 ms)
[ RUN      ] twoProcPubSub.PubThrottled
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:415: Failure
Expected equality of these values:
  counter
    Which is: 0
  2
[  FAILED  ] twoProcPubSub.PubThrottled (3120 ms)
[ RUN      ] twoProcPubSub.PubSubMessageInfo
[       OK ] twoProcPubSub.PubSubMessageInfo (3120 ms)
[ RUN      ] twoProcPubSub.TopicList
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:472: Failure
Expected equality of these values:
  topics.size()
    Which is: 0
  1u
    Which is: 1
[  FAILED  ] twoProcPubSub.TopicList (2501 ms)
[ RUN      ] twoProcPubSub.TopicInfo
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:526: Failure
Value of: node.TopicInfo("/foo", publishers)
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsPubSub.cc:527: Failure
Expected equality of these values:
  publishers.size()
    Which is: 0
  1u
    Which is: 1

      Start 43: check_INTEGRATION_twoProcsPubSub
43/90 Test #43: check_INTEGRATION_twoProcsPubSub .......................   Passed    0.03 sec
      Start 44: INTEGRATION_twoProcsSrvCall
44/90 Test #44: INTEGRATION_twoProcsSrvCall ............................***Exception: SegFault 29.74 sec
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from twoProcSrvCall
[ RUN      ] twoProcSrvCall.SrvTwoProcs
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:92: Failure
Value of: responseExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:93: Failure
Expected equality of these values:
  counter
    Which is: 0
  1
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:108: Failure
Value of: responseExecuted
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:109: Failure
Expected equality of these values:
  counter
    Which is: 0
  1
[  FAILED  ] twoProcSrvCall.SrvTwoProcs (6115 ms)
[ RUN      ] twoProcSrvCall.SrvRequestWrongReq
[       OK ] twoProcSrvCall.SrvRequestWrongReq (6121 ms)
[ RUN      ] twoProcSrvCall.SrvRequestWrongRep
[       OK ] twoProcSrvCall.SrvRequestWrongRep (6121 ms)
[ RUN      ] twoProcSrvCall.SrvTwoRequestsOneWrong
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:233: Failure
Value of: node.Request(g_topic, req, timeout, goodRep, result)
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:236: Failure
Value of: responseExecuted
  Actual: false
Expected: true
[  FAILED  ] twoProcSrvCall.SrvTwoRequestsOneWrong (6119 ms)
[ RUN      ] twoProcSrvCall.ServiceList
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:268: Failure
Expected equality of these values:
  services.size()
    Which is: 0
  1u
    Which is: 1
[  FAILED  ] twoProcSrvCall.ServiceList (2501 ms)
[ RUN      ] twoProcSrvCall.ServiceInfo
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:322: Failure
Value of: node.ServiceInfo("/foo", publishers)
  Actual: false
Expected: true
/home/t/projects/debris/approach-simulator/ignitionrobotics/ign-transport/test/integration/twoProcsSrvCall.cc:323: Failure
Expected equality of these values:
  publishers.size()
    Which is: 0
  1u
    Which is: 1

      Start 45: check_INTEGRATION_twoProcsSrvCall
45/90 Test #45: check_INTEGRATION_twoProcsSrvCall ......................   Passed    0.03 sec
      Start 46: INTEGRATION_twoProcsSrvCallStress

@osrf-migration
Copy link
Author

Original comment by Til Hoff (Bitbucket: turakar).


  • Edited issue description
    Reproduced the error on Fedora KDE 30.

@osrf-migration
Copy link
Author

Original comment by Til Hoff (Bitbucket: turakar).


Reproduced the error regarding gazebo failing to start on Fedora KDE 30 with a combination of the official ignition-transport package from the Fedora Repos and a source install of Gazebo.

@osrf-migration
Copy link
Author

Original comment by Til Hoff (Bitbucket: turakar).


  • Edited issue description* changed title from "Tests do not pass on fresh source install" to "[Fedora KDE] Tests do not pass on fresh source install"

I did some more testing with different VMs. It seems like the problem only happens on Fedora KDE, not on classic Fedora (using Gnome). As Fedora KDE is a “Spin”, both flavours share the same package repositories. Therefore the issue should not be related to dependencies. Currently, I think the problem is related to different (network) configurations. Therefore I have some questions regarding the discovery phase:

  • How is the discovery implemented?
  • Which ports are used (if any)?
  • Are there special network operations used which might require extra permissions?

@osrf-migration
Copy link
Author

Original comment by Til Hoff (Bitbucket: turakar).


  • Edited issue description* changed title from "[Fedora KDE] Tests do not pass on fresh source install" to "[Fedora KDE] Tests do not pass on fresh source install - Discovery fails"

Workaround: IGN_IP=127.0.0.1

This prevents the use of distributed computing environments.

@osrf-migration osrf-migration added major bug Something isn't working labels Apr 15, 2020
@chapulina chapulina added tests Broken or missing tests / testing infra and removed major labels May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Broken or missing tests / testing infra
Projects
None yet
Development

No branches or pull requests

2 participants