Skip to content

Flaky Travis Test #311

Closed
Closed

Description

@davetcoleman

Travis sometimes fails with this error message during testing:

Warnings << moveit_ros_planning_interface:make /root/ws_moveit/logs/moveit_ros_planning_interface/build.make.002.log
Traceback (most recent call last):
  File "/opt/ros/kinetic/share/rostest/cmake/../../../bin/rostest", line 36, in <module>
    rostestmain()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostest/__init__.py", line 274, in rostestmain
    _main()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostest/rostest_main.py", line 167, in rostestmain
    results_file = xmlResultsFile(pkg, outname, is_rostest, env=env)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosunit/core.py", line 102, in xml_results_file
    raise IOError("cannot create test results directory [%s]. Please check permissions."%(test_dir))
IOError: cannot create test results directory [/root/ws_moveit/build/moveit_ros_planning_interface/test_results/moveit_ros_planning_interface]. Please check permissions.
Cannot find results, writing failure results to '/root/ws_moveit/build/moveit_ros_planning_interface/test_results/moveit_ros_planning_interface/MISSING-rostest-test_python_move_group.xml'
cd /root/ws_moveit/build/moveit_ros_planning_interface; catkin build --get-env moveit_ros_planning_interface | catkin env -si  /usr/bin/make run_tests --jobserver-fds=6,7 -j; cd -

@rhaschke I think this is one of the tests you've been developing

Activity

  1. davetcoleman commented on Oct 31, 2016

    @davetcoleman
    MemberAuthor

    ping this is still causing random PRs to fail, such as #329 with the travis log

  2. davetcoleman commented on Nov 29, 2016

    @davetcoleman
    MemberAuthor

    I spent ~30 minutes working on fixing this tonight because I'm tired of our Travis tests randomly failing. I uncovered another failing test #374 and was unable to understand how to fix this.

    The test passes fine locally, only failing sometimes on Travis. It appears to be a permission issue writing the log output file. Unless its author @rhaschke is going to look into it further, I am going to propose a PR commenting out the test.

  3. rhaschke commented on Jan 10, 2017

    @rhaschke
    Contributor

    I have no idea how to fix this issue. It's not clear why rostest fails to create the results directory. Go ahead and disabled this test.

  4. davetcoleman commented on Feb 3, 2017

    @davetcoleman
    MemberAuthor

    @v4hn after the next Kinetic release do you think it will be easier to debug this problem due to your fix? should we keep this topic open and the test in place?

  5. v4hn commented on Feb 3, 2017

    @v4hn
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions