-
Notifications
You must be signed in to change notification settings - Fork 39
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
thorough rework of the Travis CI scripts #44
Conversation
Commands were not actually executed.
and use travis.rosinstall in all cases
Looks like Travis people have reduced the timeout to 50min. I have two builds timing out after 50min: The tutorials contribute about 5min to the build time. |
150ae5c
to
13e9106
Compare
13e9106
to
878015f
Compare
Closing for now, as there are still Travis issues. |
Probably not related, but one thing to keep in mind:
https://docs.travis-ci.com/user/common-build-problems/ Also, in 2017 I contacted Travis and they increased it:
I just emailed them asking to restore this, maybe it was decreased again? |
I know and I'm taking this into account.
That's what I had in my mind as well. However, as Travis people are preparing migration of open source projects to travis-ci.com, they obviously reduced the timeout accidentally again. I contacted them today already and they already increased the limit to 90 minutes. They are incredibly responsive! |
Awesome! So can this CL be re-opened? One thing I was thinking about is we could have some of the upper-level packages built separately: Group 1:
Group 2:
But it would be hard to maintain if dependencies change |
Not yet. I still need to fix clang-tidy. |
@davetcoleman I think this is ready for review and merging now. Please note the updated main #44 (comment). I essentially reworked the foundations of moveit_ci - the @BryceStevenWilley Please have a look at the test results, particularly the MoveIt build: Question: Do these changes look familiar to you? |
Overall this looks good.
Even with Travis's help, catkin isn't cooperating. Maybe running
|
I made the review of the new PR. Let's keep move this conversation there. |
Being started from fixing several basic issues in moveit_ci scripts to make #42 and #43 work, I ended up with a thorough rework of the basic moveit_ci scripts in
util.sh
based on most decent scripts at travis-build.Issues resolved:
testing
should be printed, but it's not. I fixed this, byevaluating
commands passed totravis_run_*
.travis_run_wait
, i.e. timeout and.
generation.Improvements:
When we hit Travis' hard timeout, caches are not saved by Travis anymore. Hence we need to bail out
before
Travis to get our caches saved (and thus have a chance on the next build to meet the timeout deadline). To this end, I estimate the remaining build job time and compare against the configurable variableMOVEIT_CI_TRAVIS_TIMEOUT
, which defaults to 45min. Although by default open-source projects at http://travis-ci.org have a timeout of 50 mins, a have put some safety-margin in, because booting Travis' virtual machine, loading caches, etc. already consumes time that I cannot measure.filter()
andfilter-out()
utility functionsThis whole PR is coming with a whole new bash-based unittest suite to validate correctness of all bash functions.
All smaller commits contain independent and self-explanatory changes, which is why this PR should be merge-committed as discussed in moveit/moveit_tutorials#280 (comment) ;-)