SauceLabs is constantly failing with the following error:
10:30:25 > karma start --package ui --coverage 10:30:25 10:30:26 10:30:26 START: 10:30:26 [91m15 12 2020 10:30:26.411:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.414:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.415:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.415:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.416:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.416:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.416:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.416:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.425:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.425:ERROR [launcher]: [39mchrome latest (Windows 10) on SauceLabs failed 2 times (failure). Giving up. 10:30:26 [91m15 12 2020 10:30:26.425:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.425:ERROR [launcher]: [39mfirefox latest (Windows 10) on SauceLabs failed 2 times (failure). Giving up. 10:30:26 [91m15 12 2020 10:30:26.425:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.425:ERROR [launcher]: [39mmicrosoftedge latest (Windows 10) on SauceLabs failed 2 times (failure). Giving up. 10:30:26 [91m15 12 2020 10:30:26.426:ERROR [SaucelabsLauncher]: [39mError: Could not start Sauce Connect. Exit code 1 signal: null 10:30:26 at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/nuxeo-elements_maintenance-3.0.x/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:566:12) 10:30:26 at ChildProcess.emit (events.js:193:13) 10:30:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) 10:30:26 [91m15 12 2020 10:30:26.426:ERROR [launcher]: [39msafari latest (macOS 10.13) on SauceLabs failed 2 times (failure). Giving up.
Sometimes it happens with the ui package, other times with dataviz, but not with the core package. Running locally against SauceLabs, it succeeds from some machines and fails on others, with different errors.
The following help solve the issue:
- Bumping the karma-sauce-launcher version
- Increate the capture timeout
- Waiting some time between test suites, to allow more time for the tunnel to the remote saucelabs server to be closed
- is related to
-
ELEMENTS-1302 Fix storybook build on JX
- Resolved
-
ELEMENTS-1295 Fix SauceLabs connectivity issues
- Resolved
- Is referenced in