<?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>13042</bug_id>
          
          <creation_ts>2018-11-27 15:32:52 +0000</creation_ts>
          <short_desc>imagefeatures.ImageFeatures.test_image_fstypes failed in cpio</short_desc>
          <delta_ts>2018-12-07 17:29:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>2.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://autobuilder.yoctoproject.org/typhoon/#/builders/84/builds/16</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>mhalstead</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>82335</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-27 15:32:52 +0000</bug_when>
    <thetext>opensuse423-ty-1 master-next

ERROR: core-image-minimal-1.0-r0 do_image_cpio: Function failed: do_image_cpio (log file is located at /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-9429/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_cpio.42412)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-9429/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_cpio.42412
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 12173.200000 = 9364 * 1.300000
| DEBUG: 12173.200000 = max(12173.200000, 8192)[12173.200000] + 1
| DEBUG: 12174.000000 = int(12173.200000)
| DEBUG: 12174 = aligned(12174)
| DEBUG: returning 12174
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_cpio
| 16023 blocks
| /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-9429/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_cpio.42412: line 112: 42718 Done                    echo ./init
|      42719 Segmentation fault      (core dumped) | cpio -oA -H newc -F /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-9429/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-qemux86-64-20181126235134.rootfs.cpio

cpio shouldn&apos;t be crashing, ever, but was this triggered by the image changing underneath it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82345</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-28 22:22:56 +0000</bug_when>
    <thetext>Turns out this is a bug in the latest CVE patch to cpio, so if either:
1) cpio-native was installed in the sysroot, or
2) the host has the CVE patch present

Then cpio will segfault when appending to an archive.

I&apos;ve patches that I shall submit when cleaned up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82410</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-12-05 17:17:24 +0000</bug_when>
    <thetext>Merged in oe-core c3b9aedcbe538d7fa74bd814644b4899769dec46.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>