<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 exits with "invalid literal for int() with base 10: '19225.json""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101503">101503</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Piglit exits with "invalid literal for int() with base 10: '19225.json"
          </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>infrastructure
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>baker.dylan.c@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Hi-Angel@yandex.ru
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For running tests at some point it exits with error:

        $ LD_LIBRARY_PATH=/home/constantine/Projects/mesa/lib
LIBGL_DRIVERS_PATH=/home/constantine/Projects/mesa/lib/gallium ./piglit run -p
gbm -c tests/gpu.py results/master-d69f82c3c940467
        [19226/26003] skip: 10067, pass: 9109, warn: 5, fail: 40, crash: 5     
        Traceback (most recent call last):                                
          File "./piglit", line 174, in <module>
                main()
          File "./piglit", line 170, in main
                sys.exit(runner(args))
          File "/home/constantine/Projects/piglit/framework/exceptions.py",
line 51, in _inner
                func(*args, **kwargs)
          File "/home/constantine/Projects/piglit/framework/programs/run.py",
line 360, in run
                backend.finalize({'time_elapsed': time_elapsed.to_json()})
          File "/home/constantine/Projects/piglit/framework/backends/json.py",
line 130, in finalize
                key=lambda p: int(os.path.splitext(p)[0]))
          File "/home/constantine/Projects/piglit/framework/backends/json.py",
line 130, in <lambda>
                key=lambda p: int(os.path.splitext(p)[0]))
        ValueError: invalid literal for int() with base 10: '19225.json'
        $ cat results/master-d69f82c3c940467/tests/19225.json
        {"spec@!opengl 1.1@texsubimage-unpack": {"__type__": "TestResult",
"command": "", "environment": "", "err": "", "out": "", "result": "incomplete",
"returncode": null, "subtests": {"__type__": "Subtests"}, "time": {"start":
0.0, "end": 0.0, "__type__": "TimeAttribute"}, "exception": null, "traceback":
null, "dmesg": "", "pid": []}}

Last time I ran piglit was â‰ˆmonth ago, it was working fine. I don't remember
changing anything till today, so I suspect some update to my system broke it.
Just a guess though. After update to HEAD the error persist (the traceback from
the HEAD).

I don't know how to run this specific 19225 test separately, ideas are welcome.

        $ python --version                            
        Python 3.6.1</pre>
        </div>
      </p>


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

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