Bug 13858 - piglit build race
Summary: piglit build race
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.4
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2020-04-04 15:53 UTC by Richard Purdie
Modified: 2021-04-22 15:23 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-04-04 15:53:08 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/1742

Looks like there is a directory creation race in the upstream code:

pokymllib32-linux/lib32-piglit/1.0+gitrAUTOINC+6126c2d4e4-r0/git/generated_tests/gen_shader_precision_tests.py > shader_precision_tests.list
/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-piglit/1.0+gitrAUTOINC+6126c2d4e4-r0/git/generated_tests/builtin_function.py:1603: RuntimeWarning: overflow encountered in ulong_scalars
  f('op-add', 2, 150, lambda x, y: x + y, match_simple_binop,
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-piglit/1.0+gitrAUTOINC+6126c2d4e4-r0/git/generated_tests/gen_shader_precision_tests.py", line 270, in <module>
    main()
  File "/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-piglit/1.0+gitrAUTOINC+6126c2d4e4-r0/git/generated_tests/gen_shader_precision_tests.py", line 252, in main
    os.makedirs(dirname)
  File "/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-piglit/1.0+gitrAUTOINC+6126c2d4e4-r0/recipe-sysroot-native/usr/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: 'spec/arb_shader_precision'
Comment 1 Richard Purdie 2021-04-22 15:23:16 UTC
Assumed fixed by one of the 8 upgrades. since then