<?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>16011</bug_id>
          
          <creation_ts>2025-10-16 11:52:00 +0000</creation_ts>
          <short_desc>Fix errors.yoctoproject.org after bitbake-setup switch</short_desc>
          <delta_ts>2026-05-28 13:17:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Error Reporting tool</product>
          <component>Error Reporting Tool</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>rob.woolley</cc>
    
    <cc>tim.orling</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>102946</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-10-16 11:52:00 +0000</bug_when>
    <thetext>After we switched to bitbake-setup, several data are missing on new entries in errors.yoctoproject.org.

I will try to summarize what I understood below.

So first, an error-report.txt json file is generated by the report-error bbclass during builds. Typical example:

{
    &quot;auto_conf&quot;: &quot;SDKMACHINE = \&quot;x86_64\&quot;\nPACKAGE_CLASSES = \&quot;package_rpm\&quot;\nDL_DIR = &apos;/srv/autobuilder/valkyrie.yocto.io/current_sources&apos;\nSSTATE_DIR ?= &apos;/srv/autobuilder/valkyrie.yocto.io/pub/sstate&apos;\nSANITY_TESTED_DISTROS = &apos;&apos;\nBB_HASHSERVE = &apos;wss://hashserv-eu.yoctoproject.org/ws&apos;\nOE_FRAGMENTS += &apos;core/yocto-autobuilder/autobuilder core/yocto-autobuilder/autobuilder-resource-constraints&apos;\nEXTRA_IMAGE_FEATURES ?= &apos;allow-empty-password empty-root-password allow-root-login&apos;\n&quot;,
    &quot;bitbake_version&quot;: &quot;2.15.2&quot;,
    &quot;branch_commit&quot;: &quot;mathieu/master-next: 7a571c23b137c4bf60fa6d402e3f86195f263bde&quot;,
    &quot;build_sys&quot;: &quot;x86_64-linux&quot;,
    &quot;component&quot;: &quot;core-image-full-cmdline:do_build core-image-sato-sdk:do_build core-image-minimal:do_build&quot;,
    &quot;distro&quot;: &quot;poky&quot;,
    &quot;failures&quot;: [],
    &quot;layer_version&quot;: [
        &quot;meta                 = \&quot;mathieu/master-next:7a571c23b137c4bf60fa6d402e3f86195f263bde\&quot;&quot;,
        &quot;meta-yocto-bsp       &quot;,
        &quot;meta-poky            = \&quot;master:fe65e142d0d9ba0e51ff9175ffa82e902f982a20\&quot;&quot;
    ],
    &quot;local_conf&quot;: &quot;&quot;,
    &quot;machine&quot;: &quot;qemuarm64&quot;,
    &quot;nativelsb&quot;: &quot;universal/fedora-41&quot;,
    &quot;target_sys&quot;: &quot;aarch64-poky-linux&quot;
}

This report is then sent to errors.yoctoproject.org using scripts/send-error-report. Report will be parsed to extract some properties and make them available online. E.g. https://errors.yoctoproject.org/Errors/Details/885372/

I believe parsing is done here: https://git.yoctoproject.org/error-report-web/tree/Post/parser.py#n24

So, first issue: the commit is no longer extracted correctly. Values in the &quot;branch_commit&quot; field of above json looks correct, but for some reason the web page report &quot;Commit: unknown&quot;.

Additionally, a lot of other entries of the above report are unpopulated: host distro, build system, target system... We need to investigate why.

In addition, we probably want to add bitbake branch/commit as we are no longer using the poky repo. Maybe meta-yocto also.

What about branches/commits shown on https://errors.yoctoproject.org/Errors/Latest/Autobuilder/ ?

Also, we need to ensure search URLs used on the autobuilder console view are still working after all of that: https://git.yoctoproject.org/yocto-autobuilder2/tree/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx#n200</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102961</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-10-16 14:54:56 +0000</bug_when>
    <thetext>FYI: errrors report web needs a django update so consider that when fixing this issue.

Robert runs an errors-report instance at WR that does not depend on poky.

Robert, can you help fix this problem for YP ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102967</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2025-10-16 15:06:33 +0000</bug_when>
    <thetext>error-report-web was already upgraded to Django 4.2 (LTS)... just from a different tree than what Rob Wooley and I had been working on.

https://git.yoctoproject.org/error-report-web/commit/?id=88b1f10aa3ca477ba28f6a2497d0c8bbe4d85642

https://bugzilla.yoctoproject.org/show_bug.cgi?id=15336</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105628</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-05-28 13:17:56 +0000</bug_when>
    <thetext>Bulk move of unassigned 6.0-M* bugs to 6.1-M2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>