web-platform-tests / web-platform-tests/wpt
Missing python version failures in infrastructure CI
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 6.2k
- Forks
- 3.9k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 586
Description
Some infra PRs are failing with a message referencing a missing Python version, for example this one.
The problem seems to be that we're downloading the Python version from a PPA at runtime and the Ubuntu infrastructure is currently under attack, so that's become unreliable.
One option would be to bake the supported Python versions into the docker image. The only issue with that is that updating the docker image is rather high overhead and can break PRs which are based on the wrong version.
Another option would be to source the old Python versions from somewhere other than Ubuntu infrastructure for now.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CI task's live log and trace the runtime download of the Python version from the PPA. Compare the available sourcing options and define a reliable way for infrastructure PRs to obtain supported Python versions without missing-version failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python, ubuntu
- Domain
- ci-cd, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100