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

Fix Travis CI builds #524

Merged
merged 12 commits into from
Jul 19, 2019
Merged

Fix Travis CI builds #524

merged 12 commits into from
Jul 19, 2019

Conversation

egordon
Copy link
Contributor

@egordon egordon commented Apr 30, 2019

Update DART version to match PPA (unblocks other repos like libada that are dealing with an interface change).


Before creating a pull request

  • [ N/A ] Document new methods and classes
  • [ N/A ] Format code with make format

Before merging a pull request

  • [ N/A ] Set version target by selecting a milestone on the right side
  • Summarize this change in CHANGELOG.md
  • [ N/A ] Add unit test(s) for this change

Update DART version to match PPA (unblocks other repos like `libada` that are dealing with an interface change).
@egordon egordon added this to the Aikido 0.4.0 milestone Apr 30, 2019
@egordon egordon requested review from brianhou and gilwoolee April 30, 2019 18:41
@egordon egordon self-assigned this Apr 30, 2019
@gilwoolee
Copy link
Contributor

LGTM! @egordon could you update CHANGELOG.md as well?

gilwoolee
gilwoolee previously approved these changes May 2, 2019
@egordon
Copy link
Contributor Author

egordon commented May 2, 2019

@gilwoolee Note that this update breaks Travis (since trusty doesn't have DART v6.8.2). I'm going to see if Travis plays nice with xenial.

@egordon egordon requested a review from aditya-vk as a code owner May 2, 2019 23:32
aditya-vk
aditya-vk previously approved these changes May 2, 2019
Copy link
Contributor

@aditya-vk aditya-vk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

jslee02
jslee02 previously requested changes May 3, 2019
@@ -1,4 +1,4 @@
dist: trusty
dist: xenial
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xenial build still has an issue: #363

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double-check that this is still an issue in CI, since I believe in the launch scripts I forced it to pull OMPL 1.0 rather than 1.2 to get around this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/constraint/dart/InverseKinematicsSampleable.cpp Outdated Show resolved Hide resolved
// Run the IK solver. If it succeeds, return the solution.
if (mInverseKinematics->solve(true))
// Run the IK solver. If an exact solution is computed, apply it to the skeleton.
if (mInverseKinematics->solveAndApply(true))
Copy link
Member

@jslee02 jslee02 May 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems AIKIDO still support Ubuntu 14.04. The latest DART version available in Ubuntu 14.04 is 6.6.2. I would change this to be backward compatible something like:

#if DART_VERSION_AT_LEAST(6,8,0)
    if (mInverseKinematics->solveAndApply(true))
#else
    if (mInverseKinematics->solve(true))
#endif

@jslee02 jslee02 mentioned this pull request May 26, 2019
5 tasks
@jslee02
Copy link
Member

jslee02 commented Jul 1, 2019

The CI tests are failing because it uses deprecated ::dart::common::make_unique. It's deprecated as DART increased the minimum required C++ standard to C++14 since DART 6.9.0.

I suggest following possible solutions:
(1) increasing the minimum required C++ standard to C++14 for AIKIDO as well and replacing all the use of ::dart::common::make_unique with ::std::make_unique
(2) adding ::aikido::common::make_unique that is equivalent to ::dart::common::make_unique and use it
(3) suppressing warnings of using deprecated APIs

@jslee02 jslee02 requested a review from sniyaz as a code owner July 17, 2019 03:28
@jslee02
Copy link
Member

jslee02 commented Jul 17, 2019

@egordon @brianhou The make_unique issue is resolved by #532, and Travis CI is happy now. Please take a look this CR when you guys get a chance.

$SUDO apt-get -y install python3-pip -y
$SUDO pip3 install pytest -U

if [ $(lsb_release -sc) = "trusty" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason that the trusty, xenial, and bionic cases are duplicated? (And cosmic and disco.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Just for the case that they require different scripts. Feel free to merge them into two groups.

@brianhou
Copy link
Contributor

Just to be clear, it looks like this leaves

  • TRUSTY_CATKIN_RELEASE
  • TRUSTY_CATKIN_FULL_DEBUG
  • TRUSTY_CATKIN_FULL_RELEASE
  • XENIAL_CATKIN_FULL_RELEASE
  • BIONIC_CATKIN_FULL_RELEASE

in the allowed failures list. That's fine for now, but we should continue to discuss which ones we care about.

brianhou
brianhou previously approved these changes Jul 17, 2019
@jslee02 jslee02 changed the title Update CMakeLists.txt Fix Travis CI builds Jul 18, 2019
@jslee02
Copy link
Member

jslee02 commented Jul 19, 2019

It seems the new macOS image is unstable. The last commit is just to retrigger with a new instance.

@brianhou brianhou dismissed jslee02’s stale review July 19, 2019 18:53

Should address this in future PR.

Copy link
Contributor

@brianhou brianhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging, will continue to discuss which Ubuntu version to target.

@brianhou brianhou merged commit de5ee11 into master Jul 19, 2019
@brianhou brianhou deleted the egordon-dart-6.8.2 branch July 19, 2019 18:54
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

Successfully merging this pull request may close these issues.

5 participants