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

Move travis CI to use xcode 9 instead of 7.3 #266

Conversation

SeanCurtis-TRI
Copy link
Contributor

@SeanCurtis-TRI SeanCurtis-TRI commented Mar 9, 2018

Various mac errors seem to go away by advancing from xcode 7.3 to later versions. This tests it under travis.ci.


This change is Reviewable

@SeanCurtis-TRI
Copy link
Contributor Author

This may or may not merge. In trying to alleviate commit problems, I found that AppleClang 9 is working great. So, I'm trying a sampling to see if TravisCI behaves similarly.

@SeanCurtis-TRI
Copy link
Contributor Author

Moving to xcode 9 didn't fix the problems with the box_capusle_1 test. However, it did resolve the most recent issues with fcl_test_box_box.cc.

Inexplicably, I'm running this on another mac with (what appears to be) the same configuration and the failing tests don't fail. I'm unsure why it continues to fail in CI.

@jslee02 Let me know if you still approve jumping all the way to XCode 9.

@SeanCurtis-TRI SeanCurtis-TRI changed the title Move travis CI to use xcode 8.3 instead of 7.3 Move travis CI to use xcode 9 instead of 7.3 Mar 9, 2018
@jslee02
Copy link
Member

jslee02 commented Mar 9, 2018

Let me know if you still approve jumping all the way to XCode 9.

I'm on board using the newer version of macOS.

However, if some tests fail on the old version of macOS + Xcode (< Xcode 9 + OS X 10.12), it could be an issue if someone wants to use FCL in that configuration. I'm not sure if that case is considerable, but I think we could revisit this at that time.

@SeanCurtis-TRI
Copy link
Contributor Author

I agree. What is the oldest version of XCode fcl wants to support?

@SeanCurtis-TRI SeanCurtis-TRI force-pushed the PR_advance_travis_ci_OSX branch from a9a34e5 to aee122a Compare March 10, 2018 00:02
@jslee02
Copy link
Member

jslee02 commented Mar 10, 2018

I don't use macOS actively so it would be better someone else suggests that. 😅

@scpeters
Copy link
Contributor

Homebrew supports and builds binaries (bottles) for the 3 most recent releases (10.11 el capitan, 10.12 sierra, 10.13 high sierra). It's a big pain to support anything older than that. For CI, we just use test on one distro for gazebo, though we make sure that things compile and build on the 3 versions that homebrew supports.

@scpeters
Copy link
Contributor

if you set an environment variable CTEST_OUTPUT_ON_FAILURE=1, then it will show the output of the failing tests

@SeanCurtis-TRI
Copy link
Contributor Author

The problem I'm having with CI is not seeing the error details. It is reproducing the errors anywhere outside of travis. Travis is currently configured to report the error logs. But, try as I might, I can't get failures on the mac I have access to. (Hence the iterative changes in this PR with the hope that bringing CI closer to "my" mac, the errors would go away. Such has not proven to be the case.) My problem is that before Friday, I had never touched a mac in my life. So, I know nothing about xcode, bottles, homebrew, or how to interpret osx versions. I'm putting this on the back burner for now..it's clear this is going to be a big, uphill battle for me and I don't have the cycles to spare.


Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@jslee02
Copy link
Member

jslee02 commented Jul 31, 2018

Homebrew supports and builds binaries (bottles) for the 3 most recent releases (10.11 el capitan, 10.12 sierra, 10.13 high sierra).

How about we support the latest image of each releases? According to this doc, they are:

  • xcode8 (10.11)
  • xcode9.2 (10.12)
  • xcode9.4 (10.13)

Also, if we build with debug and release mode for each image, the build matrix size would be too large. So I suggest building with both of debug and release only for the latest (xcode9.4) and building with release for others.

By the way, I don't have a strong preference on this. So I'm totally fine with merging this PR as it is.

Edit: Oh, you said the failure is persistent with xcode8. I'm open to either (1) not supporting xcode8 or (2) creating an issue (of the failure on xcode8) and considering resolving it later.

@SeanCurtis-TRI SeanCurtis-TRI force-pushed the PR_advance_travis_ci_OSX branch from db482e5 to b450b44 Compare August 2, 2018 21:23
Copy link
Contributor Author

@SeanCurtis-TRI SeanCurtis-TRI left a comment

Choose a reason for hiding this comment

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

I went ahead and did some PR cleanup (curated the commits). I'll let it roll through CI and if we're all good, I say we merge and move on with life.

Reviewable status: 0 of 1 files reviewed, all discussions resolved

Copy link
Member

@sherm1 sherm1 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@SeanCurtis-TRI SeanCurtis-TRI merged commit 8d7dc8f into flexible-collision-library:master Aug 3, 2018
@SeanCurtis-TRI SeanCurtis-TRI deleted the PR_advance_travis_ci_OSX branch August 3, 2018 14:33
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.

4 participants