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
OS Version: Ubuntu 24.04
rviz version: ros2 jazzy
Compiler name and version number: Ubuntu clang version 18.1.3
Source or binary build?
source build
build options: --mixin asan-gcc
Description
When executing the unit test SelectionManagerTestFixture.adding_a_new_selection_with_no_overlap, the selection set size and content did not match the expected results. The specific issues are as follows:
The first call to the select() method with the selection area [0, 0, 15, 15] correctly selected the first object (o1).
The second call to select() with the selection area [25, 25, 35, 35] was expected to select the second object (o2), but the actual test result shows that the second object was not selected, causing the selection set size to be 1 instead of the expected 2.
The expected result was that the selection set would contain two objects, and their handles would be o1 and o2.
The actual result shows that the selection set contains only one object, and its handle does not match the expected handle for o2.
Running main() from gmock_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from SelectionManagerTestFixture
[ RUN ] SelectionManagerTestFixture.adding_a_new_selection_with_no_overlap
[rviz_rendering:debug] Available Renderers(1): OpenGL Rendering Subsystem, at /home/shangzh/ros2_jazzy/src/ros2/rviz/rviz_rendering/src/rviz_rendering/render_system.cpp:289
[rviz_rendering:info] Stereo is NOT SUPPORTED, at /home/shangzh/ros2_jazzy/src/ros2/rviz/rviz_rendering/src/rviz_rendering/render_system.cpp:531
[rviz_rendering:info] OpenGl version: 4.3 (GLSL 4.3), at /home/shangzh/ros2_jazzy/src/ros2/rviz/rviz_rendering/src/rviz_rendering/render_system.cpp:272
/home/shangzh/ros2_jazzy/src/ros2/rviz/rviz_common/test/interaction/selection_manager_test.cpp:38: Failure
Value of: selection
Expected: has a size that is equal to 2
Actual: { (8388608, 56-byte object <00-00 80-00 01-00 00-00 BE-BE BE-BE BE-BE BE-BE 00-00 00-00 BE-BE BE-BE 00-00 00-00 00-00 00-00 20-AB 0A-00 70-50 00-00 20-AB 0A-00 70-50 00-00 00-00 00-00 00-00 00-00>) }, whose size 1 doesn't match
/home/shangzh/ros2_jazzy/src/ros2/rviz/rviz_common/test/interaction/selection_manager_test.cpp:40: Failure
Value of: selection
Expected: contains at least one element that has a key that is equal to 32768
Actual: { (8388608, 56-byte object <00-00 80-00 01-00 00-00 BE-BE BE-BE BE-BE BE-BE 00-00 00-00 BE-BE BE-BE 00-00 00-00 00-00 00-00 20-AB 0A-00 70-50 00-00 20-AB 0A-00 70-50 00-00 00-00 00-00 00-00 00-00>) }
[ FAILED ] SelectionManagerTestFixture.adding_a_new_selection_with_no_overlap (2185 ms)
[----------] 1 test from SelectionManagerTestFixture (2185 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (2185 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] SelectionManagerTestFixture.adding_a_new_selection_with_no_overlap
1 FAILED TEST
Expected behavior
The expected result was that the selection set would contain two objects, and their handles would be o1 and o2.
Actual behavior
The actual result shows that the selection set contains only one object, and its handle does not match the expected handle for o2.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Operating System:
Linux shangzh-VMware-Virtual-Platform 6.11.0-19-generic #19~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 17 11:51:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
ROS version or commit hash:
ros 2 jazzy
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
rviz
'ros2 doctor --report' output
ros2 doc --report
Steps to reproduce issue
Environment
OS Version: Ubuntu 24.04
rviz version: ros2 jazzy
Compiler name and version number: Ubuntu clang version 18.1.3
Source or binary build?
source build
build options: --mixin asan-gcc
Description
When executing the unit test SelectionManagerTestFixture.adding_a_new_selection_with_no_overlap, the selection set size and content did not match the expected results. The specific issues are as follows:
The first call to the select() method with the selection area [0, 0, 15, 15] correctly selected the first object (o1).
The second call to select() with the selection area [25, 25, 35, 35] was expected to select the second object (o2), but the actual test result shows that the second object was not selected, causing the selection set size to be 1 instead of the expected 2.
The expected result was that the selection set would contain two objects, and their handles would be o1 and o2.
The actual result shows that the selection set contains only one object, and its handle does not match the expected handle for o2.
Test Case
Output
Expected behavior
The expected result was that the selection set would contain two objects, and their handles would be o1 and o2.
Actual behavior
The actual result shows that the selection set contains only one object, and its handle does not match the expected handle for o2.
Additional information
No response
The text was updated successfully, but these errors were encountered: