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

macos runner seems to fail #975

Open
hannesm opened this issue Oct 1, 2024 · 4 comments
Open

macos runner seems to fail #975

hannesm opened this issue Oct 1, 2024 · 4 comments
Assignees
Labels
type/bug Something isn't working

Comments

@hannesm
Copy link
Contributor

hannesm commented Oct 1, 2024

Context

Take a look into https://ocaml.ci.dev/github/mirage/mirage-net/commit/8cfd7946c6f3baf7ec2722d412da9be9ddc2ef10/variant/macos-homebrew-5.2_arm64_opam-2.2 (part of mirage/mirage-net#25)

Here, there's a spurious failure

Step(s) to reproduce

Unclear what is needed for reproduction. It is unclear to me what is exactly happening, since other macOS runners are working nicely - even in the same PR.

Expected behaviour

The build should succeed

Technical details

Done.
# Run eval $(opam env) to update the current shell environment
2024-10-01 09:44.12 ---> using "9140a4d29739976f645a65eade89cc9e307554b1ce6226104c32cda5563a0f6c" from cache


/: (copy (src .) (dst ./src))
2024-10-01 09:44.13 ---> saved as "28d1f27bf80c439f8cee08cf3a1257af233f56bd0c0362f0f06a7ffccef56e37"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-10-01 09:44.14 ---> saved as "56b01c443d7147fc1327834868915a41cda990117d1a5e5318e1733b91a75e8a"
Uncaught exception: Failure("\"zfs\" \"unmount\" \"obuilder/result\" failed with exit status 1")
2024-10-01 09:44.16: Job failed: Failed: Internal error
@hannesm hannesm added the type/bug Something isn't working label Oct 1, 2024
@mtelvers mtelvers self-assigned this Oct 1, 2024
@mtelvers
Copy link
Member

mtelvers commented Oct 1, 2024

Rebuilding fixed it in this case. I'll dig deeper to see if I can get to the bottom of why this happens.

@hannesm
Copy link
Contributor Author

hannesm commented Oct 1, 2024

Thanks @mtelvers.

@hannesm
Copy link
Contributor Author

hannesm commented Oct 1, 2024

not sure if this is related, but I just got another strange macos error:

2024-10-01 13:17.54: Got resource from pool OCluster
Building on m1-worker-03
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2623 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
git-fetch failed with exit-code 128
2024-10-01 13:19.01: Job failed: Failed: Build failed

https://github.com/mirage/mirage/pull/1566/checks?check_run_id=30915488979

@mtelvers
Copy link
Member

mtelvers commented Oct 1, 2024

ocurrent/obuilder#192 should address the original issue.

The other issue relates to the http transport used by git on macOS. See stackoverflow.com. To test, I've set the http version and superficially this has cleared the error.

git config --global http.version HTTP/1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants