<?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>7105</bug_id>
          
          <creation_ts>2014-12-24 21:59:25 +0000</creation_ts>
          <short_desc>Error reporting class fails with large log file or long line</short_desc>
          <delta_ts>2015-03-27 14:45:23 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          
          
          
          <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>47679</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-12-24 21:59:25 +0000</bug_when>
    <thetext>This world build had a qt4 failure with long lines and large log.

https://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/140/steps/BuildImages/logs/stdio

ERROR: Execution of event handler &apos;errorreport_handler&apos; failed
Traceback (most recent call last):
  File &quot;errorreport_handler(e)&quot;, line 34, in errorreport_handler(e=&lt;bb.event.BuildCompleted object at 0x7fa62c0dfc50&gt;) **Excluded longline**

             if end != len(s):
    &gt;            raise ValueError(errmsg(&quot;Extra data&quot;, s, end, len(s)))
             return obj
ValueError: Extra data: line 16 column 2 - line 24 column 2 (char 33262895 - 33502606)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48402</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-01-29 15:20:27 +0000</bug_when>
    <thetext>That failure log is egregiously long - even the build log containing the (truncated) JSON is 207MB. We should deal with this, but I don&apos;t expect to see this too often so I&apos;m downgrading the priority accordingly.

I&apos;ve just discussed this with Michael W, it looks like we might be hitting a limitation in the body size for HTTP requests and therefore the JSON error data is being truncated. There might be some workarounds but it might be that logs this large just aren&apos;t useful anyway, and we should make an attempt to prevent them from being uploaded or at the very least prevent send-error-report from blindly uploading them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49872</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2015-03-27 14:45:23 +0000</bug_when>
    <thetext>openembedded-core 5e036f3fd9caaedcd2759214766b3228299e929b

    - Add feature to check the server&apos;s max_log_size</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>