-
- Downloads
fix: correct check of the updated state
Commit 8f826964 contain the fix of ostree commit ID parsing. Before that commit the ID contained additional suffix (".0") and thus the comparison with `COMMIT_AFTER` always shows a difference and the test result was __always__ false positive: "pass". After applying the 8f826964 commit we shed light to other issue -- we saved a wrong ostree commit ID for later usage. In case if we prepare the "outdated" commit -- we must use it's ID as "starting" for the test. Moved the preparation of "outdated" ostree commit into the common function `prepare_outdated_commit()` and store the proper ostree commit ID as starting point. Additional side-effect fixed for OTA upgrades -- before current fix OTA tests were unstable, sometimes allowing to pass the check even with wrong ID written as starting point. This is caused by long queues in LAVA nowadays -- the build system may prepare and submit the new version while the test is waiting in queue. In that case the system do the real upgrade to the OS version newer than we have during the test submit. Signed-off-by:Denis Pynkin <denis.pynkin@collabora.com>
Showing
- run-test-api.sh 1 addition, 11 deletionsrun-test-api.sh
- run-test-offline-upgrade.sh 1 addition, 11 deletionsrun-test-offline-upgrade.sh
- run-test-ota-api.sh 2 additions, 11 deletionsrun-test-ota-api.sh
- run-test-ota-auto.sh 1 addition, 11 deletionsrun-test-ota-auto.sh
- run-test-ota-out-of-space.sh 2 additions, 12 deletionsrun-test-ota-out-of-space.sh
- run-test-ota-rollback-blacklist.sh 11 additions, 14 deletionsrun-test-ota-rollback-blacklist.sh
- run-test-ota-signature.sh 1 addition, 1 deletionrun-test-ota-signature.sh
- run-test-out-of-space.sh 3 additions, 26 deletionsrun-test-out-of-space.sh
- run-test-power-cut.sh 1 addition, 6 deletionsrun-test-power-cut.sh
- run-test-signature.sh 2 additions, 2 deletionsrun-test-signature.sh
- update-manager-common.sh 23 additions, 0 deletionsupdate-manager-common.sh
Loading
Please register or sign in to comment