Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P piglit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 72
    • Merge requests 72
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • piglit
  • Issues
  • #55

Closed
Open
Created Jul 11, 2021 by Zoltán Böszörményi@zboszor

Piglit dies with errors coming from decode('utf-8')

As mentioned in mesa!11756 (merged) I can't run piglit on a Yocto 3.3 based system. Neither the pre-built piglit package nor the latest git version built locally.

# ./piglit run -p glx tests/sanity results/sanity
Traceback (most recent call last):
  File "/home/root/git/piglit/./piglit", line 170, in <module>
    main()
  File "/home/root/git/piglit/./piglit", line 166, in main
    sys.exit(runner(args))
  File "/home/root/git/piglit/framework/exceptions.py", line 49, in _inner
    return func(*args, **kwargs)
  File "/home/root/git/piglit/framework/programs/run.py", line 357, in run
    backend.initialize(_create_metadata(
  File "/home/root/git/piglit/framework/programs/run.py", line 263, in _create_metadata
    metadata['info']['system'] = core.collect_system_info()
  File "/home/root/git/piglit/framework/core.py", line 194, in collect_system_info
    result[name] = out.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 680-681: invalid continuation byte

The UnicodeDecodeError error has some variations but the failing backtrace is the same as above:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9b in position 681: invalid start byte
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 681: invalid start byte

All glibc gconv modules and language localedata subpackages are installed. All the mandatory runtime and build dependencies are installed to build piglit locally, there were no build errors.

Edited Jul 11, 2021 by Zoltán Böszörményi
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking