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

Rostest fail #8

Open
AbdelrahmanElsaidElsawy opened this issue Dec 31, 2021 · 0 comments
Open

Rostest fail #8

AbdelrahmanElsaidElsawy opened this issue Dec 31, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@AbdelrahmanElsaidElsawy
Copy link
Contributor

AbdelrahmanElsaidElsawy commented Dec 31, 2021

i was testing the bridge package be running catkin_make run_tests_beamng_control, the result as shown below

`
ubuntu@DESKTOP-PUKHVO6:~/catkin_ws$ catkin_make run_tests_beamng_control
Base path: /home/ubuntu/catkin_ws
Source space: /home/ubuntu/catkin_ws/src
Build space: /home/ubuntu/catkin_ws/build
Devel space: /home/ubuntu/catkin_ws/devel
Install space: /home/ubuntu/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/ubuntu/catkin_ws/build"

Running command: "make run_tests_beamng_control -j8 -l8" in "/home/ubuntu/catkin_ws/build"

-- run_tests.py: execute commands
/usr/bin/python3 /opt/ros/noetic/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/ubuntu/catkin_ws/src/beamng-ros-integration/beamng_control --package=beamng_control --results-filename test_topics.xml --results-base-dir "/home/ubuntu/catkin_ws/build/test_results" /home/ubuntu/catkin_ws/src/beamng-ros-integration/beamng_control/test/topics.test
-- run_tests.py: execute commands
/usr/bin/python3 /opt/ros/noetic/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/ubuntu/catkin_ws/src/beamng-ros-integration/beamng_control --package=beamng_control --results-filename test_services.xml --results-base-dir "/home/ubuntu/catkin_ws/build/test_results" /home/ubuntu/catkin_ws/src/beamng-ros-integration/beamng_control/test/services.test
... logging to /home/ubuntu/.ros/log/rostest-DESKTOP-PUKHVO6-665.log... logging to /home/ubuntu/.ros/log/rostest-DESKTOP-PUKHVO6-667.log[ROSUNIT] Outputting test results to /home/ubuntu/catkin_ws/build/test_results/beamng_control/rostest-test_services.xml
[ROSUNIT] Outputting test results to /home/ubuntu/catkin_ws/build/test_results/beamng_control/rostest-test_topics.xml
[Testcase: testtest_topics] ... FAILURE!
FAILURE: Test node [beamng_control/test_topics.py] does not exist or is not executable
[Testcase: testtest_services] ... FAILURE!
FAILURE: Test node [beamng_control/test_services.py] does not exist or is not executable
File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/usr/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/opt/ros/noetic/lib/python3/dist-packages/rostest/runner.py", line 93, in fn
self.fail(message)
File "/usr/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/usr/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/opt/ros/noetic/lib/python3/dist-packages/rostest/runner.py", line 93, in fn
self.fail(message)
File "/usr/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)


[ROSTEST]-----------------------------------------------------------------------

[testtest_topics][failed]

SUMMARY

  • RESULT: FAIL
  • TESTS: 0
  • ERRORS: 0
  • FAILURES: 1

ERROR: The following tests failed to run:

  • testtest_topics

rostest log file is in /home/ubuntu/.ros/log/rostest-DESKTOP-PUKHVO6-665.log

[ROSTEST]-----------------------------------------------------------------------

[testtest_services][failed]

SUMMARY

  • RESULT: FAIL
  • TESTS: 0
  • ERRORS: 0
  • FAILURES: 1

ERROR: The following tests failed to run:

  • testtest_services

rostest log file is in /home/ubuntu/.ros/log/rostest-DESKTOP-PUKHVO6-667.log
-- run_tests.py: verify result "/home/ubuntu/catkin_ws/build/test_results/beamng_control/rostest-test_topics.xml"
-- run_tests.py: verify result "/home/ubuntu/catkin_ws/build/test_results/beamng_control/rostest-test_services.xml"
Built target run_tests_beamng_control_rostest_test_services.test
Built target run_tests_beamng_control_rostest_test_topics.test
Built target run_tests_beamng_control_rostest
Built target run_tests_beamng_control`

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
Development

No branches or pull requests

1 participant