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

part of test_save_calibration_file not working on Jenkins #1

Open
jack-oquin opened this issue Aug 5, 2013 · 0 comments
Open

part of test_save_calibration_file not working on Jenkins #1

jack-oquin opened this issue Aug 5, 2013 · 0 comments
Assignees

Comments

@jack-oquin
Copy link
Member

This unit test runs fine on my development machine, but on Jenkins it fails:

True is not false
  File "/usr/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/tmp/test_repositories/src_repository/camera_info_manager_py/tests/test_camera_info_manager.py", line 389, in test_save_calibration_file
    self.assertFalse(saveCalibrationFile(CameraInfo(), fname, cname))
  File "/usr/lib/python2.7/unittest/case.py", line 414, in assertFalse
    raise self.failureException(msg)

That part of the test involves trying to save to a non-writable file and directory. It probably fails because Jenkins is running the tests as root.

That part of the test is commented out, for now. The upstream bug report is here: ros-infrastructure/jenkins_scripts#27.

@ghost ghost assigned jack-oquin Aug 5, 2013
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