ocurrent / ocaml-ci

A CI for OCaml projects
https://ocaml.ci.dev
111 stars 75 forks source link

failed: Failed to get head of ocaml/opam-repository:refs/heads/master #908

Open reynir opened 9 months ago

reynir commented 9 months ago

Please see https://github.com/robur-coop/miragevpn/runs/19128685435.

I observed a CI job that failed with ❌ (analysis) (failed: Failed to get head of ocaml/opam-repository:refs/heads/master).

Clicking on the link returns an error 500 internal server error. I am able to click on the "View more details on ocaml-ci" link. There I see a failed job, and I can click "cancel", but that returns two messages: a green "No jobs were cancelled" and a red "1 job could not be cancelled. Check logs for more detail." I can't access any logs to check for more details as far as I can tell.

Screenshot from 2023-11-29 09-42-37

I have not yet attempted to reproduce and would not know how to reproduce.

mtelvers commented 9 months ago

This error relates to a failure to git fetch ocaml/opam-repository. When investigating, you can look at the pipeline graph, which is available at https://ocaml.ci.dev:8100/?org=robur-coop&. This shows the error (see screenshot).

image

There is no rebuild button on this step, so the only way I can get it to retry is to restart the service. I have just done this. The solver service will work out which things need to be built, which may take 10 minutes or so.