This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
webUIDeleteFilesFolders/deleteFilesFolders.feature:170 in OC10 failed in nightly and needs further investigation #7451
Copy link
Copy link
Closed
Labels
Description
Scenario: delete a file on a public share with problematic characters # features/webUIDeleteFilesFolders/deleteFilesFolders.feature:170
- Connecting to selenium on port 4444...
ℹ Connected to selenium on port 4444 (227ms).
Using: chrome (94.0.4606.61) on Linux platform.
Given user "Alice" has been created with default attributes and without skeleton files in the server
Given user "Alice" has created file "lorem.txt" in the server
And user "Alice" has created folder "simple-folder" in the server
And user "Alice" has renamed the following file in the server
│ from-name-parts │ to-name-parts │
│ lorem.txt │ simple-folder/ │
│ │ 'single' │
│ │ "double" quotes │
│ │ question? │
│ │ &and#hash │
And user "Alice" has shared folder "simple-folder" with link with "read, update, create, delete" permissions in the server
When the public uses the webUI to access the last public link created by user "Alice" in a new session
- Connecting to selenium on port 4444...
Response 500 POST http://selenium:4444/wd/hub/session (191ms)
{
value: {
error: [
" (unknown error: DevToolsActivePort file doesn't exist)",
' (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)',
' (Driver info: chromedriver=94.0.4606.61 (418b78f5838ed0b1c69bb4e51ea0252171854915-refs/branch-heads/4606@{#1204}),platform=Linux 5.4.0-122-generic x86_64) (WARNING: The server did not provide any stacktrace information)',
'Command duration or timeout: 160 milliseconds',
"Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'",
"System info: host: 'cb98d3a49b93', ip: '192.168.35.7', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-122-generic', java.version: '1.8.0_292'",
'Driver info: driver.version: unknown'
],
message: 'unknown error: Chrome failed to start: exited abnormally.'
},
status: 13
}
⚠ Error connecting to selenium on port 4444.
✖ failed
Error: An error occurred while retrieving a new session: "unknown error: Chrome failed to start: exited abnormally."
at Selenium2Protocol.handleSessionCreateError (/var/www/owncloud/web/tests/acceptance/node_modules/nightwatch/lib/transport/transport.js:110:15)
at HttpRequest.<anonymous> (/var/www/owncloud/web/tests/acceptance/node_modules/nightwatch/lib/transport/transport.js:166:32)
at HttpRequest.emit (events.js:400:28)
at HttpResponse.<anonymous> (/var/www/owncloud/web/tests/acceptance/node_modules/nightwatch/lib/http/request.js:143:19)
at HttpResponse.emit (events.js:400:28)
at IncomingMessage.<anonymous> (/var/www/owncloud/web/tests/acceptance/node_modules/nightwatch/lib/http/response.js:60:14)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1333:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
And the user deletes the following file using the webUI
│ name-parts │
│ 'single' │
│ "double" quotes │
│ question? │
│ &and#hash │
- skipped
Then the following file should not be listed on the webUI
│ name-parts │
│ 'single' │
│ "double" quotes │
│ question? │
│ &and#hash │
- skipped
And no message should be displayed on the webUI
- skipped
When the user reloads the current page of the webUI
- skipped
Then the following file should not be listed on the webUI
│ name-parts │
│ 'single' │
│ "double" quotes │
│ question? │
│ &and#hash │
- skipped
Result: FAILED
saving screenshot of failed test
Error while running .sessionAction() protocol action: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the m...
Error while running .getScreenshot() protocol action: The session is either terminated or not started. – No active session with ID 94802b2f5daac40a5a665e7d909d0967
Couldn't save screenshot to "./reports/screenshots/webUIDeleteFilesFolders-deleteFilesFolders_feature-L170.png":
Error: The session is either terminated or not started. – No active session with ID 94802b2f5daac40a5a665e7d909d0967
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Activity
SwikritiT commentedon Aug 16, 2022
This looks like a selenium problem and don't think we can do anything about it
SwikritiT commentedon Aug 16, 2022
Reoccured here as well: https://drone.owncloud.com/owncloud/web/27564/47/20 on different test though
So maybe there's something wrong
saw-jan commentedon Aug 16, 2022
Couldn't reproduce this error.
The error seems to be with the chrome. Maybe using updated chrome (updating the selenium image) might fix such issues but not sure.
It looks like we currently use
selenium/standalone-chrome-debug:3.141.59image which has chrome version94.There is another image
selenium/standalone-chromethat has updated chrome. Should we care to update selenium (mainly for chrome version) image? IMO, it would be good to test on the latest versions but also catch breaking older versions.CC @individual-it @phil-davis
individual-it commentedon Aug 16, 2022
oh they don't update the debug version anymore, strange
yes I think we should try with newer version of Chrome
phil-davis commentedon Aug 16, 2022
Note: Also see owncloud/core#35444 - we had some problem with using the Behat-Mink-PHP test code with newer versions of
selenium/standalone-chrome-debug- but that should only be a problem for the "classic" oC10 webUI tests.But we should be able to try whatever selenium docker images we like in the CI of the new web.
saw-jan commentedon Aug 17, 2022
Now, the tests are run against the latest chrome version. Hopefully, that will fix this issue.
Closing here!