updatewiring: two tests fail at the release base (engine check text and Quest toolchain step)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 56/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system, testing
Research direction
Start by running go -C tools test -count=1 ./internal/updatewiring at the release base and record the exit code. Then bisect the history of tools/internal/updatewiring/update_worker_test.go, engine_check.cpp, and the Quest workflow to find when both assertions stopped matching. Update the stale assertions or the code they describe, and rerun the package; done means it exits 0.
Written by the indexing model from the issue text.
Description
Evidence at d082ef2e3
go -C tools test -count=1 ./internal/updatewiring(run through the gate in the release-base worktree) exits 1 with two failing tests:--- FAIL: TestTheCoreIsGivenTheNevrRootAndNothingElse(tools/internal/updatewiring/update_worker_test.go:184:engine_check.cpp: no match for json config = \{\{"platform", env\.platform\}, \{"nevr_root", env\.root\}\};) and--- FAIL: TestATagRunLinksTheCoreIntoTheQuestRuntime(update_worker_test.go:418:the quest job's toolchain step is not the core-library job's with "--target aarch64-linux-android").- The same package run through the gate on the release line's branch tip (tree 729b667b) exits 1 with the same two failures.
test-changedskipsgo:internal/updatewiringas a heavy id, so the quick check does not run it.
Not shown
- Which commit broke the two assertions. The base is the first commit checked; older history was not bisected.
- Whether the two assertions still describe the engine check and the Quest workflow as they are in the tree now.
Falsifier
The package passes at a commit where the engine check and the Quest workflow match the test's expected text. If the failures persist at a commit whose check and workflow text match, the test is wrong, not the code.
Work
- Bisect the two assertions over the history of
tools/internal/updatewiring/update_worker_test.goand the two files they read (engine_check.cppand the Quest workflow), to find where they stopped matching. - Test first: the package fails at the base; record that exit code.
- Fix the assertion or the code the assertion describes, whichever the bisect shows is the stale one, and rerun the package. It must exit 0.
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100