Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ament_pep257 fails in CI for ROS IDL generated python files #12

Open
agalbachicar opened this issue Jan 10, 2023 · 0 comments
Open

ament_pep257 fails in CI for ROS IDL generated python files #12

agalbachicar opened this issue Jan 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@agalbachicar
Copy link
Collaborator

Environment

Check this action for example.

Description

Checks using pep257 fail with the generated ROS IDL messages.

Steps to reproduce

This is a CI only problem, cannot reproduce it locally.

Output

test 28
        Start 28: pep257_rosidl_generated_py
  
  28: Test command: /usr/bin/python3 "-u" "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py" "/__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/test_results/maliput_ros_interfaces/pep257_rosidl_generated_py.xunit.xml" "--package-name" "maliput_ros_interfaces" "--output-file" "/__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/ament_pep257/pep257_rosidl_generated_py.txt" "--command" "/opt/ros/foxy/bin/ament_pep257" "--xunit-file" "/__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/test_results/maliput_ros_interfaces/pep257_rosidl_generated_py.xunit.xml" "/__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/rosidl_generator_py/maliput_ros_interfaces"
  28: Test timeout computed to be: 60
  28: -- run_test.py: invoking following command in '/__w/ros2_maliput/ros2_maliput/ros_ws/src/pa65zil6ct/ros2_maliput/maliput_ros_interfaces':
  28:  - /opt/ros/foxy/bin/ament_pep257 --xunit-file /__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/test_results/maliput_ros_interfaces/pep257_rosidl_generated_py.xunit.xml /__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/rosidl_generator_py/maliput_ros_interfaces
  28: Traceback (most recent call last):
  28:   File "/opt/ros/foxy/bin/ament_pep257", line 11, in <module>
  28:     load_entry_point('ament-pep257==0.9.7', 'console_scripts', 'ament_pep257')()
  28:   File "/opt/ros/foxy/lib/python3.8/site-packages/ament_pep257/main.py", line 77, in main
  28:     report = generate_pep257_report(args.paths, excludes, args.ignore)
  28:   File "/opt/ros/foxy/lib/python3.8/site-packages/ament_pep257/main.py", line 133, in generate_pep257_report
  28:     for filename, checked_codes, ignore_decorators in files_to_check:
  28: ValueError: too many values to unpack (expected 3)
  28: -- run_test.py: return code 1
  28: -- run_test.py: generate result file '/__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/test_results/maliput_ros_interfaces/pep257_rosidl_generated_py.xunit.xml' with failed test
  28: -- run_test.py: verify result file '/__w/ros2_maliput/ros2_maliput/ros_ws/build/maliput_ros_interfaces/test_results/maliput_ros_interfaces/pep257_rosidl_generated_py.xunit.xml'
  28/32 Test #28: pep257_rosidl_generated_py ........................***Failed    0.41 sec
@agalbachicar agalbachicar added the bug Something isn't working label Jan 10, 2023
@agalbachicar agalbachicar self-assigned this Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant