e2e_node test depend on very specific shared state (node state). Pod leakages between tests oftentimes cause the test preconditions to be silently corrupted, causing hard to debug CI failures. We add the option to add an annotation to pods which records the code line (source code:line) which triggered the pod creation, so it becomes easier to track which test needs better cleanup. The relevant e2e framework code is used in all the e2e suites, so to minimize any unwanted consequences we make the feature opt-in, planning to enable it initially (and likely only) in the e2e_node tests. Signed-off-by: Francesco Romani <fromani@redhat.com>
14 KiB
14 KiB