Skip to content

🧑‍🌾 Build regression in perf_test, fails with undefined references to DDS PubSubType #71

@miguelgonrod

Description

@miguelgonrod

Generated by Generative AI

No response

Operating System:

Ubuntu Resolute

ROS version or commit hash:

Rolling

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output

No response

Steps to reproduce issue

  1. Go to https://build.ros2.org/job/Rci__nightly-performance_ubuntu_resolute_amd64
  2. Build a job
  3. See build failing

Expected behavior

Build without errors

Actual behavior

Failing

Additional information

Reference Builds

Log Output

....
No default extensibility provided. For one or more of the aggregated types in the IDL the extensibility is not explicitly set. Currently the default extensibility for these types is 'final', but this may change to 'appendable' in a future release because that is the default in the DDS XTypes specification.
No default extensibility provided. For one or more of the aggregated types in the IDL the extensibility is not explicitly set. Currently the default extensibility for these types is 'final', but this may change to 'appendable' in a future release because that is the default in the DDS XTypes specification.
In file included from /usr/include/c++/15/string:56,
                 from /tmp/ws2/src/performance_test/performance_test/src/experiment_configuration/experiment_configuration.hpp:18,
                 from /tmp/ws2/src/performance_test/performance_test/src/experiment_configuration/experiment_configuration.cpp:15:
In member function ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’,
    inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/15/bits/basic_string.h:1176:20,
    inlined from ‘constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/15/bits/basic_string.tcc:313:42,
    inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/15/bits/basic_string.h:1771:17,
    inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/15/bits/basic_string.h:906:21,
    inlined from ‘void boost::program_options::typed_value<T, charT>::notify(const boost::any&) const [with T = std::__cxx11::basic_string<char>; charT = char]’ at /usr/include/boost/program_options/detail/value_semantic.hpp:46:25:
/usr/include/c++/15/bits/basic_string.h:1165:19: warning: potential null pointer dereference [-Wnull-dereference]
 1165 |         size_type __sz = _M_string_length;
      |                   ^~~~
/usr/bin/x86_64-linux-gnu-ld.bfd: CMakeFiles/perf_test.dir/src/data_running/data_runner_factory.cpp.o: warning: relocation against `performance_test_msgs_msg_dds__NavSatFix__desc' in read-only section `.text'
/usr/bin/x86_64-linux-gnu-ld.bfd: CMakeFiles/perf_test.dir/src/data_running/data_runner_factory.cpp.o: in function `std::enable_if<(17ul)!=(21), unsigned long>::type performance_test::for_each<17ul, performance_test::DataRunnerFactory::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, performance_test::CommunicationMean, performance_test::RunType)::{lambda(auto:1 const&)#1}, performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Array4m, performance_test::topics::Array8m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::PointCloud8m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>(std::tuple<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Array4m, performance_test::topics::Array8m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::PointCloud8m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> const&, performance_test::DataRunnerFactory::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, performance_test::CommunicationMean, performance_test::RunType)::{lambda(auto:1 const&)#1}) [clone .isra.0]':
data_runner_factory.cpp:(.text+0xd5ef): undefined reference to `performance_test_msgs::msg::dds_::RadarDetection_PubSubType::RadarDetection_PubSubType()'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xdc02): undefined reference to `performance_test_msgs::msg::dds_::NavSatFix_PubSubType::NavSatFix_PubSubType()'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xe371): undefined reference to `performance_test_msgs::msg::dds_::RadarTrack_PubSubType::RadarTrack_PubSubType()'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xe987): undefined reference to `performance_test_msgs::msg::dds_::Range_PubSubType::Range_PubSubType()'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xed55): undefined reference to `performance_test_msgs_msg_dds__NavSatFix__desc'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xeed6): undefined reference to `performance_test_msgs_msg_dds__Range__desc'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xf065): undefined reference to `performance_test_msgs_msg_dds__RadarTrack__desc'
/usr/bin/x86_64-linux-gnu-ld.bfd: data_runner_factory.cpp:(.text+0xf1e5): undefined reference to `performance_test_msgs_msg_dds__RadarDetection__desc'
/usr/bin/x86_64-linux-gnu-ld.bfd: CMakeFiles/perf_test.dir/src/data_running/data_runner_factory.cpp.o: in function `std::enable_if<(13ul)!=(21), unsigned long>::type performance_test::for_each<13ul, performance_test::DataRunnerFactory::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, performance_test::CommunicationMean, performance_test::RunType)::{lambda(auto:1 const&)#1}, performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Array4m, performance_test::topics::Array8m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::PointCloud8m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>(std::tuple<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Array4m, performance_test::topics::Array8m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::PointCloud8m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> const&, performance_test::DataRunnerFactory::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, performance_test::CommunicationMean, performance_test::RunType)::{lambda(auto:1 const&)#1}) [clone .isra.0]':
data_runner_factory.cpp:(.text+0x10060): undefined reference to `performance_test_msgs::msg::dds_::PointCloud8m_PubSubType::PointCloud8m_PubSubType()'
...

I can't see a clear beginning of this error as this have happen since build 1 in resolute.

CC: @Crola1702

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions