Bug 13651 - master-next] core-image-minimal-1.0-r0 do_testsdkext failed
Summary: master-next] core-image-minimal-1.0-r0 do_testsdkext failed
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL: https://errors.yoctoproject.org/Error...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-11-24 04:28 UTC by Armin Kuster
Modified: 2019-12-03 23:02 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2019-11-24 04:28:39 UTC
DEBUG: Executing python function do_testsdkext
Extensible SDK testing environment: aarch64-poky-linux
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:do_testsdkext(d)
     0003:
File: '/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/classes/testsdk.bbclass', lineno: 41, function: do_testsdkext
     0037:addtask testsdk
     0038:do_testsdk[nostamp] = "1"
     0039:
     0040:python do_testsdkext() {
 *** 0041:    import_and_run('TESTSDKEXT_CLASS_NAME', d)
     0042:}
     0043:addtask testsdkext
     0044:do_testsdkext[nostamp] = "1"
     0045:
File: '/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/classes/testsdk.bbclass', lineno: 28, function: import_and_run
     0024:    if class_name:
     0025:        module, cls = class_name.rsplit('.', 1)
     0026:        m = importlib.import_module(module)
     0027:        c = getattr(m, cls)()
 *** 0028:        c.run(d)
     0029:    else:
     0030:        bb.warn('No tests were run because %s did not define a class' % name)
     0031:
     0032:import_and_run[vardepsexclude] = "DATETIME BB_ORIGENV"
File: '/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/sdkext/testsdk.py', lineno: 80, function: run
     0076:                f.write('PREMIRRORS_prepend = " git://git.yoctoproject.org/.* git://%s/git2/git.yoctoproject.org.BASENAME \\n "\n' % test_data.get('DL_DIR'))
     0077:
     0078:            # We need to do this in case we have a minimal SDK
     0079:            subprocess.check_output(". %s > /dev/null; devtool sdk-install meta-extsdk-toolchain" % \
 *** 0080:                    sdk_env, cwd=sdk_dir, shell=True, stderr=subprocess.STDOUT)
     0081:
     0082:            tc = OESDKExtTestContext(td=test_data, logger=logger, sdk_dir=sdk_dir,
     0083:                sdk_env=sdk_env, target_pkg_manifest=target_pkg_manifest,
     0084:                host_pkg_manifest=host_pkg_manifest)
File: '/usr/lib/python3.6/subprocess.py', lineno: 356, function: check_output
     0352:        # empty string. That is maintained here for backwards compatibility.
     0353:        kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
     0354:
     0355:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
 *** 0356:               **kwargs).stdout
     0357:
     0358:
     0359:class CompletedProcess(object):
     0360:    """A process that has finished running.
File: '/usr/lib/python3.6/subprocess.py', lineno: 438, function: run
     0434:            raise
     0435:        retcode = process.poll()
     0436:        if check and retcode:
     0437:            raise CalledProcessError(retcode, process.args,
 *** 0438:                                     output=stdout, stderr=stderr)
     0439:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0440:
     0441:
     0442:def list2cmdline(seq):
Exception: oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '. TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/testsdkext/environment-setup-aarch64-poky-linux > /dev/null; devtool sdk-install meta-extsdk-toolchain' returned non-zero exit status 1
Comment 1 Richard Purdie 2019-12-03 23:02:10 UTC
This was caused by broken hash equivalence code in master-next which has now been replaced.