Bug 13858

Summary: piglit build race
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: graphicsAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 3.1   
Target Milestone: 3.4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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