Skip to content
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

CI uses libccd 1.5, while the newest version is libccd 2.1 #389

Open
hongkai-dai opened this issue Apr 6, 2019 · 14 comments
Open

CI uses libccd 1.5, while the newest version is libccd 2.1 #389

hongkai-dai opened this issue Apr 6, 2019 · 14 comments

Comments

@hongkai-dai
Copy link
Contributor

Currently the CI uses libccd 1.5
Screenshot from 2019-04-06 10-40-59

The newest libccd is version 2.1

In my PR #388 , it fails all the tests in CI. The test would also fail on my local machine, if I build libccd 1.5. But when I build libccd 2.1 locally, all tests in that PR pass.

@SeanCurtis-TRI
Copy link
Contributor

@jamiesnape Is there a good way to condition the test on a minimum version of libccd?

@sherm1
Copy link
Member

sherm1 commented Apr 6, 2019

Or should we modernize FCL CI to use libccd 2.1?

@SeanCurtis-TRI
Copy link
Contributor

Certainly, unifying it would be a good thing. The homebrew for mac is using a different version than the apt-get on ubuntu Trusty (which is what is running the linux ci). Forcing all of them to use the same version would remove some of the noise there.

@scpeters
Copy link
Contributor

scpeters commented Apr 7, 2019

Ubuntu Trusty is end-of-life this month (April 2019), so it might be a good time to make changes to the CI anyway

@SeanCurtis-TRI
Copy link
Contributor

And with impeccable timing, Travis CI made xenial available in November. Still, Xenial doesn't get us libccd 2.1. So, calling it out explicitly will probably give us the most stable results.

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 7, 2019

I think this discussion links nicely to the one I opened upstream with ROS: ros/rosdistro#20284. Are there any backports of libccd v2.1 currently being built and maintained or are you planning on doing so?

@jamiesnape
Copy link
Contributor

I have a huge overhaul of the CI in the pipeline, including Bionic support. It is just a case of prioritizing it.

@jamiesnape
Copy link
Contributor

(and if you want libccd 2.1 apt packages for CI or otherwise, building them is no trouble and we have the infrastructure to host them.)

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 7, 2019

(and if you want libccd 2.1 apt packages for CI or otherwise, building them is no trouble and we have the infrastructure to host them.)

This would be wonderful, especially if they could also be imported into the ROS apt.

@jamiesnape
Copy link
Contributor

especially if they could also be imported into the ROS apt.

That is probably for the libccd author or ROS to handle, to be honest.

@jamiesnape Is there a good way to condition the test on a minimum version of libccd?

At least for recent libccd, I think the CCD_VERSION variable is defined, so given the old version of CMake in use, try

if(CCD_VERSION VERSION_EQUAL 2.1 OR CCD_VERSION VERSION_GREATER 2.1)
  add_test(...)
endif()

@jamiesnape
Copy link
Contributor

@SeanCurtis-TRI @sherm1 Where this fit in the list of priorities? Feels like it is as equally blocked by a release as the other infrastructure improvements. Ideally, we would not be building libccd packages for Trusty, for instance.

@sherm1
Copy link
Member

sherm1 commented Jun 27, 2019

@SeanCurtis-TRI @hongkai-dai what's the priority to update FCL CI to use libccd 2.1?

@SeanCurtis-TRI
Copy link
Contributor

We've addressed it to the degree that things aren't failing CI. Ideally, it would be good. But until we prioritize capping a release and pulling the trigger on the CI overhaul, I don't see there's really an practical way to advance this. I concur with @jamiesnape's assessment. So, I'd rephrase the question:

What's the priority of doing the CI overhaul?

@sherm1
Copy link
Member

sherm1 commented Jun 28, 2019

If it isn't blocking us at the moment I think it can wait until we've settled other FCL issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants