gitlab: Disable io-raw-194 for build-tcg-disabled
PATCH 1/1 gitlab: Disable io-raw-194 for build-tcg-disabled
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0 -1
@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}
--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.d/buildtest.yml +1 -1
@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258
Signature · 1 line
2.34.1
Quoted 24 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +0
-0
.gitlab-ci.d/buildtest.yml build-tcg-disabled: · line 242
Quoted 8 lines
.gitlab-ci.d/buildtest.yml +1
-1@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258
That's fair to remove it: The iotests that are run here were only added here because they were tested to succeed on the shared runners - if they were running successfull everywhere, we would have added them to the "auto" group instead so that they'd run during "make check-block". So if something is failing on the private runners now, it's ok to remove them from this list here.
194.out.bad line 17
Quoted 10 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
Is it useful to modify 194.out.bad ...
Quoted 14 lines
194.out.bad renamed from 194.out +0
-0{"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +0
-0
.gitlab-ci.d/buildtest.yml build-tcg-disabled: · line 239
Quoted 5 lines
.gitlab-ci.d/buildtest.yml +1
-1@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing
... if we don't run test #194 anymore?
Quoted 3 lines
.gitlab-ci.d/buildtest.yml +0
-0- ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258
Quoted 4 lines · Philippe Mathieu-Daudé
Quoted 3 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
Quoted 10 lines
194.out.bad line 17
Quoted 8 lines
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}Is it useful to modify 194.out.bad ...
This is not a patch, it's the testsuite output.
r~
Quoted 27 lines
Quoted 15 lines
194.out.bad renamed from 194.out +0
-0{"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}Gracefully ending the
drive-mirrorjob on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>---
.gitlab-ci.d/buildtest.yml| 2 +-1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +0
-0@@ -236,7 +236,7 @@ build-tcg-disabled:Quoted 5 lines
- cd tests/qemu-iotests/
- ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing... if we don't run test #194 anymore?
Quoted 3 lines
- ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258
The line of output that has changed was originally added by the following commit:
commit ae00aa2398476824f0eca80461da215e7cdc1c3b
Author: Vladimir Sementsov-Ogievskiy <[email protected]> Date: Fri May 22 01:06:46 2020 +0300
iotests: 194: test also migration of dirty bitmap
Vladimir: Any idea why the postcopy-active event may not be emitted in some cases?
Stefan
Quoted 37 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +1
-2@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258 --2.34.1
Quoted 12 lines · Stefan Hajnoczi
The line of output that has changed was originally added by the following commit:
commit
ae00aa2398476824f0eca80461da215e7cdc1c3bAuthor: Vladimir Sementsov-Ogievskiy <[email protected]> Date: Fri May 22 01:06:46 2020 +0300iotests: 194: test also migration of dirty bitmap
Vladimir: Any idea why the postcopy-active event may not be emitted in some cases?
I think:
fast connection + small postcopy data => postcopy actually not started, everything is migrated in downtime, when both source and target are not running.
The test doesn't want to test exactly postcopy, but just want to check that bitmaps are migrated somehow.
So, we need something like this:
tests/qemu-iotests/194 +5 -0
@@ -74,6 +74,11 @@ with iotests.FilePath('source.img') as source_img_path, \ while True: event1 = source_vm.event_wait('MIGRATION') + if event1['data']['status'] == 'postcopy-active': + # This event is racy, it depends do we really do postcopy or bitmap + # was migrated during downtime (and no data to migrate in postcopy + # phase). So, don't log it. + continue iotests.log(event1, filters=[iotests.filter_qmp_event]) if event1['data']['status'] in ('completed', 'failed'): iotests.log('Gracefully ending the `drive-mirror` job on source...')
Quoted 40 lines
Quoted 37 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +1
-2@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258 --2.34.1
Signature · 2 lines
Best regards, Vladimir
Quoted 24 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +0
-0
.gitlab-ci.d/buildtest.yml build-tcg-disabled: · line 242
Quoted 8 lines
.gitlab-ci.d/buildtest.yml +1
-1@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258
There is actually a bug in the test, I've sent a patch:
<[email protected]> [PATCH] iotests: fix 194: filter out racy postcopy-active event
Signature · 2 lines
Best regards, Vladimir
Quoted 38 lines · Vladimir Sementsov-Ogievskiy
Quoted 24 lines · Richard Henderson
This test consistently fails on Azure cloud build hosts in a way that suggests a timing problem in the test itself:
194.out.bad renamed from 194.out +0
-1@@ -14,7 +14,6 @@ {"return": {}} {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} -{"data": {"status": "postcopy-active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}} Gracefully ending the `drive-mirror` job on source... {"return": {}}Signed-off-by Richard Henderson <[email protected]>--- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/buildtest.yml +0
-0.gitlab-ci.d/buildtest.yml build-tcg-disabled: · line 242
Quoted 8 lines
.gitlab-ci.d/buildtest.yml +1
-1@@ -236,7 +236,7 @@ build-tcg-disabled: - cd tests/qemu-iotests/ - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 - 170 171 183 184 192 194 208 221 226 227 236 253 277 image-fleecing + 170 171 183 184 192 208 221 226 227 236 253 277 image-fleecing - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122 124 132 139 142 144 145 151 152 155 157 165 194 196 200 202 208 209 216 218 227 234 246 247 248 250 254 255 257 258There is actually a bug in the test, I've sent a patch:
Quoted 2 lines
<[email protected]> [PATCH] iotests: fix 194: filter out racy postcopy-active event
Awesome, thank you!
Stefan