<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PIGLIT] Corrupted temporal json test file blocks execution resume"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101872">101872</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PIGLIT] Corrupted temporal json test file blocks execution resume
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>piglit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>tests
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hector.edmundox.ramirez.gomez@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=132817" name="attach_132817" title="200.json">attachment 132817</a> <a href="attachment.cgi?id=132817&action=edit" title="200.json">[details]</a></span>
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
<span class="quote">>>> (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)</span >
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|]|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+
<span class="quote">>>> (info) intel-gpu-tools has finished with output (256)
>>> (err) an error was occurred executing intel-gpu-tools</span >

===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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>