-
Notifications
You must be signed in to change notification settings - Fork 235
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
Cirrus: Migrate Ubuntu to Debian CI VM Images #1535
Conversation
Just when I thought I was done building CI VM images, it seems Debian is missing XFS utils. 🤔 |
LGTM |
LGTM and would like a @nalind head nod |
Yes, I would like to continue testing zfs. We ship the code, people try to use it, we only recently did the work to start testing it in CI, and I don't want to sacrifice that improvement in order to make a different one. The additional setup steps seem to look more or less like: sed -i -r 's/^(deb.*)/\1 contrib/g' /etc/apt/sources.list
apt-get update
apt-get install zfsutils zstd That drags in zfs-dkms, which builds the kernel module. |
Thanks for researching the needed steps nalin. I'll incorporate those into the VM Image build scripts, and crank out a set of new images for this. |
Ref: containers/storage#1535 Signed-off-by: Chris Evich <cevich@redhat.com>
Ref: containers/storage#1535 Signed-off-by: Chris Evich <cevich@redhat.com>
Ref: containers/storage#1535 Signed-off-by: Chris Evich <cevich@redhat.com>
Ref: containers/storage#1535 Signed-off-by: Chris Evich <cevich@redhat.com>
@nalind any idea why the module isn't loading? It's definitely being installed (log). Is |
Is there something odd going on with the handling of the kernel in this VM image? The log and |
Oh! Good catch! I wonder if that's some special kernel google placed.
Maybe installing the Edit: I found https://packages.debian.org/sid/linux-headers-cloud-amd64 |
Ref: containers/storage#1535 Signed-off-by: Chris Evich <cevich@redhat.com>
@nalind Thanks for help with the kernel module. I think I got that fixed now and the ZFS tests look to be running much better. There's just a single test failure. Any idea what might be the trouble?
|
Reproducing it, |
#1545 was merged, so I think rebasing will be enough to get that test passing. |
Thanks @nalind |
@nalind it looks like all the tests are passing, but the final cleanup has some fart:
|
Cherry-picking the tip of #1548 should sort that out. |
Thanks again Nalin. |
@nalind I rebased to bring in #1548 but the tests are still complaining: |
There's a leftover kill $(lsns -J -t mnt --output-all | jq '.namespaces[]|select(.command=="sleep 1000s").pid') or more politely, by unmounting the dataset from the namespace, by adding
to the cleanup logic. The latter still takes a couple of seconds before zfs will accept that the dataset is no longer busy. |
Signed-off-by: Chris Evich <cevich@redhat.com>
@nalind the VFS task is throwing the same error. Did I put the fix in the wrong place? |
Yeah, the |
Oooohhh, it's the EXIT trap that's generating the error, now I get it. Thanks! |
Fix for post-testing error: `cannot destroy 'tmp.uwIwWzoNp4/tmp': dataset is busy` Thanks to @nalind for the fix. Signed-off-by: Chris Evich <cevich@redhat.com>
Yay \o/ All green now 😄 |
LGTM |
Ref: containers/automation_images#267