Skip to content

bugfix: fix macos incompatibility in lock test#8573

Merged
alalazo merged 1 commit intodevelopfrom
bugfix/travis-macos-build
Jun 26, 2018
Merged

bugfix: fix macos incompatibility in lock test#8573
alalazo merged 1 commit intodevelopfrom
bugfix/travis-macos-build

Conversation

@tgamblin
Copy link
Copy Markdown
Member

@tgamblin tgamblin commented Jun 26, 2018

Fixes #8225.

  • Spack was assuming that a group with gid == current uid would always exist.

  • This was breaking the travis build for macos.

  • also fixed a bug in the create_db_tarball test where .coverage.* files weren't properly considered.

@tgamblin tgamblin added bug Something isn't working macOS locking travis labels Jun 26, 2018
@tgamblin tgamblin requested a review from alalazo June 26, 2018 06:46
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]

stages:
- 'flake8 + documentation'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why are these commented out?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Testing just the mac os part, which only runs as a cron job. All of that will be reverted once the Mac OS builder passes.

@tgamblin tgamblin force-pushed the bugfix/travis-macos-build branch from 0c22943 to 0f04211 Compare June 26, 2018 07:24
- Spack was assuming that a group with gid == current uid would always exist.
- This was breaking the travis build for macos.

- also fix issue with the DB tarball test finding coverage filesx
@tgamblin tgamblin force-pushed the bugfix/travis-macos-build branch 2 times, most recently from 62855cc to ce82d17 Compare June 26, 2018 09:50
@tgamblin
Copy link
Copy Markdown
Member Author

Ok, this made the mac build succeed. Here is the log of the successful build (with only the macos stage enabled):

I've reverted the commit that enabled the mac build on all PRs, so this is now safe to merge. Feel free to do so.

@alalazo
Copy link
Copy Markdown
Member

alalazo commented Jun 26, 2018

I restarted Travis as it failed during build tests 😓 Hopefully it will go green so that I can merge this.

@alalazo alalazo merged commit a48bdfa into develop Jun 26, 2018
@alalazo alalazo deleted the bugfix/travis-macos-build branch June 26, 2018 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working locking macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock unit test failing on Travis MacOS builder

3 participants