Bug 15838

Summary: AB-INT: wic.Wic.test_exclude_path_with_extra_space fails on debian workers
Product: [QA/Testing] Functional (self) Testing Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: oe-selftestAssignee: Trevor Woerner <twoerner>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: randy.macleod
Version: unspecified   
Target Milestone: 5.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2025-04-23 08:47:07 UTC
Not so intermittent, 100% reproducible on debian workers, as parted is missing.

2025-04-20 12:40:15,938 - oe-selftest - INFO - wic.Wic.test_exclude_path_with_extra_space (subunit.RemotedTestCase)
2025-04-20 12:40:15,939 - oe-selftest - INFO -  ... FAIL
...
2025-04-20 12:40:15,939 - oe-selftest - INFO - 5: 41/64 384/624 (64.94s) (0 failed) (wic.Wic.test_exclude_path_with_extra_space)
2025-04-20 12:40:15,939 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/wic.py", line 568, in test_exclude_path_with_extra_space
    size_of_root_partition = int(runCmd("wic ls %s" % wicout).output.split('\n')[2].split()[3])
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py", line 214, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'wic ls /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3846829/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs-20250420123932.wic' returned non-zero exit status 1:
ERROR: Can't find executable parted
Comment 1 Mathieu Dubois-Briand 2025-04-23 08:58:22 UTC
oe-selftest-debian debian11-vk-1 mathieu/master-next completed at 2025-04-20T14:41:42Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1385/steps/14/logs/stdio

oe-selftest-debian debian12-vk-9 mathieu/master-next completed at 2025-04-21T15:59:41Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1389/steps/14/logs/stdio
oe-selftest-debian debian12-vk-8 master-next completed at 2025-04-18T23:40:24Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1381/steps/14/logs/stdio

oe-selftest-debian debian11-vk-3 mathieu/master-next completed at 2025-04-22T11:36:44Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1395/steps/14/logs/stdio
oe-selftest-debian debian11-vk-1 master completed at 2025-04-22T03:18:01Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1393/steps/14/logs/stdio

oe-selftest-debian debian12-vk-1 mathieu/master-next completed at 2025-04-23T06:24:15Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1402/steps/14/logs/stdio
Comment 2 Mathieu Dubois-Briand 2025-04-24 14:14:03 UTC
oe-selftest-debian debian11-vk-2 master completed at 2025-04-24T02:47:13Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1410/steps/14/logs/stdio

oe-selftest-debian debian11-vk-2 mathieu/master-next completed at 2025-04-24T11:56:44Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1412/steps/14/logs/stdio
Comment 3 Randy MacLeod 2025-04-24 14:35:37 UTC
Richard has replied on the mail list with a fix suggestion that does not involve installing anything on the debian workers.
Comment 4 Randy MacLeod 2025-04-24 14:43:16 UTC
Raised to a high priority since this is going to continue to happen on the YP AB.
Comment 5 Mathieu Dubois-Briand 2025-04-28 12:06:56 UTC
oe-selftest-debian debian12-vk-7 mathieu/master-next completed at 2025-04-27T09:26:44Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1433/steps/14/logs/stdio

oe-selftest-debian debian11-vk-2 master completed at 2025-04-28T02:39:55Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1437/steps/14/logs/stdio
Comment 7 Mathieu Dubois-Briand 2025-04-29 13:45:53 UTC
oe-selftest-debian debian12-vk-9 master completed at 2025-04-29T02:38:41Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1446/steps/14/logs/stdio
Comment 9 Trevor Woerner 2025-05-01 14:54:13 UTC
new patch succeeding on a debian worker on the AB: https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1460/steps/14/logs/stdio

(line #1250)