lifecycle-toolkit icon indicating copy to clipboard operation
lifecycle-toolkit copied to clipboard

Add collectors to Lifecycle Operator Integration Tests

Open RealAnna opened this issue 2 years ago • 6 comments

Given this generic example on how to add a catch statement to chainsaw tests, we should add them in each lifecycle operator integration test that:

  • collect logs of lifecycle-operator
  • collect logs of metrics-operator
  • run a kubectl describe for Workload Version, App Version
  • if it exist also kubectl describe of the job (task)

examples can be found here

DoD

  • [ ] manually verify that when the test fails, the logs and describes are visible in the shell

RealAnna avatar Dec 19 '23 08:12 RealAnna

@RealAnna please assign this issue to me

UtkarshUmre avatar Dec 29 '23 15:12 UtkarshUmre

This issue will be unassigned in 1 week if no further activity is seen. If you are active please provide an update on the status of the issue and if you would like to continue working on it.

github-actions[bot] avatar Jan 30 '24 03:01 github-actions[bot]

hey @RealAnna could you please share the link to the lifecycle operator integration test again? The current link is leading to a 404 error

UtkarshUmre avatar Feb 02 '24 07:02 UtkarshUmre

@UtkarshUmre the new link is updated thank you for the catch :)

RealAnna avatar Feb 02 '24 08:02 RealAnna

@UtkarshUmre we updated the ticket for the chainsaw test suite if you are interested in picking this up again... The solution is very similar, but we want to avoid adding kuttl test since we have a pr ready to remove them...

RealAnna avatar Feb 09 '24 07:02 RealAnna

@RealAnna it is now possible to register catch blocks at the test level or even at the config level

eddycharly avatar Mar 11 '24 18:03 eddycharly