Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hangs on failing test #38

Open
HansHammel opened this issue Dec 6, 2016 · 12 comments
Open

hangs on failing test #38

HansHammel opened this issue Dec 6, 2016 · 12 comments

Comments

@HansHammel
Copy link

HansHammel commented Dec 6, 2016

It seems that a failing test is no recognized (exit code problem!?) causing the job progress to freeze, blocking/breaking the job queue. How about a timeout hot fix? node 6.9.1 npm 3.10.8 windows 10 64bit latest strider + available updates

@oliversalzburg
Copy link
Member

A timeout is unlikely to be a good solution. It would be more interesting to find out why your test is hanging.

@knownasilya
Copy link
Member

What testing harness are you using? Maybe it doesn't handle exit codes correctly.

@HansHammel
Copy link
Author

HansHammel commented Dec 15, 2016

mocha latest version
image

@oliversalzburg
Copy link
Member

What command is used to run the tests?

@HansHammel
Copy link
Author

npm test ~ mocha test/app.js
see here
[..]
"scripts": {
"pretest": "cd example && npm install",
"test": "mocha test/app.js"
},
[..]
but this applies to all test that fail on misc repos of mine

@oliversalzburg
Copy link
Member

This looks pretty much in line with what we use ourselves. So I don't see any major issues here.

However, not that Strider already runs npm install, so the pretest hook may be counter-productive here.

Please set the DEBUG environment variable to strider*, reproduce the issue and post the log output.

@HansHammel
Copy link
Author

HansHammel commented Dec 21, 2016

OK so here is the log. There is a UnhandledPromiseRejectionWarning somewhere...

  strider:config { logging: { exitOnError: true, file_enabled: false, console: { level: 0, colorize: true, timestamp: true }, console_enabled: true }, viewpath: 'C:\\strider\\lib\\views', host: '0.0.0.0', port: 3000, server_name: 'http://localhost:6002', db_uri: 'mongodb://localhost/strider-foss', smtp_host: '', smtp_port: 587, smtp_user: '', smtp_pass: '', smtp_from: 'Strider <noreply@stridercd.com>', smtp_secure: '', enablePty: false, extpath: 'node_modules', session_secret: '8L8BudMkqBUqrz', github_app_id: '', github_secret: '', cors: false, body_parser_limit: false, _: [], smtp: undefined, stubSmtp: true, plugins: { github: { hostname: 'http://localhost:6002' } } } +0ms
13304 forked
  strider:config { logging: { exitOnError: true, file_enabled: false, console: { level: 0, colorize: true, timestamp: true }, console_enabled: true }, viewpath: 'C:\\strider\\lib\\views', host: '0.0.0.0', port: 3000, server_name: 'http://localhost:6002', db_uri: 'mongodb://localhost/strider-foss', smtp_host: '', smtp_port: 587, smtp_user: '', smtp_pass: '', smtp_from: 'Strider <noreply@stridercd.com>', smtp_secure: '', enablePty: false, extpath: 'node_modules', session_secret: '8L8BudMkqBUqrz', github_app_id: '', github_secret: '', cors: false, body_parser_limit: false, _: [], smtp: undefined, stubSmtp: true, plugins: { github: { hostname: 'http://localhost:6002' } } } +0ms
  strider-mailer stubbing smtp.. +1s
  strider Using MongoDB URL: mongodb://localhost/strider-foss +735ms
  strider No SMTP creds - forgot password flow will not work +38ms
2016-12-21T16:40:56.291Z - info: RUNNER INIT
  strider-docker-runner Overriding runner.processJob +0ms
  strider-docker-runner Fixing job queue handler +1ms
  strider-simple-runner RUNNER INIT +2s
  strider:load-extensions loaded templates +295ms
  strider:load-extensions initalized webapps +2s
  strider:load-extensions Found job plugins: +1ms
  strider:load-extensions   - artifact-repository +1ms
  strider:load-extensions   - aws_codedeploy +1ms
  strider:load-extensions   - bower +1ms
  strider:load-extensions   - custom +1ms
  strider:load-extensions   - docker_build +0ms
  strider:load-extensions   - dotnet +1ms
  strider:load-extensions   - emailnotifier +1ms
  strider:load-extensions   - env +0ms
  strider:load-extensions   - foodcritic +1ms
  strider:load-extensions   - github-status +1ms
  strider:load-extensions   - heroku +2ms
  strider:load-extensions   - metadata +1ms
  strider:load-extensions   - node +1ms
  strider:load-extensions   - npm-publish +0ms
  strider:load-extensions   - push +1ms
  strider:load-extensions   - python +1ms
  strider:load-extensions   - ruby +1ms
  strider:load-extensions   - sauce +0ms
  strider:load-extensions   - scheduler +1ms
  strider:load-extensions   - slack +1ms
  strider:load-extensions   - ssh_deploy +1ms
  strider:load-extensions   - status-report +0ms
  strider:load-extensions   - verstat +3ms
  strider:load-extensions Found runner plugins: +0ms
  strider:load-extensions   - docker +1ms
  strider:load-extensions   - simple-runner +1ms
  strider:load-extensions Found provider plugins: +1ms
  strider:load-extensions   - bitbucket +0ms
  strider:load-extensions   - git +1ms
  strider:load-extensions   - github +1ms
  strider:load-extensions   - gitlab +0ms
  strider:load-extensions   - hg +1ms
  strider:load-extensions   - shell-provider +1ms
  strider:load-extensions Found basic plugins: +0ms
  strider:load-extensions   - buildbadge +3ms
  strider:load-extensions initialized static directories +3ms
2016-12-21T16:40:58.583Z - info: [Scheduler]: Currently 0 branches are scheduled
  strider:routes:api:config loaded config pages +65ms
  strider:routes:api:config loaded account config pages +4ms
  strider:routes:api:config loaded plugin status blocks +12ms
  strider:load-extensions loaded plugins +1ms
2016-12-21T16:40:58.653Z - info: Express server listening on port 3000 in development mode
  strider:kill-zombies Marking zombie jobs as finished... +12ms
  strider:kill-zombies 1 zombie jobs marked as finished +12ms
  strider:routes:jobs Build page requested. Logging jobs to investigate duplicate job listings. +3s
  strider:routes:jobs [ { _id: 585ab07e90b0351a60d83ba0, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:40:30.891Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-21T16:40:30.891Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:40:30.930Z, finished: 2016-12-21T16:40:58.657Z, status: 'errored' }, { _id: 585ab05391d8803eb4682976, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:39:47.385Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-21T16:39:47.385Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:39:47.471Z, finished: 2016-12-21T16:40:17.428Z, status: 'errored' }, { _id: 585aaf59f9669d229001c507, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:35:37.458Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-21T16:35:37.458Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:35:37.505Z, finished: 2016-12-21T16:39:07.147Z, status: 'errored' }, { _id: 585aae3229d8ce1e20c2ebf6, type: 'TEST_AND_DEPLOY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:30:42.234Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Redeploying', timestamp: 2016-12-21T16:30:42.234Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:30:42.289Z, deploy_exitcode: -1, duration: 148533, error: { message: 'Cancelled by the user' }, finished: 2016-12-21T16:33:10.822Z, queued: 2016-12-21T16:30:42.280Z, test_exitcode: -1, status: 'errored' }, { _id: 585aad4d9880934088d738e9, type: 'TEST_AND_DEPLOY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:26:53.622Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Redeploying', timestamp: 2016-12-21T16:26:53.622Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:26:53.643Z, finished: 2016-12-21T16:30:28.945Z, status: 'errored' }, { _id: 585aacc39880934088d738e4, type: 'TEST_AND_DEPLOY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:24:35.731Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Redeploying', timestamp: 2016-12-21T16:24:35.731Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:24:35.752Z, deploy_exitcode: -1, duration: 137358, error: { message: 'Cancelled by the user' }, finished: 2016-12-21T16:26:53.110Z, queued: 2016-12-21T16:24:35.748Z, test_exitcode: -1, status: 'errored' }, { _id: 585aac039880934088d738df, type: 'TEST_AND_DEPLOY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:21:23.666Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Redeploying', timestamp: 2016-12-21T16:21:23.666Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:21:23.699Z, deploy_exitcode: -1, duration: 191540, error: { message: 'Cancelled by the user' }, finished: 2016-12-21T16:24:35.239Z, queued: 2016-12-21T16:21:23.690Z, test_exitcode: -1, status: 'errored' }, { _id: 585aaad99880934088d738da, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:16:25.922Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-21T16:16:25.922Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:16:26.079Z, deploy_exitcode: -1, duration: 283353, error: { message: 'Cancelled by the user' }, finished: 2016-12-21T16:21:09.432Z, queued: 2016-12-21T16:16:26.072Z, test_exitcode: -1, status: 'errored' }, { _id: 585aa9e9cdac7d4920ae2f7a, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:12:25.461Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-21T16:12:25.461Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:12:25.508Z, finished: 2016-12-21T16:16:19.774Z, status: 'errored' }, { _id: 585aa892104b571f540b690b, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-21T16:06:42.023Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-21T16:06:42.023Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-21T16:06:42.108Z, finished: 2016-12-21T16:12:10.981Z, status: 'errored' }, { _id: 58530c63e573c102d0d1a629, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-15T21:34:26.948Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-15T21:34:26.948Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-15T21:34:27.096Z, finished: 2016-12-19T22:36:06.879Z, status: 'errored' }, { _id: 5846078768e15a3014dc2461, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-06T00:34:15.056Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-06T00:34:15.056Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, finished: 2016-12-06T00:39:09.712Z, status: 'errored' }, { _id: 584600c168e15a3014dc2444, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-06T00:05:21.034Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-06T00:05:21.034Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-06T00:22:46.183Z, deploy_exitcode: -1, duration: 146615, error: { message: 'Cancelled by the user' }, finished: 2016-12-06T00:25:12.798Z, queued: 2016-12-06T00:05:21.048Z, test_exitcode: -1, status: 'errored' }, { _id: 5845fb7168e15a3014dc2423, type: 'TEST_ONLY', user_id: 5845d0e7bcd6d3222c3251db, project: { _id: 5845fb3468e15a3014dc2416, name: 'hanshammel/node-express-php', branches: [Object], public: false, display_url: 'https://github.com/HansHammel/node-express-php', display_name: 'HansHammel/node-express-php', provider: [Object], access_level: 2 }, ref: { branch: 'master' }, created: 2016-12-05T23:42:41.050Z, errored: true, warnings: [], trigger: { type: 'manual', message: 'Manually Retesting', timestamp: 2016-12-05T23:42:41.050Z, source: [Object], author: [Object] }, __v: 0, runner: { id: 'simple-runner' }, started: 2016-12-05T23:46:08.039Z, deploy_exitcode: -1, duration: 1131279, error: { message: 'Cancelled by the user' }, finished: 2016-12-06T00:04:59.318Z, queued: 2016-12-05T23:42:41.064Z, test_exitcode: -1, status: 'errored' } ] +0ms
  strider:http GET /hanshammel/node-express-php/ 200 224.423 ms - - +174ms
  strider:http GET /styles/plugin-status-compiled.css 304 10.165 ms - - +16ms
  strider:http GET /scripts/plugin-config-compiled.js 200 14.001 ms - - +21ms
  strider:http GET /scripts/account-plugins-compiled.js 304 7.053 ms - - +10ms
  strider:http GET /scripts/plugin-status-compiled.js 304 6.518 ms - - +14ms
    strider:backchannel job.prepare - error opening/processing project's `strider.json` file:  Error: not implemented
    at Object.getFile (C:\strider\node_modules\strider-git\webapp.js:40:10)
    at striderJson (C:\strider\lib\backchannel.js:38:21)
    at C:\strider\lib\backchannel.js:79:7
    at Function.<anonymous> (C:\strider\node_modules\mongoose\lib\model.js:3403:16)
    at C:\strider\node_modules\mongoose\lib\model.js:1899:14
    at C:\strider\node_modules\mongoose\node_modules\async\internal\parallel.js:35:9
    at C:\strider\node_modules\mongoose\node_modules\async\internal\once.js:12:16
    at iteratorCallback (C:\strider\node_modules\mongoose\node_modules\async\eachOf.js:52:13)
    at C:\strider\node_modules\mongoose\node_modules\async\internal\onlyOnce.js:12:16
    at C:\strider\node_modules\mongoose\node_modules\async\internal\parallel.js:32:13
    at apply (C:\strider\node_modules\lodash\_apply.js:15:25)
    at C:\strider\node_modules\lodash\_overRest.js:32:12
    at model.callbackWrapper (C:\strider\node_modules\mongoose\lib\model.js:1869:11)
    at next_ (C:\strider\node_modules\hooks-fixed\hooks.js:89:34)
    at fnWrapper (C:\strider\node_modules\hooks-fixed\hooks.js:186:8)
    at C:\strider\node_modules\mongoose\lib\model.js:3403:16
    at C:\strider\node_modules\mongoose\lib\model.js:233:5
    at C:\strider\node_modules\mongoose\lib\model.js:139:7
    at C:\strider\node_modules\mongoose\node_modules\mongodb\lib\collection.js:523:5
    at C:\strider\node_modules\mongoose\node_modules\mongodb\lib\collection.js:701:5
    at handleCallback (C:\strider\node_modules\mongoose\node_modules\mongodb\lib\utils.js:96:56)
    at C:\strider\node_modules\mongoose\node_modules\mongodb\lib\bulk\unordered.js:473:9
    at handleCallback (C:\strider\node_modules\mongoose\node_modules\mongodb\lib\utils.js:96:56)
    at resultHandler (C:\strider\node_modules\mongoose\node_modules\mongodb\lib\bulk\unordered.js:420:5)
    at C:\strider\node_modules\mongoose\node_modules\mongodb-core\lib\connection\pool.js:455:18
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9) +26s
  strider-simple-runner [runner:simple-runner] Queued new job. Project: hanshammel/node-express-php Job ID: 585ab0b71512f033f811850a +10ms
  strider:backchannel new job was created +3ms
  strider:backchannel job saved +20ms
  strider-simple-runner [runner:simple-runner] Job started. Project: hanshammel/node-express-php Job ID: 585ab0b71512f033f811850a +140ms
  strider-simple-runner Initializing plugins... +0ms
  strider-simple-runner Initializing plugin 'node'... +2ms
  strider-runner-core:job Creating new job "585ab0b71512f033f811850a" for project "HansHammel/node-express-php" using provider "git". +2ms
  strider-runner-core:job Running job "585ab0b71512f033f811850a"... +1ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: phase.done { '0': 'phase.done',
  '1':
   { phase: 'environment',
     time: 2016-12-21T16:41:27.900Z,
     exitCode: 0,
     next: 'prepare',
     elapsed: 2 } } +3ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" runs: git { cmd:
   { command: 'git',
     args:
      [ 'clone',
        '--recursive',
        'http://undefined:undefined@github.com/HansHammel/node-express-php.git',
        '.',
        '--branch',
        'master' ],
     screen: 'git clone --recursive http://[username]:[password]@github.com/HansHammel/node-express-php.git . --branch master' },
  cwd: 'C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a',
  env:
   { MOCHA_COLORS: 1,
     PATH: 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;C:\\strider\\node_modules\\.bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Program Files\\Microsoft MPI\\Bin\\;C:\\Users\\SomeUser\\AppData\\Local\\Programs\\Git\\cmd;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files\\7-Zip\\;C:\\mongodb\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\SomeUser\\AppData\\Roaming\\npm;C:\\apache-ant\\bin;C:\\android-sdk\\tools;C:\\android-sdk\\platform-tools;C:\\Program Files\\Java\\jdk1.8.0_112\\bin;C:\\Program Files\\Java\\jdk1.8.0_112\\jre\\bin;C:\\Program Files (x86)\\scala\\bin;C:\\Program Files\\graphicsmagick-1.3.19-q8;C:\\Program Files (x86)\\ImageMagick-6.8.6-Q16;C:\\Program Files (x86)\\mosquitto\\;C:\\Perl64\\bin;C:\\Ruby23-x64\\bin;C:\\PHP\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\Mercurial;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\WinMerge;C:\\Program Files (x86)\\IDM Computer Solutions\\UEStudio\\GNU\\subversion;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Emulator Manager\\1.0\\;C:\\CMake\\bin;C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files (x86)\\Pandoc\\;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps;%DNX_HOME%\\bin;%USERPROFILE%\\AppData\\Local\\Code\\bin',
     HOME: 'C:\\Users\\SomeUser',
     LANG: undefined,
     SSH_AUTH_SOCK: undefined,
     PAAS_NAME: 'strider' } } +22ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.start { '0': 'command.start',
  '1':
   { command: 'git clone --recursive http://[username]:[password]@github.com/HansHammel/node-express-php.git . --branch master',
     started: 2016-12-21T16:41:27.924Z,
     plugin: 'git',
     time: 2016-12-21T16:41:27.924Z } } +19ms
  strider-git:worker Git Version:2.1 +105ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr', '1': 'Cloning into \'.\'...\n' } +66ms
  strider:http GET /images/icons/favicon-running.png 200 12.540 ms - 933 +300ms
  strider:http GET /images/icons/favicon-running-alt.png 200 62.973 ms - 884 +551ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.done { '0': 'command.done',
  '1': { exitCode: 0, time: 2016-12-21T16:41:33.563Z, elapsed: 5639 } } +5s
  strider-runner-core:job Job "585ab0b71512f033f811850a" runs: git { cmd: 'git checkout --quiet --force master',
  cwd: 'C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a',
  env:
   { MOCHA_COLORS: 1,
     PATH: 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;C:\\strider\\node_modules\\.bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Program Files\\Microsoft MPI\\Bin\\;C:\\Users\\SomeUser\\AppData\\Local\\Programs\\Git\\cmd;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files\\7-Zip\\;C:\\mongodb\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\SomeUser\\AppData\\Roaming\\npm;C:\\apache-ant\\bin;C:\\android-sdk\\tools;C:\\android-sdk\\platform-tools;C:\\Program Files\\Java\\jdk1.8.0_112\\bin;C:\\Program Files\\Java\\jdk1.8.0_112\\jre\\bin;C:\\Program Files (x86)\\scala\\bin;C:\\Program Files\\graphicsmagick-1.3.19-q8;C:\\Program Files (x86)\\ImageMagick-6.8.6-Q16;C:\\Program Files (x86)\\mosquitto\\;C:\\Perl64\\bin;C:\\Ruby23-x64\\bin;C:\\PHP\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\Mercurial;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\WinMerge;C:\\Program Files (x86)\\IDM Computer Solutions\\UEStudio\\GNU\\subversion;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Emulator Manager\\1.0\\;C:\\CMake\\bin;C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files (x86)\\Pandoc\\;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps;%DNX_HOME%\\bin;%USERPROFILE%\\AppData\\Local\\Code\\bin',
     HOME: 'C:\\Users\\SomeUser',
     LANG: undefined,
     SSH_AUTH_SOCK: undefined,
     PAAS_NAME: 'strider' } } +3ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.start { '0': 'command.start',
  '1':
   { command: 'git checkout --quiet --force master',
     started: 2016-12-21T16:41:33.568Z,
     plugin: 'git',
     time: 2016-12-21T16:41:33.568Z } } +15ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.done { '0': 'command.done',
  '1': { exitCode: 0, time: 2016-12-21T16:41:33.671Z, elapsed: 103 } } +90ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: plugin-data { '0': 'plugin-data',
  '1':
   { plugin: 'node',
     data: { doTest: true },
     method: 'extend',
     path: undefined } } +3ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" runs: node { cmd:
   { command: 'npm',
     args: [ 'install', '--color=always' ],
     screen: 'npm install' },
  cwd: 'C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a',
  env:
   { MOCHA_COLORS: 1,
     PATH: 'C:\\strider\\node_modules\\strider-node\\node_modules\\.bin;C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a\\.globals\\node_modules\\.bin;C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;C:\\strider\\node_modules\\.bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Program Files\\Microsoft MPI\\Bin\\;C:\\Users\\SomeUser\\AppData\\Local\\Programs\\Git\\cmd;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files\\7-Zip\\;C:\\mongodb\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\SomeUser\\AppData\\Roaming\\npm;C:\\apache-ant\\bin;C:\\android-sdk\\tools;C:\\android-sdk\\platform-tools;C:\\Program Files\\Java\\jdk1.8.0_112\\bin;C:\\Program Files\\Java\\jdk1.8.0_112\\jre\\bin;C:\\Program Files (x86)\\scala\\bin;C:\\Program Files\\graphicsmagick-1.3.19-q8;C:\\Program Files (x86)\\ImageMagick-6.8.6-Q16;C:\\Program Files (x86)\\mosquitto\\;C:\\Perl64\\bin;C:\\Ruby23-x64\\bin;C:\\PHP\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\Mercurial;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\WinMerge;C:\\Program Files (x86)\\IDM Computer Solutions\\UEStudio\\GNU\\subversion;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Emulator Manager\\1.0\\;C:\\CMake\\bin;C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files (x86)\\Pandoc\\;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps;%DNX_HOME%\\bin;%USERPROFILE%\\AppData\\Local\\Code\\bin',
     HOME: 'C:\\Users\\SomeUser',
     LANG: undefined,
     SSH_AUTH_SOCK: undefined,
     PAAS_NAME: 'strider' } } +3ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.start { '0': 'command.start',
  '1':
   { command: 'npm install',
     started: 2016-12-21T16:41:33.678Z,
     plugin: 'node',
     time: 2016-12-21T16:41:33.678Z } } +11ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr', '1': '\u001b[37;40mnpm\u001b[0m' } +3s
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr',
  '1': ' \u001b[0m\u001b[30;43mWARN\u001b[0m \u001b[0m\u001b[35mdeprecated\u001b[0m to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.\n\u001b[0m' } +1ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr', '1': '\u001b[37;40mnpm\u001b[0m' } +9ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr',
  '1': ' \u001b[0m\u001b[30;43mWARN\u001b[0m \u001b[0m\u001b[35mdeprecated\u001b[0m jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade\n\u001b[0m' } +3ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr', '1': '\u001b[37;40mnpm\u001b[0m' } +150ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr',
  '1': ' \u001b[0m\u001b[30;43mWARN\u001b[0m \u001b[0m\u001b[35mdeprecated\u001b[0m minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\n\u001b[0m' } +2ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stdout { '0': 'stdout',
  '1': 'node-express-php@0.0.2 C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a\n+-- \u001b[40m\u001b[33mmocha@2.5.3\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mcommander@2.3.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mdebug@2.2.0\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mms@0.7.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mdiff@1.4.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mescape-string-regexp@1.0.2\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mglob@3.2.11\u001b[39m\u001b[49m \n| | +-- \u001b[40m\u001b[33minherits@2.0.3\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mminimatch@0.3.0\u001b[39m\u001b[49m \n| |   +-- \u001b[40m\u001b[33mlru-cache@2.7.3\u001b[39m\u001b[49m \n| |   `-- \u001b[40m\u001b[33msigmund@1.0.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mgrowl@1.9.2\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mjade@0.26.3\u001b[39m\u001b[49m \n| | +-- \u001b[40m\u001b[33mcommander@0.6.1\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mmkdirp@0.3.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mmkdirp@0.5.1\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mminimist@0.0.8\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33msupports-color@1.2.0\u001b[39m\u001b[49m \n| `-- \u001b[40m\u001b[33mto-iso-string@0.0.2\u001b[39m\u001b[49m \n+-- \u001b[40m\u001b[33mquerystring@0.2.0\u001b[39m\u001b[49m \n+-- \u001b[40m\u001b[33msanitize-filename@1.6.1\u001b[39m\u001b[49m \n| `-- \u001b[40m\u001b[33mtruncate-utf8-bytes@1.0.2\u001b[39m\u001b[49m \n|   `-- \u001b[40m\u001b[33mutf8-byte-length@1.0.4\u001b[39m\u001b[49m \n+-- \u001b[40m\u001b[33mshould@8.4.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mshould-equal@0.8.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mshould-format@0.3.2\u001b[39m\u001b[49m \n| `-- \u001b[40m\u001b[33mshould-type@0.2.0\u001b[39m\u001b[49m \n`-- \u001b[40m\u001b[33msupertest@1.2.0\u001b[39m\u001b[49m \n  +-- \u001b[40m\u001b[33mmethods@1.1.2\u001b[39m\u001b[49m \n  `-- \u001b[40m\u001b[33msuperagent@1.8.5\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mcomponent-emitter@1.2.1\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mcookiejar@2.0.6\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mextend@3.0.0\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mform-data@1.0.0-rc3\u001b[39m\u001b[49m \n    | +-- \u001b[40m\u001b[33masync@1.5.2\u001b[39m\u001b[49m \n    | +-- \u001b[40m\u001b[33mcombined-stream@1.0.5\u001b[39m\u001b[49m \n    | | `-- \u001b[40m\u001b[33mdelayed-stream@1.0.0\u001b[39m\u001b[49m \n    | `-- \u001b[40m\u001b[33mmime-types@2.1.13\u001b[39m\u001b[49m \n    |   `-- \u001b[40m\u001b[33mmime-db@1.25.0\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mformidable@1.0.17\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mmime@1.3.4\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mqs@2.3.3\u001b[39m\u001b[49m \n    +-- \u001b[40m\u001b[33mreadable-stream@1.0.27-1\u001b[39m\u001b[49m \n    | +-- \u001b[40m\u001b[33mcore-util-is@1.0.2\u001b[39m\u001b[49m \n    | +-- \u001b[40m\u001b[33misarray@0.0.1\u001b[39m\u001b[49m \n    | `-- \u001b[40m\u001b[33mstring_decoder@0.10.31\u001b[39m\u001b[49m \n    `-- \u001b[40m\u001b[33mreduce-component@1.0.1\u001b[39m\u001b[49m \n\n' } +4s
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.done { '0': 'command.done',
  '1': { exitCode: 0, time: 2016-12-21T16:41:41.984Z, elapsed: 8306 } } +1s
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: phase.done { '0': 'phase.done',
  '1':
   { phase: 'prepare',
     time: 2016-12-21T16:41:41.985Z,
     exitCode: 0,
     next: 'test',
     elapsed: 14081 } } +1ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" runs: node { cmd:
   { command: 'npm',
     args: [ 'test', '--color=always' ],
     screen: 'npm test' },
  cwd: 'C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a',
  env:
   { MOCHA_COLORS: 1,
     PATH: 'C:\\strider\\node_modules\\strider-node\\node_modules\\.bin;C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a\\.globals\\node_modules\\.bin;C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;C:\\strider\\node_modules\\.bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Program Files\\Microsoft MPI\\Bin\\;C:\\Users\\SomeUser\\AppData\\Local\\Programs\\Git\\cmd;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files\\7-Zip\\;C:\\mongodb\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\SomeUser\\AppData\\Roaming\\npm;C:\\apache-ant\\bin;C:\\android-sdk\\tools;C:\\android-sdk\\platform-tools;C:\\Program Files\\Java\\jdk1.8.0_112\\bin;C:\\Program Files\\Java\\jdk1.8.0_112\\jre\\bin;C:\\Program Files (x86)\\scala\\bin;C:\\Program Files\\graphicsmagick-1.3.19-q8;C:\\Program Files (x86)\\ImageMagick-6.8.6-Q16;C:\\Program Files (x86)\\mosquitto\\;C:\\Perl64\\bin;C:\\Ruby23-x64\\bin;C:\\PHP\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\Mercurial;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\WinMerge;C:\\Program Files (x86)\\IDM Computer Solutions\\UEStudio\\GNU\\subversion;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft Emulator Manager\\1.0\\;C:\\CMake\\bin;C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files (x86)\\Pandoc\\;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps;%DNX_HOME%\\bin;%USERPROFILE%\\AppData\\Local\\Code\\bin',
     HOME: 'C:\\Users\\SomeUser',
     LANG: undefined,
     SSH_AUTH_SOCK: undefined,
     PAAS_NAME: 'strider' } } +2ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: command.start { '0': 'command.start',
  '1':
   { command: 'npm test',
     started: 2016-12-21T16:41:41.988Z,
     plugin: 'node',
     time: 2016-12-21T16:41:41.988Z } } +13ms
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stdout { '0': 'stdout',
  '1': '\n> node-express-php@0.0.2 pretest C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a\n> cd example && npm install\n\n' } +2s
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stdout { '0': 'stdout',
  '1': 'node-express-php-example@1.0.0 C:\\Users\\SomeUser\\.strider\\data\\hanshammel-node-express-php-master\\job-585ab0b71512f033f811850a\\example\n+-- \u001b[40m\u001b[33mexpress@4.14.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33maccepts@1.3.3\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mnegotiator@0.6.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33marray-flatten@1.1.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mcontent-disposition@0.5.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mcontent-type@1.0.2\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mcookie@0.3.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mcookie-signature@1.0.6\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mdebug@2.2.0\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mms@0.7.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mdepd@1.1.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mencodeurl@1.0.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mescape-html@1.0.3\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33metag@1.7.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mfinalhandler@0.5.0\u001b[39m\u001b[49m \n| | +-- \u001b[40m\u001b[33mstatuses@1.3.1\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33munpipe@1.0.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mfresh@0.3.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mmerge-descriptors@1.0.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mmethods@1.1.2\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mon-finished@2.3.0\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mee-first@1.1.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mparseurl@1.3.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mpath-to-regexp@0.1.7\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mproxy-addr@1.1.2\u001b[39m\u001b[49m \n| | +-- \u001b[40m\u001b[33mforwarded@0.1.0\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mipaddr.js@1.1.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mqs@6.2.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mrange-parser@1.2.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33msend@0.14.1\u001b[39m\u001b[49m \n| | +-- \u001b[40m\u001b[33mdestroy@1.0.4\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mmime@1.3.4\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mserve-static@1.11.1\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mtype-is@1.6.14\u001b[39m\u001b[49m \n| | `-- \u001b[40m\u001b[33mmedia-typer@0.3.0\u001b[39m\u001b[49m \n| +-- \u001b[40m\u001b[33mutils-merge@1.0.0\u001b[39m\u001b[49m \n| `-- \u001b[40m\u001b[33mvary@1.1.0\u001b[39m\u001b[49m \n+-- \u001b[40m\u001b[33mopen@0.0.5\u001b[39m\u001b[49m \n`-- \u001b[40m\u001b[33mserve-index@1.8.0\u001b[39m\u001b[49m \n  +-- \u001b[40m\u001b[33mbatch@0.5.3\u001b[39m\u001b[49m \n  +-- \u001b[40m\u001b[33mhttp-errors@1.5.1\u001b[39m\u001b[49m \n  | +-- \u001b[40m\u001b[33minherits@2.0.3\u001b[39m\u001b[49m \n  | `-- \u001b[40m\u001b[33msetprototypeof@1.0.2\u001b[39m\u001b[49m \n  `-- \u001b[40m\u001b[33mmime-types@2.1.13\u001b[39m\u001b[49m \n    `-- \u001b[40m\u001b[33mmime-db@1.25.0\u001b[39m\u001b[49m \n\n' } +6s
  strider-runner-core:job Job "585ab0b71512f033f811850a" status: stderr { '0': 'stderr',
  '1': '\u001b[37;40mnpm\u001b[0m \u001b[0m\u001b[30;43mWARN\u001b[0m\u001b[35m\u001b[0m node-express-php-example@1.0.0 No description\n\u001b[0m\u001b[37;40mnpm\u001b[0m \u001b[0m\u001b[30;43mWARN\u001b[0m\u001b[35m\u001b[0m node-express-php-example@1.0.0 No repository field.\n\u001b[0m\u001b[37;40mnpm\u001b[0m \u001b[0m\u001b[31;40mERR!\u001b[0m\u001b[35m\u001b[0m Test failed.  See above for more details.\n\u001b[0m' } +11s
2016-12-21T16:42:00.591Z - error: (node:13304) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn undefined ENOENT
> node-express-php@0.0.2 pretest C:\Users\SomeUser\.strider\data\hanshammel-node-express-php-master\job-585ab0b71512f033f811850a
> cd example && npm install

node-express-php-example@1.0.0 C:\Users\SomeUser\.strider\data\hanshammel-node-express-php-master\job-585ab0b71512f033f811850a\example
+-- express@4.14.0
| +-- accepts@1.3.3
| | `-- negotiator@0.6.1
| +-- array-flatten@1.1.1
| +-- content-disposition@0.5.1
| +-- content-type@1.0.2
| +-- cookie@0.3.1
| +-- cookie-signature@1.0.6
| +-- debug@2.2.0
| | `-- ms@0.7.1
| +-- depd@1.1.0
| +-- encodeurl@1.0.1
| +-- escape-html@1.0.3
| +-- etag@1.7.0
| +-- finalhandler@0.5.0
| | +-- statuses@1.3.1
| | `-- unpipe@1.0.0
| +-- fresh@0.3.0
| +-- merge-descriptors@1.0.1
| +-- methods@1.1.2
| +-- on-finished@2.3.0
| | `-- ee-first@1.1.1
| +-- parseurl@1.3.1
| +-- path-to-regexp@0.1.7
| +-- proxy-addr@1.1.2
| | +-- forwarded@0.1.0
| | `-- ipaddr.js@1.1.1
| +-- qs@6.2.0
| +-- range-parser@1.2.0
| +-- send@0.14.1
| | +-- destroy@1.0.4
| | `-- mime@1.3.4
| +-- serve-static@1.11.1
| +-- type-is@1.6.14
| | `-- media-typer@0.3.0
| +-- utils-merge@1.0.0
| `-- vary@1.1.0
+-- open@0.0.5
`-- serve-index@1.8.0
  +-- batch@0.5.3
  +-- http-errors@1.5.1
  | +-- inherits@2.0.3
  | `-- setprototypeof@1.0.2
  `-- mime-types@2.1.13
    `-- mime-db@1.25.0

> node-express-php@0.0.2 test C:\Users\SomeUser\.strider\data\hanshammel-node-express-php-master\job-585ab0b71512f033f811850a
> mocha test/app.js



  node-express-php
<Buffer 50 48 50 20 57 61 72 6e 69 6e 67 3a 20 20 50 48 50 20 53 74 61 72 74 75 70 3a 20 6d 79 73 71 6c 3a 20 55 6e 61 62 6c 65 20 74 6f 20 69 6e 69 74 69 61 ... >
    1) should responded with html and status code 200
<Buffer 50 48 50 20 57 61 72 6e 69 6e 67 3a 20 20 50 48 50 20 53 74 61 72 74 75 70 3a 20 6d 79 73 71 6c 3a 20 55 6e 61 62 6c 65 20 74 6f 20 69 6e 69 74 69 61 ... >
    2) should serve "Hello World" content
    3) "after all" hook


  0 passing (2s)
  3 failing

  1) node-express-php should responded with html and status code 200:
     Uncaught Error: Invalid character in statusMessage.
      at ServerResponse.writeHead (_http_server.js:195:11)
      at ChildProcess.<anonymous> (C:\Users\SomeUser\.strider\data\hanshammel-node-express-php-master\job-585ab0b71512f033f811850a\lib\index.js:383:33)
      at maybeClose (internal/child_process.js:877:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

  2) node-express-php should serve "Hello World" content:
     Uncaught Error: Invalid character in statusMessage.
      at ServerResponse.writeHead (_http_server.js:195:11)
      at ChildProcess.<anonymous> (C:\Users\SomeUser\.strider\data\hanshammel-node-express-php-master\job-585ab0b71512f033f811850a\lib\index.js:383:33)
      at maybeClose (internal/child_process.js:877:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

  3) node-express-php "after all" hook:
     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
      at Timeout.<anonymous> (C:\Users\SomeUser\.strider\data\hanshammel-node-express-php-master\job-585ab0b71512f033f811850a\node_modules\mocha\lib\runnable.js:226:19)

Note the time of the previous test. The later test failed within 30 seconds...
image

@oliversalzburg
Copy link
Member

So I'm seeing the UnhandledPromiseRejectionWarning for an Error: spawn undefined ENOENT. This might indicate that Strider tried to execute something, which it couldn't and we're not handling that error. This might be the cause for what's happening here, but it could also be completely unrelated :P

A clear red flag is that you seem to be running Strider on Windows. I am not aware of anyone successfully running Strider on Windows. I myself have invested quite some effort simply getting Strider to run at all on Windows for development purposes.

One of the main issues with Strider/Node/npm on Windows are the hooks and scripts. When you declare a pretest hook as cd example && npm install, it is possible that one of the components will attempt to execute that using cmd. cmd will not understand cd example && npm install as the && operator is not valid on cmd.

That being said, as long as there is any chance that this is a Windows-related problem, nobody is likely to look into it as Windows is not really a supported platform to run Strider on.

I would recommend to run Strider on a Linux system or in Docker if the former is not available.

@HansHammel
Copy link
Author

HansHammel commented Dec 22, 2016

nope! The ; is invalid && is perfectly fine on windows. One of the most common mistakes of *nix-developers is to use ;. And yes, maybe I tweeked some things around to get it working. But it is working well for me except this annoying thing. btw. on more common thing ist not to use path.join over hard coded slashes, as you might know. I will investigate myself what is going on. Docker is not an option cause it has conflicts with some other vm-products. And, I am developing cross plattform (on windows for linux, to be precicse) and IMHO any developer should do so. I deployed a real huge project with a hunderet primary dependencies on linux after two year of development and it worked flawless. OK, I did one test after the first year. It is just a matter of knowing both systems to get it right... Greetings. BTW nice project. Keep going.

@oliversalzburg
Copy link
Member

The ; is invalid && is perfectly fine on windows

Hmm, good point. Although I still feel like there was some issue with &&, but maybe I'm just remembering it wrong.

Either way, two of the most prominent issues with Strider on Windows were the SSH/PK integration through gitane and the use of n as a version manager for Node. In case you want to go investigating :)

@knownasilya
Copy link
Member

I think you are referring to the & issue.

@HansHammel
Copy link
Author

HansHammel commented Dec 22, 2016

Waht &-issue!? On windows & works also (UPDATE: Nope! & is a command seperator like ; on windows, it does NOT chain the exit codes!), the && is for shell compatibility to chain the exit codes.
btw. I am using a full blow MSYS2/MinGW & Cygwin envoronment. Maybe thats the reason strider works almost fine for me. I have encountered a wired encoding issue. I had to apply a funny patch to my tests to pass - just to your pleasure:

 if (process.env.PAAS_NAME == "strider")
        	    filecontent = fs.readFileSync(path.join(__dirname, 'fixme.withcolor.emu.' + (os.EOL === "\r\n" ? 'crlf' : 'lf') + '.txt'), 'utf8');
        	  else
        	    filecontent = fs.readFileSync(path.join(__dirname, 'fixme.withcolor.' + (os.EOL === "\r\n" ? 'crlf' : 'lf') + '.txt'), 'utf8');

Maybe strider is using a bash shell, which is available on path...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants