osrf / ros2_test_cases

Tracking of tests to be performed on a ROS 2 release
16 stars 4 forks source link

Check Lifecyle node py #1345

Closed marcoag closed 4 months ago

marcoag commented 4 months ago

Configuration

Links

Process

Check listener and talker

Actions

# StdIn - terminal 1
ros2 run lifecycle_py lifecycle_talker
# StdIn - terminal 2
ros2 lifecycle nodes
# StdIn - terminal 2
ros2 lifecycle set /lc_talker 1
# StdIn - terminal 2
ros2 lifecycle set /lc_talker 3

Expected Results

# StdOut - terminal 1
[INFO] [1680583079.479073069] [lc_talker]: on_configure() is called.
[INFO] [1680583080.439717509] [lc_talker]: Lifecycle publisher is inactive. Messages are not published.
# StdOut - terminal 2
/lc_talker
# StdOut - terminal 2
Transitioning successful
# StdOut - terminal 2
[INFO] [1680583403.113550155] [lc_talker]: on_activate() is called.
[INFO] [1680583403.439875193] [lc_talker]: Lifecycle publisher is active. Publishing: [Lifecycle HelloWorld #323]
pradyum commented 4 months ago

Setup

Installation Changes

  1. openssl v1.1.1 - downloaded through choco
   PLATFORM INFORMATION
system           : Windows
platform info    : Windows-10-10.0.19041-SP0
release          : 10
processor        : Intel64 Family 6 Model 154 Stepping 4, GenuineIntel

   QOS COMPATIBILITY LIST
compatibility status    : No publisher/subscriber pairs found

   RMW MIDDLEWARE
middleware name    : rmw_cyclonedds_cpp

   ROS 2 INFORMATION
distribution name      : jazzy
distribution type      : ros2
distribution status    : pre-release
release platforms      : {'debian': ['bookworm'], 'rhel': ['9'], 'ubuntu': ['noble']}

Result

The executables are working as exepcted and this test has passed.