Ask Your Question
1

Is Jenkins running package tests as root?

asked 2013-03-27 18:10:53 -0500

joq gravatar image

I recently converted a package to catkin. The unit tests work on my machine, but one of them fails on Jenkins.

The test tries to write calibration information to a non-writable file and directory, which should fail. On my machine running as me, it does. On Jenkins the write succeeds (which it should not).

The simplest explanation is if Jenkins is running the unit tests as root.

Is that being done?

It seems wrong. Can it be changed?

Those tests worked fine on Hudson before the catkin migration.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-29 05:52:39 -0500

joq gravatar image

updated 2013-05-01 04:54:29 -0500

I opened a defect ticket.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-27 18:10:53 -0500

Seen: 341 times

Last updated: May 01 '13