<?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>10466</bug_id>
          
          <creation_ts>2016-10-20 13:18:01 +0000</creation_ts>
          <short_desc>Update BuildLog with build progress</short_desc>
          <delta_ts>2016-12-06 17:26:09 +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.2</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>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          <blocked>10502</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
          
          <qa_contact name="Juan Ramos">juan.fernandox.ramos.frayle</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>67414</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-10-20 13:18:01 +0000</bug_when>
    <thetext>The BuildLog page on the wiki would be much more useful if it were also updated with build results.

Any failures could be added to the wiki with a link to the relevant logs. If a build succeeds the BuildLog entry could be updated to note no issues were found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68186</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-09 13:49:08 +0000</bug_when>
    <thetext>We can use the same JSON api to monitor the build, i.e. (a transient url):
https://autobuilder.yoctoproject.org/main/json/builders/nightly/builds/1059?as_text=1

Triggered builds are currently the 25th buildstep (index 24 in the steps array of the JSON data) and contains a urls dictionary of build → url mappings.

We can use the urls to determine an api to monitor for failures and check the steps of each monitored build for a failure code (after determining what possible values there are) in the results array and/or the string &quot;failed&quot; in the text array.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68397</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-17 14:23:56 +0000</bug_when>
    <thetext>I have an initial set of changes for the buildlogger script to implement this, I&apos;m not very happy with some pieces of the code and would like to fix them up over the next day or so.

There&apos;s also an issue in that since we renamed meta-yocto to meta-poky during krogoth the GetLayerVersion_3 build step always fails, which results in a false positive when reporting failures through buildlogger.

It&apos;s probable that we can just drop this step now, so long as the autobuilder doesn&apos;t need to support jethro or earlier any more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68717</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-30 13:34:35 +0000</bug_when>
    <thetext>The code is implemented but taking some time to test due to the length of time it takes to run through a build on the autobuilder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68864</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-06 16:32:48 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=d30c578d2c7b0bee1f087e1435fefbf1920cb9af</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>