| Summary: |
ZeroDivisionError in oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output |
| Product: |
[QA/Testing] Functional (self) Testing
|
Reporter: |
Alexandre Belloni <alexandre.belloni> |
| Component: |
oe-selftest | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
CC: |
richard.purdie
|
| Version: |
3.4 | |
|
| Target Milestone: |
3.4 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
AB-INT |
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
AssertionError: Command '/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' returned non-zero exit status 1: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui.py", line 23, in <module> sys.exit(main()) File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/main.py", line 174, in main render() File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/main.py", line 165, in render batch.render(writer, r, options, f) File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/batch.py", line 43, in render draw.render (ctx, options, 1.0, trace) File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/draw.py", line 581, in render curr_y = render_charts (ctx, options, clip, trace, curr_y, w, h, sec_w) File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/draw.py", line 453, in render_charts draw_chart (ctx, VOLUME_COLORS[(i - 1) % len(VOLUME_COLORS)], True, chart_rect, \ File "/home/pokybuild/yocto-worker/oe-selftest/build/scripts/pybootchartgui/pybootchartgui/draw.py", 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