Cesium Test Failures

Hi,

I followed the Get Started guide at https://github.com/AnalyticalGraphicsInc/cesium/wiki/Contributor%27s-Guide and was able to get the code, build and run cesium locally. When I accessed the program from browser the built versions of Cesium Viewer and Hello World works fine.

But when I run the tests 247 specs are failing.

Anyone has an idea on how to fix this?
Thanks in advance!

  1. What video card are you using? Have you tried to update to the latest drivers?

  2. It looks like you’re using Chrome on Windows 8, is that correct?

  3. Can you go to http://webglreport.com/ and copy and paste the results for us?

  1. NVidia GeForce GT 525M. I haven’t updated the drivers recently.

  2. Chrome on Windows 7 64-bit.

Platform:
Win32
Browser User Agent:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
Context Name:
experimental-webgl
GL Version:
WebGL 1.0 (OpenGL ES 2.0 Chromium)
Shading Language Version:
WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor:
WebKit
Renderer:
WebKit WebGL
Antialiasing:
Available
ANGLE:
true
**When I ran all the tests, 247 failed. When only WebGL tests were run 218 were failed. **

I’ll try again after updating the drivers and let you know about any progress. Thank you very much for the reply sir.

Everything “should” work, so my recommendation would be to update the drivers and see if that changes anything. I’ve also had issues with nvidia where I’ve had to reboot to get WebGL working properly after a driver update, so be sure to do that as well.

I updated the NVidia driver, rebooted the system and ran the tests again. This time only 15 failed. I have attached the error log to this message. Thanks again for your help so far.

ErrorLog.txt (18.4 KB)

Thanks Udith.

Kevin/Chris - you might want to look at these. The failures are in the terrain height sampling. Is this just a network issue?

Patrick

I already checked this out. These tests depend on the terrain hosted on cesium.agi.com, which I’m guessing he can’t get to.

Yes I cannot access http://cesium.agi.com/ which gives 404. Does it have something to do with my country? Because I saw a post from another person from Sri Lanka who is having the same problem (https://groups.google.com/forum/#!topic/cesium-dev/cR8NbLtYb-I). Is there any workaround for that problem?

I am also facing cesium test failure.
WebGL report

Platform:
Win32
Browser User Agent:
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Context Name:
experimental-webgl
GL Version:
WebGL 1.0 (OpenGL ES 2.0 Chromium)
Shading Language Version:
WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor:
WebKit
Renderer:
WebKit WebGL
Antialiasing:
Not available
ANGLE:
true

Jasmine test runner

View: 3577 specs summary | 13 failing | 0 skipped

Renderer/Draw draws with sample coverage. (show summary)
Expected { 0 : 255, 1 : 255, 2 : 255, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal [ 0, 0, 0, 0 ].

Error: Expected { 0 : 255, 1 : 255, 2 : 255, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal [ 0, 0, 0, 0 ].
at new jasmine.ExpectationResult (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:114:32)
at null.toEqual (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:1243:29)
at null. (http://localhost:8080/Specs/Renderer/DrawSpec.js:677:38)
at jasmine.Block.execute (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:1072:17)
at jasmine.Queue.next_ (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2104:31)
at jasmine.Queue.start (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2057:8)
at jasmine.Spec.execute (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2386:14)
at jasmine.Queue.next_ (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2104:31)
at onComplete (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2100:18)
at jasmine.Spec.finish (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2360:5)
at null.onComplete (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2387:10)

Scene/BingMapsImageryProvider raises error event when image cannot be loaded. (show summary)
timeout: timed out after 5000 msec waiting for image to load

Scene/Multifrustum renders only in the closest frustum. (show summary)
Expected { 0 : 191, 1 : 191, 2 : 0, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal epsilon [ 127, 127, 0, 255 ], 1.

Error: Expected { 0 : 191, 1 : 191, 2 : 0, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal epsilon [ 127, 127, 0, 255 ], 1.
at new jasmine.ExpectationResult (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:114:32)
at null.toEqualEpsilon (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:1243:29)
at null. (http://localhost:8080/Specs/Scene/MultifrustumSpec.js:281:38)
at jasmine.Block.execute (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:1072:17)
at jasmine.Queue.next_ (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2104:31)
at jasmine.Queue.start (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2057:8)
at jasmine.Spec.execute (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2386:14)
at jasmine.Queue.next_ (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2104:31)
at onComplete (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2100:18)
at jasmine.Spec.finish (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2360:5)
at null.onComplete (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2387:10)

Expected { 0 : 191, 1 : 191, 2 : 0, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal epsilon [ 127, 127, 0, 255 ], 1.

Error: Expected { 0 : 191, 1 : 191, 2 : 0, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal epsilon [ 127, 127, 0, 255 ], 1.
at new jasmine.ExpectationResult (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:114:32)
at null.toEqualEpsilon (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:1243:29)
at null. (http://localhost:8080/Specs/Scene/MultifrustumSpec.js:286:38)
at jasmine.Block.execute (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:1072:17)
at jasmine.Queue.next_ (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2104:31)
at jasmine.Queue.start (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2057:8)
at jasmine.Spec.execute (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2386:14)
at jasmine.Queue.next_ (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2104:31)
at onComplete (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2100:18)
at jasmine.Spec.finish (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2360:5)
at null.onComplete (http://localhost:8080/ThirdParty/jasmine-1.3.1/jasmine.js:2387:10)

Scene/PrimitiveCulling initialize billboard image for culling tests. (show summary)
timeout: timed out after 3000 msec waiting for Load .png file(s) for billboard collection culling tests.

Scene/PrimitiveCulling frustum culls billboards in 3D. (show summary)
RuntimeError: OpenGL Error: Invalid value: texSubImage2D(3553, 0, 0, 0, 6408, 5121, [object HTMLImageElement]);

Scene/PrimitiveCulling frustum culls billboards in Columbus view. (show summary)
RuntimeError: OpenGL Error: Invalid value: texSubImage2D(3553, 0, 0, 0, 6408, 5121, [object HTMLImageElement]);

Scene/PrimitiveCulling frustum culls billboards in 2D. (show summary)
RuntimeError: OpenGL Error: Invalid value: texSubImage2D(3553, 0, 0, 0, 6408, 5121, [object HTMLImageElement]);

Scene/PrimitiveCulling billboard occlusion. (show summary)
RuntimeError: OpenGL Error: Invalid value: texSubImage2D(3553, 0, 0, 0, 6408, 5121, [object HTMLImageElement]);

Scene/sampleTerrain queries heights. (show summary)
timeout: timed out after 5000 msec waiting for height query to finish

Scene/sampleTerrain sets height to undefined if terrain data is not available at the position and specified level. (show summary)
timeout: timed out after 5000 msec waiting for height query to finish

Scene/SkyBox create images. (show summary)
timeout: timed out after 5000 msec waiting for The image should load.

Scene/SkyBox draws a sky box from Images. (show summary)
DeveloperError: Width and height must be greater than zero.

Scene/Tile processStateMachine once a root tile is loaded, its children get both loadedTerrain and upsampledTerrain. (show summary)
timeout: timed out after 5000 msec waiting for root tile to become ready

What are the hardware specs of your computer. Try updating your graphic card’s driver.

Hi Kuldeep,

Thanks for the report.

Are you running Chrome? If so, do you have the latest version? What version of Windows are you running?

It’s possible that a few of these failing tests are too strict and that we can loosen the criteria they use, but we need to be sure that your platform is up to date first.

Thanks,

Patrick

Hi Patrick,

I am running Windows XP Professional SP3 on my Pentium Dual-Core processor. I had already updated my video drivers.

After updating chrome browser, no. of specs failing dropped to 2 from 13.

Renderer/Draw draws with sample coverage. (show summary)
Expected { 0 : 255, 1 : 255, 2 : 255, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal [ 0, 0, 0, 0 ].

Scene/Multifrustum renders only in the closest frustum. (show summary)
Expected { 0 : 191, 1 : 191, 2 : 0, 3 : 255, length : 4, byteLength : 4, byteOffset : 0, buffer : { byteLength : 4 } } to equal epsilon [ 127, 127, 0, 255 ], 1.

Kuldeep,

Given that you’re on Windows XP, I would not worry about these failures. WebGL support on XP is not as good as on more recent operating systems.

Patrick