Skip to content

Instantly share code, notes, and snippets.

@NickHeiner
Created December 3, 2013 18:30
Show Gist options
  • Save NickHeiner/7774772 to your computer and use it in GitHub Desktop.
Save NickHeiner/7774772 to your computer and use it in GitHub Desktop.
Failure from running `npm test` in npm on master
> [email protected] test /Users/nick.heiner/public-projects/npm
> node ./test/run.js && tap test/tap/*.js
# testing in /var/folders/6v/3scp840j6gzgwzp0ctz_xx_40000gp/T/npm-test-38506
# global prefix = /var/folders/6v/3scp840j6gzgwzp0ctz_xx_40000gp/T/npm-test-38506/root
ok 1 node "/Users/nick.heiner/public-projects/npm/bin/npm-cli.js" install "/Users/nick.heiner/public-projects/npm"
ok 2 npm config set package-config:foo boo
ok 3 npm install /Users/nick.heiner/public-projects/npm
ok 4 npm install packages/npm-test-array-bin
ok 5 npm install packages/npm-test-blerg
ok 6 npm install packages/npm-test-blerg3
ok 7 npm install packages/npm-test-bundled-git
ok 8 npm install packages/npm-test-dir-bin
ok 9 npm install packages/npm-test-env-reader
ok 10 npm install packages/npm-test-files
ok 11 npm install packages/npm-test-ignore
ok 12 npm install packages/npm-test-ignore-nested-nm
ok 13 npm install packages/npm-test-missing-bindir
ok 14 npm install packages/npm-test-optional-deps
ok 15 npm install packages/npm-test-peer-deps
ok 16 npm install packages/npm-test-platform
ok 17 npm install packages/npm-test-platform-all
ok 18 npm install packages/npm-test-private
ok 19 npm install packages/npm-test-shrinkwrap
ok 20 npm install packages/npm-test-test-package
ok 21 npm install packages/npm-test-url-dep
ok 22 npm test npm-test-array-bin
ok 23 npm test npm-test-blerg
ok 24 npm test npm-test-blerg3
ok 25 npm test npm-test-bundled-git
ok 26 npm test npm-test-dir-bin
ok 27 npm test npm-test-env-reader
ok 28 npm test npm-test-files
ok 29 npm test npm-test-ignore
ok 30 npm test npm-test-ignore-nested-nm
ok 31 npm test npm-test-missing-bindir
ok 32 npm test npm-test-optional-deps
ok 33 npm test npm-test-peer-deps
ok 34 npm test npm-test-platform
ok 35 npm test npm-test-platform-all
ok 36 npm test npm-test-private
ok 37 npm test npm-test-shrinkwrap
ok 38 npm test npm-test-test-package
ok 39 npm test npm-test-url-dep
ok 40 npm rm npm-test-array-bin
ok 41 npm rm npm-test-blerg
ok 42 npm rm npm-test-blerg3
ok 43 npm rm npm-test-bundled-git
ok 44 npm rm npm-test-dir-bin
ok 45 npm rm npm-test-env-reader
ok 46 npm rm npm-test-files
ok 47 npm rm npm-test-ignore
ok 48 npm rm npm-test-ignore-nested-nm
ok 49 npm rm npm-test-missing-bindir
ok 50 npm rm npm-test-optional-deps
ok 51 npm rm npm-test-peer-deps
ok 52 npm rm npm-test-platform
ok 53 npm rm npm-test-platform-all
ok 54 npm rm npm-test-private
ok 55 npm rm npm-test-shrinkwrap
ok 56 npm rm npm-test-test-package
ok 57 npm rm npm-test-url-dep
ok 58 npm rm npm
ok 59 node "/Users/nick.heiner/public-projects/npm/bin/npm-cli.js" install "/Users/nick.heiner/public-projects/npm"
ok 60 npm config set package-config:foo boo
ok 61 npm install packages/npm-test-array-bin
ok 62 npm test npm-test-array-bin
ok 63 npm rm npm-test-array-bin
ok 64 npm install packages/npm-test-blerg
ok 65 npm test npm-test-blerg
ok 66 npm rm npm-test-blerg
ok 67 npm install packages/npm-test-blerg3
ok 68 npm test npm-test-blerg3
ok 69 npm rm npm-test-blerg3
ok 70 npm install packages/npm-test-bundled-git
ok 71 npm test npm-test-bundled-git
ok 72 npm rm npm-test-bundled-git
ok 73 npm install packages/npm-test-dir-bin
ok 74 npm test npm-test-dir-bin
ok 75 npm rm npm-test-dir-bin
ok 76 npm install packages/npm-test-env-reader
ok 77 npm test npm-test-env-reader
ok 78 npm rm npm-test-env-reader
ok 79 npm install packages/npm-test-files
ok 80 npm test npm-test-files
ok 81 npm rm npm-test-files
ok 82 npm install packages/npm-test-ignore
ok 83 npm test npm-test-ignore
ok 84 npm rm npm-test-ignore
ok 85 npm install packages/npm-test-ignore-nested-nm
ok 86 npm test npm-test-ignore-nested-nm
ok 87 npm rm npm-test-ignore-nested-nm
ok 88 npm install packages/npm-test-missing-bindir
ok 89 npm test npm-test-missing-bindir
ok 90 npm rm npm-test-missing-bindir
ok 91 npm install packages/npm-test-optional-deps
ok 92 npm test npm-test-optional-deps
ok 93 npm rm npm-test-optional-deps
ok 94 npm install packages/npm-test-peer-deps
ok 95 npm test npm-test-peer-deps
ok 96 npm rm npm-test-peer-deps
ok 97 npm install packages/npm-test-platform
ok 98 npm test npm-test-platform
ok 99 npm rm npm-test-platform
ok 100 npm install packages/npm-test-platform-all
ok 101 npm test npm-test-platform-all
ok 102 npm rm npm-test-platform-all
ok 103 npm install packages/npm-test-private
ok 104 npm test npm-test-private
ok 105 npm rm npm-test-private
ok 106 npm install packages/npm-test-shrinkwrap
ok 107 npm test npm-test-shrinkwrap
ok 108 npm rm npm-test-shrinkwrap
ok 109 npm install packages/npm-test-test-package
ok 110 npm test npm-test-test-package
ok 111 npm rm npm-test-test-package
ok 112 npm install packages/npm-test-url-dep
ok 113 npm test npm-test-url-dep
ok 114 npm rm npm-test-url-dep
ok 115 npm rm npm
1..115
ok test/tap/dedupe.js ................................... 2/2
ok test/tap/false_name.js ............................... 2/2
ok test/tap/ignore-shrinkwrap.js ........................ 3/3
ok test/tap/lifecycle-signal.js ......................... 3/3
ok test/tap/ls-no-results.js ............................ 2/2
ok test/tap/noargs-install-config-save.js ............... 3/3
ok test/tap/outdated-git.js ............................. 4/4
ok test/tap/outdated-include-devdependencies.js ......... 2/2
ok test/tap/outdated-json.js ............................ 2/2
ok test/tap/outdated-new-versions.js .................... 3/3
not ok test/tap/outdated-with-depth.js .................. 2/4
Command: "node" "outdated-with-depth.js"
TAP version 13
not ok 1 should be equal
---
file: /Users/nick.heiner/public-projects/npm/node_modules/slide/lib/async-map.js
line: 48
column: 11
stack:
- getCaller (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-assert.js:418:17)
- assert (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-assert.js:21:16)
- Function.equal (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-assert.js:162:10)
- Test._testAssert [as equal] (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-test.js:87:16)
- /Users/nick.heiner/public-projects/npm/test/tap/outdated-with-depth.js:33:11
- /Users/nick.heiner/public-projects/npm/lib/outdated.js:53:5
- cb (/Users/nick.heiner/public-projects/npm/node_modules/slide/lib/async-map.js:48:11)
- doIt (/Users/nick.heiner/public-projects/npm/lib/outdated.js:211:5)
- /Users/nick.heiner/public-projects/npm/lib/outdated.js:239:9
- /Users/nick.heiner/public-projects/npm/lib/cache.js:591:30
found: 1
wanted: 0
...
ok 2 should be equal
not ok 3 should be equivalent
---
file: /Users/nick.heiner/public-projects/npm/node_modules/slide/lib/async-map.js
line: 48
column: 11
stack:
- getCaller (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-assert.js:418:17)
- assert (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-assert.js:21:16)
- Function.equivalent (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-assert.js:182:12)
- Test._testAssert (/Users/nick.heiner/public-projects/npm/node_modules/tap/lib/tap-test.js:87:16)
- /Users/nick.heiner/public-projects/npm/test/tap/outdated-with-depth.js:42:11
- /Users/nick.heiner/public-projects/npm/lib/outdated.js:53:5
- cb (/Users/nick.heiner/public-projects/npm/node_modules/slide/lib/async-map.js:48:11)
- doIt (/Users/nick.heiner/public-projects/npm/lib/outdated.js:211:5)
- /Users/nick.heiner/public-projects/npm/lib/outdated.js:239:9
- /Users/nick.heiner/public-projects/npm/lib/cache.js:591:30
found:
- /Users/nick.heiner/public-projects/npm/test/tap/outdated-with-depth
- request
- ~
- 2.27.0
- 2.27.0
- ~2.27.0
wanted:
- /Users/nick.heiner/public-projects/npm/test/tap/outdated-with-depth/node_modules/request
- underscore
- 1.1.0
- 1.3.3
- 1.5.1
- ~1.3.1
diff: |
[
"/Users/nick.heiner/public-projects/npm/test/tap/outdated-with-depth", // != "/Users/nick.heiner/public-projects/npm/test/tap/outdated-with-depth/node_modules/request"
"request", // != "underscore"
undefined, // != "1.1.0"
"2.27.0", // != "1.3.3"
"2.27.0", // != "1.5.1"
"~2.27.0" // != "~1.3.1"
]
...
ok 4 test/tap/outdated-with-depth.js
1..4
# tests 4
# pass 2
# fail 2
ok test/tap/outdated.js ................................. 1/1
ok test/tap/peer-deps-invalid.js ........................ 4/4
ok test/tap/peer-deps-without-package-json.js ........... 5/5
ok test/tap/prepublish.js ............................... 4/4
ok test/tap/publish-config.js ........................... 3/3
ok test/tap/uninstall-package.js ........................ 2/2
ok test/tap/url-dependencies.js ......................... 4/4
total ................................................. 51/53
not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment