Repository navigation
Closed
Description
-
[ ✔️ ] apiSharingNgShareInvitation/shareInvitations.feature:186
- Scenario Outline: send share invitation to group with different roles
- Error:
Share mountpoint 'FolderToShare' was not found in the drives list. - CI: https://ci.opencloud.eu/repos/3/pipeline/1030/230#L494
- Fixed: apiTest-flaky: sync share before checking opencloud#1550
-
[ ✔️ ] apiSharingNgShareInvitation/shareInvitations.feature:3111
- Scenario: share a file to user and group having same name (Personal space)
- Error: Share mountpoint 'textfile.txt' was not found in the drives list.
Failed asserting that false is identical to true. - CI: https://ci.opencloud.eu/repos/3/pipeline/181/258
- Fixed: apiTest-flaky: sync share before checking opencloud#1550
-
[ ✔️ ] coreApiWebdavUploadTUS/lowLevelUpload.feature:58
- Scenario Outline: send last chunk twice
- Error:
HTTP status code 409 is not the expected value 404 - CI: https://ci.opencloud.eu/repos/3/pipeline/2944/396
- Fixed: chore: bump reva opencloud#1701, [full-ci][tests-only] test: add test to check mismatch offset during TUS upload opencloud#1993
-
[ ✔️ ] coreApiShareOperationsToShares1/accessToShare.feature:103
- Scenario Outline: sharee can see the group share
- Error: Share id 4abc416d-eb9d-42d5-bd7b-9b8b026402d5:f8da51ef-725a-4372-bef1-04ccfa1e2cd8:df783cac-ec0f-4408-8f89-57c67f7ff0b4 not found in response
- CI: https://ci.opencloud.eu/repos/3/pipeline/4/398
- Fixed: [full-ci] deleted unused step definitions opencloud#1639
-
[ ✔️ ] coreApiShareOperationsToShares2/uploadToShare.feature:28
- Scenario Outline: uploading file to a user read-only share folder does not work
- Error: HTTP status code 409 is not the expected value 403
- CI: https://ci.opencloud.eu/repos/3/pipeline/117/396
- Fixed: reva-bump-2.39.2. update opencloud 4.0.0-rc.1 opencloud#1849
-
[ ✔️ ] apiAntivirus/antivirus.feature:227
- Scenario Outline:
upload a file with virus to a project space - Error:
Response doesn't contain notification: - CI: https://ci.opencloud.rocks/repos/3/pipeline/265/70
- Fixed: [full-ci][tests-only] test: fix some test flakiness opencloud#2003
- Scenario Outline:
-
[ ❌ ] apiSharingNg1/sharedWithMe.feature:5035
- Scenarios:
sharee lists the shares after hiding (Personal space)sharee lists the shares after hiding (Project space)
- Error:
JSON Schema validation failed: 1. [email protected]: - Const failed Expected: 1 Received: - CI: https://ci.opencloud.rocks/repos/3/pipeline/266/155
- Scenarios:
-
[ ✔️ ] apiSearch2/tagSearch.feature:254
- Scenario Outline:
search resources using different search patterns (KQL feature) - Error:
Response doesn't contain notification: - CI: https://ci.opencloud.rocks/repos/3/pipeline/322/133
Failed step: Given user "Alice" has been created with default attributes Provisioning::userHasBeenCreated cannot create user 'Alice'. Response:[] Failed asserting that 401 matches expected 201.
- Fixed: [full-ci][tests-only] test: fix some test flakiness opencloud#2003
- Scenario Outline:
-
collaborativePosix: 🔥
- [ ❌ ] collaborativePosixFS.feature:55, collaborativePosixFS.feature:103
- Scenario:
edit file,move file to folder - Step:
Then the content of file "/test.txt" for user "Alice" should be "contentnew" - Error:
The content was expected to be 'contentnew', but actually is 'new'. HTTP status was 200- Initial content upload fails. see comment
- CI:
- https://ci.opencloud.rocks/repos/3/pipeline/183/89
- https://ci.opencloud.rocks/repos/3/pipeline/179/90
- https://ci.opencloud.rocks/repos/3/pipeline/265/88
- Scenario:
- [ ✔️ ] collaborativePosixFS.feature:136
- Scenario:
user doesn't lose file versions after renaming the file - Step:
And the number of versions should be "2" - Error:
Expected number of versions was '2', but got '3' - CI: https://ci.opencloud.rocks/repos/3/pipeline/176/89
- Fixed: [full-ci][tests-only] test: fix some test flakiness opencloud#2003
- Scenario:
- [ ❌ ] collaborativePosixFS.feature:55, collaborativePosixFS.feature:103
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]flacky API tests[/-][+]flaky API tests[/+]butonic commentedon Oct 27, 2025
I ran into these flaky tests whn rebasing opencloud-eu/opencloud#1622 today in https://ci.opencloud.eu/repos/3/pipeline/79/88:
and
in the second run the passed: https://ci.opencloud.eu/repos/3/pipeline/81/88
butonic commentedon Oct 27, 2025
and:
rhafer commentedon Oct 28, 2025
Theses seem to be flaky as well:
https://ci.opencloud.eu/repos/3/pipeline/112/218
https://ci.opencloud.eu/repos/3/pipeline/115/218
Similar to the above these are currently failing a lot:
coreApiShareManagementBasicToShares/deleteShareFromShares.feature:175
coreApiShareManagementBasicToShares/deleteShareFromShares.feature:176
coreApiShareManagementBasicToShares/deleteShareFromShares.feature:220
And there was: https://ci.opencloud.eu/repos/3/pipeline/341/248
coreApiWebdavUploadTUS/uploadToShare.feature:298
All of these seem to be pretty similar in how they fail. A share is being created for a file just uploaded file (or it's parent folder) and the share receiver gets a 404 when trying to access that file.
rhafer commentedon Nov 6, 2025
Looking at the tests and the code I think the problem here is that the test are trying to access the shares before that have been accepted. Even though
FRONTEND_AUTO_ACCEPT_SHARESistrueby default. Accepting the share happens asynchronously and the test to wait for the share to be ACCEPT before e.g. trying to access something in that share.Accessing an un-accepted share via the share-jail (e.g. via
DELETE /remote.php/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668/shared/shared_file.txt) will result in a 404 error.v-scharf commentedon Nov 6, 2025
We have already put this step
And user "Brian" has a share "resource" syncedeverywhere to prevent flakes.rhafer commentedon Nov 6, 2025
https://ci.opencloud.eu/repos/3/pipeline/360/70
apiAntivirus/antivirus.feature:44
apiAntivirus/antivirus.feature:200
Looking at the tests and the logs. It seems that the files havn't finished postprocessing.
For
apiAntivirus/antivirus.feature:44there is:And for
apiAntivirus/antivirus.feature:200the### And user "Brian" should get a notification with subject "Virus found" and messageseems to fail.But I think in both cases we need to wait for the post-processing on that file to finish before checking the notifications. After all the notifications are send during post-processing so checking them before it finished can't work reliably.
rhafer commentedon Nov 6, 2025
https://ci.opencloud.eu/repos/3/pipeline/366/140
apiSearchContent/contentSearch.feature:129It might be that the 5s sleep before the search just isn't enough for the indexes to be updated.
individual-it commentedon Nov 7, 2025
We wait for max 5 sec for the notification in https://github.com/opencloud-eu/opencloud/blob/72fd765b93dc9abe65e4143e6293a2dfd58bb889/tests/acceptance/bootstrap/NotificationContext.php#L402-L401
that could be increased
The other problem is that
@Then as :user :entry :path should not existwill accept any 4xx return code as valid see https://github.com/opencloud-eu/opencloud/blob/fb8af22073cee757a1aeed54cd30aa2fda9615eb/tests/acceptance/bootstrap/WebDav.php#L1267I thin 425 should not be accepted, but in that case it should retry
individual-it commentedon Nov 7, 2025
also the search sleep can be increased (done in opencloud-eu/opencloud#1802) but the real fix would be to redo the search if the propfind response has any 425
individual-it commentedon Nov 7, 2025
Here we got a 500
https://ci.opencloud.eu/repos/3/pipeline/382/64
in apiAntivirus/antivirus.feature:334
rhafer commentedon Nov 11, 2025
Here is one more of that: https://ci.opencloud.eu/repos/3/pipeline/438/70
The server logs (unfortunately only at error level):
Looks a bit as if the file revision that it is trying to restore is actually a 0-byte file (instead of the expected 11 bytes). Which looks awfully similar to opencloud-eu/opencloud#1763 (comment)
rhafer commentedon Nov 13, 2025
The test has this:
@individual-it @ScharfViktor So it does 3 uploads in a short time. For that to happen in a deterministic way (i.e. assure that the Virus is actually the latest revision and make sure that "hello world" is the oldest revision you would need to make sure that the postprocessing of each file finished before the next one is uploaded. Otherwise one file might "overtake" the other(s) during postprocessing.
Independent of that, the 500 Status should of course not happen. I hope that is going to be fixed with opencloud-eu/reva#414 (once I got that one sorted out).
rhafer commentedon Nov 18, 2025
Unfortunately opencloud-eu/reva#414 will not completely fix this. The revision handling after a virus is detected is still somewhat broken for posixfs.
v-scharf commentedon Nov 19, 2025
https://ci.opencloud.eu/repos/3/pipeline/595/132
v-scharf commentedon Nov 19, 2025
@rhafer I could localy reproduce it
it happens if we delete
brianuser when he is manager of project spaceUSE_BEARER_TOKEN=true TEST_SERVER_URL=https://cloud.opencloud.test make test-acceptance-api BEHAT_FEATURE=tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature:1625here is log with
logs:
rhafer commentedon Nov 20, 2025
The 500 Status should be fixed once opencloud-eu/opencloud#1882 is merged. Unfortunately the antivirus.feature:334 can still fail from time to time as the order in which the revisions for the first two upload are create is not really deterministic. Even when the "hello world" upload is started first, the "hello nepal" upload can "overtake" it during postprocessing, in that case "hello nepal" is the revision and "hello world" is the current content, after the virus was detected. (This is what happened here: https://ci.opencloud.eu/repos/3/pipeline/628/70)
@individual-it To really avoid this kind of failure I think we need to wait for postprocessing to finish, at least after the "hello world" upload.
saw-jan commentedon Dec 9, 2025
In case of
collaborativePosix/collaborativePosixFS.feature:136failure, the initial content upload is registered twice.version history:

3 instead of 2❌🔍 Findings:
7B(i.e.contentstring) content is uploaded twice.new content version 2) is also there and can be restored but cannot be downloadedserver logs (but nothing related to upload):
@rhafer Could this be due to post-processing? From the test, we can check the content after upload to minimise the flakiness, but only if there's no serious issue on the server side.
saw-jan commentedon Dec 11, 2025
Sometimes while uploading file with content, the content doesn't get uploaded.
saw-jan commentedon Dec 15, 2025
Opened a bug report for this case: opencloud-eu/opencloud#2026
butonic commentedon Dec 15, 2025
The CI runs for opencloud-eu/opencloud#1958 have a green run for the notification tests: https://ci.opencloud.rocks/repos/3/pipeline/387/110, but
v-scharf commentedon Dec 15, 2025
emailNotification.feature:14
https://ci.opencloud.rocks/repos/3/pipeline/391/110
2 problems:
saw-jan commentedon Dec 16, 2025
Probable fix for email notification flakiness: opencloud-eu/opencloud#2038
saw-jan commentedon Dec 16, 2025
We have separate bug ticket for test flakiness related to watchfs (collaborativePosixFS test suite): opencloud-eu/opencloud#2036
And also the test suite is disabled in the CI: opencloud-eu/opencloud#2039
This ticket is getting longer, and as most of the listed flakiness are taken care of, I will close this here and open new one with the list of new flakiness