does not produce the coverage dump expected in .coverage and has the following result, including a number of Altered source could not be accessed:
errors (in bold below):
Spacejam.constructor()
CLI.constructor()
CLI.exec()
command: test
CLI.exec() options: { 'driver-package': 'practicalmeteor:mocha-console-runner',
coverage: 'out_coverage',
loglevel: 'debug',
packages: [],
command: 'test' }
Spacejam.testPackages() { 'driver-package': 'practicalmeteor:mocha-console-runner',
coverage: 'out_coverage',
loglevel: 'debug',
packages: [],
command: 'test' }
{ 'phantomjs-script': 'phantomjs-test-in-console.js',
'phantomjs-options': '--load-images=no --ssl-protocol=TLSv1',
'driver-package': 'practicalmeteor:mocha-console-runner',
coverage: 'out_coverage',
loglevel: 'debug',
packages: [],
command: 'test' }
Meteor.runTestCommand() { '0': 'test',
'1':
{ 'phantomjs-script': 'phantomjs-test-in-console.js',
'phantomjs-options': '--load-images=no --ssl-protocol=TLSv1',
'driver-package': 'practicalmeteor:mocha-console-runner',
coverage: 'out_coverage',
loglevel: 'debug',
packages: [],
command: 'test' } }
meteor options: { dir: '.',
port: 4096,
packages: [],
'driver-package': 'practicalmeteor:mocha-console-runner',
'meteor-ready-text': '=> App running at:',
'meteor-error-text': 'Waiting for file change.',
'phantomjs-script': 'phantomjs-test-in-console.js',
'phantomjs-options': '--load-images=no --ssl-protocol=TLSv1',
coverage: 'out_coverage',
loglevel: 'debug',
command: 'test' }
meteor cwd=/Users/Elena/colonyDapp/app
Meteor.getTestArgs() { dir: '.',
port: 4096,
packages: [],
'driver-package': 'practicalmeteor:mocha-console-runner',
'meteor-ready-text': '=> App running at:',
'meteor-error-text': 'Waiting for file change.',
'phantomjs-script': 'phantomjs-test-in-console.js',
'phantomjs-options': '--load-images=no --ssl-protocol=TLSv1',
coverage: 'out_coverage',
loglevel: 'debug',
command: 'test' }
meteor args= [ 'test',
'--driver-package',
'practicalmeteor:mocha',
'--port',
4096 ]
ChildProcess.constructor()
ChildProcess.spawn() meteor [ 'test',
'--driver-package',
'practicalmeteor:mocha',
'--port',
4096 ]
spacejam: spawning meteor
[[[[[ Tests ]]]]]
=> Started proxy.
=> Started MongoDB.
MeteorMongodb.constructor() { '0': 10508 }
MeteorMongodb.findAllChildren() {}
@meteorPid 10508
spacejam: meteor mongodb is ready
Found meteor mongod child with pid: 10527
=> A patch (Meteor 1.4.1.2) for your current release is available!
Update this project now with 'meteor update --patch'.
W20161018-10:05:04.337(3)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
W20161018-10:05:04.379(3)? (STDERR) While this implementation will work correctly, it is known to be
W20161018-10:05:04.379(3)? (STDERR) approximately three times slower than the native implementation.
W20161018-10:05:04.380(3)? (STDERR) In order to use the native implementation instead, run
W20161018-10:05:04.380(3)? (STDERR)
W20161018-10:05:04.380(3)? (STDERR) meteor npm install --save bcrypt
W20161018-10:05:04.381(3)? (STDERR)
W20161018-10:05:04.381(3)? (STDERR) in the root directory of your application.
I20161018-10:05:05.384(3)? Coverage active
I20161018-10:05:05.387(3)? Loading default configuration
I20161018-10:05:05.387(3)? Coverage configuration:
I20161018-10:05:05.388(3)? - IS_COVERAGE_ACTIVE= true
I20161018-10:05:05.388(3)? - IS_COVERAGE_VERBOSE= true
I20161018-10:05:05.388(3)? - COVERAGE_APP_FOLDER= ./.coverage
I20161018-10:05:05.388(3)? .coverage.json values:
I20161018-10:05:05.405(3)? - exclude= { general: [],
I20161018-10:05:05.405(3)? server:
I20161018-10:05:05.405(3)? [ '**/node_modules/**/*.json',
I20161018-10:05:05.405(3)? '**/.?*/**',
I20161018-10:05:05.406(3)? '**/packages/!(local-test_?*.js)',
I20161018-10:05:05.406(3)? '**/+([^:]):+([^:])/**',
I20161018-10:05:05.406(3)? '**/@(test|tests|spec|specs)/**',
I20161018-10:05:05.406(3)? '**/?(*.)test?(s).?*',
I20161018-10:05:05.406(3)? '**/?(*.)spec?(s).?*',
I20161018-10:05:05.407(3)? '**/?(*.)app-test?(s).?*',
I20161018-10:05:05.407(3)? '**/?(*.)app-spec?(s).?*' ],
I20161018-10:05:05.407(3)? client:
I20161018-10:05:05.407(3)? [ '**/client/stylesheets/**',
I20161018-10:05:05.408(3)? '**/.npm/package/node_modules/**',
I20161018-10:05:05.408(3)? '**/web.browser/packages/**',
I20161018-10:05:05.408(3)? '**/.?*/**',
I20161018-10:05:05.408(3)? '**/packages/!(local-test_?*.js)',
I20161018-10:05:05.409(3)? '**/+([^:]):+([^:])/**',
I20161018-10:05:05.409(3)? '**/@(test|tests|spec|specs)/**',
I20161018-10:05:05.409(3)? '**/?(*.)test?(s).?*',
I20161018-10:05:05.409(3)? '**/?(*.)spec?(s).?*',
I20161018-10:05:05.409(3)? '**/?(*.)app-test?(s).?*',
I20161018-10:05:05.410(3)? '**/?(*.)app-spec?(s).?*' ] }
I20161018-10:05:05.410(3)? - include= []
I20161018-10:05:05.410(3)? - remapFormat= [ 'html',
I20161018-10:05:05.410(3)? 'cobertura',
I20161018-10:05:05.410(3)? 'clover',
I20161018-10:05:05.411(3)? 'json',
I20161018-10:05:05.411(3)? 'json-summary',
I20161018-10:05:05.411(3)? 'lcovonly',
I20161018-10:05:05.411(3)? 'teamcity',
I20161018-10:05:05.411(3)? 'text',
I20161018-10:05:05.412(3)? 'text-summary' ]
I20161018-10:05:05.412(3)? - COVERAGE_EXPORT_FOLDER= ./.coverage
I20161018-10:05:06.107(3)? [Ignored][exclude.server]: /packages/tmeasday_test-reporter-helpers.js
I20161018-10:05:06.107(3)? [ServerSide][Package] file ignored: /packages/tmeasday_test-reporter-helpers.js
I20161018-10:05:06.108(3)? [Ignored][exclude.server]: /packages/reload.js
I20161018-10:05:06.108(3)? [ServerSide][Package] file ignored: /packages/reload.js
I20161018-10:05:06.108(3)? [Ignored][exclude.server]: /packages/autoupdate.js
I20161018-10:05:06.108(3)? [ServerSide][Package] file ignored: /packages/autoupdate.js
I20161018-10:05:06.109(3)? [Ignored][exclude.server]: /packages/practicalmeteor_loglevel.js
I20161018-10:05:06.110(3)? [ServerSide][Package] file ignored: /packages/practicalmeteor_loglevel.js
I20161018-10:05:06.120(3)? [Ignored][exclude.server]: /packages/practicalmeteor_mocha.js
I20161018-10:05:06.120(3)? [ServerSide][Package] file ignored: /packages/practicalmeteor_mocha.js
I20161018-10:05:06.196(3)? [Ignored][exclude.server]: /packages/practicalmeteor_mocha-console-runner.js
I20161018-10:05:06.196(3)? [ServerSide][Package] file ignored: /packages/practicalmeteor_mocha-console-runner.js
I20161018-10:05:06.197(3)? [Ignored][exclude.server]: /packages/hot-code-push.js
I20161018-10:05:06.197(3)? [ServerSide][Package] file ignored: /packages/hot-code-push.js
I20161018-10:05:06.197(3)? [Ignored][exclude.server]: /packages/templating.js
I20161018-10:05:06.197(3)? [ServerSide][Package] file ignored: /packages/templating.js
I20161018-10:05:06.197(3)? [Ignored][exclude.server]: /packages/global-imports.js
I20161018-10:05:06.198(3)? [ServerSide][Package] file ignored: /packages/global-imports.js
I20161018-10:05:06.198(3)? [Ignored][exclude.server]: /private/var/folders/41/y_3bjvkj19b54sp51dzk63vh0000gn/T/meteor-test-run1ao7p4d/.meteor/local/build/programs/server/app/app.js
I20161018-10:05:06.199(3)? [ServerSide][App.js] file ignored: /app/app.js
I20161018-10:05:10.637(3)? [Ignored][exclude.server]: /packages/mdg_validation-error.js
I20161018-10:05:10.638(3)? [ServerSide][Package] file ignored: /packages/mdg_validation-error.js
I20161018-10:05:10.704(3)? Kadira: completed instrumenting the app
=> Started your app.
=> App running at: http://localhost:4096/
spacejam: meteor is ready
Spacejam.runPhantom()
Phantomjs.run() { '0': 'http://localhost:4096/local',
'1': '--load-images=no --ssl-protocol=TLSv1',
'2': 'phantomjs-test-in-console.js',
'3': undefined,
'4': undefined,
'5': false }
script=/usr/local/lib/node_modules/spacejam/lib/phantomjs-test-in-console.js
spawnArgs: [ '--load-images=no',
'--ssl-protocol=TLSv1',
'phantomjs-test-in-console.js' ]
spawnOptions: { cwd: '/usr/local/lib/node_modules/spacejam/lib',
detached: false,
env:
{ COVERAGE_APP_FOLDER: './.coverage',
COVERAGE_VERBOSE: '1',
COVERAGE: '1',
TERM_PROGRAM: 'Apple_Terminal',
SHELL: '/bin/bash',
TERM: 'xterm-256color',
TMPDIR: '/var/folders/41/y_3bjvkj19b54sp51dzk63vh0000gn/T/',
Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.nUVNSNXcu6/Render',
TERM_PROGRAM_VERSION: '377',
OLDPWD: '/Users/Elena/colonyDapp',
TERM_SESSION_ID: 'A73842F3-F13D-49AD-BA42-55F5E8BB8194',
USER: 'Elena',
SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.H96gFV8a7X/Listeners',
__CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x2',
PATH: '/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin',
PWD: '/Users/Elena/colonyDapp/app',
LANG: 'en_GB.UTF-8',
XPC_FLAGS: '0x0',
XPC_SERVICE_NAME: '0',
SHLVL: '1',
HOME: '/Users/Elena',
LOGNAME: 'Elena',
DISPLAY: '/private/tmp/com.apple.launchd.JxKJCDQrR3/org.macosforge.xquartz:0',
_: '/usr/local/bin/spacejam',
ROOT_URL: 'http://localhost:4096/local' } }
ChildProcess.constructor()
ChildProcess.spawn() phantomjs [ '--load-images=no',
'--ssl-protocol=TLSv1',
'phantomjs-test-in-console.js' ]
spacejam: spawning phantomjs
phantomjs: Running tests at http://localhost:4096/local using test-in-console
I20161018-10:05:12.825(3)? [Ignored][exclude.client]: /packages/underscore.js
I20161018-10:05:12.826(3)? [ClientSide][Public] file ignored: /packages/underscore.js
I20161018-10:05:12.827(3)? [Ignored][exclude.client]: /packages/meteor.js
I20161018-10:05:12.827(3)? [ClientSide][Public] file ignored: /packages/meteor.js
I20161018-10:05:12.831(3)? [Ignored][exclude.client]: /packages/meteor-base.js
I20161018-10:05:12.832(3)? [ClientSide][Public] file ignored: /packages/meteor-base.js
I20161018-10:05:14.080(3)? [Ignored][exclude.client]: /packages/lmieulet_meteor-coverage.js
I20161018-10:05:14.081(3)? [ClientSide][Public] file ignored: /packages/lmieulet_meteor-coverage.js
I20161018-10:05:14.131(3)? [Ignored][exclude.client]: /packages/practicalmeteor_loglevel.js
I20161018-10:05:14.131(3)? [ClientSide][Public] file ignored: /packages/practicalmeteor_loglevel.js
I20161018-10:05:14.149(3)? [Ignored][exclude.client]: /packages/practicalmeteor_mocha.js
I20161018-10:05:14.150(3)? [ClientSide][Public] file ignored: /packages/practicalmeteor_mocha.js
I20161018-10:05:14.159(3)? [Ignored][exclude.client]: /packages/practicalmeteor_mocha-console-runner.js
I20161018-10:05:14.163(3)? [ClientSide][Public] file ignored: /packages/practicalmeteor_mocha-console-runner.js
I20161018-10:05:14.164(3)? [Ignored][exclude.client]: /packages/webapp.js
I20161018-10:05:14.165(3)? [ClientSide][Public] file ignored: /packages/webapp.js
I20161018-10:05:14.165(3)? [Ignored][exclude.client]: /packages/livedata.js
I20161018-10:05:14.166(3)? [ClientSide][Public] file ignored: /packages/livedata.js
I20161018-10:05:14.538(3)? [Ignored][exclude.client]: /packages/hot-code-push.js
I20161018-10:05:14.539(3)? [ClientSide][Public] file ignored: /packages/hot-code-push.js
I20161018-10:05:14.540(3)? [Ignored][exclude.client]: /packages/ui.js
I20161018-10:05:14.542(3)? [ClientSide][Public] file ignored: /packages/ui.js
I20161018-10:05:14.630(3)? [Ignored][exclude.client]: /packages/global-imports.js
I20161018-10:05:14.631(3)? [ClientSide][Public] file ignored: /packages/global-imports.js
I20161018-10:05:14.649(3)? [Accepted][*]: /app/app.js
I20161018-10:05:14.649(3)? [ClientSide][Public] file instrumented: /app/app.js
I20161018-10:05:14.649(3)? registerSourceMap ../web.browser/app/app.js
I20161018-10:05:14.667(3)? Add source map for file ../web.browser/app/app.js.map
I20161018-10:05:14.667(3)? registerSourceMap ../web.browser/app/app.js
**W20161018-10:05:14.669(3)? (STDERR) Cannot access .coverage/client/imports/lib/taskClient.js
W20161018-10:05:14.670(3)? (STDERR) Altered source could not be accessed: meteor://💻app/client/imports/lib/taskClient.js
W20161018-10:05:14.670(3)? (STDERR) Cannot access .coverage/client/imports/lib/blockies.js
W20161018-10:05:14.670(3)? (STDERR) Altered source could not be accessed: meteor://💻app/client/imports/lib/blockies.js**
I20161018-10:05:19.940(3)? [Ignored][exclude.client]: /packages/mdg_validation-error.js
I20161018-10:05:19.940(3)? [ClientSide][Public] file ignored: /packages/mdg_validation-error.js
I20161018-10:05:21.035(3)? MochaRunner.runServerTests: Starting server side tests with run id YFmpZbio4vBPbFRt2
W20161018-10:05:21.238(3)? (STDERR) { type: 'TEST' }
W20161018-10:05:21.239(3)? (STDERR) { type: 'TEST' }
W20161018-10:05:21.262(3)? (STDERR) { type: 'TEST', data: { tests: 'to test all the things' } }
W20161018-10:05:21.303(3)? (STDERR) No getter registered for boo
W20161018-10:05:21.308(3)? (STDERR) No getter registered for boo
W20161018-10:05:21.309(3)? (STDERR) No getter registered for boo
W20161018-10:05:21.317(3)? (STDERR) No getter registered for boo
W20161018-10:05:21.318(3)? (STDERR) No getter registered for buu
W20161018-10:05:22.248(3)? (STDERR) { [Error: child "cardId" fails because ["cardId" is required] [validation-error]]
W20161018-10:05:22.248(3)? (STDERR) error: 'validation-error',
W20161018-10:05:22.248(3)? (STDERR) reason: 'child "cardId" fails because ["cardId" is required]',
W20161018-10:05:22.249(3)? (STDERR) details: undefined,
W20161018-10:05:22.249(3)? (STDERR) message: 'child "cardId" fails because ["cardId" is required] [validation-error]',
W20161018-10:05:23.459(3)? (STDERR) { [Error: [error]]
W20161018-10:05:23.459(3)? (STDERR) error: 'error',
W20161018-10:05:23.459(3)? (STDERR) reason: undefined,
W20161018-10:05:23.459(3)? (STDERR) details: undefined,
W20161018-10:05:23.460(3)? (STDERR) message: '[error]',
W20161018-10:05:23.460(3)? (STDERR) errorType: 'Meteor.Error' }
W20161018-10:05:23.460(3)? (STDERR) [Error: error]
W20161018-10:05:24.288(3)? (STDERR) MochaRunner.runServerTests: failures: 0
ChildProcess.process.on 'exit': @command=phantomjs @killed=false code=0 signal=null
spacejam: phantomjs exited with code: 0
Meteor.kill() {} @childProcess?= true @mongodb?= true
ChildProcess.kill() signal=SIGTERM @command=meteor @killed=false
spacejam: killing meteor
MeteorMongodb.kill() killed= false
Spacejam.done() { '0': 0 }
Spacejam.done() @meteor?=true
Meteor.hasMongodb()
MeteorMongodb.hasMongodb()
Spacejam.done() @waitForMeteorMongodbKillDone=true
Spacejam.done() waiting for mongodb to exit before calling done
ChildProcess.process.on 'exit': @command=meteor @killed=true code=null signal=SIGTERM
spacejam: meteor killed with signal: SIGTERM
Spacejam.meteor.on 'exit': { '0': null, '1': 'SIGTERM' }
Spacejam.onMeteorMongodbKillDone() 0
spacejam: All tests have passed. Exiting.
ChildProcess.process.on 'exit': @command=meteor @killed=true code=0
ChildProcess.kill() signal=SIGTERM @command=meteor @killed=true
MeteorMongodb.process.on 'exit': code=0
MeteorMongodb.kill() killed= true
ChildProcess.process.on 'exit': @command=phantomjs @killed=true code=0
ChildProcess.kill() signal=SIGTERM @command=phantomjs @killed=true