Revisions for ⁨@wdio/local-runner fails to start test session⁩

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2021-04-16 18:26:02 UTC

pastefile1

@@ -0,0 +1,40 @@

+
+Execution of 1 spec files started at 2021-04-16T18:12:49.432Z
+
+2021-04-16T18:12:49.433Z DEBUG @wdio/utils:initialiseServices: initialise service "chromedriver" as NPM package
+(node:70210) ExperimentalWarning: The dns.promises API is experimental
+(node:70210) ExperimentalWarning: The fs.promises API is experimental
+2021-04-16T18:12:49.520Z INFO @wdio/cli:launcher: Run onPrepare hook
+Starting ChromeDriver 89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}) on port 9515
+Only local connections are allowed.
+Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
+ChromeDriver was started successfully.
+2021-04-16T18:12:49.639Z DEBUG @wdio/cli:utils: Finished to run "onPrepare" hook in 118ms
+2021-04-16T18:12:49.641Z INFO @wdio/cli:launcher: Run onWorkerStart hook
+2021-04-16T18:12:49.641Z DEBUG @wdio/cli:utils: Finished to run "onWorkerStart" hook in 0ms
+2021-04-16T18:12:49.642Z INFO @wdio/local-runner: Start worker 0-0 with arg: wdio.dev.conf.js,--cucumberOpts.require=./test/features/step_definitions/**/*.js,--cucumberOpts.tagExpression=@debug,--logLevel=trace
+[0-0] (node:70215) ExperimentalWarning: The dns.promises API is experimental
+[0-0] (node:70215) ExperimentalWarning: The fs.promises API is experimental
+[0-0] 2021-04-16T18:12:50.155Z INFO @wdio/local-runner: Run worker command: run
+[0-0] 2021-04-16T18:12:50.157Z DEBUG @wdio/config:utils: Couldn't find ts-node package, no TypeScript compiling
+[0-0] 2021-04-16T18:12:50.494Z DEBUG @wdio/local-runner:utils: init remote session
+[0-0] 2021-04-16T18:12:50.534Z DEBUG @wdio/utils:initialiseServices: initialise service "chromedriver" as NPM package
+[0-0] 2021-04-16T18:12:50.904Z ERROR @wdio/local-runner: Failed launching test session: TypeError: this._framework.init is not a function
+    at Runner.run (/Users/xnraveen/git/nest/nuxeo-functional-tests/node_modules/@wdio/runner/build/index.js:47:49)
+    at process._tickCallback (internal/process/next_tick.js:68:7)
+2021-04-16T18:12:50.942Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 1
+/Users/xnraveen/git/nest/nuxeo-functional-tests/node_modules/@wdio/cli/build/interface.js:127
+            throw new Error('Could not find job');
+            ^
+
+Error: Could not find job
+    at WDIOCLInterface.clearJob (/Users/xnraveen/git/nest/nuxeo-functional-tests/node_modules/@wdio/cli/build/interface.js:127:19)
+    at WDIOCLInterface.emit (events.js:182:13)
+    at WDIOCLInterface.EventEmitter.emit (domain.js:442:20)
+    at Launcher.endHandler (/Users/xnraveen/git/nest/nuxeo-functional-tests/node_modules/@wdio/cli/build/launcher.js:222:28)
+    at WorkerInstance.emit (events.js:182:13)
+    at WorkerInstance.EventEmitter.emit (domain.js:442:20)
+    at WorkerInstance._handleExit (/Users/xnraveen/git/nest/nuxeo-functional-tests/node_modules/@wdio/local-runner/build/worker.js:93:14)
+    at ChildProcess.emit (events.js:182:13)
+    at ChildProcess.EventEmitter.emit (domain.js:442:20)
+    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
\ No newline at end of file