-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nightly: webUI test failing [acceptance] #409
Comments
might be a flaky one: passing here https://drone.owncloud.com/owncloud/encryption/3463/16/15 but another pipeline failed |
https://drone.owncloud.com/owncloud/encryption/3461/16/15 seems to be the first one that failed, morning of 2024-03-04. And that failed against core master and latest. https://drone.owncloud.com/owncloud/encryption/3462/16/15 failed 2024-03-24 later in the morning (I suppose that the nightly job was restarted). It only failed against core master, and passed against core latest. For more recent nightly runs: Other nights it failed the same with core master and core latest, including the last 2 nights 2024-03-18 and 2024-03-19. So the test is somehow "flaky", but does fail more often than pass. |
https://drone.owncloud.com/owncloud/encryption/3508/13/15 Scenario: user cannot access their file after recreating master key without re-login # /var/www/owncloud/testrunner/apps/encryption/tests/acceptance/features/webUIMasterKeyType/webUIMasterKeys.feature:8
Given user "Alice" has been created with default attributes and without skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/somefile.txt" # FeatureContext::userHasUploadedAFileTo()
And user "Alice" has logged in using the webUI # WebUILoginContext::theUserHasLoggedInUsingTheWebUI()
When the administrator successfully recreates the encryption masterkey using the occ command # EncryptionContext::recreateMasterKeyUsingOccCommand()
Then the command output should contain the text 'Note: All users are required to relogin.' # OccContext::theCommandOutputContainsTheText()
INFORMATION: timed out waiting for ajax calls to start
INFORMATION: timed out waiting for outstanding ajax calls
When the user opens file "somefile.txt" expecting to fail using the webUI # WebUIFilesContext::theUserOpensFolderNamedUsingTheWebUI()
│ INFORMATION: timed out waiting for ajax calls to startINFORMATION: timed out waiting for outstanding ajax calls
Then the user should be redirected to the general exception webUI page with the title "server" # WebUIGeneralContext::theUserShouldBeRedirectedToGeneralExceptionPage()
And the title of the exception on general exception webUI page should be "Forbidden" # WebUIGeneralContext::anErrorShouldBeDisplayedOnTheGeneralExceptionPageWithTitle()
WebUIGeneralContext::anErrorShouldBeDisplayedOnTheGeneralExceptionPageWithTitle The title of the exception on general exception webUI page was expected to be 'Forbidden' but found 'This site can’t be reached' instead.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Forbidden'
+'This site can’t be reached'
And a message should be displayed on the general exception webUI page containing "Encryption not ready" # WebUIGeneralContext::anErrorShouldBeDisplayedOnTheGeneralErrorPageContaining()
SCENARIO RESULT: (fail) ci is also showing same in local docker setup it gives 500 internal server error |
similar issues |
@nirajacharya2 please look in the server That will help us find where the server code is getting an exception/problem. Then maybe we will be able to use "git blame" to see when the relevant code was last touched, understand the reason that it crashes now, and propose a fix. |
this list will be keep updating |
Build:
https://drone.owncloud.com/owncloud/encryption/3462/16/15
Failed Scenario:
Scenario: user can access their file after recreating master key with re-login is passed after rerun
The text was updated successfully, but these errors were encountered: