You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- run_test.py: extra environment variables:
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
-- run_test.py: extra environment variables to append:
- LD_LIBRARY_PATH+=/home/jenkins-agent/workspace/nightly_linux-centos_release/ws/build/rcl
-- run_test.py: invoking following command in '/home/jenkins-agent/workspace/nightly_linux-centos_release/ws/build/rcl/test':
- /home/jenkins-agent/workspace/nightly_linux-centos_release/ws/build/rcl/test/test_subscription__rmw_cyclonedds_cpp --gtest_output=xml:/home/jenkins-agent/workspace/nightly_linux-centos_release/ws/build/rcl/test_results/rcl/test_subscription__rmw_cyclonedds_cpp.gtest.xml
Running main() from /home/jenkins-agent/workspace/nightly_linux-centos_release/ws/install/gtest_vendor/src/gtest_vendor/src/gtest_main.cc
[==========] Running 15 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 10 tests from TestSubscriptionFixture__rmw_cyclonedds_cpp
[ RUN ] TestSubscriptionFixture__rmw_cyclonedds_cpp.test_subscription_init_fini_and_is_valid
[ OK ] TestSubscriptionFixture__rmw_cyclonedds_cpp.test_subscription_init_fini_and_is_valid (4 ms)
[ RUN ] TestSubscriptionFixture__rmw_cyclonedds_cpp.test_subscription_bad_init
-- run_test.py: return code -11
-- run_test.py: generate result file '/home/jenkins-agent/workspace/nightly_linux-centos_release/ws/build/rcl/test_results/rcl/test_subscription__rmw_cyclonedds_cpp.gtest.xml' with failed test
The text was updated successfully, but these errors were encountered:
So, the problem is that CentOS deals with function trampolines differently. I haven't dug enough, but it'd almost seem like somehow it keeps a single .got.plt section for all shared objects so it we taking the address of a function, it can pass around the address of the function trampoline w/o breaking ODR. Unfortunately, that means we cannot call the original function from within the mock in CentOS.
Bug report
Required Info:
Steps to reproduce issue
Run test_subscription tests on CentOS 7.
See nightly CentOS Linux release, debug, or extra rmw for examples.
The text was updated successfully, but these errors were encountered: