{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/3069","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/3069/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/3069/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/3069/events","html_url":"https://github.com/webdriverio/webdriverio/issues/3069","id":383743099,"node_id":"MDU6SXNzdWUzODM3NDMwOTk=","number":3069,"title":"[Win10] Only test passes but suite fails w/ TypeError: this._redirectLogStream is not a function","user":{"login":"nextlevelbeard","id":3788982,"node_id":"MDQ6VXNlcjM3ODg5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/3788982?v=4","gravatar_id":"","url":"https://api.github.com/users/nextlevelbeard","html_url":"https://github.com/nextlevelbeard","followers_url":"https://api.github.com/users/nextlevelbeard/followers","following_url":"https://api.github.com/users/nextlevelbeard/following{/other_user}","gists_url":"https://api.github.com/users/nextlevelbeard/gists{/gist_id}","starred_url":"https://api.github.com/users/nextlevelbeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextlevelbeard/subscriptions","organizations_url":"https://api.github.com/users/nextlevelbeard/orgs","repos_url":"https://api.github.com/users/nextlevelbeard/repos","events_url":"https://api.github.com/users/nextlevelbeard/events{/privacy}","received_events_url":"https://api.github.com/users/nextlevelbeard/received_events","type":"User","site_admin":false},"labels":[{"id":32695218,"node_id":"MDU6TGFiZWwzMjY5NTIxOA==","url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Bug%F0%9F%90%9B","name":"Bug🐛","color":"e10c02","default":false},{"id":1034225927,"node_id":"MDU6TGFiZWwxMDM0MjI1OTI3","url":"https://api.github.com/repos/webdriverio/webdriverio/labels/wdio-cli","name":"wdio-cli","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"christian-bromann","id":731337,"node_id":"MDQ6VXNlcjczMTMzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/731337?v=4","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false},"assignees":[{"login":"christian-bromann","id":731337,"node_id":"MDQ6VXNlcjczMTMzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/731337?v=4","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-11-23T08:57:10Z","updated_at":"2018-12-25T22:12:58Z","closed_at":"2018-12-04T08:54:24Z","author_association":"NONE","body":"**Environment:**\r\n - **WebdriverIO version:5.0.0-beta.10**\r\n - **Mode: WDIO Testrunner**\r\n - **Running sync**\r\n - **Node.js version: 8.9.0 or 10.13.0**\r\n - **NPM version: 6.4.1**\r\n - **Browser name and version: N/A**\r\n - **Platform name and version: Windows 10**\r\n - **Additional wdio packages used (if applicable): N/A**\r\n\r\n**Config of WebdriverIO**\r\n```\r\nconst path = require('path');\r\n\r\nconst LOG_PATH = path.join(__dirname, 'logs');\r\n\r\nexports.config = {\r\n    runner: 'local',\r\n    specs: ['./tests/e2e/steps/*'],\r\n    maxInstances: 10,\r\n    capabilities: [{\r\n        browserName: 'firefox',\r\n    }],\r\n    sync: true,\r\n    logLevel: 'debug',\r\n    deprecationWarnings: true,\r\n    bail: 0,\r\n    baseUrl: 'http://google.com',\r\n    waitforTimeout: 10000,\r\n    connectionRetryTimeout: 90000,\r\n    connectionRetryCount: 3,\r\n    services: [\r\n        'selenium-standalone',\r\n    ],//\r\n    framework: 'mocha',\r\n    reporters: [\r\n        //\"@wdio/concise-reporter\",\r\n        //\"@wdio/dot-reporter\",\r\n        //\"@wdio/junit-reporter\",\r\n        \"@wdio/spec-reporter\"\r\n    ],\r\n    mochaOpts: {\r\n        ui: 'bdd',\r\n        timeout: 30000,\r\n        compilers: ['js:babel-core/register']\r\n    },\r\n};\r\n```\r\n\r\n**Describe the bug**\r\nAll tests pass and yet the suite overall still fails.\r\n\r\n**To Reproduce**\r\nSimple Mocha test just opening a URL. \r\n\r\n```\r\nimport { expect } from 'chai'\r\n\r\ndescribe('Test', () => {\r\n    it('test', () => {\r\n        browser.url('/');\r\n    })\r\n});\r\n```\r\n\r\n**Expected behavior**\r\nTest suite should pass along with the single test.\r\n\r\n**Log**\r\n`wdio.log`\r\n```\r\n2018-11-23T08:42:27.883Z DEBUG wdio-config: wdio-sync found, running tests synchronous\r\n2018-11-23T08:42:28.870Z DEBUG wdio-cli:run: Run suite with config ./tests/e2e/configs/wdio.conf.js and params { _: [ './tests/e2e/configs/wdio.conf.js' ],\r\n  spec: [ '.\\\\tests\\\\e2e\\\\steps\\\\visual.js' ],\r\n  '$0': 'node_modules\\\\@wdio\\\\cli\\\\bin\\\\wdio.js' }\r\n2018-11-23T08:42:29.076Z INFO wdio-cli:Launcher: Run onPrepare hook\r\n2018-11-23T08:42:30.932Z ERROR wdio-cli:utils: A service failed in the 'onPrepare' hook\r\nTypeError: this._redirectLogStream is not a function\r\n    at Object.onPrepare (C:\\Users\\[REDACTED]\\IntelliJIDEAProjects\\wdio-base-e2e\\node_modules\\@wdio\\selenium-standalone-service\\src\\launcher.js:26:18)\r\n    at process._tickCallback (internal/process/next_tick.js:68:7)\r\n\r\nContinue...\r\n2018-11-23T08:42:30.935Z INFO wdio-local-runner: Start worker 0-0 with arg: ./tests/e2e/configs/wdio.conf.js,--spec,.\\tests\\e2e\\steps\\visual.js\r\n2018-11-23T08:42:39.012Z DEBUG wdio-local-runner: Runner 0-0 finished with exit code 1\r\n2018-11-23T08:42:39.123Z INFO wdio-cli:Launcher: Run onComplete hook\r\n\r\n```\r\n\r\n**Additional context**\r\n`Output`\r\n```\r\n\"@wdio/spec-reporter\" Reporter:\r\n    ------------------------------------------------------------------\r\n[firefox 10.0 windows #0-0] Spec: C:\\Users\\[REDACTED]\\IntelliJIDEAProjects\\wdio-base-e2e\\tests\\e2e\\steps\\visual.js\r\n[firefox 10.0 windows #0-0] Running: firefox (v10.0) on windows\r\n[firefox 10.0 windows #0-0]\r\n[firefox 10.0 windows #0-0] Test\r\n[firefox 10.0 windows #0-0]    ✓ Simple test\r\n[firefox 10.0 windows #0-0]\r\n[firefox 10.0 windows #0-0] 1 passing (3.2s)\r\n\r\nStdout:\r\n    [0-0] Hello\r\n\r\nStderr:\r\n(node:20644) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n[0-0] (node:19996) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n\r\nTest Suites:     0 passed, 1 failed, 1 total (100% completed)\r\nTime:            🕛  10.23s\r\n\r\nEnded WebDriver sessions gracefully after a SIGINT signal was received!\r\n\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! wdio-base-e2e@0.0.1 test:e2e: `wdio ./tests/e2e/configs/wdio.conf.js \"--spec\" \".\\test\\e2e\\steps\\visual.js\"`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the wdio-base-e2e@0.0.1 test:e2e script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     C:\\Users\\[REDACTED]\\AppData\\Roaming\\npm-cache\\_logs\\2018-11-23T08_42_39_178Z-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/449876399","html_url":"https://github.com/webdriverio/webdriverio/issues/3069#issuecomment-449876399","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/3069","id":449876399,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg3NjM5OQ==","user":{"login":"christian-bromann","id":731337,"node_id":"MDQ6VXNlcjczMTMzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/731337?v=4","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false},"created_at":"2018-12-25T22:12:58Z","updated_at":"2018-12-25T22:12:58Z","author_association":"MEMBER","body":"@smarigowda this doesn't help much .. please provide a reproducible example."}}
{"actor":{"display_login":"christian-bromann"}}