ethereum / ethereum/execution-specs

fix(consume): captured teardown output is not propagated to hive

Open
#1,534 4 comments 0 reactions 0 assignees View on GitHub
A-test-consume C-bug P-medium stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

This example output should also contain a `TEARDOWN PHASE` section with lines similar to:
```
2025-03-27 09:42:02.513+00:00 [INFO] pytest_plugins.consume.hive_simulators.conftest: Stopping client (go-ethereum_default)...
2025-03-27 09:42:02.677+00:00 [INFO] pytest_plugins.consume.hive_simulators.conftest: Client (go-ethereum_default) stopped!
```
![image](https://github.com/user-attachments/assets/da78bd1d-531e-437e-aaec-2392d023ef1e)

This is due to how pytest captures logout during test fixture teardown and how we organize our teardown steps in fixtures; it can most likely be remedied by refactoring our pyest fixtures.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.