DiligentGraphics/DiligentCore

DynamicTextureAtlas.AllocFreeRace test periodically fails on CI

TheMostDiligent opened this issue · 2 comments

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 3e28408 and 85ed1b1

The issue does not reproduce anymore after the two commits were merged.