Skip to content

πŸ‘©β€πŸŒΎ Regression introduced in packaging by enabling rosbag2_performance_benchmarking Β #2103

@claraberendsen

Description

@claraberendsen

Description

Packaging windows and packaging RHEL started failing with the inclusion of rosbag2_performance_benchmarking in #2093.
There are two distinct errors that I will report on the same issue since they relate to the same PR.

Packaging Windows

Reference build: https://ci.ros2.org/job/packaging_windows/3694/

This is a consistent issue and related to the length limit of a filenames in Windows on rosbag2_performance_benchmarking_msgs. The error is

C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "rosbag2_performance_benchmarking_msgs__rosidl_typesupport_introspection_cpp.dir\RelWithDebInfo\rosbag2_.A688C7ED.tlog\rosbag2_performance_benchmarking_msgs__rosidl_typesupport_introspection_cpp.lastbuildstate". Path: rosbag2_performance_benchmarking_msgs__rosidl_typesupport_introspection_cpp.dir\RelWithDebInfo\rosbag2_.A688C7ED.tlog\rosbag2_performance_benchmarking_msgs__rosidl_typesupport_introspection_cpp.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\ci\ws\build\rosbag2_performance_benchmarking_msgs\rosbag2_performance_benchmarking_msgs__rosidl_typesupport_introspection_cpp.vcx

Packaging RHEL

Reference build: https://ci.ros2.org/job/packaging_linux-rhel/2394/

It seems to be inconsistent (there is at least 1 green since July 25th). The error when failing is of out of memory possibly due to linking two big pieces of code.

07:13:55 [ 69%] Linking CXX executable results_writer
07:13:55 [ 69%] Built target results_writer
07:13:55 [ 76%] Building CXX object CMakeFiles/benchmark_publishers.dir/src/benchmark_publishers.cpp.o
07:13:55 c++: fatal error: Killed signal terminated program cc1plus
07:13:55 compilation terminated.
07:13:55 gmake[2]: *** [CMakeFiles/benchmark_publishers.dir/build.make:76: CMakeFiles/benchmark_publishers.dir/src/benchmark_publishers.cpp.o] Error 1
07:13:55 gmake[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/benchmark_publishers.dir/all] Error 2
07:13:55 gmake: *** [Makefile:146: all] Error 2

Expected Behavior

Expected both jobs to pass

Actual Behavior

Jobs fail

System (please complete the following information)

  • OS: RHEL + Windows
  • ROS 2 Distro: Rolling

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions