From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108486] Iincompatible result.json generation between igt_runner and piglit summary Date: Thu, 18 Oct 2018 16:04:06 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0070583384==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5AB7C6E03B for ; Thu, 18 Oct 2018 16:04:06 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0070583384== Content-Type: multipart/alternative; boundary="15398786460.3D9Cd.28796" Content-Transfer-Encoding: 7bit --15398786460.3D9Cd.28796 Date: Thu, 18 Oct 2018 16:04:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108486 Bug ID: 108486 Summary: Iincompatible result.json generation between igt_runner and piglit summary Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: IGT Assignee: dri-devel@lists.freedesktop.org Reporter: andi.shyti@intel.com Created attachment 142081 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142081&action=3Dedit Test list I'm trying to test I tried to simulate (dry-run) a test using the runner/igt_runner but the result.json created fails to be parsed by piglit. The test list is in the attachment in case it's needed. Steps to reproduce the error: $ /build/runner/igt_runner -d --test-list test_list /build/tests $ cd $ mkdir res $ piglist summary html res/ result.json I get the following error: Traceback (most recent call last): File "/usr/bin/piglit", line 178, in main() File "/usr/bin/piglit", line 174, in main sys.exit(runner(args)) File "/usr/lib/x86_64-linux-gnu/piglit/framework/exceptions.py", line 51,= in _inner func(*args, **kwargs) File "/usr/lib/x86_64-linux-gnu/piglit/framework/programs/summary.py", li= ne 119, in html summary.html(args.resultsFiles, args.summaryDir, args.exclude_details) File "/usr/lib/x86_64-linux-gnu/piglit/framework/summary/html_.py", line = 178, in html _make_testrun_info(results, destination, exclude) File "/usr/lib/x86_64-linux-gnu/piglit/framework/summary/html_.py", line = 99, in _make_testrun_info totals=3Deach.totals['root'], KeyError: 'root' --=20 You are receiving this mail because: You are the assignee for the bug.= --15398786460.3D9Cd.28796 Date: Thu, 18 Oct 2018 16:04:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 108486
Summary Iincompatible result.json generation between igt_runner and p= iglit summary
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component IGT
Assignee dri-devel@lists.freedesktop.org
Reporter andi.shyti@intel.com

Created attachment =
142081 [details]
Test list I'm trying to test

I tried to simulate (dry-run) a test using the runner/igt_runner but the
result.json created fails to be parsed by piglit. The test list is in the
attachment in case it's needed.

Steps to reproduce the error:

$ <path_to_igt>/build/runner/igt_runner -d --test-list test_list
<path_to_igt>/build/tests <output_dir>

$ cd <output_dir>

$ mkdir res

$ piglist summary html res/ result.json

I get the following error:

Traceback (most recent call last):
  File "/usr/bin/piglit", line 178, in <module>
    main()
  File "/usr/bin/piglit", line 174, in main
    sys.exit(runner(args))
  File "/usr/lib/x86_64-linux-gnu/piglit/framework/exceptions.py"=
, line 51, in
_inner
    func(*args, **kwargs)
  File "/usr/lib/x86_64-linux-gnu/piglit/framework/programs/summary.py=
", line
119, in html
    summary.html(args.resultsFiles, args.summaryDir, args.exclude_details)
  File "/usr/lib/x86_64-linux-gnu/piglit/framework/summary/html_.py&qu=
ot;, line 178,
in html
    _make_testrun_info(results, destination, exclude)
  File "/usr/lib/x86_64-linux-gnu/piglit/framework/summary/html_.py&qu=
ot;, line 99,
in _make_testrun_info
    totals=3Deach.totals['root'],
KeyError: 'root'


You are receiving this mail because:
  • You are the assignee for the bug.
= --15398786460.3D9Cd.28796-- --===============0070583384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0070583384==--