<?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>11236</bug_id>
          
          <creation_ts>2017-03-24 11:40:39 +0000</creation_ts>
          <short_desc>test_systemd_bootdisk failure</short_desc>
          <delta_ts>2017-03-28 12:48:26 +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>Scripts and Tools</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71685</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-03-24 11:40:39 +0000</bug_when>
    <thetext>This appeared in master-next (38b742bfe59804a05b076ac047189a32e24d346c) build. It did not show up before and it did not happen with the subsequent ross/mut build which has loads of wic commits. So it could have been fixed or it could be infrequent.




FAIL [59.322s]: test_systemd_bootdisk (oeqa.selftest.wic.Wic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py&quot;, line 57, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py&quot;, line 228, in test_systemd_bootdisk
    self.assertEqual(0, runCmd(cmd).status)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 121, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;wic create systemd-bootdisk -e core-image-minimal -o /var/tmp/wic.oe-selftest/&apos; returned non-zero exit status 1:
INFO: Creating image(s)...

Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/wic&quot;, line 326, in &lt;module&gt;
    sys.exit(main(sys.argv[1:]))
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/wic&quot;, line 321, in main
    return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/help.py&quot;, line 97, in invoke_subcommand
    subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/wic&quot;, line 259, in wic_create_subcommand
    native_sysroot, options)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/engine.py&quot;, line 195, in wic_create
    plugin.do_create()
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/plugins/imager/direct.py&quot;, line 95, in do_create
    self.create()
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/plugins/imager/direct.py&quot;, line 175, in create
    self._image.prepare(self)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/plugins/imager/direct.py&quot;, line 335, in prepare
    imager.kernel_dir, imager.native_sysroot)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/partition.py&quot;, line 182, in prepare
    kernel_dir, rootfs_dir, native_sysroot)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/wic/plugins/source/bootimg-efi.py&quot;, line 212, in do_prepare_partition
    for mod in [x for x in os.listdir(bootimg_dir) if x.startswith(&quot;systemd-&quot;)]:
FileNotFoundError: [Errno 2] No such file or directory: &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/share&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71689</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-03-24 12:32:14 +0000</bug_when>
    <thetext>Should be fixed by this patch: http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134570.html

Please, review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71806</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-03-28 12:48:26 +0000</bug_when>
    <thetext>the fix has been merged to master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>