Bug 14911

Summary: runqemu.RunqemuTests.test_boot_qemu_boot failure: libgcc_s.so.1 must be installed for pthread_cancel to work
Product: [QA/Testing] Runtime Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oeqa/runtimeAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandre.belloni, pavel, randy.macleod, ross.burton
Version: unspecified   
Target Milestone: 4.2 M2   
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 2022-09-08 12:07:46 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/23/steps/14/logs/stdio

oe-selftest-armhost ubuntu2004-arm-1


Logged as root in serial console
2022-08-26 01:19:55,107 - oe-selftest - INFO - 4: 28/33 343/501 (5.01s) (runqemu.RunqemuTests.test_boot_qemu_boot)
2022-08-26 01:19:55,107 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/core/case.py", line 53, in _oeSetUp
    self.setUpMethod()
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/selftest/case.py", line 127, in setUp
    self.setUpLocal()
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 29, in setUpLocal
    kvm = oe.types.qemu_use_kvm(get_bb_var('QEMU_USE_KVM'), 'x86_64')
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/utils/commands.py", line 288, in get_bb_var
    return get_bb_vars([var], target, postconfig)[var]
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/utils/commands.py", line 250, in get_bb_vars
    bbenv = get_bb_env(target, postconfig=postconfig)
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/utils/commands.py", line 246, in get_bb_env
    return bitbake("-e", postconfig=postconfig).output
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/utils/commands.py", line 236, in bitbake
    return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/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 'bitbake  -e' returned non-zero exit status 134:
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted (core dumped)
Comment 1 Pavel Zhukov 2022-09-08 14:39:39 UTC
https://bugs.ams1.psf.io/issue18748#msg339502
Comment 2 Ross Burton 2022-09-08 14:43:57 UTC
The chain of Python bugs ends with https://github.com/python/cpython/commit/45a78f906d2d5fe5381d78466b11763fc56d57ba which fixes this in 3.9 onwards.

We might need to consider this Not Our Problem and just ignore it until 3.8 disappears from use.
Comment 4 Alexandre Belloni 2022-11-10 13:40:22 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4289/steps/14/logs/stdio
oe-selftest-debian debian11-ty-3
Comment 5 Alexandre Belloni 2022-12-07 14:30:18 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4386/steps/14/logs/stdio

oe-selftest-debian debian11-ty-2
Comment 6 Alexandre Belloni 2023-02-02 16:00:26 UTC
36eb46589fb0 uninative: Upgrade to 3.8.1 to include libgcc