Open
Description
As of #748, the local test targets in the dartsim
and tpe
subdirectories are marked as manual
in their BUILD.bazel
files to prevent them from running automatically. It was found that these tests pass but exit with a non-zero status. It is likely that they crashed on exit. Note this only happens when the plugins are built with gcc but not clang.
Environment
- OS Version: 24.04
- Source or binary build? source build, gz-physics8 branch
Description
- Expected behavior: Test passes without crashing
- Actual behavior: Test passes but marked as failed.
Steps to reproduce
Run one of the tests in dartsim / tpe folder that's tagged as manual
in the BUILD.bazel
file, e.g.
bazel test //dartsim:dartsim_WorldFeatures_TEST --test_output=streamed
Test passes but shown as Failed.
Output
console output:
FAIL: //dartsim:dartsim_WorldFeatures_TEST (see /home/iche/.cache/bazel/_bazel_iche/6523cd100a22f925737a61405e873072/execroot/_main/bazel-out/k8-fastbuild/testlogs/dartsim/dartsim_WorldFeatures_TEST/test.log)
test.log
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //dartsim:dartsim_WorldFeatures_TEST
-----------------------------------------------------------------------------
Running main() from gmock_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from WorldFeaturesFixture
[ RUN ] WorldFeaturesFixture.CollisionDetector
No HOME defined in the environment. Will not log.
Missing HOME environment variable.No log file will be generated.
(2025-06-20 22:35:55.556) [error] [WorldFeatures.cc:76] Collision detector [banana] is not supported, defaulting to [ode].
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
[ OK ] WorldFeaturesFixture.CollisionDetector (391 ms)
[ RUN ] WorldFeaturesFixture.Solver
Missing HOME environment variable.No log file will be generated.
(2025-06-20 22:35:55.905) [error] [WorldFeatures.cc:186] Solver [banana] is not supported, defaulting to [DantzigBoxedLcpSolver].
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
Missing HOME environment variable.No log file will be generated.
[ OK ] WorldFeaturesFixture.Solver (353 ms)
[----------] 2 tests from WorldFeaturesFixture (745 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (745 ms total)
[ PASSED ] 2 tests.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status