opam pin
dies without message and exit code 120 in snapcraft / multipass / LXD build
#5432
Labels
opam pin
dies without message and exit code 120 in snapcraft / multipass / LXD build
#5432
I have a rather mysterious issue: since an update of LXD (I think - it is the only obvious change) an
opam pin
command dies with exit code 120 in the Coq Platform CI. This did run daily for years without issue and suddenly stopped working a week ago and since then fails every day on exactly the sameopam pin
command. Opam ist the same, all packages are the same - as far as I can see just the version of LXD changed.What I do is essentially:
opam install
command - all with specific versionsThe first of these pins succeeds, the second one dies without message and exit code 120 (see log snippets below).
Exit code 120 is not documented for opam here, but there are a few non standard error codes in the 12X range, so I thought maybe it means something to someone here.
In the end it is likely a weird LXD bug, but I can't really report there without understanding how and why opam fails.
Here is a good and a bad log (both reproduced identically many times):
GOOD
BAD
One interesting difference is that the usual "[WARNING] Running as root is not recommended" message is missing in the bad case, even though it is issues by the
opam install
command immediately before (and run by the same script). Note that it is missing in both, the first succeeding and the second failing pin.The text was updated successfully, but these errors were encountered: