Travis: fail fast on install failures#7239
Travis: fail fast on install failures#7239pdillinger wants to merge 2 commits intofacebook:masterfrom
Conversation
|
For reference: https://travis-ci.org/github/facebook/rocksdb/jobs/716643910 |
Summary: A recent build continued with confusing results after failing to snap install cmake Test Plan: watch Travis
fdd9eef to
cf1be39
Compare
|
@pdillinger I am not sure this will help. If |
|
Updated Travis link (I'm getting a bad one from GitHub): https://travis-ci.org/github/facebook/rocksdb/builds/716990002 It looks like two builds are failing the snap install. The subtle thing is this: Unless using |
Of course! Apologies, I am so used to always running scripts that include |
|
@adamretter Can you look at fixing the two builds that are completely failing the snap install? Feel free to create your own PR that includes this change. |
|
@pdillinger Yes, but I probably won't get to it until the weekend |
|
@craigscott-crascit Is there a missing "snap refresh core" step we weren't told about or something? Our linux builds here are failing with as in https://travis-ci.org/github/facebook/rocksdb/jobs/716990011 |
That's the first I've heard of this problem. After a quick bit of searching, it does seem likely that the core snap is not recent enough and needs to be refreshed. This issue seems to describe the problem reasonably well. Based on that, I would expect a |
I think we have a winner with |
|
@pdillinger Another option might be to place |
|
Anything we add to Travis configuration now is better if it's more easily migrated to other CI systems. |
|
@pdillinger Okay understood. So the preference is to script things, rather than use the YAML config options? |
At least not spend extra time trying to use Travis-specific configs. (Approval?) |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@pdillinger has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@pdillinger merged this pull request in 327ddb7. |
Summary:
A recent build continued with confusing results after failing
to "snap install cmake" so ensure failures in installs are fatal. Also
upgrade snapd before "snap install" to hopefully avoid this error:
error: cannot perform the following tasks:
- Mount snap "cmake" (513) (snap "cmake" assumes unsupported features: command-chain (try to update snapd and refresh the core snap))
Pull Request resolved: facebook#7239
Test Plan: watch Travis
Reviewed By: akankshamahajan15
Differential Revision: D23244110
Pulled By: pdillinger
fbshipit-source-id: 33dbf145f6999d0b90576cdfde484f15c5d1ac19
Summary: A recent build continued with confusing results after failing
to "snap install cmake" so ensure failures in installs are fatal. Also
upgrade snapd before "snap install" to hopefully avoid this error:
Test Plan: watch Travis