<?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>4203</bug_id>
          
          <creation_ts>2013-04-04 21:30:15 +0000</creation_ts>
          <short_desc>1.4 beta build appliance fails to launch Hob automatically</short_desc>
          <delta_ts>2013-04-12 09:31:56 +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>Runtime</product>
          <component>build-appliance</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.4 M6</target_milestone>
          <dependson>4179</dependson>
    
    <dependson>4222</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Stewart">david.c.stewart</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>sstncr</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31577</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2013-04-04 21:30:15 +0000</bug_when>
    <thetext>Build appliance from http://autobuilder.yoctoproject.org/pub/nightly/20130403-2/build-appliance/ boots into X, but I only get a root prompt. 

I did an &quot;su builder&quot; and manually did an oe-init-build-env in the poky directory, and then launched hob manually.

Note that it tries to do a network proxy test, which it fails.

This is on my MacOS system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31590</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-05 05:40:40 +0000</bug_when>
    <thetext>Investigation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31593</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-05 07:10:21 +0000</bug_when>
    <thetext>Probable cause for the issue: builder_hob_start.sh script is not executed after X11 starts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31595</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-05 08:24:23 +0000</bug_when>
    <thetext>The issue is reproducible for the http://autobuilder.yoctoproject.org/pub/nightly/20130403-2/build-appliance/ BA image.

I tested on a locally-built BA image, with the SRCREV for poky set to:
c4329c91a5dee257af8e9499685f773f72abe6f7 commit.

The generated image ran correctly, and Hob starts OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31683</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2013-04-08 14:17:02 +0000</bug_when>
    <thetext>We need a working version for our beta test.  Please send me a link as soon as you can so I can test it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31686</commentid>
    <comment_count>5</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-08 14:27:59 +0000</bug_when>
    <thetext>BA download link:
http://autobuilder.yoctoproject.org/pub/nightly/20130406-2/build-appliance/Yocto_Build_Appliance-20130406225409.zip</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31731</commentid>
    <comment_count>6</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2013-04-08 20:45:49 +0000</bug_when>
    <thetext>I downloaded one that Christian sent me and it still doesn&apos;t work. I downloaded http://autobuilder.yoctoproject.org/pub/nightly/20130406-2/build-appliance/Yocto_Build_Appliance-20130406225409.zip and booted it into VMWare.  

The proper screen came up with &quot;Please wait …&quot; and then the grey screen disappeared and I was left with Terminal 2 (the one with the builduser prompt) and no Hob. Still doesn&apos;t work. What kind of info do you want from my system to debug it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31745</commentid>
    <comment_count>7</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-09 08:02:45 +0000</bug_when>
    <thetext>Hello David.

Tested again with an BA image generated on my machine, not on AB.
The commit HEAD for poky sources was set to the latest master at that moment:
e57284abca76fe7e6c29484104ae4349459c63dc.
BA started OK.
I can provide a download link for that image.

At the same time, Stefan is working on testing the BA image generated by AB with the commit HEAD set to c4329c91a5dee257af8e9499685f773f72abe6f7, the same src rev as used in my initial testing.

Will keep you updated.

Regards,
Cristian</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31759</commentid>
    <comment_count>8</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-04-09 11:48:57 +0000</bug_when>
    <thetext>So I can confirm the 1.4_M5.rc3 build: 
commit fe336b149552b1f4f24d979c40302653298b98cc 
AB link http://autobuilder.yoctoproject.org/pub/nightly/20130403-2/build-appliance/

has the problem Dave described in the first comment.

The commit Cristian mentioned in comment 3 (c4329c91a5dee257af8e9499685f773f72abe6f7) actually coresponds to this AB link: 
http://autobuilder.yoctoproject.org/pub/nightly/20130404-7/build-appliance/Yocto_Build_Appliance-20130405003930.zip

not the link in comment 5 (which I tried and I got the same result as Dave in comment 6).

So on commit c4329c91a5dee257af8e9499685f773f72abe6f7 / link http://autobuilder.yoctoproject.org/pub/nightly/20130404-7/build-appliance/Yocto_Build_Appliance-20130405003930.zip 
Hob does start and it builds (I&apos;m building an image now), regardless if BA  has been built locally or downloaded from AB.


There is a direct connection between commits and AB links, unfortunately on the build considered for beta (fe336b149552b1f4f24d979c40302653298b98cc) Hob doesn&apos;t start in BA (regardless if it&apos;s built locally or by AutoBuilder).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31795</commentid>
    <comment_count>9</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-10 08:18:31 +0000</bug_when>
    <thetext>Tested again BA using commit 307e860860badd4420a01ed781c6c845fc9bf603 as HEAD for both Yocto Linux and poky sources found in BA. This was the latest HEAD available when I started the build.

The BA builds OK and starts OK.

Stefan is working on testing the BA built by AB.
He will post the results here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31803</commentid>
    <comment_count>10</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-04-10 10:40:18 +0000</bug_when>
    <thetext>Commit 307e860860badd4420a01ed781c6c845fc9bf603 
AB download link :
http://autobuilder.yoctoproject.org/pub/build-appliance/20130410-1/build-appliance/Yocto_Build_Appliance-20130410062547.zip
AB build:
http://autobuilder.yoctoproject.org:8011/builders/build-appliance/builds/97

It boots, then the screen with &quot;Please wait while Bitbake initializes Hob &quot; appers and then the grey screen disappears and I get the terminal.
This is the same behaviour as in comment 6.
As I said in my previous comment the working version is commit c4329c91a5dee257af8e9499685f773f72abe6f7 / link http://autobuilder.yoctoproject.org/pub/nightly/20130404-7/build-appliance/Yocto_Build_Appliance-20130405003930.zip - boots to Hob and builds an image succesfully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31814</commentid>
    <comment_count>11</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-10 12:56:49 +0000</bug_when>
    <thetext>The issue can be replicated only if the rpm backend is used for package management.

On my development machine, the ipk-based package management is used, so the issue is not visible.

Given that postinstall scripts aren&apos;t run, Hob does not recognize a PNG image used as an icon, so it crashes during start.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31879</commentid>
    <comment_count>12</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-04-11 08:42:22 +0000</bug_when>
    <thetext>Blocked on upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31919</commentid>
    <comment_count>13</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 11:38:37 +0000</bug_when>
    <thetext>I think this has been fixed with various fixes but finally http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8b29120a8cdd92a0429f383f4811f7f84c6c350e ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31934</commentid>
    <comment_count>14</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-04-11 12:38:43 +0000</bug_when>
    <thetext>Fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8b29120a8cdd92a0429f383f4811f7f84c6c350e .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32034</commentid>
    <comment_count>15</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-04-12 09:31:56 +0000</bug_when>
    <thetext>Verified with dylan:dab237bc6a7679dfeaa981c14736aedc7b04ecb9 and http://autobuilder.yoctoproject.org/pub/nightly/20130411-3/build-appliance/Yocto_Build_Appliance-20130411113308.zip</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>