ake a tastier soup.
Signed-off-by: John Snow
---
python/qemu/machine/machine.py | 18 ++
1 file changed, 18 insertions(+)
diff --git a/python/qemu/machine/machine.py b/python/qemu/machine/machine.py
index 37191f433b2..c467f951d5d 100644
--- a/python/qemu/machine/machine.py
+++ b/p
'BCM2835')
> exec_command_and_wait_for_pattern(self, 'cat /proc/iomem',
> '/soc/cprman@7e101000')
> -exec_command(self, 'halt')
> +exec_command_and_wait_for_pattern(self, 'halt', 'reboot: System
> halted')
> # Wait for VM to shut down gracefully
> self.vm.wait()
LGTM!
Already staged, but just for formality's sake:
Reviewed-by: John Snow
On Tue, Oct 18, 2022 at 6:23 AM Peter Maydell wrote:
>
> If you run this single avocado test:
>
> while ./build/x86/tests/venv/bin/avocado run
> build/x86/tests/avocado/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_initrd
> ; do true; done
>
> then on my machine it will fail within 4 or 5
ot;Name"] + "\", \"" + d["Name"] + "\"")
> -return
>
>
> def main():
> --
> 2.30.0.windows.2
>
This can go through the trivial branch.
Reviewed-by: John Snow
On Thu, Sep 22, 2022 at 4:03 PM Marc-André Lureau
wrote:
>
> Hi
>
> On Tue, Sep 20, 2022 at 1:50 PM Bin Meng wrote:
>>
>> From: Bin Meng
>>
>> These test cases uses "blkdebug:path/to/config:path/to/image" for
>> testing. On Windows, absolute file paths contain the delimiter ':'
>> which causes t
On Wed, Sep 7, 2022 at 7:54 AM Markus Armbruster wrote:
>
> John Snow writes:
>
> > Hi, I suspect I have asked this before, but I didn't write it down in
> > a comment, so I forget my justification...
> >
> > In the QMP lib, we need to set a buffering limi
Hi, I suspect I have asked this before, but I didn't write it down in
a comment, so I forget my justification...
In the QMP lib, we need to set a buffering limit for how big a QMP
message can be -- In practice, I found that the largest possible
response was the QAPI schema reply, and I set the cod
On Tue, Aug 23, 2022, 5:16 AM Andrea Bolognani wrote:
> On Thu, Aug 18, 2022 at 12:53:58PM -0400, John Snow wrote:
> > Add the pubkey currently used for signing PyPI releases of qemu.qmp to a
> > stable location where it can be referenced by e.g. Fedora RPM specfiles.
> >
&g
Hi Eric:
Once upon a time I mentioned writing a QMP server implementation in Python.
Now that the dust of the fork has (mostly) settled, I've rebased and
uploaded that WIP here:
https://gitlab.com/jsnow/python-qemu-qmp/-/commits/create_server/
Tracking issue: https://gitlab.com/qemu-project/pyth
...@redhat.com > pubkey
> gpg --armor --export js...@redhat.com >> pubkey
Signed-off-by: John Snow
---
assets/keys/python-qemu-qmp.1.txt | 288 ++
1 file changed, 288 insertions(+)
create mode 100644 assets/keys/python-qemu-qmp.1.txt
diff --git a/assets/k
e login prompt has appeared so we don't accidentally spaff the
> shell commands to a confused getty in the guest.
>
> Signed-off-by: Alex Bennée
> Cc: Cédric Le Goater
> Cc: John Snow
> ---
> tests/avocado/machine_aspeed.py | 2 ++
> 1 file changed, 2 insertions(
gt; None:
> """
> Perform any cleanup that needs to happen before the VM exits.
> --
> 1.8.3.1
>
With applied fixup:
Reviewed-by: John Snow
t; return self._args
>
> +@property
> +def full_args(self) -> List[str]:
> +"""Returns the full list of arguments used to launch QEMU."""
> +return list(self._qemu_full_args)
> +
> def _pre_launch(self) -> None:
> if self._console_set:
> self._remove_files.append(self._console_address)
> --
> 1.8.3.1
>
Reviewed-by: John Snow
Acked-by: John Snow
cular
order: Luiz, Hanna, Kevin, Vladimir, Kashyap, Eduardo, Cleber, Daniel,
Niteesh, Willian, Beraldo, Wainer, Thomas, Eric, Paolo, Stefan,
Andrea, and Victor. Thanks to my friends outside of work for their
help, too; thanks Mike J.!
Enjoy!
--John Snow
[1] https://gitlab.com/qemu-project/python-qemu-qmp/-/milestones
On Mon, Jul 18, 2022 at 1:20 PM Thomas Huth wrote:
>
> A recent commit moved some Haiku-specific code parts from oslib-posix.c
> to cutils.c, but failed to move the corresponding header #include
> statement, too, so "make vm-build-haiku.x86_64" is currently broken.
> Fix it by moving the header #i
On Mon, Jul 18, 2022 at 4:17 AM Thomas Huth wrote:
>
> On 08/07/2022 17.34, John Snow wrote:
> > Note: patches 10-12 are included for testing simplicity, they shouldn't
> > be merged. They will be included in a forthcoming block PR.
> >
> > V4:
> >
>
On Fri, Jul 8, 2022 at 11:35 AM John Snow wrote:
>
> Note: patches 10-12 are included for testing simplicity, they shouldn't
> be merged. They will be included in a forthcoming block PR.
Patches 1-9 are fully reviewed. Whose tree should this go in?
>
> V4:
>
> - Addre
On Tue, Jul 12, 2022, 11:38 AM Ani Sinha wrote:
>
>
> On Tue, 12 Jul 2022, John Snow wrote:
>
> > On Tue, Jul 12, 2022, 3:17 AM Ani Sinha wrote:
> >
> > >
> > >
> > > On Mon, 11 Jul 2022, John Snow wrote:
> > >
> > > > On
On Tue, Jul 12, 2022, 3:17 AM Ani Sinha wrote:
>
>
> On Mon, 11 Jul 2022, John Snow wrote:
>
> > On Sun, Jul 10, 2022 at 1:01 PM Ani Sinha wrote:
> > >
> > > This is initial commit of cpuid, acpi and smbios python test scripts
> for
> > > bios
On Mon, Jul 11, 2022, 9:46 PM Peter Delevoryas wrote:
> On Mon, Jul 11, 2022 at 04:56:28PM -0400, John Snow wrote:
> > On Thu, Jul 7, 2022 at 2:46 PM Peter Delevoryas wrote:
> > >
> > > On Wed, Jul 06, 2022 at 05:52:48PM -0700, Peter Delevoryas wrote:
> > >
ests, 'make
check-venv-avocado'.
Signed-off-by: John Snow
---
tests/Makefile.include | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index d8af6a38112..d484a335be5 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -1
ll miss
certain triggers to refresh the venv. It will miss when new dependencies
are added to either python/setup.cfg or tests/setup.cfg. It can be
coaxed into updating by running 'make check', 'make check-block', 'make
check-venv', etc.
Signed-off-by: John Snow
---
tests
see the subsequent commit "tests: Remove spurious pip
warnings on Ubuntu20.04" for more information.
Signed-off-by: John Snow
---
tests/Makefile.include | 21 ++---
tests/requirements.txt | 6 --
tests/setup.cfg| 20
tests/setup.py | 1
NetBSD needs "py37-pip" in order to create virtual environments.
Signed-off-by: John Snow
---
tests/vm/netbsd | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index 45aa9a7fda7..53fe508e487 100755
--- a/tests/vm/netbsd
+++ b/tests/vm/netbsd
@@ -
ror does
not seem to show up for the "qemu" package because we install that
package in editable mode. (I think, but did not test, that installing an
empty package in editable mode caused more problems than it fixed.)
Signed-off-by: John Snow
---
tests/mkvenv.py | 3 ++-
1 file change
H.
If the venv directory isn't found, raise a friendly exception that tries
to give the human operator a friendly clue as to what's gone wrong. The
subsequent commit attempts to address this shortcoming by teaching
iotests how to invoke the venv bootstrapper in this circumstance
instead.
lly better.
But, even if I did write it more generically here; iotests wouldn't be
able to use it anyway, because importing it would mean more sys.path
hacking. So... eh?
Signed-off-by: John Snow
---
tests/Makefile.include | 16 ++--
tests/mkvenv.py| 186 +++
as
much of this forward as I can to try and get some testing in for RC
phase to determine what problems might exist that I haven't noticed yet.
--js
John Snow (7):
tests: create optional tests/venv dependency groups
tests: pythonize test venv creation
tests: Remove spurious pip warnings on Ubu
On Fri, May 27, 2022, 12:29 PM Kevin Wolf wrote:
> Am 26.05.2022 um 16:21 hat John Snow geschrieben:
> > On Thu, May 26, 2022, 3:54 AM Daniel P. Berrangé
> > wrote:
> >
> > > On Wed, May 25, 2022 at 08:25:12PM -0400, John Snow wrote:
> > > > If you i
On Mon, Jul 11, 2022 at 5:16 PM John Snow wrote:
>
> On Fri, Jun 24, 2022 at 3:53 PM Vladimir Sementsov-Ogievskiy
> wrote:
> >
> > I've spent much time trying to debug hanging pipeline in gitlab. I
> > started from and idea that I have problem in code in my ser
the native asyncio interfaces I've been writing to help manage
this, but in the meantime I think this is probably a reasonable
concession and a more useful default.
...I think. Willing to take it for now and re-investigate when the
other fixes make it to the tree.
Reviewed-by: John Snow
On Thu, Jul 7, 2022 at 2:46 PM Peter Delevoryas wrote:
>
> On Wed, Jul 06, 2022 at 05:52:48PM -0700, Peter Delevoryas wrote:
> > On Wed, Jul 06, 2022 at 09:46:48AM -0700, Peter Delevoryas wrote:
> > > On Wed, Jul 06, 2022 at 09:02:14AM +0100, Daniel P. Berrangé wrote:
> > > > On Tue, Jul 05, 2022
On Sun, Jul 10, 2022 at 1:01 PM Ani Sinha wrote:
>
> Integrate the pytest framework with the meson build system. This will make
> meson
> run all the pytests under the pytest directory.
>
> Signed-off-by: Ani Sinha
> ---
> tests/Makefile.include | 4 +++-
> tests/meson.build| 1 +
>
On Sun, Jul 10, 2022 at 1:01 PM Ani Sinha wrote:
>
> This change adds python based test environment that can be used to run pytest
> from within a virtual environment. A bash script sets up a virtual environment
> and then runs the python based tests from within that environment.
> All dependent p
On Sun, Jul 10, 2022 at 1:01 PM Ani Sinha wrote:
>
> This is initial commit of cpuid, acpi and smbios python test scripts for
> biosbits to execute. No change has been made to them from the original code
> written by the biosbits author Josh Triplett. They are required to be
> installed
> into th
On Mon, Jul 11, 2022 at 4:30 PM John Snow wrote:
>
> On Mon, Jul 11, 2022 at 5:57 AM Thomas Huth wrote:
> >
> > 'returns-whitelist' has been renamed to 'command-returns-exceptions' in
> > commit b86df3747848 ("qapi: Rename pragma *-whitelist to *
#
> # {'return': {}} is a QMPMessage,
> # {} is the QMPReturnValue.
> --
> 2.31.1
>
May I cajole you to send a MR to
https://gitlab.com/qemu-project/python-qemu-qmp ?
(Sorry for the duplicated effort while the library isn't 100% split
out of the tree yet.)
In this case, for qemu.git:
Reviewed-by: John Snow
On Mon, Jul 11, 2022 at 5:53 AM Thomas Huth wrote:
>
> Let's use more inclusive language here and avoid terms
> that are frowned upon nowadays.
>
> Signed-off-by: Thomas Huth
Reviewed-by: John Snow
> ---
> docs/devel/submitting-a-patch.rst | 2 +-
> docs/too
Do not merge: Staged in Hanna's branch.
Signed-off-by: John Snow
---
tests/qemu-iotests/108 | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 9e923d6a59f..54e935acf28 100755
--- a/tests/qemu-iotests/108
+++ b/tests/qemu-iotest
The old CentOS image didn't work anymore because it was already EOL at
the beginning of 2022.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
---
tests/vm/centos | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/vm/centos b/
ed to support this VM test anymore.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
---
tests/vm/Makefile.include | 3 +--
tests/vm/ubuntu.i386 | 40 ---
2 files changed, 1 insertion(+), 42 deletions(-)
delete mode 1
eturn stub information
for these failed lookups.
This allows test-qga to pass under docker tests, which are in turn used
by the CentOS VM tests.
Signed-off-by: John Snow
---
qga/commands-posix.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/qga/commands-posix.c
If the initial setup fails, you've permanently altered the state of the
downloaded image in an unknowable way. Use 'cp' like our other test
setup scripts do.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
---
tests/vm/centos | 2 +-
1
ation. (The checksum for the 18.04 image was already incorrect at
the time of writing.)
Just like the centos.aarch64 test, this test currently seems very
flaky when run as a TCG test.
Signed-off-by: John Snow
Reviewed-by: Daniel P. Berrangé
---
tests/vm/ubuntu.aarch64 | 10 +++---
1 file ch
From: Vladimir Sementsov-Ogievskiy
Do not merge: this is a copy of Vladimir's fix that will be taken in
through the iotests tree.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Signed-off-by: John Snow
---
tests/qemu-iotests/tests/copy-before-write | 5 +
1 file changed, 5 inser
our current CI infrastructure.
Signed-off-by: John Snow
Reviewed-by: Daniel P. Berrangé
---
tests/vm/centos | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/vm/centos b/tests/vm/centos
index 3a527c47b3d..097a9ca14d3 100755
--- a/tests/vm/centos
+++ b/tests/vm/centos
@@ -28,7 +28,6 @@
This is listed twice by accident; we require genisoimage to run the
test, so remove the unconditional entry.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
---
tests/vm/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
vided, can still override it.
Signed-off-by: John Snow
Reviewed-by: Daniel P. Berrangé
---
tests/vm/basevm.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index d7d0413df35..4fd9af10b7f 100644
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -9
Do not merge; staged in Hanna's branch.
Signed-off-by: John Snow
---
tests/qemu-iotests/223.out | 4 ++--
tests/qemu-iotests/307.out | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/223.out b/tests/qemu-iotests/223.out
index 06479415312..26fb34
rking reliably under TCG
- Upgrade ubuntu.aarch64 to 20.04 after fixing centos.aarch64
- Fix the Haiku build test, if possible.
- Ensure I can reliably run and pass "make vm-build-all".
(Remove VMs from this recipe if necessary.)
John Snow (11):
qga: treat get-guest-fsinfo as "best eff
On Thu, Jul 7, 2022 at 4:33 AM Daniel P. Berrangé wrote:
>
> On Thu, Jul 07, 2022 at 12:03:07AM -0400, John Snow wrote:
> > The fedora container has since been split apart, so there's no suitable
> > nearby target that would support "test-mingw" as it requires b
On Thu, Jul 7, 2022 at 7:05 AM Richard Henderson
wrote:
>
> On 7/7/22 09:33, John Snow wrote:
> > 18.04 has fallen out of our support window, so move ubuntu.aarch64
> > forward to ubuntu 20.04, which is now our oldest supported Ubuntu
> > release.
>
> Ah. Squash wi
On Thu, Jul 7, 2022 at 4:40 AM Marc-André Lureau
wrote:
>
> Hi
>
> On Thu, Jul 7, 2022 at 8:10 AM John Snow wrote:
>>
>> In some container environments, there may be references to block devices
>> witnessable from a container through /proc/self/mountinfo that refere
From: Vladimir Sementsov-Ogievskiy
Do not merge: this is a copy of Vladimir's fix that will be taken in
through the iotests tree.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Signed-off-by: John Snow
---
tests/qemu-iotests/tests/copy-before-write | 5 +
1 file changed, 5 inser
The old CentOS image didn't work anymore because it was already EOL at
the beginning of 2022.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
---
tests/vm/centos | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/vm/centos b/tests/vm/centos
index be4f6f
our current CI infrastructure.
Signed-off-by: John Snow
---
tests/vm/centos | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/vm/centos b/tests/vm/centos
index 3a527c47b3d..097a9ca14d3 100755
--- a/tests/vm/centos
+++ b/tests/vm/centos
@@ -28,7 +28,6 @@ class CentosVM(basevm.BaseVM):
Do not merge: Staged in Hanna's branch.
Signed-off-by: John Snow
---
tests/qemu-iotests/108 | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 9e923d6a59f..54e935acf28 100755
--- a/tests/qemu-iotests/108
+++ b/tests/qemu-iotest
This checksum changes weekly; use a fixed point image and update the
checksum so we don't have to re-download it quite so much.
Note: Just like the centos.aarch64 test, this test currently seems very
flaky when run as a TCG test.
Signed-off-by: John Snow
---
tests/vm/ubuntu.aarch6
18.04 has fallen out of our support window, so move ubuntu.aarch64
forward to ubuntu 20.04, which is now our oldest supported Ubuntu
release.
Signed-off-by: John Snow
---
tests/vm/ubuntu.aarch64 | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/vm
eturn stub information
for these failed lookups.
This allows test-qga to pass under docker tests, which are in turn used
by the CentOS VM tests.
Signed-off-by: John Snow
---
qga/commands-posix.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/qga/commands-posix.c b/qga/com
If the initial setup fails, you've permanently altered the state of the
downloaded image in an unknowable way. Use 'cp' like our other test
setup scripts do.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
---
tests/vm/centos | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Do not merge; staged in Hanna's branch.
Signed-off-by: John Snow
---
tests/qemu-iotests/223.out | 4 ++--
tests/qemu-iotests/307.out | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/223.out b/tests/qemu-iotests/223.out
index 06479415312..26fb34
x the Haiku build test, if possible.
- Ensure I can reliably run and pass "make vm-build-all".
(Remove VMs from this recipe if necessary.)
John Snow (12):
qga: treat get-guest-fsinfo as "best effort"
tests/vm: use 'cp' instead of 'ln' for temporary vm i
vided, can still override it.
Signed-off-by: John Snow
---
tests/vm/basevm.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index d7d0413df35..4fd9af10b7f 100644
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -99,6 +99,11 @@ def __init__(
This is listed twice by accident; we require genisoimage to run the
test, so remove the unconditional entry.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
---
tests/vm/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm/Makefile.include b/tests/vm
ed to support this VM test anymore.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
---
tests/vm/Makefile.include | 3 +--
tests/vm/ubuntu.i386 | 40 ---
2 files changed, 1 insertion(+), 42 deletions(-)
delete mode 100755 tests/vm/ubuntu.i386
diff --
On Wed, Jun 29, 2022 at 7:18 PM Richard Henderson
wrote:
>
> On 6/29/22 13:45, Vladimir Sementsov-Ogievskiy wrote:
> > The following changes since commit ad4c7f529a279685da84297773b4ec8080153c2d:
> >
> >Merge tag 'pull-semi-20220628' of https://gitlab.com/rth7680/qemu into
> > staging (2022-0
On Fri, Jul 1, 2022 at 4:05 AM Hanna Reitz wrote:
>
> On 16.06.22 16:26, John Snow wrote:
> > In certain container environments we may not have FUSE at all, so skip
> > the test in this circumstance too.
> >
> > Signed-off-by: John Snow
> > ---
> > tes
On Thu, Jun 30, 2022 at 8:34 AM wrote:
>
> From: Marc-André Lureau
>
> Hi,
>
> As reported earlier by Richard Henderson ("virgl avocado hang" thread),
> avocado
> tests may hang when QEMU exits before the QMP connection is established.
>
> v2:
> - use a socketpair() for QMP (instead of async co
On Thu, Jun 30, 2022 at 4:23 AM Daniel P. Berrangé wrote:
>
> On Wed, Jun 29, 2022 at 07:54:08PM -0400, John Snow wrote:
> > On Tue, Jun 28, 2022 at 10:17 AM Daniel P. Berrangé
> > wrote:
> > >
> > > On Tue, Jun 28, 2022 at 05:49:39PM +0400, marc
On Tue, Jun 28, 2022 at 10:17 AM Daniel P. Berrangé wrote:
>
> On Tue, Jun 28, 2022 at 05:49:39PM +0400, marcandre.lur...@redhat.com wrote:
> > From: Marc-André Lureau
> >
> > QMP accept is currently synchronous. If qemu dies before the connection
> > is established, it will wait there. Instead t
On Tue, Jun 28, 2022 at 9:49 AM wrote:
>
> From: Marc-André Lureau
>
> Hi,
>
> As reported earlier by Richard Henderson ("virgl avocado hang" thread),
> avocado
> tests may hang when QEMU exits before the QMP connection is established.
>
> My proposal to fix the problem here is to do both accept
nt_casts = True
> warn_unused_configs = True
> -warn_unused_ignores = True
> +warn_unused_ignores = False
> --
> 2.35.3
>
I'm away for the week, but:
Acked-By: John Snow
🙂
>
On Thu, Jun 16, 2022 at 10:27 AM John Snow wrote:
>
> This patch series attempts to improve the reliability of several of the
> VM test targets. In particular, both CentOS 8 tests are non-functional
> because CentOS 8 was EOL at the beginning of this calendar year, with
> repositor
On Wed, Jun 15, 2022, 11:27 AM Steve Sistare
wrote:
> Provide full_args() to return all command-line arguments used to start a
> vm, some of which are not otherwise visible to QEMUMachine clients. This
> is needed by the cpr test, which must start a vm, then pass all qemu
> command-line argument
On Fri, Jun 17, 2022, 5:49 AM Daniel P. Berrangé
wrote:
> On Thu, Jun 16, 2022 at 06:35:44PM +0400, Marc-André Lureau wrote:
> > Hi
> >
> > On Thu, Jun 16, 2022 at 6:27 PM John Snow wrote:
> >
> > > In some container environments, there may be references
On Thu, Jun 16, 2022 at 10:36 AM Marc-André Lureau
wrote:
>
> Hi
>
> On Thu, Jun 16, 2022 at 6:27 PM John Snow wrote:
>>
>> In some container environments, there may be references to block devices
>> witnessable from a container through /proc/self/mountinfo that
This checksum changes weekly; use a fixed point image and update the
checksum so we don't have to re-download it quite so much.
Note: Just like the centos.aarch64 test, this test currently seems very
flaky when run as a TCG test.
Signed-off-by: John Snow
---
tests/vm/ubuntu.aarch6
In certain container environments we may not have FUSE at all, so skip
the test in this circumstance too.
Signed-off-by: John Snow
---
tests/qemu-iotests/108 | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 9e923d6a59f..54e935acf28
rride it.
Signed-off-by: John Snow
---
tests/vm/basevm.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index d7d0413df35..69200ca5f1e 100644
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -99,6 +99,12 @@ def __init__(self, args, config
Fixes: 58a6fdcc
Signed-off-by: John Snow
Tested-by: Daniel P. Berrangé
Reviewed-by: Daniel P. Berrangé
---
tests/qemu-iotests/223.out | 4 ++--
tests/qemu-iotests/307.out | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/223.out b/tests/qemu-iotests
The old CentOS image didn't work anymore because it was already EOL at
the beginning of 2022.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
---
tests/vm/centos | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/vm/centos b/tests/vm/centos
index be4f6f
This is listed twice by accident; we require genisoimage to run the
test, so remove the unconditional entry.
Signed-off-by: John Snow
---
tests/vm/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index
ed to support this VM test anymore.
Signed-off-by: John Snow
---
tests/vm/Makefile.include | 3 +--
tests/vm/ubuntu.i386 | 40 ---
2 files changed, 1 insertion(+), 42 deletions(-)
delete mode 100755 tests/vm/ubuntu.i386
diff --git a/tests/vm/Makefile.incl
If the initial setup fails, you've permanently altered the state of the
downloaded image in an unknowable way. Use 'cp' like our other test
setup scripts do.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
---
tests/vm/centos | 2 +-
1 file changed, 1 insertion(+), 1 deletion
xt version? next series?);
- Try to get centos.aarch64 working reliably under TCG
- Upgrade ubuntu.aarch64 to 20.04 after fixing centos.aarch64
- Fix the Haiku build test, if possible.
- Ensure I can reliably run and pass "make vm-build-all".
(Remove VMs from this recipe if necess
eturn stub information
for these failed lookups.
This allows test-qga to pass under docker tests, which are in turn used
by the CentOS VM tests.
Signed-off-by: John Snow
---
qga/commands-posix.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/qga/commands-posix.c
On Wed, Jun 15, 2022 at 11:33 AM Daniel P. Berrangé wrote:
>
> On Wed, Jun 15, 2022 at 09:41:32AM -0400, John Snow wrote:
> > On Tue, Jun 14, 2022 at 10:30 AM John Snow wrote:
> > >
> > > On Tue, Jun 14, 2022 at 4:59 AM Daniel P. Berrangé
> > > wrote:
>
configure? (Like, just run mkvenv directly?)
Or ... actually, uh. what's the problem with running check-venv,
actually? I guess because of build system magic that requires a call
to configure and we can't do that for the Cirrus CI?
>
> Cc: John Snow
> Si
On Tue, Jun 14, 2022 at 10:30 AM John Snow wrote:
>
> On Tue, Jun 14, 2022 at 4:59 AM Daniel P. Berrangé
> wrote:
> >
> > On Tue, Jun 14, 2022 at 06:46:35AM +0200, Thomas Huth wrote:
> > > On 14/06/2022 03.50, John Snow wrote:
> > > > In certain cont
On Tue, Jun 14, 2022 at 5:09 AM Daniel P. Berrangé wrote:
>
> On Mon, Jun 13, 2022 at 09:50:43PM -0400, John Snow wrote:
> > The old CentOS image didn't work anymore because it was already EOL at
> > the beginning of 2022.
> >
> > Signed-off-by: John Sno
On Tue, Jun 14, 2022 at 12:40 AM Thomas Huth wrote:
>
> On 14/06/2022 03.50, John Snow wrote:
> > If the initial setup fails, you've permanently altered the state of the
> > downloaded image in an unknowable way. Use 'cp' like our other test
> > setup scrip
On Tue, Jun 14, 2022 at 4:59 AM Daniel P. Berrangé wrote:
>
> On Tue, Jun 14, 2022 at 06:46:35AM +0200, Thomas Huth wrote:
> > On 14/06/2022 03.50, John Snow wrote:
> > > In certain container environments we may not have FUSE at all, so skip
> > > the
The old CentOS image didn't work anymore because it was already EOL at
the beginning of 2022.
Signed-off-by: John Snow
---
tests/vm/centos | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/vm/centos b/tests/vm/centos
index be4f6ff2f14..f5bbdecf62d 100755
If the initial setup fails, you've permanently altered the state of the
downloaded image in an unknowable way. Use 'cp' like our other test
setup scripts do.
Signed-off-by: John Snow
---
tests/vm/centos | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm
quot;offset": OFFSET}]
wrote 65535/65535 bytes at offset 983040
63.999 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-[{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false,
"data": true, "offset"
Fixes: 58a6fdcc
Signed-off-by: John Snow
---
tests/qemu-iotests/223.out | 4 ++--
tests/qemu-iotests/307.out | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/223.out b/tests/qemu-iotests/223.out
index 06479415312..26fb347c5da 100644
--- a/tests/qemu
In certain container environments we may not have FUSE at all, so skip
the test in this circumstance too.
Signed-off-by: John Snow
---
tests/qemu-iotests/108 | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 9e923d6a59f..e401c5e9933
On Mon, Jun 13, 2022 at 12:36 PM John Snow wrote:
>
> On Mon, Jun 13, 2022 at 2:05 AM Thomas Huth wrote:
> >
> > On 11/06/2022 01.28, John Snow wrote:
> > > This test doesn't appear to work for me:
> > >
> > > def build_image(self, img):
> &g
On Mon, Jun 13, 2022 at 2:05 AM Thomas Huth wrote:
>
> On 11/06/2022 01.28, John Snow wrote:
> > This test doesn't appear to work for me:
> >
> > def build_image(self, img):
> > cimg =
> > self._download_with_cache("https://cloud.centos.or
801 - 900 of 4583 matches
Mail list logo