DiligentCore
DiligentCore copied to clipboard
DynamicTextureAtlas.AllocFreeRace test periodically fails on CI
CI log:
[ OK ] DynamicTextureAtlas.AllocRace (85 ms)
[ RUN ] DynamicTextureAtlas.AllocFreeRace
Diligent Engine: Info: Dynamic texture array: expanding texture 'Dynamic Texture Atlas Alloc-Free Race Test' (512 x 512 1-mip TEX_FORMAT_RGBA8_UNORM) to 4 slices. Version: 2
Diligent Engine: Info: Dynamic texture array: expanding texture 'Dynamic Texture Atlas Alloc-Free Race Test' (512 x 512 1-mip TEX_FORMAT_RGBA8_UNORM) to 6 slices. Version: 3
Diligent Engine: Info: Dynamic texture array: expanding texture 'Dynamic Texture Atlas Alloc-Free Race Test' (512 x 512 1-mip TEX_FORMAT_RGBA8_UNORM) to 8 slices. Version: 4
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 4; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 5; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 6; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 7; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 8; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 9; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 10; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 11; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 12; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 13; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 14; iteration: 259
D:\a\DiligentEngine\DiligentEngine\DiligentCore\Tests\DiligentCoreAPITest\src\DynamicTextureAtlasTest.cpp(500): error: Value of: pAlloc
Actual: false
Expected: true
alloc idx: 15; iteration: 259
[ FAILED ] DynamicTextureAtlas.AllocFreeRace (87 ms)
This should be fixed in https://github.com/DiligentGraphics/DiligentCore/commit/3e28408c01aa7b5b5adb4f75bca40dc102ce33c4 and https://github.com/DiligentGraphics/DiligentCore/commit/85ed1b17bf51f263be301641d83db52c7819d981
The issue does not reproduce anymore after the two commits were merged.