a few vm-test fixes
The following changes since commit 65e05c82bdc6d348155e301c9d87dba7a08a5701:
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2019-11-25 15:47:44 +0000)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-rc3-testing-261119-1
for you to fetch changes up to b3b9a433b0691b73c96d9ea4de67fe9c8ea293e8:
tests/vm/ubuntu: update i386 image to 18.04 (2019-11-26 11:28:23 +0000)
----------------------------------------------------------------
A few vm-test updates
- use Ubuntu 18.04 for i386 image
- python3 for centos and docker
- install locales for ubuntu
----------------------------------------------------------------
Alex Bennée (3):
tests/vm/centos: fix centos build target tests/vm/ubuntu: include language pack to silence locale warnings tests/vm/ubuntu: update i386 image to 18.04
tests/vm/centos | 2 +- tests/vm/ubuntu.i386 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.20.1
[PULL 2/3] tests/vm/ubuntu: include language pack to silence locale warnings
The iotests in particular don't like the output being spammed with warnings about locales.
tests/vm/ubuntu.i386 +1 -1
@@ -84,7 +84,7 @@ class UbuntuX86VM(basevm.BaseVM): self.ssh_root_check("sed -ie s/^#\ deb-src/deb-src/g /etc/apt/sources.list") self.ssh_root_check("apt-get update") self.ssh_root_check("apt-get build-dep -y qemu") - self.ssh_root_check("apt-get install -y libfdt-dev flex bison") + self.ssh_root_check("apt-get install -y libfdt-dev flex bison language-pack-en") self.ssh_root("poweroff") self.wait() os.rename(img_tmp, img)
Signature · 1 line
2.20.1
[PULL 3/3] tests/vm/ubuntu: update i386 image to 18.04
In reply to Alex BennéeThe current image is broken while running qtests but the bug go away when built with a newer Ubuntu i386 image. I was unable to replicate the crash on Debian Buster for i386 either so I'm concluding it is a distro problem. Let's paper over that crack by updating our 32 bir test image.
tests/vm/ubuntu.i386 +2 -2
@@ -66,8 +66,8 @@ class UbuntuX86VM(basevm.BaseVM): def build_image(self, img): cimg = self._download_with_cache( - "https://cloud-images.ubuntu.com/releases/16.04/release-20190605/ubuntu-16.04-server-cloudimg-i386-disk1.img", - sha256sum="e30091144c73483822b7c27193e9d47346dd1064229da577c3fedcf943f7cfcc") + "https://cloud-images.ubuntu.com/releases/bionic/release-20191114/ubuntu-18.04-server-cloudimg-i386.img", + sha256sum="28969840626d1ea80bb249c08eef1a4533e8904aa51a327b40f37ac4b4ff04ef") img_tmp = img + ".tmp" subprocess.check_call(["cp", "-f", cimg, img_tmp]) subprocess.check_call(["qemu-img", "resize", img_tmp, "50G"])
Signature · 1 line
2.20.1
[PULL 1/3] tests/vm/centos: fix centos build target
In reply to Alex BennéeTo be able to run the docker tests centos has here we have to install python3 as well as the basic tools.
tests/vm/centos +1 -1
@@ -73,7 +73,7 @@ class CentosVM(basevm.BaseVM): self.wait_ssh() self.ssh_root_check("touch /etc/cloud/cloud-init.disabled") self.ssh_root_check("yum update -y") - self.ssh_root_check("yum install -y docker make git") + self.ssh_root_check("yum install -y docker make git python3") self.ssh_root_check("systemctl enable docker") self.ssh_root("poweroff") self.wait()
Signature · 1 line
2.20.1
Peter Maydell
AppliedQuoted 13 lines · Alex Bennée
The following changes since commit
65e05c82bdc6d348155e301c9d87dba7a08a5701:Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2019-11-25 15:47:44 +0000)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-rc3-testing-261119-1
for you to fetch changes up to
b3b9a433b0691b73c96d9ea4de67fe9c8ea293e8:tests/vm/ubuntu: update i386 image to 18.04 (2019-11-26 11:28:23 +0000)
Quoted 8 lines
----------------------------------------------------------------
A few vm-test updates- use Ubuntu 18.04 for i386 image
- python3 for centos and docker
- install locales for ubuntu----------------------------------------------------------------
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.
-- PMM