openlayers / openlayers

OpenLayers
https://openlayers.org
BSD 2-Clause "Simplified" License
11.45k stars 3.04k forks source link

WebGL browser tests failing locally #14923

Closed ahocevar closed 1 year ago

ahocevar commented 1 year ago

I cannot run the browser tests (npm run karma) locally any more. I always get many failing WebGL tests. @jahow, any idea what might be causing this or how it can be fixed? I tried this even with a fresh clone of the repository, and with different node versions.:

Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/reproj/DataTile pixel data reprojected from EPSG:4326 to EPSG:3857 exactly matches original FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/reproj/DataTile pixel data reprojected from EPSG:3857 to EPSG:4326 exactly matches original FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/reproj/DataTile pixel data reprojected from EPSG:32636 to EPSG:32632 exactly matches original FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
................................................................................
................................................................................
.
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/layer/Heatmap constructor has a default className FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at /var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:424:1
        at Array.map (<anonymous>)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:422:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Heatmap.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/Layer.js:370:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/layer/Heatmap constructor accepts a custom className FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at /var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:424:1
        at Array.map (<anonymous>)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:422:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Heatmap.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/Layer.js:370:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/layer/Heatmap hit detection hit detects two distinct features FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
...............................................................................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/Layer context sharing allows sequences of WebGL layers to share a canvas FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at WebGLTileLayer.renderSources (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:438:1)
        at WebGLTileLayer.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:470:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/Layer.test.js:90:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/Layer context sharing does not group layers with different className FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at WebGLTileLayer.renderSources (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:438:1)
        at WebGLTileLayer.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:470:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/Layer.test.js:120:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/Layer context sharing collapses groups when a layer is removed FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at WebGLTileLayer.renderSources (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:438:1)
        at WebGLTileLayer.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:470:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/Layer.test.js:147:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/Layer context sharing regroups when layer order changes FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at WebGLTileLayer.renderSources (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:438:1)
        at WebGLTileLayer.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:470:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/Layer.test.js:180:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/Layer context sharing changes groups based on z-index FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at WebGLTileLayer.renderSources (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:438:1)
        at WebGLTileLayer.render (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/layer/WebGLTile.js:470:1)
        at CompositeMapRenderer.renderFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/Composite.js:123:1)
        at Map.renderFrame_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1569:1)
        at Map.animationDelay_ (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1423:1)
        at Map.renderSync (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/Map.js:1434:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/Layer.test.js:215:1)
................................................................................
.................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/Map rendercomplete event renderer ready property triggers when all tiles and sources are loaded and faded in FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
...
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/Map loadstart/loadend event sequence is a reliable start-end sequence FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
................................................................................
............................................................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame calls WebGlHelper#prepareDraw FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:120:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame fills up a buffer with 2 triangles per point FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:138:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame fills up the hit render buffer with 2 triangles per point FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:180:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame clears the buffers when the features are gone FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:221:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame rebuilds the buffers only when not interacting or animating FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:241:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame rebuilds the buffers only when the frame extent changed FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:258:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame triggers source loading when the extent changes FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:272:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #prepareFrame triggers source loading when the source revision changes FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:287:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #forEachFeatureAtCoordinate correctly hit detects a feature FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:339:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #forEachFeatureAtCoordinate correctly hit detects with pixelratio != 1 FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:407:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #disposeInternal terminates the worker and calls dispose on the helper FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:453:1)
.....
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer fires events fires prerender and postrender events FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLPointsLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/PointsLayer.test.js:692:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer rendercomplete is completely rendered on rendercomplete FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
.
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/PointsLayer #updateStyleVariables() "before each" hook for "allows changing variables" FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
...........................................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/webgl/TileGeometry "before each" hook for "assigns the given tile" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/webgl/TileGeometry.test.js:33:1)
................20 07 2023 01:40:48.655:WARN [web-server]: 404: /invalid.jsonp
...........
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer #prepareFrame() FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:85:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer #renderFrame() FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:95:1)
.
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer enqueueTiles() enqueues tiles at a single zoom level (preload: 0) FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:124:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer enqueueTiles() enqueues tiles at multiple zoom levels (preload: 2) FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:151:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer enqueueTiles() does not go below layer min zoom FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:187:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer enqueueTiles() layer min zoom relates to view zoom levels FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:222:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/TileLayer #createTileRepresentation "before each" hook for "creates a TileTexture instance" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/TileLayer.test.js:262:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/webgl/TileTexture "before each" hook for "constructor" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/webgl/TileTexture.test.js:34:1)
..........................................................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorLayer #afterHelperCreated "before each" hook for "creates renderers" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorLayer.test.js:167:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorLayer #reset "before each" hook for "recreates renderers" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLVectorLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorLayer.test.js:189:1)
.....
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorLayer #prepareFrame "before each" hook for "requires rendering" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLVectorLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorLayer.test.js:265:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorLayer #renderFrame "before each" hook for "sets PROJECTION matrix uniform once for each geometry type" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLVectorLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorLayer.test.js:313:1)
.
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) VectorStyleRenderer "before each" hook for "creates a VectorStyleRenderer" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/render/webgl/VectorStyleRenderer.test.js:93:1)
..
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorTileLayer #afterHelperCreated "before each" hook for "creates renderers" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorTileLayer.test.js:144:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorTileLayer #reset "before each" hook for "recreates renderers" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLVectorTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorTileLayer.test.js:166:1)
..
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/renderer/webgl/VectorTileLayer #renderFrame "before each" hook for "sets GLOBAL_ALPHA uniform three times for each tile and style renderer" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at WebGLVectorTileLayerRenderer.prepareFrame (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/renderer/webgl/Layer.js:173:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/renderer/webgl/VectorTileLayer.test.js:226:1)
................................................................................
................................................................................
...............
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/layer/WebGLTile "before each" hook for "creates fragment and vertex shaders" FAILED
    Error: Uncaught TypeError: Cannot read properties of null (reading 'createTexture') (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/commons.js:150189)
....................................20 07 2023 01:40:55.762:WARN [web-server]: 404: /base/spec/ol/source/images/zoomify/TileGroup0/2-2-1.jpg
20 07 2023 01:40:55.765:WARN [web-server]: 404: /base/spec/ol/source/images/zoomify?JTL=2,6
20 07 2023 01:40:55.765:WARN [web-server]: 404: /base/spec/ol/source/images/zoomify/TileGroup0/2-1-0.jpg
20 07 2023 01:40:55.766:WARN [web-server]: 404: /base/spec/ol/source/images/zoomify/TileGroup0/1-1-0.jpg
............................................
................................................................................
................................................................................
................................................................................
................................................................................
......................................................................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/webgl/WebGLHelper constructor without an argument "before each" hook for "initialized WebGL context & canvas" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/webgl/helper.test.js:79:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol/webgl/WebGLHelper "after each" hook for "initialized WebGL context & canvas" FAILED
    TypeError: Cannot read properties of undefined (reading 'dispose')
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/webgl/helper.test.js:73:1)
...............................................................20 07 2023 01:40:57.153:WARN [web-server]: 404: /invalid.jpeg
.....20 07 2023 01:40:57.952:WARN [web-server]: 404: /base/spec/ol/data/osm-0-0-99.png
.20 07 2023 01:40:57.957:WARN [web-server]: 404: /base/spec/ol/data/osm-0-0-99.png
...........
................................................................................
................................................................................
................................................................................
................................................................................
....................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol.webgl.RenderTarget "before each" hook for "creates a target of size 1x1" FAILED
    TypeError: Cannot read properties of null (reading 'createTexture')
        at new WebGLPostProcessingPass (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/PostProcessingPass.js:113:1)
        at new WebGLHelper (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/src/ol/webgl/Helper.js:432:1)
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/webgl/rendertarget.test.js:8:1)
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7) ol.webgl.RenderTarget "after each" hook for "creates a target of size 1x1" FAILED
    TypeError: Cannot read properties of undefined (reading 'dispose')
        at Context.<anonymous> (/var/folders/8j/lpm7ppqs7zl9w1lmwgw4kxj00000gn/T/_karma_webpack_378423/webpack:/ol/test/browser/spec/ol/webgl/rendertarget.test.js:21:1)
................................................................................
................................................................................
.................................................20 07 2023 01:41:06.671:WARN [web-server]: 404: /data/image.png
...............................
..........20 07 2023 01:41:06.866:WARN [web-server]: 404: /bogus-url/5/5/12.png
......................................................................
...20 07 2023 01:41:07.751:WARN [web-server]: 404: /Bogus%20UTFGrid%20URL
.............................................................................
............................................................20 07 2023 01:41:08.034:WARN [web-server]: 404: /base/spec/ol/data/unavailable.json
.20 07 2023 01:41:08.037:WARN [web-server]: 404: /base/spec/ol/data/unavailable.json
...................
..........................20 07 2023 01:41:11.948:WARN [web-server]: 404: /rendering/ol/data/tiles/osm/0/0/0.png
.20 07 2023 01:41:11.983:WARN [web-server]: 404: /rendering/ol/data/tiles/osm/0/0/0.png
.20 07 2023 01:41:12.020:WARN [web-server]: 404: /rendering/ol/data/tiles/osm/0/0/0.png
20 07 2023 01:41:12.034:WARN [web-server]: 404: /rendering/ol/data/tiles/osm/0/0/0.png
....................................................
................................................................
Chrome Headless 114.0.5735.133 (Mac OS 10.15.7): Executed 2376 of 2469 (49 FAILED) (33.293 secs / 24.994 secs)
ahocevar commented 1 year ago

Looking at the debug output when run in a browser, I see errors like "There are too many active WebGL contexts on this page, the oldest context will be lost." and "WebGL: INVALID_OPERATION: loseContext: context already lost".

So it looks like some of the WebGL tests might not clean up after themselves properly. Any thoughts on this, @jahow?

jahow commented 1 year ago

This looks like a hairy bug. I can't reproduce it locally so it is likely system dependant.

There is a similar issue in mapbox-gl-js from 3 years ago: https://github.com/mapbox/mapbox-gl-js/issues/9691, but without resolution unfortunately...

I will try running the tests in an emulator to find other systems where it can be reproduced.

ahocevar commented 1 year ago

@jahow Thanks for looking into this! Maybe this helps: I'm on a Macbook with M2 CPU and plenty of GPU power and memory.

ahocevar commented 1 year ago

@jahow #14928 fixes this problem, and I think #14929 would also be an improvement.