<?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>3922</bug_id>
          
          <creation_ts>2013-02-21 17:55:42 +0000</creation_ts>
          <short_desc>Add sanity checks for Build appliance</short_desc>
          <delta_ts>2015-05-13 13:50:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Stanacar">sstncr</reporter>
          <assigned_to name="Lucian Musat">georgex.l.musat</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>mihai.lindner</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <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>30014</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-02-21 17:55:42 +0000</bug_when>
    <thetext>Currently Autobuilder doesn&apos;t run sanity checks for the Build Appliance image.
A sanity check that at least Hob runs would be desirable (ps | grep hob should suffice). That implies that the BA boots and has a network connection (which right know it&apos;s broken).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32718</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-29 14:49:58 +0000</bug_when>
    <thetext>I&apos;m guessing this would amount to automating test cases 323 (check that hob can be launched) and 340 (try building core-image-minimal within the build appliance).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32956</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-05-08 14:12:40 +0000</bug_when>
    <thetext>Yes, it&apos;s exactly 323 + all the other sanity checks than run for a normal image.
340 - building core-image-minimal might be a stretch - I&apos;m not sure how we could trigger a Hob build from qemuimagetests, not to say it will take forever.(and it&apos;s a separate bug/enhacement anyway).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36960</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-09-19 13:49:22 +0000</bug_when>
    <thetext>Moving to 1.6 since we don&apos;t have the infrastructure which will support this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38294</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-10-30 09:55:12 +0000</bug_when>
    <thetext>Well, the TC323 is quite simple, as Stefan already mentioned.
The tricky part is to start the build in Build Appliance from HOB.
Maybe this could be done with Dogtail, meaning that a Dogtail recipe should be made available and the script that triggers the qemu-image-minimal build via HOB will be copied in Build Appliance image.
The even trickier part is to start the qemu image that results from HOB and check the success of this action.

So the plan is that:
1. Create test to check HOB launched successfully in Build Appliance image
2. Create Dogtail recipe and include it in Build Appliance image
3. Include Dogtail script in Build Appliance and run Dogtail in order to create core-image-minimal
4. Start the core-image-minimal and make sanity checks on it

I don&apos;t know if this is going to work well with AB as the test will take too much time...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50743</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-05-04 12:55:13 +0000</bug_when>
    <thetext>HOB will be deprecated, therefore testing HOB in BA won&apos;t be the case anynmore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50744</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-05-04 12:55:21 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>