<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13651</bug_id>
          
          <creation_ts>2019-11-24 04:28:39 +0000</creation_ts>
          <short_desc>master-next] core-image-minimal-1.0-r0 do_testsdkext failed</short_desc>
          <delta_ts>2019-12-03 23:02:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>3.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc>https://errors.yoctoproject.org/Errors/Details/282871/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85622</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-11-24 04:28:39 +0000</bug_when>
    <thetext>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: &apos;exec_python_func() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
     0001:
 *** 0002:do_testsdkext(d)
     0003:
File: &apos;/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/classes/testsdk.bbclass&apos;, lineno: 41, function: do_testsdkext
     0037:addtask testsdk
     0038:do_testsdk[nostamp] = &quot;1&quot;
     0039:
     0040:python do_testsdkext() {
 *** 0041:    import_and_run(&apos;TESTSDKEXT_CLASS_NAME&apos;, d)
     0042:}
     0043:addtask testsdkext
     0044:do_testsdkext[nostamp] = &quot;1&quot;
     0045:
File: &apos;/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/classes/testsdk.bbclass&apos;, lineno: 28, function: import_and_run
     0024:    if class_name:
     0025:        module, cls = class_name.rsplit(&apos;.&apos;, 1)
     0026:        m = importlib.import_module(module)
     0027:        c = getattr(m, cls)()
 *** 0028:        c.run(d)
     0029:    else:
     0030:        bb.warn(&apos;No tests were run because %s did not define a class&apos; % name)
     0031:
     0032:import_and_run[vardepsexclude] = &quot;DATETIME BB_ORIGENV&quot;
File: &apos;/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/sdkext/testsdk.py&apos;, lineno: 80, function: run
     0076:                f.write(&apos;PREMIRRORS_prepend = &quot; git://git.yoctoproject.org/.* git://%s/git2/git.yoctoproject.org.BASENAME \\n &quot;\n&apos; % test_data.get(&apos;DL_DIR&apos;))
     0077:
     0078:            # We need to do this in case we have a minimal SDK
     0079:            subprocess.check_output(&quot;. %s &gt; /dev/null; devtool sdk-install meta-extsdk-toolchain&quot; % \
 *** 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: &apos;/usr/lib/python3.6/subprocess.py&apos;, lineno: 356, function: check_output
     0352:        # empty string. That is maintained here for backwards compatibility.
     0353:        kwargs[&apos;input&apos;] = &apos;&apos; if kwargs.get(&apos;universal_newlines&apos;, False) else b&apos;&apos;
     0354:
     0355:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
 *** 0356:               **kwargs).stdout
     0357:
     0358:
     0359:class CompletedProcess(object):
     0360:    &quot;&quot;&quot;A process that has finished running.
File: &apos;/usr/lib/python3.6/subprocess.py&apos;, 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 &apos;. TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/testsdkext/environment-setup-aarch64-poky-linux &gt; /dev/null; devtool sdk-install meta-extsdk-toolchain&apos; returned non-zero exit status 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85684</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-12-03 23:02:10 +0000</bug_when>
    <thetext>This was caused by broken hash equivalence code in master-next which has now been replaced.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>