-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add docker-based ROS prerelease test. #35
Conversation
25705c4
to
02d2d16
Compare
Because this PR is intended primarily to help the maintainers who are in charge of release into ROS buildfarm, I'd like to ask someone who does that for the review. @shaun-edwards and if you can think of anyone could you ask them as well? I'm now in the process of releasing updates of MoveIt! (I'm helping the release of it) into Jade and would like to include this feature. |
Great idea!
I could image to setup a release-test branch with the prerelease test only, where one can merge the code in.
I will have a look at it as well :) |
@ipa-mdl , are you able to review this from ROS release perspective? I'm out on vacation this week and probably won't get to this until next week at the earliest. I don't want to be the hold up on this. |
a9472f9
to
88b0104
Compare
Interesting. That will help maintainers who are concerned with the time that the Travis check takes (prerelease test could usually take longer). I've added it in the readme.
I have a feeling that to do what we want we might have to change |
@@ -64,6 +64,12 @@ function error { | |||
exit 1 | |||
} | |||
|
|||
# Start prerelease, and once it finishs then finish this script too. | |||
if [ "$PRERELEASE" == true ]; then | |||
./ros_pre-release.sh; |
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 does not work, I would suggest to use the same path composition as for rosdep-install.sh
I have just created a release test branch for Are I believe the result of the prerelease test can be checked with |
16a58a8
to
169e863
Compare
@davetcoleman at moveit/moveit_core#285 (comment)
Yeah, this PR is it. I'm working to address feedback from Mathias. |
I have restarted the travis jobs, they pass now with some issues:
In general: |
bb4fbf8
to
1b24397
Compare
Hope I've addressed all your comments/concern by now.
Now the jobs that run Prerelease Test should fail when PT reports failures.
For the output from the current ROS Prerelease Test result, I'm not sure if I can turn it off, nor if we want to. Since the tests are run on the cloud, I'm afraid you won't have an access to the test result files even when error occurs and Prerelease Test advises you to look into those. So I thought having verbose output might be necessary for debugging purpose. (BTW there are other CI services, e.g. |
} | ||
|
||
export CI_SOURCE_PATH=$(pwd) | ||
CI_PARENT_DIR=.ci_config # This is the folder name that is used in downstream repositories in order to point to this repo. |
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.
Export is missing
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! Fixed now.
With the latest commit, all Prerelease Test jobs fail no matter what the PT result is. Example: https://api.travis-ci.org/jobs/127368871/log.txt?deansi=true
I think this is because of the issue in the upstream ros-infrastructure/ros_buildfarm#283, and I'd like to rather move forward for now knowing that PT is not always used and let the upstream issue resolved on its own. |
The buildfarm uses isolated builds, so I suggest to use |
I see, I'll give it a try now. But Let me ask in advance, other than this is this +1 for you? @ipa-mdl |
Yeah, using
|
+1 if you comment out the catkin_test_results line for now :) |
I have tested it locally again:
So the trick might be to simply omit the parameter.. |
I agree, |
…ce with buildfarm.
…th to workaround ros-infrastructure/ros_buildfarm#283. Also use verbose option for better debug.
0d9cdd3
to
44b0926
Compare
https://travis-ci.org/ros-industrial/ros_canopen/builds/126314370 passes now :) This PR's checks failed because of some unrelated reasons. |
@ipa-mdl thanks for all the great reviews! |
Adding a feature to run docker-based version of ROS Prerelease Test (let me simply call Prerelease Test for now on
Travis CI
. This helps the maintainers who are in charge of release into ROS buildfarm.Motivation
docker
andros buildfarm
packages), which still took 10+ minutes for me today even though this was 3 times I did this.Benefit
Travis CI
provides faster computation for the most of developers machines (?need source but that's what's happening to me).industrial_ci
.Drawback
.travis.yml
).Usage example
Add this single line to your Travis config (eg.
.travis.yml
):Or in its simplest form:
As noted in the updated README, you're advised for now to include the lines like above in
allow_failures
matrix.