Skip to content

BUG: Filler Plugin fails collection (ValueError) for tests/evm_tools/ #1725

@Khushi-Chaudhary04

Description

@Khushi-Chaudhary04

What was wrong?

The fill command crashes with a Python ValueError during the test collection phase when targeting the tests/evm_tools/ directory. The tool is failing because the tests lack expected metadata, suggesting a migration issue.

  • Command-line which produced the error:
    python -m execution_testing.cli.pytest_commands.fill tests/evm_tools/ --collect-only
  • Summary of Error: The test collection hook in the filler plugin fails with a ValueError because it cannot extract spec_type or fixture_format from the test items in that directory.
  • Observed Exit Code: 3 (Pytest Internal Error).

How can it be fixed?

This appears to be a Weld migration debt. The tests in tests/evm_tools/ likely need to be updated to include the necessary spec metadata expected by the modernized execution_testing.cli.pytest_commands.plugins.filler hooks during collection.

Additional Context

This was discovered during the verification of Issue #1610 (sane default execution), confirming that the normal execution path preserves the error. The crash is specific to the filler's collection hook and the evm_tools directory content.

CC : @SamWilsn , @danceratopz

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: this is a bug, deviation, or other problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions