Skip to content

tests/e2e: close per-test log files after tearDown cleanup runs - #3820

Merged
igaw merged 1 commit into
linux-nvme:masterfrom
dwsuse:fix-e2e
Aug 12, 2026
Merged

tests/e2e: close per-test log files after tearDown cleanup runs#3820
igaw merged 1 commit into
linux-nvme:masterfrom
dwsuse:fix-e2e

Conversation

@dwsuse

@dwsuse dwsuse commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

tearDown closed stdout_log/stderr_log before calling create_and_attach_default_ns, which still runs nvme commands via run_cmd. Those writes hit the closed file handles, raising "ValueError: I/O operation on closed file" and failing every e2e test whose controller supports namespace management.

Signed-off-by: Daniel Wagner dwagner@suse.com

Fixes: #3817

tearDown closed stdout_log/stderr_log before calling
create_and_attach_default_ns, which still runs nvme commands via
run_cmd. Those writes hit the closed file handles, raising
"ValueError: I/O operation on closed file" and failing every e2e test
whose controller supports namespace management.

Signed-off-by: Daniel Wagner dwagner@suse.com
@igaw
igaw merged commit 976f4d3 into linux-nvme:master Aug 12, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nightly fails: I/O operation on closed file

2 participants