-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: WEBUI-1.0.0
-
Fix Version/s: 9.2
-
Tags:
-
Sprint:nxGang Sprint 9.2.4, nxGang Sprint 9.2.5, nxGang Sprint 9.2.6
-
Story Points:3
We have a lot of random failures like:
08:17:16 [INFO] [exec] [31m✖ When I click the "personalWorkspace" button[39m 08:17:16 [INFO] [exec] [31m[chimp][hooks][39m Error: no such session 08:17:16 [INFO] [exec] at Object.saveScreenshotsToDisk (node_modules/chimp/dist/lib/screenshot-helper.js:16:28) 08:17:16 [INFO] [exec] at node_modules/chimp/dist/lib/cucumberjs/hooks.js:60:26 08:17:16 [INFO] [exec] at node_modules/meteor-promise/fiber_pool.js:32:39 08:17:16 [INFO] [exec] (Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 4.4.0-62-generic x86_64) 08:17:17 [INFO] [exec] fs.js:640 08:17:17 [INFO] [exec] return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); 08:17:17 [INFO] [exec] ^ 08:17:17 [INFO] [exec] Error: ENOENT: no such file or directory, open './target/cucumber-reports/report.json' 08:17:17 [INFO] [exec] at Error (native) 08:17:17 [INFO] [exec] at Object.fs.openSync (fs.js:640:18) 08:17:17 [INFO] [exec] at Object.fs.readFileSync (fs.js:508:33) 08:17:17 [INFO] [exec] at writeJUnitReport (/opt/jenkins/workspace/master/plugins_nuxeo-web-ui-master-8.10/nuxeo-web-ui-ftest/webdriver/scripts/test.js:17:43) 08:17:17 [INFO] [exec] at ChildProcess.chimp.on (/opt/jenkins/workspace/master/plugins_nuxeo-web-ui-master-8.10/nuxeo-web-ui-ftest/webdriver/scripts/test.js:26:3) 08:17:17 [INFO] [exec] at emitTwo (events.js:106:13) 08:17:17 [INFO] [exec] at ChildProcess.emit (events.js:191:7) 08:17:17 [INFO] [exec] at maybeClose (internal/child_process.js:852:16) 08:17:17 [INFO] [exec] at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 08:17:17 [INFO] [exec] npm info lifecycle nuxeo-web-ui-webdriver@1.0.0~test: Failed to exec test script 08:17:17 [INFO] [exec] npm ERR! Test failed. See above for more details.
(https://qa.nuxeo.org/jenkins/job/master/job/plugins_nuxeo-web-ui-master-8.10/391/console)
or
22:49:15 [INFO] [exec] [31m[chimp] Detected an unhandledRejection:[39m 22:49:15 [INFO] [exec] [31m[chimp][hooks][39m Error: chrome not reachable 22:49:15 [INFO] [exec] at Object.saveScreenshotsToDisk (node_modules/chimp/dist/lib/screenshot-helper.js:16:28) 22:49:15 [INFO] [exec] at node_modules/chimp/dist/lib/cucumberjs/hooks.js:60:26 22:49:15 [INFO] [exec] at node_modules/meteor-promise/fiber_pool.js:32:39 22:49:15 [INFO] [exec] fs.js:640 22:49:15 [INFO] [exec] return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); 22:49:15 [INFO] [exec] ^ 22:49:15 [INFO] [exec] Error: ENOENT: no such file or directory, open './target/cucumber-reports/report.json' 22:49:15 [INFO] [exec] at Error (native) 22:49:15 [INFO] [exec] at Object.fs.openSync (fs.js:640:18) 22:49:15 [INFO] [exec] at Object.fs.readFileSync (fs.js:508:33) 22:49:15 [INFO] [exec] at writeJUnitReport (/opt/jenkins/workspace/master/plugins_nuxeo-web-ui-master-8.10/nuxeo-web-ui-ftest/webdriver/scripts/test.js:17:43) 22:49:15 [INFO] [exec] at ChildProcess.chimp.on (/opt/jenkins/workspace/master/plugins_nuxeo-web-ui-master-8.10/nuxeo-web-ui-ftest/webdriver/scripts/test.js:26:3) 22:49:15 [INFO] [exec] at emitTwo (events.js:106:13) 22:49:15 [INFO] [exec] at ChildProcess.emit (events.js:191:7) 22:49:15 [INFO] [exec] at maybeClose (internal/child_process.js:852:16) 22:49:15 [INFO] [exec] at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 22:49:15 [INFO] [exec] npm info lifecycle nuxeo-web-ui-webdriver@1.0.0~test: Failed to exec test script 22:49:15 [INFO] [exec] npm ERR! Test failed. See above for more details. 22:49:15 [ERROR]
(https://qa.nuxeo.org/jenkins/job/master/job/plugins_nuxeo-web-ui-master-8.10/390/console)
In both case, the original cause appears to be chrome not responding anymore:
- Error: chrome not reachable
- Error: no such session