Bug 15139

Summary: AB-INT: wic.Wic2.test_gpt_partition_name fails with sfdisk: command not found
Product: [QA/Testing] Runtime Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oeqa/runtimeAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: alexandre.belloni, richard.purdie
Version: unspecified   
Target Milestone: 0.0.0   
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 Alexandre Belloni 2023-06-08 20:40:39 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/2231/steps/15/logs/stdio

oe-selftest opensuse153-ty-1

2023-05-31 02:05:13,901 - oe-selftest - INFO - 0: 39/54 500/528 (57.33s) (0 failed) (wic.Wic2.test_gpt_partition_name)
2023-05-31 02:05:13,902 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/wic.py", line 1367, in test_gpt_partition_name
    result = runCmd("sfdisk --part-label %s 1" % image_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 212, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'sfdisk --part-label /home/pokybuild/yocto-worker/oe-selftest/build/build-st-32072/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic 1' returned non-zero exit status 127:
/bin/sh: sfdisk: command not found
Comment 1 Alexandre Belloni 2023-06-08 21:04:44 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/2225/steps/15/logs/stdio

oe-selftest opensuse154-ty-2