Untitled

 avatar
unknown
plain_text
3 years ago
8.8 kB
5
Indexable
Base path: /catkin_ws
Source space: /catkin_ws/src
Build space: /catkin_ws/build
Devel space: /catkin_ws/devel
Install space: /catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/catkin_ws/build"
####
####
#### Running command: "make run_tests -j36 -l36" in "/catkin_ws/build"
####
Scanning dependencies of target clean_test_results_boat_controller
Scanning dependencies of target tests
Built target tests
Removing test result files from '/catkin_ws/build/test_results/boat_controller'
Built target clean_test_results_boat_controller
Scanning dependencies of target _run_tests_boat_controller_rostest_test_integration.test
Scanning dependencies of target _run_tests_boat_controller_rostest_test_unit.test
-- run_tests.py: execute commands
  /usr/bin/python2 /opt/ros/melodic/share/rostest/cmake/../../../bin/rostest --pkgdir=/catkin_ws/src/boat_controller --package=boat_controller --results-filename test_integration.xml --results-base-dir "/catkin_ws/build/test_results" /catkin_ws/src/boat_controller/test/integration.test 
-- run_tests.py: execute commands
  /usr/bin/python2 /opt/ros/melodic/share/rostest/cmake/../../../bin/rostest --pkgdir=/catkin_ws/src/boat_controller --package=boat_controller --results-filename test_unit.xml --results-base-dir "/catkin_ws/build/test_results" /catkin_ws/src/boat_controller/test/unit.test 
WARNING: Could not change permissions for folder [/root/.ros/log], make sure that the parent folder has correct permissions.
... logging to /root/.ros/log/rostest-d1f60c0a8dea-6921.log
[ROSUNIT] Outputting test results to /catkin_ws/build/test_results/boat_controller/rostest-test_integration.xml
[ROSUNIT] Outputting test results to /catkin_ws/build/test_results/boat_controller/rostest-test_unit.xml
[Testcase: testtest_boat_controller] ... ok

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

[boat_controller.rosunit-test_boat_controller/test_rudderAndSailAnglePublished][passed]

SUMMARY
 * RESULT: SUCCESS
 * TESTS: 1
 * ERRORS: 0
 * FAILURES: 0

-- run_tests.py: verify result "/catkin_ws/build/test_results/boat_controller/rostest-test_integration.xml"
[Testcase: testtest_ControllerOutputRefiner] ... ok
[Testcase: testtest_JibeController] ... ok
[Testcase: testtest_RudderController] ... ok
[Testcase: testtest_SailController] ... ok

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

[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_badBoundInputs][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_equalUpperAndLower1][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_equalUpperAndLower2][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_greaterThanUpperBound][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_inputWithinBound][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_justAboveLowerBound][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_justAboveUpperBound][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_justBelowLowerBound][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_justBelowUpperBound][passed]
[boat_controller.rosunit-test_ControllerOutputRefiner/test_saturate_smallerThanLowerBound][passed]
[boat_controller.rosunit-test_JibeController/test_getJibeDirection_normalCase][ERROR]
unbound method get_jibe_controller_direction() must be called with JibeOnlySailController instance as first argument (got float instance instead)
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/boat_controller/test/test_JibeController.py", line 21, in test_getJibeDirection_normalCase
    self.assertEqual(JibeOnlySailController.get_jibe_controller_direction(math.pi /2, - math.pi / 2, 0), -1)
--------------------------------------------------------------------------------

[boat_controller.rosunit-test_JibeController/test_getJibeDirection_normalCaseInverse][ERROR]
unbound method get_jibe_controller_direction() must be called with JibeOnlySailController instance as first argument (got float instance instead)
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/boat_controller/test/test_JibeController.py", line 27, in test_getJibeDirection_normalCaseInverse
    self.assertEqual(JibeOnlySailController.get_jibe_controller_direction(math.pi /2, - math.pi / 2, math.pi), 1)
--------------------------------------------------------------------------------

[boat_controller.rosunit-test_JibeController/test_getJibeDirection_smallAngle][ERROR]
unbound method get_jibe_controller_direction() must be called with JibeOnlySailController instance as first argument (got float instance instead)
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/boat_controller/test/test_JibeController.py", line 33, in test_getJibeDirection_smallAngle
    self.assertEqual(JibeOnlySailController.get_jibe_controller_direction(math.pi /100, - math.pi / 100, math.pi), 1)
--------------------------------------------------------------------------------

[boat_controller.rosunit-test_JibeController/test_getJibeDirection_wrap][ERROR]-
unbound method get_jibe_controller_direction() must be called with JibeOnlySailController instance as first argument (got float instance instead)
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/boat_controller/test/test_JibeController.py", line 39, in test_getJibeDirection_wrap
    self.assertEqual(JibeOnlySailController.get_jibe_controller_direction(math.pi /2 + 2 * math.pi, - math.pi / 2 + 2 * math.pi, 0 + 2 * math.pi), -1)
--------------------------------------------------------------------------------

[boat_controller.rosunit-test_JibeController/test_getJibeError_normalCase][passed]
[boat_controller.rosunit-test_JibeController/test_getJibeError_normalCaseInverse][passed]
[boat_controller.rosunit-test_JibeController/test_getJibeError_smallAngle][passed]
[boat_controller.rosunit-test_JibeController/test_getJibeError_wrap][passed]
[boat_controller.rosunit-test_RudderController/test_getFeedBackGain_headingErrorBelowNegative2Pi_valueErrorRaised][passed]
[boat_controller.rosunit-test_RudderController/test_getFeedBackGain_headingErrorBetweenNegativePiAndNegative2Pi][passed]
[boat_controller.rosunit-test_RudderController/test_getFeedBackGain_headingErrorBetweenPiAnd2Pi][passed]
[boat_controller.rosunit-test_RudderController/test_getFeedBackGain_headingErrorGreaterThan2Pi_valueErrorRaised][passed]
[boat_controller.rosunit-test_RudderController/test_getFeedBackGain_headingErrorNegative][passed]
[boat_controller.rosunit-test_RudderController/test_getFeedBackGain_headingErrorPositive][passed]
[boat_controller.rosunit-test_RudderController/test_getHeadingErrorTackable][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAngleBetween0AndPi][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAngleBetweenNegativePiAnd0][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAngleNegativeNotBounded][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAngleNegativePi][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAnglePi][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAnglePositiveNotBounded][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAngleZero][passed]
[boat_controller.rosunit-test_SailController/test_getSailAngle_apparentWindAngle_boundedBetweenPiAnd2Pi][passed]

SUMMARY
 * RESULT: FAIL
 * TESTS: 33
 * ERRORS: 4
 * FAILURES: 0

rostest log file is in /root/.ros/log/rostest-d1f60c0a8dea-6921.log
Built target _run_tests_boat_controller_rostest_test_integration.test
-- run_tests.py: verify result "/catkin_ws/build/test_results/boat_controller/rostest-test_unit.xml"
Built target _run_tests_boat_controller_rostest_test_unit.test
Scanning dependencies of target _run_tests_boat_controller_rostest
Built target _run_tests_boat_controller_rostest
Scanning dependencies of target _run_tests_boat_controller
Built target _run_tests_boat_controller
Scanning dependencies of target run_tests
Built target run_tests
build/test_results/boat_controller/rosunit-test_JibeController.xml: 8 tests, 4 errors, 0 failures, 0 skipped
Summary: 39 tests, 4 errors, 0 failures, 0 skipped

Exited with code exit status 1
CircleCI received exit code 1
Editor is loading...