[Piglit] [Bug 101872] New: [PIGLIT] Corrupted temporal json test file blocks execution resume

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 21 16:59:18 UTC 2017


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

            Bug ID: 101872
           Summary: [PIGLIT] Corrupted temporal json test file blocks
                    execution resume
           Product: piglit
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tests
          Assignee: piglit at lists.freedesktop.org
          Reporter: hector.edmundox.ramirez.gomez at intel.com
        QA Contact: piglit at lists.freedesktop.org

Created attachment 132817
  --> https://bugs.freedesktop.org/attachment.cgi?id=132817&action=edit
200.json

Description
=================================
Resuming execution fails due to corrupted json file.

Versions
======================================
Component: intel-gpu-tools
tag: intel-gpu-tools-1.19-96-gfb1ddc4
commit: fb1ddc47003ad6a683db79beeb81b6cbab1feb7c

Component: piglit
tag: piglit-v1
commit: 56e7e5583cd4a3ca15a8cda154d46d168959dd25

How to reproduce
======================================
It´s not really clear how to reproduce this bug. It has appeared suddenly. We
need help to replicate this and find a solution. 
But, here´s useful information:

===Log
$ : cat .igt_clone_testing.log
>>> (info) resuming intel-gpu-tools …
>>> (info) iteration (1/1)
>>> (info) cmd (/home/gfx/intel-graphics/intel-gpu-tools/piglit/piglit resume /home/gfx/intel-graphics/intel-gpu-tools/scripts/iteration1 --no-retry)
Traceback (most recent call last):
  File "/home/gfx/intel-graphics/intel-gpu-tools/piglit/piglit", line 174, in
<module>
    main()
  File "/home/gfx/intel-graphics/intel-gpu-tools/piglit/piglit", line 170, in
main
    sys.exit(runner(args))
  File
"/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/exceptions.py", line
51, in _inner
    func(*args, **kwargs)
  File
"/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/programs/run.py",
line 385, in resume
    results = backends.load(args.results_path)
  File
"/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/backends/__init__.py",
line 175, in load
    return loader(file_path, compression)
  File
"/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/backends/json.py",
line 230, in load_results
    return _resume(filename)
  File
"/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/backends/json.py",
line 293, in _resume
    key=lambda p: int(os.path.splitext(p)[0]))
  File
"/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/backends/json.py",
line 293, in <lambda>
    key=lambda p: int(os.path.splitext(p)[0]))
ValueError: invalid literal for int() with base 10: '200.json'
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+
|i|n|t|e|l|-|g|p|u|-|t|o|o|l|s| |[|E|R|R|O|R|]|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+
>>> (info) intel-gpu-tools has finished with output (256)
>>> (err) an error was occurred executing intel-gpu-tools

===Attached files:
In the attachments section are the 200.json and 200.json.tmp file, which is the
corrupted one. Open it to see details

Expected Behavior
==============================
 Piglit should resume execution

Current Behavior
==============================
Piglit does not resume execution

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170721/81cc22d9/attachment.html>


More information about the Piglit mailing list