web-platform-tests / web-platform-tests/wpt

Missing python version failures in infrastructure CI

Open
#59,664 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infra Taskcluster
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.