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

ci: revert to ubuntu-20.04 for workflow jobs that fail on ubuntu-latest #4794

Merged
merged 1 commit into from
Dec 3, 2022

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Dec 2, 2022

Problem: The python linting job fails on ubuntu-latest because python 3.6 is no longer supported.

Use runs-on: ubuntu-20.04 in the python-lint job so that python 3.6 can still be used.

See actions/setup-python#355 (comment)

Copy link
Member

@garlick garlick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK!

@grondo
Copy link
Contributor Author

grondo commented Dec 2, 2022

Thanks! Set MWP

@grondo
Copy link
Contributor Author

grondo commented Dec 2, 2022

Hm, the system test build is getting stuck here:

Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready
Waiting for flux-system-test-85846 to be ready

We've seen these issues before, but never in CI, and I didn't think the change here would affect any of the other builds, but I'm looking into it.

@grondo
Copy link
Contributor Author

grondo commented Dec 3, 2022

My guess is that the ubuntu-latest tag was updated to 22.04 today, precipitating the failures in the python linting and the system coverage builds (I guess docker-run-systest.sh doesn't work on ubuntu 22.04). I'll update this PR to revert both builders to ubuntu-20.04.

Problem: The ubuntu-latest image seems to have been recently updated
to Ubuntu 22.04, which broke the python linting job, which now does't
support python 3.6. Additionally, the system/coverage test build fails
because docker-run-systest.sh apparently breaks on 22.04.

Use runs-on: ubuntu-20.04 in the python-lint and ci-checks jobs to work
around the failures for now.
@grondo grondo force-pushed the python-linting-fix branch from 2dfe0b6 to 67b80a4 Compare December 3, 2022 04:12
@grondo grondo changed the title ci: fix python-lint job in github workflow ci: revert to ubuntu-20.04 for workflow jobs that fail on ubuntu-latest Dec 3, 2022
@codecov
Copy link

codecov bot commented Dec 3, 2022

Codecov Report

Merging #4794 (67b80a4) into master (8c0264a) will decrease coverage by 0.85%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4794      +/-   ##
==========================================
- Coverage   84.31%   83.46%   -0.86%     
==========================================
  Files         412      415       +3     
  Lines       62547    70730    +8183     
==========================================
+ Hits        52735    59033    +6298     
- Misses       9812    11697    +1885     
Impacted Files Coverage Δ
src/cmd/top/ucache.c 86.66% <0.00%> (-13.34%) ⬇️
src/modules/job-info/allow.c 76.66% <0.00%> (-12.70%) ⬇️
src/common/libzmqutil/monitor.c 80.00% <0.00%> (-11.03%) ⬇️
src/shell/builtins.c 92.00% <0.00%> (-8.00%) ⬇️
src/shell/kill.c 92.30% <0.00%> (-7.70%) ⬇️
src/common/libutil/timestamp.c 92.85% <0.00%> (-7.15%) ⬇️
src/modules/resource/acquire.c 65.04% <0.00%> (-7.05%) ⬇️
src/cmd/builtin/dmesg.c 87.58% <0.00%> (-6.86%) ⬇️
src/common/libutil/uri.c 90.47% <0.00%> (-6.83%) ⬇️
src/modules/job-manager/getattr.c 58.18% <0.00%> (-6.82%) ⬇️
... and 331 more

@mergify mergify bot merged commit 8b60803 into flux-framework:master Dec 3, 2022
@grondo
Copy link
Contributor Author

grondo commented Dec 3, 2022

Oops, I had forgotten to remove MWP when adding ubuntu-20.04 to the ci-checks builder. Oh, well, it seems to have worked...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants