[Piglit] Piglit is broken
Marek Olšák
maraeo at gmail.com
Tue Nov 8 19:26:04 UTC 2016
Hi,
Piglit has started failing at startup. Not sure why. I'm not able to
find a good commit.
Command:
PIGLIT_NO_FAST_SKIP=1 \
./piglit run --process-isolation 0 -p gbm quick
Traceback (most recent call last):
File "./piglit", line 174, in <module>
main()
File "./piglit", line 166, in main
returncode = parsed.func(args)
File "/home/marek/dev/piglit/framework/exceptions.py", line 51, in _inner
func(*args, **kwargs)
File "/home/marek/dev/piglit/framework/programs/run.py", line 323, in run
profile = framework.profile.merge_test_profiles(args.test_profile)
File "/home/marek/dev/piglit/framework/profile.py", line 528, in
merge_test_profiles
profile = load_test_profile(profiles.pop())
File "/home/marek/dev/piglit/framework/profile.py", line 506, in
load_test_profile
os.path.splitext(os.path.basename(filename))[0]))
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/marek/dev/piglit/tests/quick.py", line 9, in <module>
from tests.all import profile
File "/home/marek/dev/piglit/tests/all.py", line 267, in <module>
profile.test_list[group] = MultiShaderTest(files)
File "/home/marek/dev/piglit/framework/test/shader_test.py", line
203, in __init__
assert parser.prog == prog
AssertionError
Also, removing PIGLIT_NO_FAST_SKIP=1 gives a different failure. This
has never worked for me, perhaps it shouldn't be enabled by default:
Traceback (most recent call last):
File "./piglit", line 174, in <module>
main()
File "./piglit", line 166, in main
returncode = parsed.func(args)
File "/home/marek/dev/piglit/framework/exceptions.py", line 51, in _inner
func(*args, **kwargs)
File "/home/marek/dev/piglit/framework/programs/run.py", line 323, in run
profile = framework.profile.merge_test_profiles(args.test_profile)
File "/home/marek/dev/piglit/framework/profile.py", line 528, in
merge_test_profiles
profile = load_test_profile(profiles.pop())
File "/home/marek/dev/piglit/framework/profile.py", line 506, in
load_test_profile
os.path.splitext(os.path.basename(filename))[0]))
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/marek/dev/piglit/tests/quick.py", line 9, in <module>
from tests.all import profile
File "/home/marek/dev/piglit/tests/all.py", line 267, in <module>
profile.test_list[group] = MultiShaderTest(files)
File "/home/marek/dev/piglit/framework/test/shader_test.py", line
213, in __init__
skipper.test()
File "/home/marek/dev/piglit/framework/test/opengl.py", line 364, in test
if (self.info.glsl_version is not None
File "/home/marek/dev/piglit/framework/core.py", line 230, in __get__
value = self.__func(instance)
File "/home/marek/dev/piglit/framework/test/opengl.py", line 256, in
glsl_version
'OpenGL shading language').split()[-1][:4])
File "/home/marek/dev/piglit/framework/test/opengl.py", line 116, in __getline
raise Exception('Unreachable')
Exception: Unreachable
Thanks,
Marek
More information about the Piglit
mailing list