internal/rosa/package/qemu: disable broken tests
Test / Create distribution (push) Successful in 50s
Test / Sandbox (push) Successful in 3m1s
Test / Hakurei (push) Successful in 4m35s
Test / Sandbox (race detector) (push) Successful in 5m59s
Test / Hakurei (race detector) (push) Successful in 7m1s
Test / ShareFS (push) Successful in 7m28s
Test / Flake checks (push) Successful in 1m9s
Test / Create distribution (push) Successful in 50s
Test / Sandbox (push) Successful in 3m1s
Test / Hakurei (push) Successful in 4m35s
Test / Sandbox (race detector) (push) Successful in 5m59s
Test / Hakurei (race detector) (push) Successful in 7m1s
Test / ShareFS (push) Successful in 7m28s
Test / Flake checks (push) Successful in 1m9s
The copy-before-write test was failing on a Haswell machine, although it seems to work pretty reliably on the Zen 3 workstation and RK3588. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/tests/qemu-iotests/tests/copy-before-write b/tests/qemu-iotests/tests/copy-before-write
|
||||||
|
index 236cb8ac37..0eac14005e 100755
|
||||||
|
--- a/tests/qemu-iotests/tests/copy-before-write
|
||||||
|
+++ b/tests/qemu-iotests/tests/copy-before-write
|
||||||
|
@@ -279,6 +279,7 @@ read 1048576/1048576 bytes at offset 0
|
||||||
|
return log
|
||||||
|
|
||||||
|
def test_timeout_break_guest(self):
|
||||||
|
+ return
|
||||||
|
log = self.do_cbw_timeout('break-guest-write')
|
||||||
|
# macOS and FreeBSD tend to represent ETIMEDOUT as
|
||||||
|
# "Operation timed out", when Linux prefer
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/tests/qemu-iotests/150 b/tests/qemu-iotests/150
|
||||||
|
index fab0faa389..d71fb5978d 100755
|
||||||
|
--- a/tests/qemu-iotests/150
|
||||||
|
+++ b/tests/qemu-iotests/150
|
||||||
|
@@ -41,6 +41,11 @@ _supported_fmt raw qcow2
|
||||||
|
_supported_proto file
|
||||||
|
_supported_os Linux
|
||||||
|
|
||||||
|
+# work directory is never an overlay
|
||||||
|
+if [ "$(stat -fc '%T' /work/)" = "zfs" ]; then
|
||||||
|
+ _notrun 'fails on zfs'
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
|
||||||
|
img_size=1048576
|
||||||
|
|
||||||
@@ -11,10 +11,14 @@ package qemu {
|
|||||||
};
|
};
|
||||||
patches = [
|
patches = [
|
||||||
"meson-colour.patch",
|
"meson-colour.patch",
|
||||||
|
"iotests-zfs.patch",
|
||||||
|
|
||||||
"disable-mcast-test.patch",
|
"disable-mcast-test.patch",
|
||||||
// fails with ipv6 disabled
|
// fails with ipv6 disabled
|
||||||
"disable-netdev-socket.patch",
|
"disable-netdev-socket.patch",
|
||||||
|
|
||||||
|
// fails on a slower machine
|
||||||
|
"copy-before-write-spurious.patch",
|
||||||
];
|
];
|
||||||
|
|
||||||
// configure script uses source as scratch space
|
// configure script uses source as scratch space
|
||||||
@@ -31,10 +35,6 @@ sed -i \
|
|||||||
tests/qemu-iotests/[0-9][0-9][0-9]* \
|
tests/qemu-iotests/[0-9][0-9][0-9]* \
|
||||||
tests/qemu-iotests/tests/copy-before-write \
|
tests/qemu-iotests/tests/copy-before-write \
|
||||||
tests/qemu-iotests/tests/file-io-error.out
|
tests/qemu-iotests/tests/file-io-error.out
|
||||||
cat << EOF > tests/qemu-iotests/150
|
|
||||||
#!/bin/sh
|
|
||||||
_notrun 'appears to spuriously fail on zfs'
|
|
||||||
EOF
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exec = make {
|
exec = make {
|
||||||
|
|||||||
Reference in New Issue
Block a user