Open roperzh opened 2 months ago
Hey @roperzh , I'm looking for small-scoped bugs for today before leaving for vacation, so if you don't mind I'll take a shot at this ticket (will move back to Ready if I don't fix by EOD).
I debugged it somewhat, but not familiar with the SCEP renewal flow so I'm not sure why it behaves the way it does. Look at my WIP PR for notes and pointers: https://github.com/fleetdm/fleet/pull/22023
Keeping in mind that I don't fully understand the flow, I think there's either a bug in the test (the setup of data is not correct, or something like that), or in the implementation of the renewal (but it looked ok due to not running the worker). Would greatly benefit from a look by someone more familiar to take it to the finish line! Moving back to Ready so others can take a look.
Fleet version: main
💥  Actual behavior
TestIntegrationsMDM/TestLifecycleSCEPCertExpiration
fails frequentlySee https://github.com/fleetdm/fleet/actions/runs/10446895806/job/28946587576 as an example failure.
It expects the
automaticEnrolledDevice
to not have received any new command after re-enrollment for SCEP renewal, but this device receives: