Getting Attribute error when running colcon test following the ROS humble tutorial
According to ROS humble tutorials. I ran:
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws
git clone https://github.com/ros2/examples src/examples -b humble
colcon build --symlink-install
colcon build
colcon test-result --all --verbose
and here is what I get:
...... build/examplesrclcppwaitset/testresults/examplesrclcppwaitset/lintcmake.xunit.xml: 1 test, 0 errors, 0 failures, 0 skipped build/examplesrclcppwaitset/testresults/examplesrclcppwaitset/uncrustify.xunit.xml: 15 tests, 0 errors, 0 failures, 0 skipped build/examplesrclcppwaitset/testresults/examplesrclcppwaitset/xmllint.xunit.xml: 1 test, 0 errors, 0 failures, 0 skipped build/examplesrclpyexecutors/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyexecutors.executors.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsandargs'
build/examplesrclpyguardconditions/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyguardconditions.guardconditions.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsand_args'
build/examplesrclpyminimalactionclient/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyminimalactionclient.actions.minimalactionclient.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsandargs'
build/examplesrclpyminimalactionserver/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyminimalactionserver.actions.minimalactionserver.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsandargs'
build/examplesrclpyminimalclient/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyminimalclient.services.minimalclient.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsand_args'
build/examplesrclpyminimalpublisher/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyminimalpublisher.topics.minimalpublisher.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsand_args'
build/examplesrclpyminimalservice/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyminimalservice.services.minimalservice.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsand_args'
build/examplesrclpyminimalsubscriber/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpyminimalsubscriber.topics.minimalsubscriber.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsand_args'
build/examplesrclpypointcloudpublisher/pytest.xml: 3 tests, 0 errors, 1 failure, 0 skipped - examplesrclpypointcloudpublisher.topics.pointcloudpublisher.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsand_args'
build/launchtestingexamples/pytest.xml: 9 tests, 0 errors, 1 failure, 0 skipped - launchtestingexamples.test.testflake8 testflake8 <<< failure message AttributeError: 'Application' object has no attribute 'parsepreliminaryoptionsandargs'
Asked by mostafa1912 on 2023-03-11 12:05:40 UTC
Comments