-
Notifications
You must be signed in to change notification settings - Fork 594
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
tests: enable ubuntu 21.04 for spread tests #9792
tests: enable ubuntu 21.04 for spread tests #9792
Conversation
tests/main/lxd-mount-units/task.yaml
Outdated
@@ -5,7 +5,8 @@ details: | | |||
are correct for snapfuse. | |||
|
|||
# only 20.04+, we want lxd images that come with snaps preinstalled. | |||
systems: [ubuntu-2*] | |||
# TODO: enable for ubuntu-21.04-64 when the ñxd image is available | |||
systems: [ubuntu-2*, -ubuntu-21.04-64] |
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.
Unfortunately spread does not support mixing systems and negation of systems :/
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.
fixed
Thanks
ubuntu-21.04-64*) | ||
echo "https://cloud-images.ubuntu.com/hirsute/current/hirsute-server-cloudimg-amd64.img" |
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.
21.04 needs to be enabled in nested suites for this to have an effect right?
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.
I already deployed the image to the gce bucket, with that it should be enough. It is because we source this script and it uses the current system independently of the suite being executed.
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.
@stolowski, I still I see preseed tests failing with this error, any idea about how to fix it?
2020-12-12 13:18:09 (108 MB/s) - ‘cloudimg.img’ saved [563871744/563871744]
- mkdir -p /mnt/cloudimg
- . /home/gopath/src/github.com/snapcore/snapd/tests/lib/preseed.sh
++ pwd - mount_ubuntu_image /home/gopath/src/github.com/snapcore/snapd/tests/main/preseed/cloudimg.img /mnt/cloudimg
- local CLOUD_IMAGE=/home/gopath/src/github.com/snapcore/snapd/tests/main/preseed/cloudimg.img
- local IMAGE_MOUNTPOINT=/mnt/cloudimg
- grep nbd
- lsmod
- modprobe nbd
++ command -v qemu-nbd - systemd-run --system --service-type=forking --unit=qemu-nbd-preseed.service '' --fork -c /dev/nbd0 /home/gopath/src/github.com/snapcore/snapd/tests/main/preseed/cloudimg.img
Failed to find executable : No such file or directory
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.
No, I need to investigate to see what changed on 21.04. By the way, I think we should add 'Run nested' to this PR (and close/re-open)?
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.
Thanks for this update. Code change looks fine now. Let's see how the tests are doing.
Uh, we'll need to merge master once #9806 lands |
I've merged latest master now. |
cohorts is fixed is #9807 |
…snapd into tests-new-hirsute-image
this could probably use a master merge |
merged master and pushed |
…snapd into tests-new-hirsute-image
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.
Looks good, let's get 21.04 into our CI (even if some tests fail, it's not mandatory yet)
Mmm, this still seems unhappy...
I retried it to see if that was just a transient thing though |
…snapd into tests-new-hirsute-image
New image available.
Minor changes to make tests pass.