fill: plain pytest test in a fixture directory crashes collection with INTERNALERROR
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start in packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/filler.py at pytest_collection_modifyitems and the get_spec_format_for_item(params) call. Reproduce with the tests/frontier/mpt/test_probe.py example using uv run fill tests/frontier/mpt/ --fork Osaka. Done means a plain test no longer causes an INTERNALERROR and is either clearly deselected or reported with an actionable test-specific error.
Written by the indexing model from the issue text.
Description
A test function under tests/ that does not request state_test/blockchain_test/transaction_test makes fill abort during collection instead of being skipped or reported.
Reproduce: add a file tests/frontier/mpt/test_probe.py containing def test_x(): assert True, then run uv run fill tests/frontier/mpt/ --fork Osaka.
Result: INTERNALERROR> ValueError: No spec type format found in the test item. raised from packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/filler.py in pytest_collection_modifyitems at the get_spec_format_for_item(params) call. No tests run.
Expected: either the item is deselected with a clear message, or collection fails with an actionable error naming the offending test.
Context: found while adding a helper self-check next to tests/frontier/mpt/ (PR #3600). Workaround used there: run the check at import time from a non-test_ module.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 505
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 112
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.
More from ethereum/execution-specs
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ethereum/execution-specs#3241 · 2 comments ·
-
stale
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ethereum/execution-specs#2758 · 1 comment ·
-
A-ci C-bug stale
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ethereum/execution-specs#2557 · 1 comment ·
-
stale
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ethereum/execution-specs#2434 · 1 comment ·
-
stale
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ethereum/execution-specs#2136 · 1 comment ·
All issues in ethereum/execution-specs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100