All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 108486] Iincompatible result.json generation between igt_runner and piglit summary
Date: Thu, 18 Oct 2018 16:04:06 +0000	[thread overview]
Message-ID: <bug-108486-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1923 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108486

            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=142081&action=edit
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", 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=each.totals['root'],
KeyError: 'root'

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3462 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-10-18 16:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 16:04 bugzilla-daemon [this message]
2018-10-18 16:04 ` [Bug 108486] Incompatible result.json generation between igt_runner and piglit summary bugzilla-daemon
2018-10-18 17:13 ` bugzilla-daemon
2018-10-19 13:06 ` bugzilla-daemon
2018-10-23 10:29 ` bugzilla-daemon
2018-10-23 13:32 ` bugzilla-daemon
2018-10-31 12:06 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108486-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.