-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automated: linux: ota-update add static-delta test #463
Conversation
This is still WIP. Waiting for the final version of aktualizr-lite to test against. |
ab77213
to
34798f4
Compare
1369c02
to
6109265
Compare
@roxell @nareshkamboju I think this is ready for review. I ran a few test jobs. Working example: |
6109265
to
308abb1
Compare
|
||
dd if=/dev/urandom of=fill_file bs="${BLOCK_SIZE}" count="${TO_FILL}" | ||
ls -l | ||
df -B1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these two lines needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're very helpful when reading the test job in LAVA. I can add a comment explaining why they're there but I'd like to keep them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK fair enough.
Static delta is a variant of OTA update test. It exercises a feature of ostree that lets limit the number of downloads from ostree server by packing the objects into compressed packages. ostree server is also able to calculate the size of the whole update. This allows aktualizr-lite to reject the OTA update if it's size exceeds the threshold limits. Default threshold in aktualizr-lite is 90% disk occupancy after OTA update. Signed-off-by: Milosz Wasilewski <[email protected]>
308abb1
to
9fb4b07
Compare
Static delta is a variant of OTA update test. It exercises a feature of ostree that lets limit the number of downloads from ostree server by packing the objects into compressed packages. ostree server is also able to calculate the size of the whole update. This allows aktualizr-lite to reject the OTA update if it's size exceeds the threshold limits. Default threshold in aktualizr-lite is 90% disk occupancy after OTA update.