-
Notifications
You must be signed in to change notification settings - Fork 529
[Travis CI] Run ROS Kinetic test on a docker image on Travis. #225
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
[Travis CI] Run ROS Kinetic test on a docker image on Travis. #225
Conversation
724ee2d to
ae65a0d
Compare
|
Cool, thanks! |
ae65a0d to
94f080d
Compare
.travis.yml
Outdated
| - gcc | ||
| notifications: | ||
| email: | ||
| on_success: always |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use change instead of always, as it was before
|
I've re-run the jobs. It seems they're working fine, but just one test failed. BTW, is this running only kinetic, or also indigo and jade everytime? I see up to 7 (sub)jobs. I've commented which configuration thing is different. Curiously, I haven't received any email. Let's see after this run. |
|
The tests failed again. They're some tests that depend somehow on the timing, but the solution for now has been to run the tests sequentially, not in parallel. I think they are running in parallel because these is passed to the |
I think I added those options. Now only Prerelease Test jobs (Indigo, Jade) passed. Others seem to be failing at |
|
That test seems to be highly dependant on timing. I have unittest for that and I should probably replace the rostest with them, but I haven't sent any PR yet because I'd like to know why the rostest fails. Anyway, this PR now LGTM. I've just re-run the job to see if now everything passes. BTW, is there a way to only run the kinetic job? I mean, when a PR goes into ros-controls |
Yes, I've now removed jobs for earlier ROS distros. I just want to be clear though; I thought running non-required jobs (i.e. But those jobs are already failing. I haven't gone into detail but with a random look at an indigo build:
There might have been API change so different distros don't build against each other? If so running jobs for indigo and jade no longer makes sense indeed. |
|
Yes, kinetic-devel breaks the API wrt to previous, or probably in jade-devel. Thanks for removing them. |
| - cd ~/ros/ws_ros_controls/src | ||
| - wstool init . | ||
| # Download non-debian stuff | ||
| - wstool merge https://raw.github.com/ros-controls/ros_control/$ROS_DISTRO-devel/ros_control.rosinstall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source overlay is not included in the new config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. I have to get ros-industrial/industrial_ci#47 move forward before I can enable source overlay.
|
1ca90b5 to
cc5de33
Compare
.travis.yml
Outdated
| on_success: change | ||
| on_failure: change | ||
| recipients: | ||
| - [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't need to be on these emails if anyone else wants to watch them...
|
+1 to switching to the ros-industrial CI, not clear to me why checks are failing though |
cc5de33 to
6b94b67
Compare
[Travis CI] Parallel config. [Travis CI] Run jobs for only Kinetic. [Travis CI] Add a job for workspace overlay. Utilize common variables instead of defining them for each job.
6b94b67 to
df02474
Compare
|
I think comments are addressed. Waiting for the Travis jobs to finish. |
|
For me it seems this can be merged. There's a rostest from diff_drive_controller failing, which has known issues: essentially the results are affected by the time it takes to run the test. |
|
LGTM 👍 Merging... |
May replace #224
I'm not sure if this suits the need in this repo, but industrial_ci has been used by dozens of ROS repositories and recently we added Kinetic support. Since Xenial runs on docker image we don't need to wait until Travis CI supports 16.04.