[Piglit] Invalid JSON when --no-concurrency is not given

Jose Fonseca jfonseca at vmware.com
Thu Jan 23 11:24:26 PST 2014


So far I've always passed the --no-concurrency.  I tried not doing that, runtime is much faster, but I'm getting invalid JSON:

$ python piglit-summary-html.py custom.html custom.results
Traceback (most recent call last):
  File "piglit-summary-html.py", line 98, in <module>
    main()
  File "piglit-summary-html.py", line 93, in main
    output = summary.Summary(args.resultsFiles)
  File "/home/jfonseca/work/vmware/tests/piglit/framework/summary.py", line 254, in __init__
    self.results = [core.load_results(i) for i in resultfiles]
  File "/home/jfonseca/work/vmware/tests/piglit/framework/core.py", line 709, in load_results
    testrun = TestrunResult(resultsfile)
  File "/home/jfonseca/work/vmware/tests/piglit/framework/core.py", line 317, in __init__
    raw_dict = json.load(self.__repairFile(resultfile))
  File "/usr/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting : delimiter: line 199836 column 56 (char 22851616)


This is the relevant snipped of the JSON result:

        "spec/ARB_gpu_shader5/textureGather/fs-rgba-1-uint-2DRect": { 
            "info": "Returncode: 0\n\nErrors:\n\n\nOutput:\nTest requires GL_ARB_texture_gather\n",
            "dmesg": "",
            "returncodevec2[2]-no-subscript -fbo -auto",            <=============================== "returncode" and "command" got mixed up!!
            "result": "pass", 
            "timeout": false,
            "time": 0.1095280647277832
        },


Any ideas what could be happening, or clues to debugging it?

Jose


More information about the Piglit mailing list