arcade
arcade copied to clipboard
Checkout failure: "Git fetch failed with exit code 128"
Build
https://dev.azure.com/dnceng/public/_build/results?buildId=1706886&view=results
Build leg reported
Libraries Test Run release coreclr Linux_musl x64 Release
Pull Request
Rolling build for runtime
Action required for the engineering services team
To triage this issue (First Responder / @dotnet/dnceng):
- [ ] Open the failing build above and investigate
- [ ] Add a comment explaining your findings
If this is an issue that is causing build breaks across multiple builds and would get benefit from being listed on the build analysis check, follow the next steps:
- Add the label "Known Build Error"
- Edit this issue and add an error string in the Json below that can help us match this issue with future build breaks. You should use the known issues documentation
{
"ErrorMessage" : "Git fetch failed with exit code: 128",
"BuildRetry": true
}
Additional information about the issue reported
The Checkout dotnet/runtime@main to s
step is the one that failed. Here is the end of the log output:
remote: Compressing objects: 29% (30070/103687)
remote: Compressing objects: 30% (31107/103687)
remote: Compressing objects: 31% (32143/103687)
remote: Compressing objects: 31% (32322/103687)
remote: Compressing objects: 32% (33180/103687)
remote: Compressing objects: 33% (34217/103687)
remote: Compressing objects: 33% (35247/103687)
remote: Compressing objects: 34% (35254/103687)
remote: Compressing objects: 35% (36291/103687)
remote: Compressing objects: 36% (37328/103687)
remote: Compressing objects: 37% (38365/103687)
remote: Compressing objects: 37% (38926/103687)
remote: Compressing objects: 38% (39402/103687)
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: protocol error: bad pack header
##[error]Git fetch failed with exit code: 128
Finishing: Checkout dotnet/runtime@main to s
Report
Build | Definition | Step Name | Console log | Pull Request |
---|---|---|---|---|
849248 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/109082/merge to s | Log | dotnet/runtime#109082 |
2564346 | dotnet-aspnetcore | Checkout dotnet-aspnetcore@refs/pull/44022/merge to s | Log | #44022 |
847557 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/109013/merge to s | Log | dotnet/runtime#109013 |
847548 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44284/merge to s | Log | dotnet/sdk#44284 |
847549 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44284 |
846518 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/739/merge to s | Log | maestro-auth-test/helix-queue-insights-test#739 |
846391 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44153/merge to s | Log | dotnet/sdk#44153 |
846390 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44153 |
846392 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44153 |
846367 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/738/merge to s | Log | maestro-auth-test/helix-queue-insights-test#738 |
846162 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/737/merge to s | Log | maestro-auth-test/helix-queue-insights-test#737 |
844126 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44208 |
844125 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44208/merge to s | Log | dotnet/sdk#44208 |
844142 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/736/merge to s | Log | maestro-auth-test/helix-queue-insights-test#736 |
2561482 | dotnet-aspnetcore | Checkout dotnet-aspnetcore@refs/pull/43792/merge to s | Log | #43792 |
843993 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44209/merge to s | Log | dotnet/sdk#44209 |
843892 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/735/merge to s | Log | maestro-auth-test/helix-queue-insights-test#735 |
843752 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/734/merge to s | Log | maestro-auth-test/helix-queue-insights-test#734 |
843572 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108831/merge to s | Log | dotnet/runtime#108831 |
843568 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108872/merge to s | Log | dotnet/runtime#108872 |
842737 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/43889/merge to s | Log | dotnet/sdk#43889 |
843395 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108856/merge to s | Log | dotnet/runtime#108856 |
843401 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108835/merge to s | Log | dotnet/runtime#108835 |
842633 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108862/merge to s | Log | dotnet/runtime#108862 |
842111 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108761/merge to s | Log | dotnet/runtime#108761 |
842106 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108446/merge to s | Log | dotnet/runtime#108446 |
842266 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/732/merge to s | Log | maestro-auth-test/helix-queue-insights-test#732 |
841940 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44086/merge to s | Log | dotnet/sdk#44086 |
841939 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44086 |
841941 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44086 |
841376 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44143/merge to s | Log | dotnet/sdk#44143 |
840934 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108808/merge to s | Log | dotnet/runtime#108808 |
840292 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108774/merge to s | Log | dotnet/runtime#108774 |
840025 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108708/merge to s | Log | dotnet/runtime#108708 |
840020 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108434/merge to s | Log | dotnet/runtime#108434 |
838947 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108258/merge to s | Log | dotnet/runtime#108258 |
838944 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108120/merge to s | Log | dotnet/runtime#108120 |
838940 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108715/merge to s | Log | dotnet/runtime#108715 |
838579 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108759/merge to s | Log | dotnet/runtime#108759 |
838574 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108654/merge to s | Log | dotnet/runtime#108654 |
838544 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108294/merge to s | Log | dotnet/runtime#108294 |
838563 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108650/merge to s | Log | dotnet/runtime#108650 |
838537 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58345/merge to s | Log | dotnet/aspnetcore#58345 |
838540 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58345/merge to s | Log | dotnet/aspnetcore#58345 |
838538 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58345/merge to s | Log | dotnet/aspnetcore#58345 |
838186 | dotnet/arcade-services | Checkout dotnet/arcade-services@refs/pull/4032/merge to s | Log | dotnet/arcade-services#4032 |
837975 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/731/merge to s | Log | maestro-auth-test/helix-queue-insights-test#731 |
837713 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44056/merge to s | Log | dotnet/sdk#44056 |
837681 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/730/merge to s | Log | maestro-auth-test/helix-queue-insights-test#730 |
836794 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44035/merge to s | Log | dotnet/sdk#44035 |
836795 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#44035 |
835820 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/44028/merge to s | Log | dotnet/sdk#44028 |
835738 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108564/merge to s | Log | dotnet/runtime#108564 |
835885 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58323/merge to s | Log | dotnet/aspnetcore#58323 |
835887 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58323/merge to s | Log | dotnet/aspnetcore#58323 |
835717 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108533/merge to s | Log | dotnet/runtime#108533 |
835873 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/729/merge to s | Log | maestro-auth-test/helix-queue-insights-test#729 |
834032 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/728/merge to s | Log | maestro-auth-test/helix-queue-insights-test#728 |
833093 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/43976/merge to s | Log | dotnet/sdk#43976 |
832584 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108679/merge to s | Log | dotnet/runtime#108679 |
830942 | dotnet/installer | Checkout dotnet/installer@refs/pull/20162/merge to s | Log | dotnet/installer#20162 |
829995 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108623/merge to s | Log | dotnet/runtime#108623 |
829902 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#43944 |
828067 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/43886/merge to s | Log | dotnet/sdk#43886 |
828042 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/43910/merge to s | Log | dotnet/sdk#43910 |
827840 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108419/merge to s | Log | dotnet/runtime#108419 |
827673 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108412/merge to s | Log | dotnet/runtime#108412 |
827659 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/725/merge to s | Log | maestro-auth-test/helix-queue-insights-test#725 |
827388 | dotnet/sdk | Checkout dotnet/sdk@refs/pull/43906/merge to s | Log | dotnet/sdk#43906 |
827389 | dotnet/sdk | Clone dotnet/sdk | Log | dotnet/sdk#43906 |
826673 | dotnet/installer | Checkout dotnet/installer@refs/pull/20153/merge to s | Log | dotnet/installer#20153 |
826667 | dotnet/installer | Checkout dotnet/installer@refs/pull/20151/merge to s | Log | dotnet/installer#20151 |
826671 | dotnet/installer | Checkout dotnet/installer@refs/pull/20152/merge to s | Log | dotnet/installer#20152 |
826666 | dotnet/installer | Checkout dotnet/installer@refs/pull/20150/merge to s | Log | dotnet/installer#20150 |
826672 | dotnet/installer | Clone dotnet/installer | Log | dotnet/installer#20153 |
826425 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108347/merge to s | Log | dotnet/runtime#108347 |
826422 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108483/merge to s | Log | dotnet/runtime#108483 |
826418 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108296/merge to s | Log | dotnet/runtime#108296 |
826414 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108470/merge to s | Log | dotnet/runtime#108470 |
826400 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108212/merge to s | Log | dotnet/runtime#108212 |
825079 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58208/merge to s | Log | dotnet/aspnetcore#58208 |
825080 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58208/merge to s | Log | dotnet/aspnetcore#58208 |
823895 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/720/merge to s | Log | maestro-auth-test/helix-queue-insights-test#720 |
823486 | maestro-auth-test/helix-queue-insights-test | Checkout maestro-auth-test/helix-queue-insights-test@refs/pull/718/merge to s | Log | maestro-auth-test/helix-queue-insights-test#718 |
820513 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108256/merge to s | Log | dotnet/runtime#108256 |
819877 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108217/merge to s | Log | dotnet/runtime#108217 |
819741 | dotnet/performance | Checkout dotnet/performance@refs/pull/4486/merge to s | Log | dotnet/performance#4486 |
818608 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108263/merge to s | Log | dotnet/runtime#108263 |
818537 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58085/merge to s | Log | dotnet/aspnetcore#58085 |
818535 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58085/merge to s | Log | dotnet/aspnetcore#58085 |
818003 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108208/merge to s | Log | dotnet/runtime#108208 |
818007 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108198/merge to s | Log | dotnet/runtime#108198 |
817972 | dotnet/aspire | Checkout dotnet/aspire@refs/pull/5470/merge to s | Log | dotnet/aspire#5470 |
817350 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108172/merge to s | Log | dotnet/runtime#108172 |
2545927 | dotnet-installer | Clone dotnet/installer | Log | #43123 |
817230 | dotnet/runtime | Checkout dotnet/runtime@refs/pull/108206/merge to s | Log | dotnet/runtime#108206 |
816249 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/57942/merge to s | Log | dotnet/aspnetcore#57942 |
816180 | dotnet/performance | Checkout dotnet/performance@refs/pull/4470/merge to s | Log | dotnet/performance#4470 |
815146 | dotnet/aspnetcore | Checkout dotnet/aspnetcore@refs/pull/58013/merge to s | Log | dotnet/aspnetcore#58013 |
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
1 | 24 | 99 |
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=323960
Error message validated: Git fetch failed with exit code: 128
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 6/28/2023 9:15:14 PM UTC
So this is... interesting. I agree this seems like essentially a random network failure that is not the fault of the code. Also... it doesn't seem like there is anything to be done other than retry the build.
@ulisesh and @AlitzelMendez. This seems like another instance of a "known issue" that would really benefit from the ability to get retried automatically. I think Carlos did the right thing by opening the known issue, but his PR (and any future PR that hits this) is still going to be blocked, since the build doesn't run at all in this case, because the checkout failed. And it would be great to help folks that hit this.
I created the issue to track how often it was happening and measure the impact of the problem. It might be hard to get traction on networking problems but having the number of impacted builds has great value in my opinion.
In the last 24 hours, we had 37 builds failed with the same error. cc @markwilkie who might find this data interesting.
I think automatic retries for known issues will be the next feature after we are done with analyzing builds retroactively, we can discuss this if people think we should change priorities.
So 37 builds were caught with the known issues feature @ulisesh ? Could I get the query please? (super exciting)
I saw 37 hits in the office but now I only see 33 🤔. There are 33 failed jobs in 2 different builds. Sorry if I misused the terms but I still think it is great that we can track these build breaks 😄
This is the query:
KnownIssues | where IssueId == 9009 and IssueRepository == "dotnet/arcade"
This happened 36 times in the last 24 hours. Should we add a retry (assuming that's possible)?
GitHub reported degraded git operations yesterday: https://www.githubstatus.com/incidents/00km0kwpz23b We saw problems cloning all over. Maybe it's related to that?
This issue may have started in early 2022 but seems to remain w/ 29 matching failures in the last 24 hours. https://www.githubstatus.com/ and various Azure / Azure DevOps status pages aren't showing any current or recent degradations. Unclear what's going on this time beyond what appears to be DNS flakiness. I looked at the last 7 reports; all but one showed fatal: unable to access 'https://github.com/dotnet/runtime/': Could not resolve host: github.com
and a few also showed fatal: unable to access 'https://github.com/dotnet/runtime/': Failed to connect to github.com port 443 after 75012 ms: Couldn't connect to server
.
Without more information, I think the best we could do is auto retry when the problem occurs. @AlitzelMendez and @carlossanlop what are your thoughts on including "BuildRetry": true
in the JSON content in this description❔
It's fine, we can try that, as long as we monitor it closely, because if we keep seeing the failure even with a retry, I think we should just go back to "BuildRetry": false
, to avoid wasting resources.
you mean "BuildRetry": true
was tried in the past and didn't help much @carlossanlop❔ if the extra time it takes PR creators to click the Rerun failed builds
actually helps avoid issues in the retry, I'd lean toward leaving things as-is.
I do not know if it was tried in the past.
sounds like a good plan @dougbu, let's try "BuildRetry": true
, I will put together a query to monitor if it is helpful for this issue
updated the description to try retries
query:
let buildIds =
KnownIssues
| where ingestion_time() > datetime(2024-01-08 23:10:44.8683418)
| where IssueId == 9009
| distinct BuildId;
TimelineBuilds
| where BuildId in (buildIds)
| summarize arg_max(FinishTime, *) by BuildId
| summarize count() by Result, bin(FinishTime, 1d)
| order by FinishTime asc
| render columnchart with (xcolumn=FinishTime)
I will check this on Monday to see how it is going, posting here the query so I don't loose it :)
the success rate (having a green build) after the retry was between 30% to 50% per day, so this doesn't solve the issue, it just helps to mitigate it a little bit.