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

[Test] internal/publishers/test_publisher_manager.py fails with 4 test cases #2

Open
130s opened this issue Oct 11, 2019 · 0 comments

Comments

@130s
Copy link

130s commented Oct 11, 2019

Actual Behavior

$ docker run -it ****** bash  (a docker image with Ubuntu 16.04 with ROS kinetic)

# cd src && git clone https://github.com/plusone-robotics/rosbridge_suite.git
# cd .. && source /opt/ros/kinetic/setup.bash apt-get update && rosdep update && rosdep install -r -y --from-paths src --ignore-src && source devel/setup.bash 

# rostest rosbridge_library test_internal.test

[rosbridge_library.rosunit-test_publisher_manager/test_register_multiple_notopictype][FAILURE]
True is not false
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/rosbridge_suite/rosbridge_library/test/internal/publishers/test_publisher_manager.py", line 172, in test_register_multiple_notopictype
    self.assertFalse(topic in manager._publishers)
  File "/usr/lib/python2.7/unittest/case.py", line 416, in assertFalse
    raise self.failureException(msg)
--------------------------------------------------------------------------------

[rosbridge_library.rosunit-test_publisher_manager/test_register_multiple_publishers][FAILURE]
True is not false
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/rosbridge_suite/rosbridge_library/test/internal/publishers/test_publisher_manager.py", line 116, in test_register_multiple_publishers
    self.assertFalse(topic1 in manager._publishers)
  File "/usr/lib/python2.7/unittest/case.py", line 416, in assertFalse
    raise self.failureException(msg)
--------------------------------------------------------------------------------

[rosbridge_library.rosunit-test_publisher_manager/test_register_no_msgtype][passed]
[rosbridge_library.rosunit-test_publisher_manager/test_register_publisher][FAILURE]
True is not false
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/rosbridge_suite/rosbridge_library/test/internal/publishers/test_publisher_manager.py", line 41, in test_register_publisher
    self.assertFalse(topic in manager._publishers)
  File "/usr/lib/python2.7/unittest/case.py", line 416, in assertFalse
    raise self.failureException(msg)
--------------------------------------------------------------------------------

[rosbridge_library.rosunit-test_publisher_manager/test_register_publisher_conflicting_types][passed]
[rosbridge_library.rosunit-test_publisher_manager/test_register_publisher_multiclient][FAILURE]
True is not false
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/catkin_ws/src/rosbridge_suite/rosbridge_library/test/internal/publishers/test_publisher_manager.py", line 67, in test_register_publisher_multiclient
    self.assertFalse(topic in manager._publishers)
  File "/usr/lib/python2.7/unittest/case.py", line 416, in assertFalse
    raise self.failureException(msg)
:

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

Specifications

  • Rosbridge Version (roscat rosbridge_server package.xml | grep '<version>'):

    roscat rosbridge_server package.xml | grep '<version>'
    <version>1000.11.4</version>
    
  • Twisted Version (python -c 'import twisted; print twisted.version'):

    python -c 'import twisted; print twisted.version'
    [twisted, version 16.0.0]
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant