<?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>11637</bug_id>
          
          <creation_ts>2017-06-08 23:01:18 +0000</creation_ts>
          <short_desc>[krogoth] No WIC images present in autobuilder</short_desc>
          <delta_ts>2017-06-28 17:23:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>2.1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juan Ramos">juan.fernandox.ramos.frayle</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>oscarx.lopez.arandas</cc>
    
    <cc>pidge</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</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>73928</commentid>
    <comment_count>0</comment_count>
    <who name="Juan Ramos">juan.fernandox.ramos.frayle</who>
    <bug_when>2017-06-08 23:01:18 +0000</bug_when>
    <thetext>STATUS: IDLE
BUILD: 2.1.3: rc1-fe7fb002216f7886d49942333ea6d8592339bb05
ENVIRONMENT:Autobuilder

EXPECTED OUTCOME: WIC images present and ready to download

ACTUAL OUTCOME: There are not WIC images for genericx86 or genericx86-64

Images must be present here:

https://autobuilder.yocto.io/srv/autobuilder/autobuilder.yoctoproject.org/pub/releases/yocto-2.1.3.rc1/machines/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73939</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-06-09 12:42:17 +0000</bug_when>
    <thetext>Looking at the logs for nightly-wic[1] we can see that the images are being created, i.e.e genericx86-64[2]:


Creating image(s)...

Info: The new image(s) can be found here:
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-sato/build/directdisk-201706070814-sda.direct

The following build artifacts were used to create the image(s):
  ROOTFS_DIR:                   /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0-r0/rootfs
  BOOTIMG_DIR:                  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/sysroots/genericx86-64/usr/share
  KERNEL_DIR:                   /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/deploy/images/genericx86-64
  NATIVE_SYSROOT:               /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/sysroots/x86_64-linux


The image(s) were created using OE kickstart file:
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/scripts/lib/wic/canned-wks/directdisk.wks


Unless I&apos;m misreading things it looks like the PublishArtifacts step[3] is copying things from the right location to the correct destination:


mkdir -p /srv/autobuilder/autobuilder.yoctoproject.org/pub/releases/yocto-2.1.3.rc1/machines/genericx86-64;

cp --no-dereference --preserve=links /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/deploy/wic_images/genericx86-64/*/*/build/*\.direct /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-wic/build/build/tmp/deploy/wic_images/genericx86-64/*/*/build/*\.direct.md5sum /srv/autobuilder/autobuilder.yoctoproject.org/pub/releases/yocto-2.1.3.rc1/machines/genericx86-64|| export PA_FAIL=1;

if [ &quot;$PA_FAIL&quot; = &quot;1&quot; ]; then exit 1;


As the buildstep is marked as succeeded we know the PA_FAIL variable wasn&apos;t set and therefore the copy appears to have succeeded.

1. https://autobuilder.yocto.io/builders/nightly-wic/builds/308
2. https://autobuilder.yocto.io/builders/nightly-wic/builds/308/steps/CreateWicImages_8/logs/stdio
3. https://autobuilder.yocto.io/builders/nightly-wic/builds/308/steps/Publishing%20Artifacts/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73941</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-06-09 13:27:26 +0000</bug_when>
    <thetext>The directdisk-201706070814-sda.direct the logs report creating exists at https://autobuilder.yocto.io/srv/autobuilder/autobuilder.yoctoproject.org/pub/releases/yocto-2.1.3.rc1/machines/genericx86-64/directdisk-201706070814-sda.direct</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73960</commentid>
    <comment_count>3</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-06-09 19:21:56 +0000</bug_when>
    <thetext>The autobuilder has the .direct images this are used instead of wic on 2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74009</commentid>
    <comment_count>4</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-06-12 17:38:43 +0000</bug_when>
    <thetext>I miss calculated the magnitude of this, and thought that if the .direct images were present we could close this. It seems that images are not in the right path and we are getting weird behaviors when tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74209</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-06-15 14:54:07 +0000</bug_when>
    <thetext>.wic images are generated by the build system when building images with bitbake and the .direct images are generated by the nightly-wic builder which invokes wic directly.

Generating .wic images wasn&apos;t enabled by default in krogoth, that&apos;s why 2.1.x builds don&apos;t include .wic files. For example see the 2.1.1 and 2.1.2 builds:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1.1/machines/genericx86-64/
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1.2/machines/genericx86-64/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74210</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-06-15 14:55:36 +0000</bug_when>
    <thetext>.wic images aren&apos;t expected to be generated for krogoth builds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74604</commentid>
    <comment_count>7</comment_count>
    <who name="oscar lopez arandas">oscarx.lopez.arandas</who>
    <bug_when>2017-06-28 17:23:57 +0000</bug_when>
    <thetext>not tested .wic in krogoth</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>