CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.79k stars 3.46k forks source link

npm run test on my mac: TOTAL: 3 FAILED, 13852 SUCCESS #11139

Open rudifa opened 1 year ago

rudifa commented 1 year ago

When I run npm run test on my mac, on the current cesium main branch (e.g. 50e612b44e, or any other recent commit), typically I get the following 3 errors (sometimes only 2, sometimes up to 5 similar errors).

My mac is an Intel 4 cores, 2017, 16 GB RAM, 1TB SSD, 660MB available; no other major activity at the time of tests.

1) 2D Scene/GeometryRenderingSpec SimplePolylineGeometry Expected not to render [0,0,0,255], but actually rendered [0,0,0,255]. at at render2D (packages/engine/Specs/Scene/GeometryRenderingSpec.js:159:21 <- Build/Specs/SpecList.js:87726:22) at UserContext. (packages/engine/Specs/Scene/GeometryRenderingSpec.js:1788:11 <- Build/Specs/SpecList.js:89200:11) at

2) night vision Scene/PostProcessStageLibrary Expected 0 to be greater than 0. at at packages/engine/Specs/Scene/PostProcessStageLibrarySpec.js:197:33 <- Build/Specs/SpecList.js:137099:33 at compare (Specs/addDefaultMatchers.js:251:13 <- Build/Specs/karma-main.js:250:13) at

3) renders pnts with point size style Scene/Model/Model3DTileContent pnts Expected not to render [0,0,0,255], but actually rendered [0,0,0,255]. at at packages/engine/Specs/Scene/Model/Model3DTileContentSpec.js:806:33 <- Build/Specs/SpecList.js:246632:33

TOTAL: 3 FAILED, 13852 SUCCESS

- 5 errors, details ommitted:

Chrome 110.0.0.0 (Mac OS 10.15.7): Executed 13854 of 13922 (5 FAILED) (skipped 68) (3 mins 7.488 secs / 2 mins 48.182 secs) TOTAL: 5 FAILED, 13849 SUCCESS 1) 2D Scene/GeometryRenderingSpec SimplePolylineGeometry 2) renders Scene/ParticleSystem 3) night vision Scene/PostProcessStageLibrary 4) renders pnts with point size style Scene/Model/Model3DTileContent pnts 5) renders model with double-sided material Scene/Model/Model TOTAL: 5 FAILED, 13849 SUCCESS [16:18:47] Finished 'test' after 3.45 min



I am reporting this, as suggested by  @ggetz.
rudifa commented 1 year ago

More test data ...

2017 Rudi Farkas MacBook Pro
2.9 GHz Quad-Core Intel Core i7
Radeon Pro 560 4 GB
Intel HD Graphics 630 1536 MB
16 GB 2133 MHz LPDDR3
npm run test-all
... 
Chrome 111.0.0.0 (Mac OS 10.15.7): Executed 13874 of 13942 (2 FAILED) (skipped 68) (3 mins 30.162 secs / 3 mins 7.831 secs)
Firefox 110.0 (Mac OS 10.15): Executed 595 of 13948 (58 FAILED) DISCONNECTED (4 mins 41.906 secs / 3.004 secs)
Safari 16.3 (Mac OS 10.15.7): Executed 69 of 13942 SUCCESS (0 secs / 1 min 24.04 secs)
Safari 16.3 (Mac OS 10.15.7): Executed 13874 of 13942 (8 FAILED) (skipped 68) (4 mins 42.791 secs / 4 mins 20.459 secs)
okrayum commented 1 month ago

This failure in the same spec happens on my machine, npm run test in Git locally,

Chrome 128.0.0.0 (Windows 10):
2) renders pnts with style and normals
   Scene/Model/Model3DTileContent pnts
   Expected 1 to be 0.
   at <Jasmine>
   at packages/engine/Specs/Scene/Model/Model3DTileContentSpec.js:919:29 <- Build/Specs/SpecList.js:253629:29
   at compare (Specs/addDefaultMatchers.js:314:13 <- Build/Specs/karma-main.js:296:13)
   at <Jasmine>
   Expected 1 to be 0.
   at <Jasmine>
   at packages/engine/Specs/Scene/Model/Model3DTileContentSpec.js:920:29 <- Build/Specs/SpecList.js:253630:29
   at compare (Specs/addDefaultMatchers.js:314:13 <- Build/Specs/karma-main.js:296:13)
   at <Jasmine>