<?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>14547</bug_id>
          
          <creation_ts>2021-09-16 09:24:24 +0000</creation_ts>
          <short_desc>ZeroDivisionError in oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output</short_desc>
          <delta_ts>2021-09-22 08:33:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>3.4</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>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>richard.purdie</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>91425</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-09-16 09:24:24 +0000</bug_when>
    <thetext>AssertionError: Command &apos;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui.py  /home/pokybuild/yocto-worker/oe-selftest/build/build-st-19731/tmp/buildstats/20210827020840 -o /home/pokybuild/yocto-worker/oe-selftest/build/build-st-19731/tmp/charts -f pdf&apos; returned non-zero exit status 1:
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui.py&quot;, line 23, in &lt;module&gt;
    sys.exit(main())
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/main.py&quot;, line 174, in main
    render()
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/main.py&quot;, line 165, in render
    batch.render(writer, r, options, f)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/batch.py&quot;, line 43, in render
    draw.render (ctx, options, 1.0, trace)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/draw.py&quot;, line 581, in render
    curr_y = render_charts (ctx, options, clip, trace, curr_y, w, h, sec_w)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/draw.py&quot;, line 453, in render_charts
    draw_chart (ctx, VOLUME_COLORS[(i - 1) % len(VOLUME_COLORS)], True, chart_rect, \
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/draw.py&quot;, line 270, in draw_chart
    xscale = float (chart_bounds[2]) / (max_x - x_shift)
ZeroDivisionError: float division by zero

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1574/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91491</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-09-22 08:33:38 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7be05f5228a16904ec1f802439b44fa42650b571</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>