Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created April 3, 2012 18:18
Show Gist options
  • Save llimllib/2294376 to your computer and use it in GitHub Desktop.
Save llimllib/2294376 to your computer and use it in GitHub Desktop.
✖ 9 of 27 tests failed:
1) datasource GET sqlite:
AssertionError: Invalid response status code.
Expected: 200
Got: 500
at IncomingMessage.<anonymous> (/tmp/tilemill-install/tilemill/test/support/start.js:129:24)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1150:24)
at TCP.onread (net.js:374:27)
2) datasource GET shapefile datasource:
AssertionError: Invalid response status code.
Expected: 200
Got: 500
at IncomingMessage.<anonymous> (/tmp/tilemill-install/tilemill/test/support/start.js:129:24)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1150:24)
at TCP.onread (net.js:374:27)
3) datasource GET shapefile datasource with features:
AssertionError: Invalid response status code.
Expected: 200
Got: 500
at IncomingMessage.<anonymous> (/tmp/tilemill-install/tilemill/test/support/start.js:129:24)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1150:24)
at TCP.onread (net.js:374:27)
4) datasource GET postgis datasource:
AssertionError: Invalid response status code.
Expected: 200
Got: 500
at IncomingMessage.<anonymous> (/tmp/tilemill-install/tilemill/test/support/start.js:129:24)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1150:24)
at TCP.onread (net.js:374:27)
5) datasource GET postgis datasource with features:
AssertionError: Invalid response status code.
Expected: 200
Got: 500
at IncomingMessage.<anonymous> (/tmp/tilemill-install/tilemill/test/support/start.js:129:24)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1150:24)
at TCP.onread (net.js:374:27)
6) tile endpoint should 404 for missing project:
Error: timeout of 10000ms exceeded
at Object.<anonymous> (/tmp/tilemill-install/tilemill/node_modules/mocha/lib/runnable.js:114:14)
at Timer.ontimeout (timers.js:94:19)
7) tile endpoint should 200 (tile) for existing project:
Error: timeout of 10000ms exceeded
at Object.<anonymous> (/tmp/tilemill-install/tilemill/node_modules/mocha/lib/runnable.js:114:14)
at Timer.ontimeout (timers.js:94:19)
8) tile endpoint should 200 (grid) for existing project:
Error: timeout of 10000ms exceeded
at Object.<anonymous> (/tmp/tilemill-install/tilemill/node_modules/mocha/lib/runnable.js:114:14)
at Timer.ontimeout (timers.js:94:19)
9) abilities GET should return JSON:
AssertionError: false == true
at /tmp/tilemill-install/tilemill/test/abilities.test.js:29:20
at IncomingMessage.<anonymous> (/tmp/tilemill-install/tilemill/test/support/start.js:157:13)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1150:24)
at TCP.onread (net.js:374:27)
npm ERR! [email protected] test: `mocha --ignore-leaks --timeout 10000`
npm ERR! `sh "-c" "mocha --ignore-leaks --timeout 10000"` failed with 9
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is most likely a problem with the tilemill package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! mocha --ignore-leaks --timeout 10000
npm ERR! You can get their info via:
npm ERR! npm owner ls tilemill
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-11-server
npm ERR! command "node" "/Users/bill/npm/bin/npm" "test"
npm ERR! cwd /tmp/tilemill-install/tilemill
npm ERR! node -v v0.6.14
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/tilemill-install/tilemill/npm-debug.log
npm not ok
info it worked if it ends with ok
verbose cli [ 'node', '/Users/bill/npm/bin/npm', 'test' ]
info using [email protected]
info using [email protected]
verbose /usr/bin/node node symlink
verbose config file /Users/bill/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /Users/bill/npm/lib/node_modules/npm/npmrc
silly testEngine { name: 'tilemill',
silly testEngine version: '0.9.0',
silly testEngine main: './index.js',
silly testEngine description: 'A modern map design studio.',
silly testEngine keywords: [ 'map', 'design', 'cartography' ],
silly testEngine url: 'http://github.com/developmentseed/tilemill',
silly testEngine repository: { type: 'git', url: 'git://github.com/mapbox/tilemill.git' },
silly testEngine contributors:
silly testEngine [ { name: 'Tom MacWright', email: 'tmcw' },
silly testEngine { name: 'Konstantin Kaefer', email: 'kkaefer' },
silly testEngine { name: 'Will White', email: 'willwhite' },
silly testEngine { name: 'Dane Springmeyer', email: 'springmeyer' },
silly testEngine { name: 'Dmitri Gaskin', email: 'dmitrig01' },
silly testEngine { name: 'AJ Ashton', email: 'ajashton' },
silly testEngine { name: 'Tristen Brown', email: 'tristen' },
silly testEngine { name: 'Young Hahn', email: 'yhahn' } ],
silly testEngine licenses: [ { type: 'BSD' } ],
silly testEngine dependencies:
silly testEngine { 'backbone-dirty': '1.1.x',
silly testEngine bones: '~1.3.24',
silly testEngine chrono: '~1.0.1',
silly testEngine JSV: '3.5.x',
silly testEngine mbtiles: '~0.2.0',
silly testEngine sax: '0.1.x',
silly testEngine request: '~2.9.153',
silly testEngine step: '~0.0.5',
silly testEngine eio: 'https://github.com/developmentseed/node-eio/tarball/master',
silly testEngine tilelive: 'https://github.com/mapbox/tilelive.js/tarball/master',
silly testEngine mapnik: 'https://github.com/mapnik/node-mapnik/tarball/master',
silly testEngine millstone: 'https://github.com/mapbox/millstone/tarball/master',
silly testEngine sphericalmercator: '~1.0.1',
silly testEngine 'tilelive-mapnik': '~0.3.0',
silly testEngine underscore: '~1.3.1',
silly testEngine carto: '~0.4.5',
silly testEngine wax: '5.0.0-alpha2',
silly testEngine 'node-markdown': '0.1.0',
silly testEngine sqlite3: '~2.1.1',
silly testEngine passport: '0.1.x',
silly testEngine 'passport-oauth': '0.1.x',
silly testEngine modestmaps: '1.0.0-alpha',
silly testEngine npm: '1.1.x',
silly testEngine semver: '1.0.x',
silly testEngine optimist: '~0.3.1',
silly testEngine topcube: 'https://github.com/creationix/topcube/tarball/v0.1.2',
silly testEngine mkdirp: '~0.3.0' },
silly testEngine devDependencies: { jshint: '0.2.x' },
silly testEngine scripts:
silly testEngine { start: './index.js',
silly testEngine test: 'mocha --ignore-leaks --timeout 10000',
silly testEngine postinstall: 'GITPATH=/usr/bin:/usr/local/bin:/usr/local/git/bin\nPATH=$PATH:$GITPATH; export PATH\n\nif [ -z $( which git ) ]; then\n echo "Unable to find git binary in \\$GITPATH"\n exit 1\nfi\n\nSHORT_VERSION=$( git describe --tags )\nVERSION=$( echo $SHORT_VERSION | sed -e \'s/^v//\' | sed -e \'s/-/./\' | sed -e \'s/-.*//\' )\n\necho "$SHORT_VERSION\n$VERSION" > VERSION' },
silly testEngine bin: { tilemill: './index.js' },
silly testEngine engines: { node: '0.6.x' },
silly testEngine _id: '[email protected]',
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.106',
silly testEngine _nodeVersion: 'v0.6.14',
silly testEngine _defaultsLoaded: true }
verbose caching /tmp/tilemill-install/tilemill/package.json
verbose loadDefaults [email protected]
verbose run-script [ 'pretest', 'test', 'posttest' ]
info pretest [email protected]
info test [email protected]
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "mocha --ignore-leaks --timeout 10000"
silly spawning [ 'sh',
silly spawning [ '-c', 'mocha --ignore-leaks --timeout 10000' ],
silly spawning '/tmp/tilemill-install/tilemill' ]
info [email protected] Failed to exec test script
ERR! [email protected] test: `mocha --ignore-leaks --timeout 10000`
ERR! `sh "-c" "mocha --ignore-leaks --timeout 10000"` failed with 9
ERR!
ERR! Failed at the [email protected] test script.
ERR! This is most likely a problem with the tilemill package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! mocha --ignore-leaks --timeout 10000
ERR! You can get their info via:
ERR! npm owner ls tilemill
ERR! There is likely additional logging output above.
ERR!
ERR! System Linux 2.6.38-11-server
ERR! command "node" "/Users/bill/npm/bin/npm" "test"
ERR! cwd /tmp/tilemill-install/tilemill
ERR! node -v v0.6.14
ERR! npm -v 1.0.106
ERR! code ELIFECYCLE
verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment