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

Jose Fonseca jfonseca at vmware.com
Thu Jan 23 11:57:48 PST 2014



----- Original Message -----
> On Thursday, January 23, 2014 11:24:26 AM Jose Fonseca wrote:
> > 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
> > _______________________________________________
> > Piglit mailing list
> > Piglit at lists.freedesktop.org
> > https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/piglit&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=OmbL1TGS346VQ1CUUGk3goe9e97XyCEBmK3w8vkzYqI%3D%0A&s=42e66c2bb5b60146ee07a79e97853ff1e5187c4a1736006c9a6e86ba67092683
> 
> 
> This is a known issue, I have patches on the list to fix it called "Revert
> test Timeouts"

I see. Thanks.

Jose


More information about the Piglit mailing list