Skip to content

"tests/e2e/run-local" ignores cleanup failures #450

@ldoktor

Description

@ldoktor

Describe the bug
Looking at https://github.com/confidential-containers/operator/actions/runs/10990240519/job/30510052789?pr=439 it looks like the status is not reported correctly at least when post-test check fails (in this case there were some pods still running after uninstalling the operator which is reported as Error in the Run e2e tests step but the CI reported PASS.

To Reproduce
Steps to reproduce the behavior:

  1. Run the tests/e2e/run-local.sh and fail in undo_changes

Describe the results you expected
IMO it should proceed with the cleanup and raise an error (not failure) with a different error afterwards.

Describe the results you received:
No report of unusual situation, green CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions