Bug 13546

Summary: [warrior] oe-selftest on yp-ab-debian10-ty-2
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Armin Kuster <akuster>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 2.7.2   
Target Milestone: 2.7.2   
Hardware: x86   
OS: Multiple   
URL: https://errors.yoctoproject.org/Errors/Details/271679/
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2019-09-24 02:46:15 UTC
ERROR: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/home/pokybuild/yocto-worker/qemuarm64/build/meta/classes/staging.bbclass', lineno: 566, function: extend_recipe_sysroot
     0562:    for f in fixme:
     0563:        staging_processfixme(fixme[f], f, recipesysroot, recipesysrootnative, d)
     0564:
     0565:    for p in postinsts:
 *** 0566:        subprocess.check_output(p, shell=True, stderr=subprocess.STDOUT)
     0567:
     0568:    for dep in manifests:
     0569:        c = setscenedeps[dep][0]
     0570:        os.symlink(manifests[dep], depdir + "/" + c + ".complete")
File: '/usr/lib/python3.7/subprocess.py', lineno: 395, function: check_output
     0391:        # empty string. That is maintained here for backwards compatibility.
     0392:        kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
     0393:
     0394:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
 *** 0395:               **kwargs).stdout
     0396:
     0397:
     0398:class CompletedProcess(object):
     0399:    """A process that has finished running.
File: '/usr/lib/python3.7/subprocess.py', lineno: 487, function: run
     0483:            raise
     0484:        retcode = process.poll()
     0485:        if check and retcode:
     0486:            raise CalledProcessError(retcode, process.args,
 *** 0487:                                     output=stdout, stderr=stderr)
     0488:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0489:
     0490:
     0491:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/bin/postinst-base-passwd' returned non-zero exit status 1.

Subprocess output:
TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin/useradd
Running groupadd commands...
NOTE: dbus: Performing groupadd with [--root TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot -r netdev]
/bin/sh: 1: TOPDIR/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo: not found
ERROR: dbus: groupadd command did not succeed.
Comment 1 Armin Kuster 2019-09-24 02:47:22 UTC
also:

Subprocess output:
TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin/useradd
Running groupadd commands...
NOTE: dbus: Performing groupadd with [--root TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot -r netdev]
/bin/sh: 1: TOPDIR/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo: not found
ERROR: dbus: groupadd command did not succeed.
Comment 4 Armin Kuster 2019-10-03 04:18:57 UTC
in mainline
Comment 5 Armin Kuster 2019-10-03 04:19:08 UTC
closing