mapbox/tilelive-mapnik — Issue #26: test failures on master
Author: springmeyer
Created: 2012-03-03 17:41:29+00:00
State: open

```

~/projects/tilelive-mapnik[master]$ npm test

> tilelive-mapnik@0.2.1 pretest /Users/dane/projects/tilelive-mapnik
> which expresso || npm install --dev

/Users/dane/projects/tilelive-mapnik/node_modules/.bin/expresso

> tilelive-mapnik@0.2.1 test /Users/dane/projects/tilelive-mapnik
> which expresso | sh

uncaught: AssertionError: {"name":"world","id":"world","minzoom":0,"maxzoom":22,"center":[0,4.317819745709997,2],"bounds":[-180,-79.11799791776475,180,87.75363740918475]} deepEqual {"name":"world","minzoom":0,"maxzoom":22,"id":"world","bounds":[0,0,-0.000008983152841195214,-0.000008983152840993819],"center":[-0.000004491576420597607,-0.000004491576420496909,2]}
at /Users/dane/projects/tilelive-mapnik/test/info.test.js:45:20
at MapnikSource.getInfo (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:340:21)
at /Users/dane/projects/tilelive-mapnik/test/info.test.js:42:16
at MapnikSource. (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:39:13)
at MapnikSource.g (events.js:143:14)
at MapnikSource.emit (events.js:67:17)
at Function. (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:125:16)
at next (/Users/dane/projects/tilelive-mapnik/node_modules/step/lib/step.js:51:23)
at /Users/dane/projects/tilelive-mapnik/lib/mapnik.js:259:9
at adjustCallback (/Users/dane/projects/tilelive-mapnik/node_modules/generic-pool/lib/generic-pool.js:187:7)

uncaught: AssertionError: {"name":"test","id":"test","minzoom":0,"maxzoom":22,"center":[1.054687500000007,29.53522956294847,2],"bounds":[-180,-79.11799791776475,180,87.75363740918475]} deepEqual {"name":"test","minzoom":0,"maxzoom":22,"id":"test","center":[1.054687500000007,29.53522956294847,2],"bounds":[0,0,-0.000008983152841195214,-0.000008983152840993819]}
at /Users/dane/projects/tilelive-mapnik/test/info.test.js:69:20
at MapnikSource.getInfo (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:340:21)
at /Users/dane/projects/tilelive-mapnik/test/info.test.js:66:16
at MapnikSource. (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:39:13)
at MapnikSource.g (events.js:143:14)
at MapnikSource.emit (events.js:81:20)
at Function. (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:125:16)
at next (/Users/dane/projects/tilelive-mapnik/node_modules/step/lib/step.js:51:23)
at /Users/dane/projects/tilelive-mapnik/lib/mapnik.js:259:9
at adjustCallback (/Users/dane/projects/tilelive-mapnik/node_modules/generic-pool/lib/generic-pool.js:187:7)

uncaught: AssertionError: {"name":"world","id":"world","minzoom":0,"maxzoom":22,"center":[0,4.317819745709997,2],"bounds":[-180,-79.11799791776475,180,87.75363740918475]} deepEqual {"name":"world","minzoom":0,"maxzoom":22,"id":"world","bounds":[0,0,-0.000008983152841195214,-0.000008983152840993819],"center":[-0.000004491576420597607,-0.000004491576420496909,2]}
at /Users/dane/projects/tilelive-mapnik/test/info.test.js:14:20
at MapnikSource.getInfo (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:340:21)
at /Users/dane/projects/tilelive-mapnik/test/info.test.js:11:16
at MapnikSource. (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:39:13)
at MapnikSource.g (events.js:143:14)
at MapnikSource.emit (events.js:81:20)
at Function. (/Users/dane/projects/tilelive-mapnik/lib/mapnik.js:125:16)
at next (/Users/dane/projects/tilelive-mapnik/node_modules/step/lib/step.js:51:23)
at /Users/dane/projects/tilelive-mapnik/lib/mapnik.js:259:9
at adjustCallback (/Users/dane/projects/tilelive-mapnik/node_modules/generic-pool/lib/generic-pool.js:187:7)

uncaught: Error: Images not equal(96.2956): /tmp/5235849495511502 /Users/dane/projects/tilelive-mapnik/test/fixture/tiles/transparent_2_2_2.png
at /Users/dane/projects/tilelive-mapnik/test/support/assert.js:26:27
at ChildProcess.exithandler (child_process.js:100:7)
at ChildProcess.emit (events.js:67:17)
at Socket. (child_process.js:172:12)
at Socket.emit (events.js:64:17)
at Array. (net.js:831:12)
at EventEmitter._tickCallback (node.js:126:26)

uncaught: Error: Images not equal(102.316): /tmp/3448255138937384 /Users/dane/projects/tilelive-mapnik/test/fixture/tiles/transparent_2_0_1.png
at /Users/dane/projects/tilelive-mapnik/test/support/assert.js:26:27
at ChildProcess.exithandler (child_process.js:100:7)
at ChildProcess.emit (events.js:67:17)
at Socket. (child_process.js:172:12)
at Socket.emit (events.js:64:17)
at Array. (net.js:831:12)
at EventEmitter._tickCallback (node.js:126:26)

uncaught: Error: Images not equal(95.3265): /tmp/2778729395940900 /Users/dane/projects/tilelive-mapnik/test/fixture/tiles/transparent_2_3_2.png
at /Users/dane/projects/tilelive-mapnik/test/support/assert.js:26:27
at ChildProcess.exithandler (child_process.js:100:7)
at ChildProcess.emit (events.js:67:17)
at Socket. (child_process.js:172:12)
at Socket.emit (events.js:64:17)
at Array. (net.js:831:12)
at EventEmitter._tickCallback (node.js:126:26)

uncaught: Error: Images not equal(99.3059): /tmp/7789509759750217 /Users/dane/projects/tilelive-mapnik/test/fixture/tiles/transparent_2_3_1.png
at /Users/dane/projects/tilelive-mapnik/test/support/assert.js:26:27
at ChildProcess.exithandler (child_process.js:100:7)
at ChildProcess.emit (events.js:67:17)
at Socket. (child_process.js:172:12)
at Socket.emit (events.js:64:17)
at Array. (net.js:831:12)
at EventEmitter._tickCallback (node.js:126:26)

uncaught: Error: Images not equal(90.0117): /tmp/3670433207880705.5 /Users/dane/projects/tilelive-mapnik/test/fixture/tiles/transparent_2_2_1.png
at /Users/dane/projects/tilelive-mapnik/test/support/assert.js:26:27
at ChildProcess.exithandler (child_process.js:100:7)
at ChildProcess.emit (events.js:67:17)
at Socket. (child_process.js:172:12)
at Socket.emit (events.js:64:17)
at Array. (net.js:831:12)
at EventEmitter._tickCallback (node.js:126:26)

uncaught: Error: Images not equal(90.275): /tmp/990615754853934 /Users/dane/projects/tilelive-mapnik/test/fixture/tiles/transparent_2_1_1.png
at /Users/dane/projects/tilelive-mapnik/test/support/assert.js:26:27
at ChildProcess.exithandler (child_process.js:100:7)
at ChildProcess.emit (events.js:67:17)
at Socket. (child_process.js:172:12)
at Socket.emit (events.js:64:17)
at Array. (net.js:831:12)
at EventEmitter._tickCallback (node.js:126:26)

render.test.js getTile(): AssertionError: {"tile_0_0_0":true,"tile_1_0_0":true,"tile_1_0_1":true,"tile_1_1_0":true,"tile_1_1_1":true,"tile_2_0_0":true,"tile_2_0_1":true,"tile_2_0_2":true,"tile_2_0_3":true,"tile_2_1_0":true,"tile_2_1_1":true,"tile_2_1_2":true,"tile_2_1_3":true,"tile_2_2_0":true,"tile_2_2_1":true,"tile_2_2_2":true,"tile_2_2_3":true,"tile_2_3_0":true,"tile_2_3_1":true,"tile_2_3_2":true,"tile_2_3_3":true} deepEqual {}
at /Users/dane/projects/tilelive-mapnik/test/render.test.js:56:16
at EventEmitter. (/Users/dane/projects/tilelive-mapnik/node_modules/expresso/bin/expresso:847:37)
at EventEmitter. (events.js:81:20)
at EventEmitter.emit (/Users/dane/projects/tilelive-mapnik/node_modules/expresso/bin/expresso:925:10)
at report (/Users/dane/projects/tilelive-mapnik/node_modules/expresso/bin/expresso:871:13)
at EventEmitter.emit (/Users/dane/projects/tilelive-mapnik/node_modules/expresso/bin/expresso:922:9)

Failures: 10

npm ERR! tilelive-mapnik@0.2.1 test: `which expresso | sh`
npm ERR! `sh "-c" "which expresso | sh"` failed with 10
npm ERR!
npm ERR! Failed at the tilelive-mapnik@0.2.1 test script.
npm ERR! This is most likely a problem with the tilelive-mapnik package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! which expresso | sh
npm ERR! You can get their info via:
npm ERR! npm owner ls tilelive-mapnik
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "test"
npm ERR! cwd /Users/dane/projects/tilelive-mapnik
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dane/projects/tilelive-mapnik/npm-debug.log
npm not ok
```