matrix-org / matrix-org/sytest

Docker build failing again due to codecov

Open
#1,348 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
81
Forks
63
Avg merge
1h 47m
Merged PRs (30d)
1

Description

Related to https://about.codecov.io/blog/message-regarding-the-pypi-package/

E.g https://github.com/matrix-org/sytest/actions/runs/4684534736/jobs/8301237552#step:6:1290

```
#19 [linux/amd64 10/10] RUN /venv/bin/pip install -q --no-cache-dir coverage codecov tap.py coverage_enable_subprocess
#19 1.087 ERROR: Could not find a version that satisfies the requirement codecov (from versions: none)
#19 1.088 ERROR: No matching distribution found for codecov
#19 ERROR: process "/bin/bash -o pipefail -c /venv/bin/pip install -q --no-cache-dir coverage codecov tap.py coverage_enable_subprocess" did not complete successfully: exit code: 1

#18 [linux/arm64 5/10] RUN python3 -m pip install -q --upgrade pip
#18 CANCELED
------
> [linux/amd64 10/10] RUN /venv/bin/pip install -q --no-cache-dir coverage codecov tap.py coverage_enable_subprocess:
#19 1.087 ERROR: Could not find a version that satisfies the requirement codecov (from versions: none)
#19 1.088 ERROR: No matching distribution found for codecov
------
docker/synapse.Dockerfile:74
--------------------
73 | # Pre-install test dependencies installed by `scripts/synapse_sytest.sh`.
74 | >>> RUN /venv/bin/pip install -q --no-cache-dir \
75 | >>> coverage codecov tap.py coverage_enable_subprocess
76 |
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c /venv/bin/pip install -q --no-cache-dir coverage codecov tap.py coverage_enable_subprocess" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/bash -o pipefail -c /venv/bin/pip install -q --no-cache-dir coverage codecov tap.py coverage_enable_subprocess" did not complete successfully: exit code: 1
```

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 docker/synapse.Dockerfile line 74 and inspect the test dependencies installed by scripts/synapse_sytest.sh. Reproduce the pip install failure from the issue, then verify the Docker build completes successfully without the unavailable codecov dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
build-system, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.