Skip to content

πŸ§‘β€πŸŒΎ sros2.test.sros2.commands.security.verbs.test_generate_policy_no_nodes.test_generate_policy_no_nodes failing consistently in Kilted CIΒ #361

@Crola1702

Description

@Crola1702

Generated by Generative AI

No response

Operating System:

Ubuntu Nomble

ROS version or commit hash:

Kilted

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. Run a build in Kci debug or release preferably
  2. See test fail

Expected behavior

Test should not fail

Actual behavior

Test is failing

Additional information

Test regression:

Reference builds:

Log output:

=====================================================================================================================================================================================
FAIL: test_generate_policy_no_nodes.TestSROS2GeneratePolicyVerbWithNoNodes.test_generate_policy_no_nodes[rmw_connextdds, True]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/ws/src/ros2/sros2/sros2/test/sros2/commands/security/verbs/test_generate_policy_no_nodes.py", line 62, in test_generate_policy_no_nodes
    assert gen_command.exit_code != launch_testing.asserts.EXIT_OK
AssertionError: assert 0 != 0
 +  where 0 = <launch_testing.tools.process.ProcessProxy object at 0x71058cd7a8d0>.exit_code
 +  and   0 = <module 'launch_testing.asserts' from '/tmp/ws/install_isolated/launch_testing/lib/python3.12/site-packages/launch_testing/asserts/__init__.py'>.EXIT_OK
 +    where <module 'launch_testing.asserts' from '/tmp/ws/install_isolated/launch_testing/lib/python3.12/site-packages/launch_testing/asserts/__init__.py'> = launch_testing.asserts


=====================================================================================================================================================================================
FAIL: test_generate_policy_no_nodes.TestSROS2GeneratePolicyVerbWithNoNodes.test_generate_policy_no_nodes[rmw_connextdds, False]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/ws/src/ros2/sros2/sros2/test/sros2/commands/security/verbs/test_generate_policy_no_nodes.py", line 62, in test_generate_policy_no_nodes
    assert gen_command.exit_code != launch_testing.asserts.EXIT_OK
AssertionError: assert 0 != 0
 +  where 0 = <launch_testing.tools.process.ProcessProxy object at 0x71058d1d89e0>.exit_code
 +  and   0 = <module 'launch_testing.asserts' from '/tmp/ws/install_isolated/launch_testing/lib/python3.12/site-packages/launch_testing/asserts/__init__.py'>.EXIT_OK
 +    where <module 'launch_testing.asserts' from '/tmp/ws/install_isolated/launch_testing/lib/python3.12/site-packages/launch_testing/asserts/__init__.py'> = launch_testing.asserts

The test has been failing since the start of Kilted. And the test is consistent

Flaky ratio
job_name last_fail first_fail build_count failure_count failure_percentage
Kci__nightly-release_ubuntu_noble_amd64 2025-08-20 2025-08-08 5 5 100.0
Kci__nightly-connext_ubuntu_noble_amd64 2025-08-19 2025-08-07 5 4 80.0
Kci__nightly-debug_ubuntu_noble_amd64 2025-08-16 2025-08-07 4 4 100.0
Kci__nightly-cyclonedds_ubuntu_noble_amd64 2025-08-07 2025-08-07 5 1 20.0

Last time it happen on Rolling was on Rci__nightly-release_ubuntu_noble_amd64#457 and [Rci__nightly-connext_ubuntu_noble_amd64#460] https://build.ros2.org/view/Rci/job/Rci__nightly-connext_ubuntu_noble_amd64/460/#showFailuresLink. However, there are no changes between the next Rolling builds that can determine if a fix was applied, or if a change solved it.

Metadata

Metadata

Assignees

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