-
Notifications
You must be signed in to change notification settings - Fork 20
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: fix failures #98
Comments
The Kinetic build failed with the following error:
|
Not sure what the cause of the timeout problem is. There are an awful lot of packages being built for Kinetic. It would be nice if more of the dependencies could be released as binaries. |
The fact that the Indigo tests are working is encouraging. They require fewer source repositories to build. |
I attempted a suggested work-around for Travis jobs timing out, but it did not work with the ROS-I tools. see: https://docs.travis-ci.com/user/common-build-problems/#My-builds-are-timing-out |
I have not made any progress in solving the Travis timeout with the Kinetic branch. Things I've tried: |
I know this is a dumb thing to ask, but do builds on 1) local computer 2) if possible on Docker (since with industrial_ci each job runs on Docker) pass and/or leave any hints? If you're curious if this is industrial_ci related I recommend opening a ticket there (I'm a maintainer. We'll like to hear users' issues). |
Isaac! Good to hear from you. I really admire your excellent work on industrial_ci. I have no reason to believe our current problems are in industrial_ci. I did run tests on my local computer using both run_ci and run_travis (I believe those are with and without docker), but so far have not succeeded. I no longer have the shell output from those attempts. In one case, package dependencies included within the workspace were not getting resolved by rosdep. I probably did not configure my workspace correctly for that, somehow. I suspect that the root cause of our difficulty on Kinetic is too many repositories and packages being built in a single Travis job, because we are still building several repo dependencies that have not been released to ROS Kinetic. Our Indigo branch tests are all working fine. Also, one of our dependencies is a CMake library package, libsegwayrmp, which is not catkin, although it does have a I am thinking of ways to break the tests up into more manageable chunks, maybe creating our own PPA for some packages we can't release into the ROS repositories. That would be worthwhile, even if some other problem turns out to be at work here. |
Just building our whole code base on Kinetic is badly bogging down one of the old segbot_v2 laptops. We need to create methods like using catkin tools whitelists that make it easy to compile only a useful subset of the packages. |
It took a little over an hour to build all the Kinetic repo packages on bender, which has an old Dell laptop. |
It turns out catkin build can use a metapackage as a whitelist, building only its dependencies (recursively). That way we can check out the whole repository, but only build segbot_v2 packages, or similarly for the other platforms. |
I divided the tests into two parts: only_segbot_arm and only_segbot_base. The segbot base test runs successfully, but the segbot arm test fails with a similar timeout after starting segbot_arm_manipulation. |
Commit e5d0a38 is an attempt to get the kinetic branch test to succeed by commenting out the segbot arm tests. |
That worked, but we still need to figure out what's wrong with the commented-out arm tests. |
@nickswalker: I'm going to leave the arm tests commented out for now. At least, the other packages can now get some CI testing. If you want to experiment with the arm tests, uncomment the three lines here, and push to some experiemental branch. I've been using travis-kinetic for that, deleting it to avoid confusion, as it tends to diverge from the real kinetic branch. Meanwhile, I'm going to work on creating a custom BWI package repository, so we don't normally need to build things like the segway drivers, kinova-ros, or agile_grasp. That may end up solving this issue, too. See: utexas-bwi/bwi#54. |
That last commit was supposed to run the arm tests, but not fail the whole job if they did not succeed. It didn't work. |
The solution will probably be similar to what was done for utexas-bwi/bwi_common#102
The text was updated successfully, but these errors were encountered: