Closed renanrodrigo closed 3 weeks ago
Ok Github is failing to build the package on Xenial because it is using an outdated version of the Python 3.5 stdlib
in the chroot. This is reproducible locally. May have to comment the test out.
As agreed I just removed the extra unit test (as we never had it anyway) and there is a unit test covering the new exception in the timer job. This is now good to go.
Why is this needed?
This PR solves all of our problems because we now ignore invalid jobs-state.json files if they are corrupted and cannot be decoded, avoiding the oops which stopped phasing on noble (see LP bug)
LP: #2078737
Test Steps
Unit tests cover behavior for the functionality:
systemctl start ua-timer.service