[Piglit] [Bug 101503] New: Piglit exits with "invalid literal for int() with base 10: '19225.json"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 19 17:44:24 UTC 2017


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

            Bug ID: 101503
           Summary: Piglit exits with "invalid literal for int() with base
                    10: '19225.json"
           Product: piglit
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: infrastructure
          Assignee: baker.dylan.c at gmail.com
          Reporter: Hi-Angel at yandex.ru
        QA Contact: piglit at lists.freedesktop.org

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 at 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

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


More information about the Piglit mailing list