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

Random failures on CI when setting up Java: operation cancelled at setup-java action #14803

Open
findepi opened this issue Oct 27, 2022 · 5 comments
Labels
bug Something isn't working test

Comments

@findepi
Copy link
Member

findepi commented Oct 27, 2022

for example in https://github.com/trinodb/trino/actions/runs/3330401482/jobs/5510058349 (#14771)
Run actions/setup-java@v3 took 59 minutes

Run actions/setup-java@v3
Installed distributions
Creating settings.xml with server-id: github
Writing to /home/runner/.m2/settings.xml
Received 0 of 936500238 (0.0%), 0.0 MBs/sec
Received 104857600 of 936500238 (11.2%), 50.0 MBs/sec
Received 255852544 of 936500238 (27.3%), 81.3 MBs/sec
Received 40[26](https://github.com/trinodb/trino/actions/runs/3330401482/jobs/5510058349#step:4:27)53184 of 936500238 ([43](https://github.com/trinodb/trino/actions/runs/3330401482/jobs/5510058349#step:4:45).0%), 95.9 MBs/sec
Received 528[48](https://github.com/trinodb/trino/actions/runs/3330401482/jobs/5510058349#step:4:50)2304 of 936[50](https://github.com/trinodb/trino/actions/runs/3330401482/jobs/5510058349#step:4:52)0238 (56.4%), 100.6 MBs/sec
Received 654311424 of 936500238 (69.9%), 103.8 MBs/sec
Received 763363328 of 936500238 (81.5%), 103.9 MBs/sec
Received 880803840 of 936500238 (94.1%), 104.9 MBs/sec
Received 932305934 of 936500238 (99.6%), 98.7 MBs/sec
Received 932305934 of 936500238 (99.6%), 88.8 MBs/sec
Received 932305934 of 936500238 (99.6%), 80.7 MBs/sec
....
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.3 MBs/sec
Received 932305934 of 936500238 (99.6%), 0.2 MBs/sec
Error: The operation was canceled.
@findepi findepi added bug Something isn't working test labels Oct 27, 2022
@findepi
Copy link
Member Author

findepi commented Oct 27, 2022

cc @nineinchnick @MiguelWeezardo

@findepi
Copy link
Member Author

findepi commented Oct 27, 2022

@MiguelWeezardo
Copy link
Member

My guess would be network failure on a GitHub worker. There's not much we can do to prevent this. The only solution seems to be retrying on a different worker.

@nineinchnick
Copy link
Member

I found a quite old similar issue: actions/runner-images#4807 and then I checked the status page https://www.githubstatus.com/history. There were some incidents yesterday, but not with GitHub Actions.

@MiguelWeezardo
Copy link
Member

This problem could be addressed by Cache segment restore timeout, unfortunately latest setup-java action uses cache action version 3.0.4 so we'll just have to wait until it's updated to 3.0.8.

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

No branches or pull requests

3 participants