matrixorigin / matrixorigin/matrixone

[Bug]: Coverage CI fails when setup-cmake cannot download Ninja (HTTP 503)

Open
#27,066 2 comments 0 reactions 1 assignee Claimed by @gouhongshen View on GitHub
deferred kind/bug
Dominant language
Go
Stars
1.9k
Forks
311
Avg merge
1d 3h
Merged PRs (30d)
768

Description

## Is there an existing issue for the same bug?

- [x] I have checked the existing issues.

## Branch Name

main

## Commit ID

32216f2237dd2493a0915f5ad948815a21f296af

## Other Environment Information

- GitHub Actions hosted Ubuntu 22.04 runner
- Workflow: MatrixOne ALL CI
- Job: Matrixone Utils CI / Coverage

## Actual Behavior

The coverage-merge job fails before generating a diff or processing any
coverage profile. The shared CI `setup-cmake` action cannot download
`ninja-build`: it reports two `socket hang up` retries and then
`Unexpected HTTP response: 503`.

## Expected Behavior

The CI setup action should either obtain its Ninja dependency or report a
retriable infrastructure failure without making the PR coverage check fail.

## Steps to Reproduce

1. Open https://github.com/matrixorigin/matrixone/actions/runs/31614026712/job/94189005083.
2. Inspect the `Set up Go` step, which invokes the shared
`matrixorigin/CI/actions/setup-cmake@main` action.
3. Observe the Ninja download fail before `Generate diff.patch` and
`Merge profiles and check coverage rate` begin.

## Additional information

Relevant log excerpt:

```text
Download and extract ninja-build
socket hang up
Waiting 16 seconds before trying again
socket hang up
Waiting 19 seconds before trying again
Error: Unexpected HTTP response: 503
install-cmake failed
```

This is independent of PR #27058's database-CLONE changes: no project Go
source, tests, or coverage artifacts had run when the failure occurred.
The full job is linked above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.