Skip to content

[Nightly test failure] rclpy.test_events_ececutor #852

@Yadunund

Description

@Yadunund

Generated by Generative AI

No response

Operating System:

Ubuntu 24.04

ROS version or commit hash:

rolling, kilted

RMW implementation (if applicable):

rmw_zenoh_cpp

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output

ros2 doctor --report
<COPY OUTPUT HERE>

Steps to reproduce issue

https://build.ros2.org/job/Rci__nightly-zenoh_ubuntu_noble_amd64/228/testReport/rclpy.rclpy.test.test_events_executor/TestEventsExecutor/test_pub_sub/

Expected behavior

Test passes

Actual behavior

self = <test.test_events_executor.TestEventsExecutor testMethod=runTest>

    def test_pub_sub(self) -> None:
        sub_node = SubTestNode()
        new_pub_future = sub_node.expect_pub_info()
        received_future = sub_node.expect_message()
        self.executor.add_node(sub_node)
    
        # With subscriber node alone, should be no publisher or messages
>       self._expect_future_not_done(new_pub_future)

../../src/ros2/rclpy/rclpy/test/test_events_executor.py:525: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../src/ros2/rclpy/rclpy/test/test_events_executor.py:465: in _expect_future_not_done
    self.assertFalse(future.done())
E   AssertionError: True is not false

Additional information

No response

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