Commit 9c4194e
automation, kmp: preserve failure logs in artifacts (#2405)
When kubemacpool functional tests fail in CNAO's test lane, the detailed
failure logs (pod logs, services, endpoints, network policies) were
being lost because they are written to the cloned kubemacpool
repository's _out/ directory, which gets deleted during teardown [0].
This change copies the kubemacpool failure logs from the temporary
component directory to CNAO's artifacts directory before cleanup,
ensuring they are preserved for debugging failed tests.
[0]
https://github.com/k8snetworkplumbingwg/kubemacpool/blob/main/tests/tests_suite_test.go#L24
Signed-off-by: Ram Lavi <[email protected]>
Co-authored-by: Ram Lavi <[email protected]>1 parent b3a4eef commit 9c4194e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments