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

🧑‍🌾 Segfaults in Homebrew CI cause test failures #497

Closed
Crola1702 opened this issue Mar 24, 2023 · 0 comments · Fixed by #504
Closed

🧑‍🌾 Segfaults in Homebrew CI cause test failures #497

Crola1702 opened this issue Mar 24, 2023 · 0 comments · Fixed by #504
Assignees
Labels
bug Something isn't working

Comments

@Crola1702
Copy link

Crola1702 commented Mar 24, 2023

Environment

  • OS Version: Mac OS bigsur
  • Source Garden build

Description

  • Expected behavior: COMMON_TEST_simulation_features_bullet-featherstone should pass
  • Actual behavior: COMMON_TEST_simulation_features_bullet-featherstone and INTEGRATION_DoublePendulum are failing due to a Segfault

Steps to reproduce

  1. Run a build in gz-physics6-homebrew
  2. See COMMON_TEST_simulation_features_bullet-featherstone fail.
  3. If you enter the log, you can see INTEGRATION_DoublePendulum also failed due to a segfault.

Output

Reference build: https://build.osrfoundation.org/view/ign-garden/job/ignition_physics-ci-gz-physics6-homebrew-amd64/55/

The following tests FAILED:

  • 105 - COMMON_TEST_simulation_features_bullet-featherstone (SEGFAULT)
  • 121 - INTEGRATION_DoublePendulum (SEGFAULT) (This one is failing since build 37, but for some reason, Jenkins doesn't show it on the report)

Log output:

COMMON_TEST_simulation_features_bullet-featherstone:

        Start 105: COMMON_TEST_simulation_features_bullet-featherstone

105: Test command: /Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/bin/COMMON_TEST_simulation_features "/Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/lib/libgz-physics6-bullet-featherstone-plugin.6.3.1.dylib" "--gtest_output=xml:/Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/test_results/COMMON_TEST_simulation_features_bullet-featherstone.xml"
105: Working Directory: /Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/test/common_test
105: Test timeout computed to be: 240
105: [==========] Running 9 tests from 6 test suites.
105: [----------] Global test environment set-up.
105: [----------] 1 test from SimulationFeaturesContactsTest/0, where TypeParam = gz::physics::FeatureList<gz::physics::sdf::ConstructSdfWorld, gz::physics::GetContactsFromLastStepFeature, gz::physics::ForwardStep>
105: [ RUN      ] SimulationFeaturesContactsTest/0.Contacts
105/189 Test #105: COMMON_TEST_simulation_features_bullet-featherstone .......................***Exception: SegFault  0.10 sec

INTEGRATION_DoublePendulum:

        Start 121: INTEGRATION_DoublePendulum

121: Test command: /Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/bin/INTEGRATION_DoublePendulum "--gtest_output=xml:/Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/test_results/INTEGRATION_DoublePendulum.xml"
121: Working Directory: /Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/build/test/integration
121: Test timeout computed to be: 240
121: Running main() from /Users/jenkins/jenkins-agent/workspace/ignition_physics-ci-gz-physics6-homebrew-amd64/ign-physics/test/gtest_vendor/src/gtest_main.cc
121: [==========] Running 1 test from 1 test suite.
121: [----------] Global test environment set-up.
121: [----------] 1 test from DoublePendulum
121: [ RUN      ] DoublePendulum.Step
121: DoublePendulum: testing plugin: mock::dart::DARTDoublePendulum
121: Warning: link 'link1' material 'black' undefined.
121:          at line 84 in /tmp/urdfdom-20230105-8093-1tzhudv/urdfdom-3.0.0/urdf_parser/src/model.cpp
121: Warning: link 'link1' material 'black' undefined.
121:          at line 84 in /tmp/urdfdom-20230105-8093-1tzhudv/urdfdom-3.0.0/urdf_parser/src/model.cpp
121: Warning: link 'link2' material 'orange' undefined.
121:          at line 84 in /tmp/urdfdom-20230105-8093-1tzhudv/urdfdom-3.0.0/urdf_parser/src/model.cpp
121: Warning: link 'link2' material 'orange' undefined.
121:          at line 84 in /tmp/urdfdom-20230105-8093-1tzhudv/urdfdom-3.0.0/urdf_parser/src/model.cpp
121: [       OK ] DoublePendulum.Step (155 ms)
121: [----------] 1 test from DoublePendulum (155 ms total)
121: 
121: [----------] Global test environment tear-down
121: [==========] 1 test from 1 test suite ran. (155 ms total)
121: [  PASSED  ] 1 test.
121/189 Test #121: INTEGRATION_DoublePendulum ................................................***Exception: SegFault  0.24 sec

This issue started failing since build 50

@Crola1702 Crola1702 added the bug Something isn't working label Mar 24, 2023
@azeey azeey self-assigned this Mar 30, 2023
@azeey azeey closed this as completed in #504 Apr 7, 2023
@azeey azeey moved this to Done in Core development Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants