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

Run FUSE tests on OSX again #8453

Merged
merged 2 commits into from Oct 12, 2019

Conversation

illicitonion
Copy link
Contributor

@illicitonion illicitonion commented Oct 11, 2019

Things I learnt on this journey:

  • The Travis brew plugin (using addons) will either silently fail on older images because it's a really old brew, or will force an upgrade of brew which is super slow. Manually running brew cask install does not.
  • openssl is already installed on the image, so we don't need to install it.
  • If you trybrew install openssl it will spend minutes upgrading brew, only to tell you that openssl was already installed.
  • The fact that this config is no longer shared with our other OSX shards (thanks @benjyw) made it a lot easier to consider these changes in isolation :)
  • OSX versions newer than the one used on the xcode8.3 image don't let you install FUSE without setting up the image specially beforehand which only travis can do (see macOS 10.13 images can't load third-party kernel extensions (osxfuse suddenly broken and unusable) travis-ci/travis-ci#10017), but the brew install will succeed, things will just fail in weird ways.
  • The xcode8.3 image prints a message saying that OSXFUSE won't work without a system reboot. This is a lie.

@illicitonion illicitonion force-pushed the dwagnerhall/osxfuse branch 2 times, most recently from 3b72a5e to c0e3cba Compare October 11, 2019 17:02
@illicitonion illicitonion changed the title DO NOT REVIEW: Break osxfuse again Run FUSE tests on OSX again Oct 11, 2019
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Great! Thank you. +1 to Benjy separating this out from osx_shard().

# "casks": ["osxfuse"]
# }
# },
# We need to use xcode8.3 because newer versions of OSX won't let new kexts be installed
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

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

Thanks for the clear and important comment!

"before_install": [
'./build-support/bin/install_python_for_ci.sh "${PYENV_PY36_VERSION}"',
"brew cask install osxfuse",
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

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

It's important to have an equally lucid comment explaining why we do this and not use the standard travis "addons" thing.

@benjyw
Copy link
Sponsor Contributor

benjyw commented Oct 11, 2019

The excellent "things you learned on this journey" should probably all be comments in the code...

@Eric-Arellano Eric-Arellano merged commit b758567 into pantsbuild:master Oct 12, 2019
@illicitonion illicitonion deleted the dwagnerhall/osxfuse branch April 23, 2020 12:10
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.

None yet

3 participants