runner/resultgen: Explain why json creation might have failed
PATCH 1/1 runner/resultgen: Explain why json creation might have failed
Sometimes creating the string representation fails. This usually happens when we have a huge logs (e.g.: something was spamming the dmesg) or the result generation was run on a very low-end system (e.g. embedded board with 256 megs of RAM).
Sadly json-c call returns us NULL and provides no explanation whatsoever. Let's fix a NULL pointer dereference in such cases and print a mesage that should help people make sense out of what have just happened.
--- runner/resultgen.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
runner/resultgen.c +13 -0
@@ -1661,6 +1661,19 @@ bool generate_results(int dirfd) } json_string =json_object_to_json_string_ext (obj,JSON_C_TO_STRING_PRETTY ); + +if (json_string ==NULL ) { +fprintf (stderr,"resultgen: Failed to create json representation of the results.\n" ); +fprintf (stderr," This usually means that the results are too big\n" ); +fprintf (stderr," to fit in the memory as the text representation\n" ); +fprintf (stderr," is being created.\n\n" ); +fprintf (stderr," Either something was spamming the logs or your\n" ); +fprintf (stderr," system is very low on free mem.\n" ); + +close (resultsfd); +return false; + } +write (resultsfd, json_string,strlen (json_string));close (resultsfd);return true;
Signature · 6 lines
2.25.4 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for runner/resultgen: Explain why json creation might have failed
== Series Details ==
== Series Details ==
Series: runner/resultgen: Explain why json creation might have failed
URL : https://patchwork.freedesktop.org/series/78168/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8603 -> IGTPW_4659
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/index.html
Known issues
------------
Here are the changes found in IGTPW_4659 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload:
- fi-byt-n2820: [PASS][1] -> [DMESG-WARN][2] ([i915#1982])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-byt-n2820/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-byt-n2820/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-kefka: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-bsw-kefka/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-bsw-kefka/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- fi-icl-u2: [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-icl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@kms_flip@basic-flip-vs-dpms@d-dsi1:
- {fi-tgl-dsi}: [DMESG-WARN][7] ([i915#1982]) -> [PASS][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-tgl-dsi/igt@kms_flip@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-tgl-dsi/igt@kms_flip@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
- fi-icl-u2: [DMESG-WARN][9] ([i915#1982]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-icl-u2/igt@kms_flip@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-icl-u2/igt@kms_flip@[email protected]
#### Warnings ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][11] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][12] ([i915#62] / [i915#92]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-kbl-x1275/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-kbl-x1275/igt@[email protected]
* igt@kms_force_connector_basic@force-edid:
- fi-kbl-x1275: [DMESG-WARN][13] ([i915#62] / [i915#92]) -> [DMESG-WARN][14] ([i915#62] / [i915#92] / [i915#95]) +4 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/fi-kbl-x1275/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/fi-kbl-x1275/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (49 -> 42)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5699 -> IGTPW_4659
CI-20190529: 20190529
CI_DRM_8603: 03f5a3d90ccfb2f1bb13e293a83d48a0b7da8af0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4659: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/index.html
IGT_5699: 201da47cb57b8fadd9bc45be16b82617b32a2c01 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for runner/resultgen: Explain why json creation might have failed
In reply to Arkadiusz Hiler== Series Details ==
== Series Details ==
Series: runner/resultgen: Explain why json creation might have failed
URL : https://patchwork.freedesktop.org/series/78168/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_8603_full -> IGTPW_4659_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4659_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4659_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4659_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_parallel@basic@vcs1:
- shard-kbl: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl3/igt@gem_exec_parallel@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl4/igt@gem_exec_parallel@[email protected]
Known issues
------------
Here are the changes found in IGTPW_4659_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_param@set-priority-invalid-size:
- shard-tglb: [PASS][3] -> [DMESG-WARN][4] ([i915#402])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-tglb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-tglb3/igt@[email protected]
* igt@gem_exec_reloc@basic-concurrent0:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#1930])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk4/igt@[email protected]
* igt@gem_exec_whisper@basic-contexts-priority:
- shard-glk: [PASS][7] -> [DMESG-WARN][8] ([i915#118] / [i915#95])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk1/igt@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads:
- shard-hsw: [PASS][9] -> [TIMEOUT][10] ([i915#1958]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw7/igt@[email protected]
* igt@kms_big_fb@linear-64bpp-rotate-180:
- shard-glk: [PASS][11] -> [DMESG-FAIL][12] ([i915#118] / [i915#95])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk8/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-180:
- shard-apl: [PASS][13] -> [DMESG-WARN][14] ([i915#1982])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl8/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl2/igt@[email protected]
- shard-glk: [PASS][15] -> [DMESG-WARN][16] ([i915#1982])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk9/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk5/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-sliding:
- shard-apl: [PASS][17] -> [FAIL][18] ([i915#54])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl3/igt@[email protected]
- shard-glk: [PASS][19] -> [FAIL][20] ([i915#54])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk7/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk7/igt@[email protected]
- shard-kbl: [PASS][21] -> [FAIL][22] ([i915#54])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl6/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x21-sliding:
- shard-apl: [PASS][23] -> [DMESG-WARN][24] ([i915#95]) +36 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl8/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl2/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- shard-hsw: [PASS][25] -> [INCOMPLETE][26] ([CI#80] / [i915#61])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw1/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-kbl: [PASS][27] -> [DMESG-WARN][28] ([i915#93] / [i915#95]) +44 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl2/igt@[email protected]
* igt@kms_cursor_legacy@pipe-b-torture-bo:
- shard-iclb: [PASS][29] -> [DMESG-WARN][30] ([i915#128])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb7/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb2/igt@[email protected]
* igt@kms_flip@2x-flip-vs-modeset-vs-hang@ab-vga1-hdmi-a1:
- shard-hsw: [PASS][31] -> [DMESG-WARN][32] ([i915#1982])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw8/igt@kms_flip@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) +6 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl3/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [PASS][35] -> [DMESG-WARN][36] ([i915#180]) +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl6/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render:
- shard-iclb: [PASS][37] -> [DMESG-WARN][38] ([i915#1982])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-snb: [PASS][39] -> [SKIP][40] ([fdo#109271]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-snb1/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-snb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-kbl: [PASS][41] -> [DMESG-WARN][42] ([i915#1982] / [i915#93] / [i915#95])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl3/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-move:
- shard-glk: [PASS][43] -> [FAIL][44] ([i915#49])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk4/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk7/igt@[email protected]
* igt@kms_panel_fitting@atomic-fastset:
- shard-tglb: [PASS][45] -> [FAIL][46] ([i915#83])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-tglb5/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-tglb7/igt@[email protected]
- shard-iclb: [PASS][47] -> [FAIL][48] ([i915#83])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb8/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb8/igt@[email protected]
* igt@kms_prime@basic-crc@second-to-first:
- shard-apl: [PASS][49] -> [DMESG-FAIL][50] ([i915#95]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl6/igt@kms_prime@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl6/igt@kms_prime@[email protected]
- shard-kbl: [PASS][51] -> [DMESG-FAIL][52] ([i915#95]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl7/igt@kms_prime@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl3/igt@kms_prime@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [PASS][53] -> [FAIL][54] ([i915#173])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb4/igt@kms_psr@no_drrs.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb1/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [PASS][55] -> [SKIP][56] ([fdo#109441]) +2 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb3/igt@kms_psr@psr2_no_drrs.html
* igt@kms_vblank@pipe-c-accuracy-idle:
- shard-kbl: [PASS][57] -> [DMESG-WARN][58] ([i915#1982])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl7/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl4/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [DMESG-WARN][59] ([i915#180]) -> [PASS][60] +3 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl6/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl3/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-priority-all:
- shard-glk: [DMESG-WARN][61] ([i915#118] / [i915#95]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk9/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk4/igt@[email protected]
* igt@gem_sync@basic-store-each:
- shard-apl: [DMESG-WARN][63] ([i915#95]) -> [PASS][64] +35 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl7/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl1/igt@[email protected]
* igt@gem_wait@await@vecs0:
- shard-hsw: [INCOMPLETE][65] ([i915#61]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw4/igt@gem_wait@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw8/igt@gem_wait@[email protected]
* igt@i915_getparams_basic@basic-subslice-total:
- shard-kbl: [DMESG-WARN][67] ([i915#93] / [i915#95]) -> [PASS][68] +39 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl7/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl7/igt@[email protected]
* igt@kms_atomic_transition@plane-use-after-nonblocking-unbind@pipe-a:
- shard-apl: [DMESG-WARN][69] ([i915#1982]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl2/igt@kms_atomic_transition@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl2/igt@kms_atomic_transition@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-180:
- shard-kbl: [DMESG-FAIL][71] ([i915#95]) -> [PASS][72] +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl4/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-alpha-opaque:
- shard-hsw: [TIMEOUT][73] ([i915#1958]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw2/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw8/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled:
- shard-apl: [DMESG-FAIL][75] ([i915#54] / [i915#95]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl8/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl3/igt@[email protected]
- shard-kbl: [DMESG-FAIL][77] ([i915#54] / [i915#95]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl6/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl6/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-wc-untiled:
- shard-kbl: [DMESG-FAIL][79] ([fdo#108145] / [i915#54] / [i915#95]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl6/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl1/igt@[email protected]
- shard-apl: [DMESG-FAIL][81] ([fdo#108145] / [i915#54] / [i915#95]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl8/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl8/igt@[email protected]
* igt@kms_flip@flip-vs-absolute-wf_vblank@b-edp1:
- shard-tglb: [DMESG-WARN][83] ([i915#1982]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-tglb8/igt@kms_flip@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-tglb1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-snb: [SKIP][85] ([fdo#109271]) -> [PASS][86] +3 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-snb2/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-snb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-glk: [DMESG-WARN][87] ([i915#1982]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-glk4/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-glk8/igt@[email protected]
* igt@kms_lease@page_flip_implicit_plane:
- shard-snb: [TIMEOUT][89] ([i915#1958]) -> [PASS][90] +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-snb4/igt@kms_lease@page_flip_implicit_plane.html
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-snb4/igt@kms_lease@page_flip_implicit_plane.html
* igt@kms_pipe_crc_basic@read-crc-pipe-a:
- shard-apl: [DMESG-FAIL][91] ([i915#95]) -> [PASS][92] +1 similar issue
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl1/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl2/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- shard-apl: [DMESG-WARN][93] ([i915#180]) -> [PASS][94] +1 similar issue
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl8/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl2/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][95] ([fdo#109642] / [fdo#111068]) -> [PASS][96]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb4/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][97] ([fdo#109441]) -> [PASS][98] +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-iclb8/igt@kms_psr@psr2_primary_mmap_cpu.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-kbl: [INCOMPLETE][99] ([i915#155]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl3/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl2/igt@[email protected]
#### Warnings ####
* igt@gem_exec_reloc@basic-concurrent16:
- shard-snb: [TIMEOUT][101] ([i915#1958]) -> [FAIL][102] ([i915#1930])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-snb4/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-snb4/igt@[email protected]
* igt@kms_color@pipe-a-degamma:
- shard-tglb: [DMESG-FAIL][103] ([i915#1149] / [i915#402]) -> [FAIL][104] ([i915#1149] / [i915#1897])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-tglb3/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-tglb3/igt@[email protected]
* igt@kms_content_protection@atomic:
- shard-apl: [DMESG-FAIL][105] ([fdo#110321] / [i915#95]) -> [TIMEOUT][106] ([i915#1319] / [i915#1635])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl6/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl6/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-apl: [TIMEOUT][107] ([i915#1319]) -> [TIMEOUT][108] ([i915#1319] / [i915#1635])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl2/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl6/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-apl: [FAIL][109] ([fdo#110321] / [fdo#110336]) -> [TIMEOUT][110] ([i915#1319] / [i915#1635])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl7/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl7/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-apl: [TIMEOUT][111] ([i915#1319] / [i915#1635]) -> [FAIL][112] ([fdo#110321])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl4/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][113] ([i915#180] / [i915#93] / [i915#95]) -> [DMESG-WARN][114] ([i915#93] / [i915#95])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl4/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-render:
- shard-hsw: [TIMEOUT][115] ([i915#1958]) -> [SKIP][116] ([fdo#109271]) +2 similar issues
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw2/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-render.html
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw4/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-render.html
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-apl: [FAIL][117] ([fdo#108145] / [i915#265]) -> [DMESG-FAIL][118] ([fdo#108145] / [i915#95])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-apl3/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-apl7/igt@[email protected]
- shard-kbl: [FAIL][119] ([fdo#108145] / [i915#265]) -> [DMESG-FAIL][120] ([fdo#108145] / [i915#95])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-kbl2/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-kbl6/igt@[email protected]
* igt@kms_psr@sprite_blt:
- shard-hsw: [SKIP][121] ([fdo#109271]) -> [TIMEOUT][122] ([i915#1958]) +1 similar issue
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-hsw2/igt@kms_psr@sprite_blt.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-hsw7/igt@kms_psr@sprite_blt.html
* igt@kms_psr@suspend:
- shard-snb: [TIMEOUT][123] ([i915#1958]) -> [SKIP][124] ([fdo#109271]) +2 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8603/shard-snb4/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/shard-snb1/igt@[email protected]
[CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#128]: https://gitlab.freedesktop.org/drm/intel/issues/128
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#173]: https://gitlab.freedesktop.org/drm/intel/issues/173
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1897]: https://gitlab.freedesktop.org/drm/intel/issues/1897
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#83]: https://gitlab.freedesktop.org/drm/intel/issues/83
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (11 -> 8)
------------------------------
Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5699 -> IGTPW_4659
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8603: 03f5a3d90ccfb2f1bb13e293a83d48a0b7da8af0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4659: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/index.html
IGT_5699: 201da47cb57b8fadd9bc45be16b82617b32a2c01 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4659/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 28 lines · Arkadiusz Hiler
Sometimes creating the string representation fails. This usually happens when we have a huge logs (e.g.: something was spamming the dmesg) or the result generation was run on a very low-end system (e.g. embedded board with 256 megs of RAM).
Sadly json-c call returns us NULL and provides no explanation whatsoever. Let's fix a NULL pointer dereference in such cases and print a mesage that should help people make sense out of what have just happened.
Cc Swati Sharma <[email protected]>Cc Petri Latvala <[email protected]>Signed-off-by Arkadiusz Hiler <[email protected]>--- runner/resultgen.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)runner/resultgen.c +3
-0@@ -1661,6 +1661,19 @@ bool generate_results(int dirfd) } json_string =json_object_to_json_string_ext (obj,JSON_C_TO_STRING_PRETTY ); + +if (json_string ==NULL ) { +fprintf (stderr,"resultgen: Failed to create json representation of the results.\n" );
runner/resultgen.c bool generate_results(int dirfd) · line 1676
Quoted 10 lines
runner/resultgen.c +10
-0+fprintf (stderr," This usually means that the results are too big\n" ); +fprintf (stderr," to fit in the memory as the text representation\n" ); +fprintf (stderr," is being created.\n\n" ); +fprintf (stderr," Either something was spamming the logs or your\n" ); +fprintf (stderr," system is very low on free mem.\n" ); + +close (resultsfd); +return false; + } +
There are some obvious arguments that can be made here so I'll tackle them myself:
"Why not use the serializer function in json-c that directly outputs to a file?"
That function is implemented with a call tojson_object_to_json_string_ext(). No gain here.
"Why not try to fall back to JSON_C_TO_STRING_PLAIN for a shorter string result?"
A reasonable argument, but offers very little hope. If we reach this case it's a heck of a long string as one of the logs and reducing the overhead of the prettifying won't help much relatively.
An option to limit the disk space usage of a test is in the works and that will help tackle the root cause of this happening. I assert that no one really believes it's normal for a single test to log multiple gigabytes.
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev