Skip to contentSkip to conversation

Fix for m68k/q800 acceptance test for QEMU 4.2-rc

GIT PULL Cleber Rosa 2 participants 7 messages Dec 6, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 1bdc319ab5d289ce6b822e06fb2b13666fd9278e:

Update version for v4.2.0-rc4 release (2019-12-03 17:56:30 +0000)

are available in the Git repository at:

git://github.com/clebergnu/qemu.git tags/python-next-pull-request

for you to fetch changes up to 820649aa00ee343a0d473ad1002c59c70ba8c158:

tests/boot_linux_console: Fetch assets from Debian snapshot archives (2019-12-06 09:48:35 -0500)

----------------------------------------------------------------
Fix for m68k/q800 acceptance test (Philippe Mathieu-Daudé)

----------------------------------------------------------------

Philippe Mathieu-Daudé (1):
tests/boot_linux_console: Fetch assets from Debian snapshot archives

 tests/acceptance/boot_linux_console.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.21.0
#3 lore raw
In reply to Cleber Rosa
Quoted 20 lines · Cleber Rosa
Quoted 10 lines · Peter Maydell
Quoted 3 lines · Cleber Rosa

----------------------------------------------------------------
Fix for m68k/q800 acceptance test (Philippe Mathieu-Daudé)

Any pullreq after about rc2 needs to clearly say what it's fixing and why it's justifiable for it to go in rather than waiting for the next release. Otherwise you get the default response:
nope, not at this point in the release cycle.

This is fixing the URL from which a kernel package is fetched from, updating it to an archival (thus stable) location. The current location is transient, and Debian removes packages from those locations after a given amount of time. Without this patch, the test is never going to be executed. The package itself is unchanged, as can be seen from the verification hash that was not changed.

Quoted 4 lines

While this is far from critical, the main benefit of having this in 4.2, as opposed to in the next cycle, is to not "ship" a broken test in a release. It would also help downstream packages running such tests.

Thanks for the explanation. If at the moment the test is simply being skipped (ie it is not actually failing) then I would prefer to delay this to 5.0. Otherwise we'll start running the test and may find that it is actually failing in some of our CI or test environments. That wouldn't be a problem a bit earlier in the release cycle, but given we've already had rc4 and rc5 is going to have the minimum number of absolutely critical fixes in it I think I'd prefer not to take that risk.

thanks
-- PMM

#4 lore raw
Quoted 36 lines · Peter Maydell
Quoted 20 lines · Cleber Rosa
Quoted 10 lines · Peter Maydell
Quoted 3 lines · Cleber Rosa

----------------------------------------------------------------
Fix for m68k/q800 acceptance test (Philippe Mathieu-Daudé)

Any pullreq after about rc2 needs to clearly say what it's fixing and why it's justifiable for it to go in rather than waiting for the next release. Otherwise you get the default response:
nope, not at this point in the release cycle.

This is fixing the URL from which a kernel package is fetched from, updating it to an archival (thus stable) location. The current location is transient, and Debian removes packages from those locations after a given amount of time. Without this patch, the test is never going to be executed. The package itself is unchanged, as can be seen from the verification hash that was not changed.

Quoted 4 lines

While this is far from critical, the main benefit of having this in 4.2, as opposed to in the next cycle, is to not "ship" a broken test in a release. It would also help downstream packages running such tests.

Thanks for the explanation. If at the moment the test is simply being skipped (ie it is not actually failing) then I would prefer to delay this to 5.0. Otherwise we'll start running the test and may find that it is actually failing in some of our CI or test environments. That wouldn't be a problem a bit earlier in the release cycle, but given we've already had rc4 and rc5 is going to have the minimum number of absolutely critical fixes in it I think I'd prefer not to take that risk.

Quoted 3 lines

thanks
-- PMM

Yes, this is a very fair point.

Thanks,
- Cleber.

#6 lore raw

[PULL 1/1] tests/boot_linux_console: Fetch assets from Debian snapshot archives

In reply to Cleber Rosa

From: Philippe Mathieu-Daudé <[email protected]>

The kernel packaged was fetched from an unstable repository. Use the stable snapshot archive instead.

Message-Id: <[email protected]>

---
 tests/acceptance/boot_linux_console.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/acceptance/boot_linux_console.py +2 -1
index 7e41cebd47..752f776f68 100644
@@ -479,7 +479,8 @@ class BootLinuxConsole(Test):
         :avocado: tags=arch:m68k
         :avocado: tags=machine:q800
         """
-        deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
+        deb_url = ('https://snapshot.debian.org/archive/debian-ports'
+                   '/20191021T083923Z/pool-m68k/main'
                    '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.udeb')
         deb_hash = '044954bb9be4160a3ce81f8bc1b5e856b75cccd1'
         try:
Signature · 1 line
2.21.0
#1 lore raw
In reply to Cleber Rosa
Quoted 7 lines · Cleber Rosa

The following changes since commit 1bdc319ab5d289ce6b822e06fb2b13666fd9278e:

Update version for v4.2.0-rc4 release (2019-12-03 17:56:30 +0000)

are available in the Git repository at:

Quoted 8 lines

git://github.com/clebergnu/qemu.git tags/python-next-pull-request

for you to fetch changes up to 820649aa00ee343a0d473ad1002c59c70ba8c158:

tests/boot_linux_console: Fetch assets from Debian snapshot archives (2019-12-06 09:48:35 -0500)

----------------------------------------------------------------
Fix for m68k/q800 acceptance test (Philippe Mathieu-Daudé)

Any pullreq after about rc2 needs to clearly say what it's fixing and why it's justifiable for it to go in rather than waiting for the next release. Otherwise you get the default response:
nope, not at this point in the release cycle.

thanks
-- PMM

#2 lore raw
Quoted 17 lines · Peter Maydell
Quoted 7 lines · Cleber Rosa

The following changes since commit 1bdc319ab5d289ce6b822e06fb2b13666fd9278e:

Update version for v4.2.0-rc4 release (2019-12-03 17:56:30 +0000)

are available in the Git repository at:

Quoted 8 lines

git://github.com/clebergnu/qemu.git tags/python-next-pull-request

for you to fetch changes up to 820649aa00ee343a0d473ad1002c59c70ba8c158:

tests/boot_linux_console: Fetch assets from Debian snapshot archives (2019-12-06 09:48:35 -0500)

----------------------------------------------------------------
Fix for m68k/q800 acceptance test (Philippe Mathieu-Daudé)

Quoted 9 lines

Any pullreq after about rc2 needs to clearly say what it's fixing and why it's justifiable for it to go in rather than waiting for the next release. Otherwise you get the default response:
nope, not at this point in the release cycle.

thanks
-- PMM

Hi Peter,

This is fixing the URL from which a kernel package is fetched from, updating it to an archival (thus stable) location. The current location is transient, and Debian removes packages from those locations after a given amount of time. Without this patch, the test is never going to be executed. The package itself is unchanged, as can be seen from the verification hash that was not changed.

While this is far from critical, the main benefit of having this in 4.2, as opposed to in the next cycle, is to not "ship" a broken test in a release. It would also help downstream packages running such tests.

And sorry for not giving the complete explanation before.

Thanks,
- Cleber.

#5 lore raw
In reply to Cleber Rosa
Quoted 38 lines · Cleber Rosa
Quoted 26 lines · Peter Maydell
Quoted 20 lines · Cleber Rosa
Quoted 10 lines · Peter Maydell
Quoted 3 lines · Cleber Rosa

----------------------------------------------------------------
Fix for m68k/q800 acceptance test (Philippe Mathieu-Daudé)

Any pullreq after about rc2 needs to clearly say what it's fixing and why it's justifiable for it to go in rather than waiting for the next release. Otherwise you get the default response:
nope, not at this point in the release cycle.

This is fixing the URL from which a kernel package is fetched from, updating it to an archival (thus stable) location. The current location is transient, and Debian removes packages from those locations after a given amount of time. Without this patch, the test is never going to be executed. The package itself is unchanged, as can be seen from the verification hash that was not changed.

Quoted 4 lines

While this is far from critical, the main benefit of having this in 4.2, as opposed to in the next cycle, is to not "ship" a broken test in a release. It would also help downstream packages running such tests.

Quoted 9 lines

Thanks for the explanation. If at the moment the test is simply being skipped (ie it is not actually failing) then I would prefer to delay this to 5.0. Otherwise we'll start running the test and may find that it is actually failing in some of our CI or test environments. That wouldn't be a problem a bit earlier in the release cycle, but given we've already had rc4 and rc5 is going to have the minimum number of absolutely critical fixes in it I think I'd prefer not to take that risk.

Quoted 1 line

Yes, this is a very fair point.

OK, I'm going to drop this pullreq; please resubmit it once the tree reopens for 5.0.

thanks
-- PMM