Skip to content
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

Small ISO workaround #12245

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Conversation

simondeziel
Copy link
Member

In #12113, all ISO files were shrunk down to 8MiB. Smaller sizes (1, 2 and 4MiB) were tried but caused increased failure rate in the migration, storage_local_volume_handling and storage_volume_import test cases.

It seems that even 8MiB is too small causing those tests to fail and account for ~25% of all the failures. Until the root cause can be find and fixed, it's better to revert those commits.

This reverts commit cb27843 due to
too frequent failed CI runs ending like:

> + truncate -s 5MiB foo.iso
> + basename /home/runner/work/lxd/lxd/test/tmp.8tG/z2ZzFIbzM
> + lxc storage volume import lxdtest-z2ZzFIbzM-dir ./foo.iso iso1
> + set +x
> + timeout --foreground 120 /home/runner/go/bin/lxc storage volume import lxdtest-z2ZzFIbzM-dir ./foo.iso iso1 --verbose
>
> Importing custom volume: 2% (1.26GB/s)
> ...
>
> ==> TEST DONE: storage local volume handling
> ==> Test result: failure

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This reverts commit 16f7e1a due to
too frequent failed CI runs ending like:

> + lxc storage volume import lxdtest-haC ./foo.img --type=iso foobar
> + set +x
> + timeout --foreground 120 /home/runner/go/bin/lxc storage volume import lxdtest-haC ./foo.img --type=iso foobar --verbose
>
> Importing custom volume: 2% (2.52GB/s)
> ...
>
> ==> TEST DONE: storage volume import
> ==> Test result: failure

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel simondeziel marked this pull request as ready for review September 12, 2023 21:02
@tomponline tomponline merged commit f0a5c03 into canonical:main Sep 13, 2023
24 of 25 checks passed
@simondeziel simondeziel deleted the small-iso-workaround branch September 13, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants