Skip to content

flaky API tests #50

Closed
Closed

Description

@individual-it

Activity

  1. changed the title [-]flacky API tests[/-] [+]flaky API tests[/+] on Jul 11, 2025
  2. butonic commented on Oct 27, 2025

    @butonic
    Member

    I ran into these flaky tests whn rebasing opencloud-eu/opencloud#1622 today in https://ci.opencloud.eu/repos/3/pipeline/79/88:

    collaborativePosix/collaborativePosixFS.feature:23
    collaborativePosix/collaborativePosixFS.feature:144
    
      Scenario: create nested folder                                                                                        # /woodpecker/src/github.com/opencloud-eu/opencloud/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature:23
        When the administrator creates the folder "deep/nested/structure/myFolder" for user "Alice" on the POSIX filesystem # CliContext::theAdministratorCreatesFolder()
        Then the command should be successful                                                                               # CliContext::theCommandShouldBeSuccessful()
        And as "Alice" folder "/deep/nested/structure/myFolder" should exist                                                # FeatureContext::asFileOrFolderShouldExist()
          folder '/deep/nested/structure/myFolder' expected to exist for user Alice but not found
          Failed asserting that false is true.

    and

      Scenario: user doesn't lose share and public link after renaming the file                                                                             # /woodpecker/src/github.com/opencloud-eu/opencloud/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature:144
        Given user "Brian" has been created with default attributes                                                                                         # FeatureContext::userHasBeenCreatedWithDefaultAttributes()
        And user "Alice" has uploaded file with content "content" to "textfile.txt"                                                                         # FeatureContext::userHasUploadedAFileWithContentTo()
        And user "Alice" has created the following resource link share:                                                                                     # SharingNgContext::userHasCreatedTheFollowingResourceLinkShare()
          | resource        | textfile.txt |
          | space           | Personal     |
          | permissionsRole | view         |
          | password        | %public%     |
        And user "Alice" has sent the following resource share invitation:                                                                                  # SharingNgContext::userHasSentTheFollowingResourceShareInvitation()
          | resource        | textfile.txt |
          | space           | Personal     |
          | sharee          | Brian        |
          | shareType       | user         |
          | permissionsRole | Viewer       |
        When the administrator renames the file "textfile.txt" to "new-name.txt" for user "Alice" on the POSIX filesystem                                   # CliContext::theAdministratorRenamesFile()
        Then the command should be successful                                                                                                               # CliContext::theCommandShouldBeSuccessful()
        And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "Personal"                                                    # SharingNgContext::userShouldHaveShareSharedByUserFromSpace()
          Share mountpoint 'textfile.txt' was not found in the drives list.
          Failed asserting that false is identical to true.
        And the public should be able to download file "textfile.txt" from the last link share with password "%public%" and the content should be "content" # PublicWebDavContext::shouldBeAbleToDownloadFileInsidePublicSharedFolderWithPasswordForSharingNGAndContentShouldBe()

    in the second run the passed: https://ci.opencloud.eu/repos/3/pipeline/81/88

  3. butonic commented on Oct 27, 2025

    @butonic
    Member

    and:

    runsh: Total unexpected failed scenarios throughout the test run:
    coreApiWebdavEtagPropagation2/createFolder.feature:44
    coreApiWebdavEtagPropagation2/createFolder.feature:46
    
  4. rhafer commented on Oct 28, 2025

    @rhafer
    Member

    Theses seem to be flaky as well:

    coreApiShareManagementBasicToShares/deleteShareFromShares.feature:102
    coreApiShareManagementBasicToShares/deleteShareFromShares.feature:129
    

    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.

  5. rhafer commented on Nov 6, 2025

    @rhafer
    Member

    Theses seem to be flaky as well:

    coreApiShareManagementBasicToShares/deleteShareFromShares.feature:102
    coreApiShareManagementBasicToShares/deleteShareFromShares.feature:129
    

    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.

    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_SHARES is true by 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.

  6. v-scharf commented on Nov 6, 2025

    @v-scharf
    Collaborator

    We have already put this step And user "Brian" has a share "resource" synced everywhere to prevent flakes.

  7. rhafer commented on Nov 6, 2025

    @rhafer
    Member

    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:44 there is:

           ### And as "Alice" file "virusFile1.txt" should not exist
                    _______________________________________________________________________
    
                    ==> REQUEST
                    PROPFIND /remote.php/dav/spaces/ed1f948c-8fe8-4fe4-9332-cea2821de6ba$942b4443-d0be-48f1-a999-655a342ad5b1/virusFile1.txt
                    X-Request-ID: apiAntivirus/antivirus.feature:44-37
                    ==> REQ BODY
                    <?xml version="1.0"?>
                                    <d:propfind
                                       xmlns:d="DAV:"
                                       xmlns:oc="http://owncloud.org/ns"
                                       xmlns:ocs="http://open-collaboration-services.org/ns"
                                       >
                                        <d:prop><d:getetag/><d:resourcetype/></d:prop>
                                    </d:propfind>
    
                    <== RESPONSE
                    207 Multi-Status
                    X-Xss-Protection: 1; mode=block
                    <== RES BODY
                    <d:multistatus xmlns:s="http://sabredav.org/ns" xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns"><d:response><d:href>/remote.php/dav/spaces/ed1f948c-8fe8-4fe4-9332-cea2821de6ba$942b4443-d0be-48f1-a999-655a342ad5b1/virusFile1.txt</d:href><d:propstat><d:prop><d:getetag>"86430f675e78c34ab77f67251bb8c31b"</d:getetag><d:resourcetype></d:resourcetype></d:prop><d:status>HTTP/1.1 425 TOO EARLY</d:status></d:propstat></d:response></d:multistatus>
    

    And for apiAntivirus/antivirus.feature:200 the ### And user "Brian" should get a notification with subject "Virus found" and message seems 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.

  8. rhafer commented on Nov 6, 2025

    @rhafer
    Member

    https://ci.opencloud.eu/repos/3/pipeline/366/140

    apiSearchContent/contentSearch.feature:129

    It might be that the 5s sleep before the search just isn't enough for the indexes to be updated.

  9. individual-it commented on Nov 7, 2025

    @individual-it
    ContributorAuthor
  10. individual-it commented on Nov 7, 2025

    @individual-it
    ContributorAuthor

    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

  11. individual-it commented on Nov 7, 2025

    @individual-it
    ContributorAuthor
  12. rhafer commented on Nov 11, 2025

    @rhafer
    Member

    Here we got a 500 https://ci.opencloud.eu/repos/3/pipeline/382/64 in apiAntivirus/antivirus.feature:334

    Here is one more of that: https://ci.opencloud.eu/repos/3/pipeline/438/70

    The server logs (unfortunately only at error level):

    {"level":"error","service":"storage-users","host.name":"417483730b6d","pkg":"rhttp","datatx":"spaces","spaceid":"60f55a86-d55d-4709-ad9c-d20e10ef74b3$d0d16233-2f5c-49f6-8c61-00073687ad4d!d0d16233-2f5c-49f6-8c61-00073687ad4d","path":"/test.txt","request-id":"417483730b6d/VSeLu1xpBi-000133","svc":"datatx","handler":"download","error":"EOF","resourceid":{"storage_id":"60f55a86-d55d-4709-ad9c-d20e10ef74b3","opaque_id":"a2654082-6c12-4a46-addb-1798d2bddcd5","space_id":"d0d16233-2f5c-49f6-8c61-00073687ad4d"},"time":"2025-11-10T15:44:55Z","message":"error copying data to response"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"cdd91d95f550028c5788cd9ca4288e11","request-id":"417483730b6d/VSeLu1xpBi-000132","error":"unexpected EOF","time":"2025-11-10T15:44:55Z","message":"error writing body after header were set"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"cdd91d95f550028c5788cd9ca4288e11","request-id":"417483730b6d/VSeLu1xpBi-000132","content-length":11,"transferred-bytes":0,"time":"2025-11-10T15:44:55Z","message":"content length vs transferred bytes mismatch"}
    {"service":"proxy","time":"2025-11-10T15:44:55Z","message":"httputil: ReverseProxy read error during body copy: unexpected EOF"}
    {"level":"error","service":"storage-users","host.name":"417483730b6d","pkg":"rhttp","datatx":"spaces","spaceid":"60f55a86-d55d-4709-ad9c-d20e10ef74b3$d0d16233-2f5c-49f6-8c61-00073687ad4d!d0d16233-2f5c-49f6-8c61-00073687ad4d","path":"/test.txt","request-id":"417483730b6d/VSeLu1xpBi-000136","svc":"datatx","handler":"download","error":"EOF","resourceid":{"storage_id":"60f55a86-d55d-4709-ad9c-d20e10ef74b3","opaque_id":"a2654082-6c12-4a46-addb-1798d2bddcd5","space_id":"d0d16233-2f5c-49f6-8c61-00073687ad4d"},"time":"2025-11-10T15:44:55Z","message":"error copying data to response"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"b5ace0e36005b20aa5519691aab021fd","request-id":"417483730b6d/VSeLu1xpBi-000135","error":"unexpected EOF","time":"2025-11-10T15:44:55Z","message":"error writing body after header were set"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"b5ace0e36005b20aa5519691aab021fd","request-id":"417483730b6d/VSeLu1xpBi-000135","content-length":11,"transferred-bytes":0,"time":"2025-11-10T15:44:55Z","message":"content length vs transferred bytes mismatch"}
    {"service":"proxy","time":"2025-11-10T15:44:55Z","message":"httputil: ReverseProxy read error during body copy: unexpected EOF"}
    {"level":"error","service":"ocdav","name":"eu.opencloud.web.ocdav","traceid":"503524eb41ffca17d6c8137e4dcb42ab","request-id":"apiAntivirus/antivirus.feature:334-331","path":"/users/37199b59-80fc-40b4-8226-040a363a06ca/test.txt","svc":"ocdav","handler":"get","error":"Get \"https://opencloud-server:9200/data\": EOF","time":"2025-11-10T15:44:55Z","message":"error performing http request"}
    {"level":"debug","time":"2025-11-10T15:44:55Z","message":"space deleted event: {idp:\"https://opencloud-server:9200\" opaque_id:\"b1060f21-b995-46fd-83b2-1a7208aaaf31\" type:USER_TYPE_PRIMARY opaque_id:\"60f55a86-d55d-4709-ad9c-d20e10ef74b3$d0d16233-2f5c-49f6-8c61-00073687ad4d!d0d16233-2f5c-49f6-8c61-00073687ad4d\" Alice Hansen map[] 2025-11-10 15:44:55.929075639 +0000 UTC}"}
    {"level":"error","service":"storage-users","host.name":"417483730b6d","pkg":"rgrpc","traceid":"07545849e4016043b3ca6cc4071a834d","error":"node.Xattr /root/.opencloud/storage/users/users/69eef882-a4ce-4fad-9bd5-d1268267f2d9 user.oc.name: no data available","id":"1d806cd4-fe84-401a-a16d-444377ad8134","time":"2025-11-10T15:44:56Z","message":"could not read node"}
    {"level":"error","service":"storage-users","host.name":"417483730b6d","pkg":"rgrpc","traceid":"07545849e4016043b3ca6cc4071a834d","error":"node.Xattr /root/.opencloud/storage/users/users/69eef882-a4ce-4fad-9bd5-d1268267f2d9 user.oc.name: no data available","status":{"code":15,"message":"error listing spaces","trace":"07545849e4016043b3ca6cc4071a834d"},"filters":[{"type":2,"Term":{"Id":{"opaque_id":"60f55a86-d55d-4709-ad9c-d20e10ef74b3$1d806cd4-fe84-401a-a16d-444377ad8134!1d806cd4-fe84-401a-a16d-444377ad8134"}}},{"type":4,"Term":{"SpaceType":"+grant"}}],"time":"2025-11-10T15:44:56Z","message":"failed to list storage spaces"}
    {"level":"debug","time":"2025-11-10T15:44:56Z","message":"space deleted event: {idp:\"https://opencloud-server:9200\" opaque_id:\"b1060f21-b995-46fd-83b2-1a7208aaaf31\" type:USER_TYPE_PRIMARY opaque_id:\"60f55a86-d55d-4709-ad9c-d20e10ef74b3$1d806cd4-fe84-401a-a16d-444377ad8134!1d806cd4-fe84-401a-a16d-444377ad8134\" Alice Hansen map[] 2025-11-10 15:44:56.576562443 +0000 UTC}"}
    {"level":"error","service":"storage-users","host.name":"417483730b6d","pkg":"rhttp","datatx":"spaces","spaceid":"60f55a86-d55d-4709-ad9c-d20e10ef74b3$47c4ac9a-e010-4503-9ec7-cdedfe41c453!47c4ac9a-e010-4503-9ec7-cdedfe41c453","path":"/test.txt","request-id":"417483730b6d/VSeLu1xpBi-000194","svc":"datatx","handler":"download","error":"EOF","resourceid":{"storage_id":"60f55a86-d55d-4709-ad9c-d20e10ef74b3","opaque_id":"1d73181a-dea7-4d4b-9b96-baf7d4829a3a","space_id":"47c4ac9a-e010-4503-9ec7-cdedfe41c453"},"time":"2025-11-10T15:44:57Z","message":"error copying data to response"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"0b26374058012e0070b807a4909a800d","request-id":"417483730b6d/VSeLu1xpBi-000193","error":"unexpected EOF","time":"2025-11-10T15:44:57Z","message":"error writing body after header were set"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"0b26374058012e0070b807a4909a800d","request-id":"417483730b6d/VSeLu1xpBi-000193","content-length":11,"transferred-bytes":0,"time":"2025-11-10T15:44:57Z","message":"content length vs transferred bytes mismatch"}
    {"service":"proxy","time":"2025-11-10T15:44:57Z","message":"httputil: ReverseProxy read error during body copy: unexpected EOF"}
    {"level":"error","service":"storage-users","host.name":"417483730b6d","pkg":"rhttp","datatx":"spaces","spaceid":"60f55a86-d55d-4709-ad9c-d20e10ef74b3$47c4ac9a-e010-4503-9ec7-cdedfe41c453!47c4ac9a-e010-4503-9ec7-cdedfe41c453","path":"/test.txt","request-id":"417483730b6d/VSeLu1xpBi-000197","svc":"datatx","handler":"download","error":"EOF","resourceid":{"storage_id":"60f55a86-d55d-4709-ad9c-d20e10ef74b3","opaque_id":"1d73181a-dea7-4d4b-9b96-baf7d4829a3a","space_id":"47c4ac9a-e010-4503-9ec7-cdedfe41c453"},"time":"2025-11-10T15:44:57Z","message":"error copying data to response"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"190105864dc0aee5007d118519b4e9a5","request-id":"417483730b6d/VSeLu1xpBi-000196","error":"unexpected EOF","time":"2025-11-10T15:44:57Z","message":"error writing body after header were set"}
    {"level":"error","service":"frontend","host.name":"417483730b6d","pkg":"rhttp","traceid":"190105864dc0aee5007d118519b4e9a5","request-id":"417483730b6d/VSeLu1xpBi-000196","content-length":11,"transferred-bytes":0,"time":"2025-11-10T15:44:57Z","message":"content length vs transferred bytes mismatch"}
    {"service":"proxy","time":"2025-11-10T15:44:57Z","message":"httputil: ReverseProxy read error during body copy: unexpected EOF"}
    {"level":"error","service":"ocdav","name":"eu.opencloud.web.ocdav","traceid":"76a9a6823b041d5b76c86c35505c7ea1","request-id":"apiAntivirus/antivirus.feature:336-331","path":"/test.txt","spaceid":"60f55a86-d55d-4709-ad9c-d20e10ef74b3$47c4ac9a-e010-4503-9ec7-cdedfe41c453","handler":"get","error":"Get \"https://opencloud-server:9200/data\": EOF","time":"2025-11-10T15:44:57Z","message":"error performing http request"}
    

    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)

  13. rhafer commented on Nov 13, 2025

    @rhafer
    Member

    Here we got a 500 https://ci.opencloud.eu/repos/3/pipeline/382/64 in apiAntivirus/antivirus.feature:334

    The test has this:

        And user "Alice" has uploaded file with content "hello world" to "test.txt"
        And user "Alice" has uploaded file with content "hello nepal" to "test.txt"
        When user "Alice" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "test.txt" using the WebDAV API
    

    @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).

  14. rhafer commented on Nov 18, 2025

    @rhafer
    Member

    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).

    Unfortunately opencloud-eu/reva#414 will not completely fix this. The revision handling after a virus is detected is still somewhat broken for posixfs.

  15. v-scharf commented on Nov 19, 2025

    @v-scharf
    Collaborator

    https://ci.opencloud.eu/repos/3/pipeline/595/132

    @issue-10329
      Scenario Outline: search project space files by tag                                                                                                                             # /woodpecker/src/github.com/opencloud-eu/opencloud/tests/acceptance/features/apiSearch2/tagSearch.feature:39
        Given using spaces DAV path                                                                                                                                                   # FeatureContext::usingOldOrNewOrSpacesDavPath()
        And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API                                                                                 # GraphContext::theAdministratorHasGivenTheRoleUsingTheGraphApi()
        And user "Alice" has created a space "tag-space" with the default quota using the Graph API                                                                                   # SpacesContext::theUserHasCreatedASpaceByDefaultUsingTheGraphApi()
        And user "Alice" has created a folder "spacesFolderWithFile/spacesSubFolder" in space "tag-space"                                                                             # SpacesContext::userHasCreatedAFolderInSpace()
        And user "Alice" has uploaded a file inside space "tag-space" with content "tagged file" to "spacesFile.txt"                                                                  # SpacesContext::userHasUploadedFile()
        And user "Alice" has uploaded a file inside space "tag-space" with content "untagged file" to "spacesFileWithoutTag.txt"                                                      # SpacesContext::userHasUploadedFile()
        And user "Alice" has uploaded a file inside space "tag-space" with content "tagged file in folder" to "spacesFolderWithFile/spacesFileInsideFolder.txt"                       # SpacesContext::userHasUploadedFile()
        And user "Alice" has uploaded a file inside space "tag-space" with content "tagged file in subfolder" to "spacesFolderWithFile/spacesSubFolder/spacesFileInsideSubFolder.txt" # SpacesContext::userHasUploadedFile()
        And user "Alice" has tagged the following files of the space "tag-space":                                                                                                     # TagContext::userHasCreatedTheFollowingTagsForFilesOfTheSpace()
          | path                                                               | tagName |
          | spacesFile.txt                                                     | tag1    |
          | spacesFolderWithFile/spacesFileInsideFolder.txt                    | tag1    |
          | spacesFolderWithFile/spacesSubFolder/spacesFileInsideSubFolder.txt | tag1    |
        And using <dav-path-version> DAV path                                                                                                                                         # FeatureContext::usingOldOrNewOrSpacesDavPath()
        When user "Alice" searches for "Tags:tag1" using the WebDAV API                                                                                                               # SearchContext::userSearchesUsingWebDavAPI()
        Then the HTTP status code should be "207"                                                                                                                                     # FeatureContext::thenTheHTTPStatusCodeShouldBe()
        And the search result of user "Alice" should contain only these files:                                                                                                        # FeatureContext::thePropfindResultShouldContainOnlyEntries()
          | spacesFile.txt                |
          | spacesFileInsideFolder.txt    |
          | spacesFileInsideSubFolder.txt |
    
        Examples:
          | dav-path-version |
          | old              |
          │
          ╳  Syntax error (JsonException)
          │
          └─ @AfterScenario # SpacesContext::cleanDataAfterTests()
          | new              |
            Failed step: Given user "Alice" has been created with default attributes
            Type error: FeatureContext::getJsonDecodedResponse(): Return value must be of type array, null returned (Behat\Testwork\Call\Exception\FatalThrowableError)
          │
          ╳  Syntax error (JsonException)
          │
          └─ @AfterScenario # SpacesContext::cleanDataAfterTests()
          | spaces           |
            Failed step: Given user "Alice" has been created with default attributes
            Type error: FeatureContext::getJsonDecodedResponse(): Return value must be of type array, null returned (Behat\Testwork\Call\Exception\FatalThrowableError)
          │
          ╳  Syntax error (JsonException)
          │
          └─ @AfterScenario # SpacesContext::cleanDataAfterTests()
    
    
    
    {"level":"error","service":"storage-users","host.name":"27b13cf694c3","pkg":"rgrpc","traceid":"11b95f6a1e84707142f1cb49ff55d3be","error":"node.Xattr /root/.opencloud/storage/users/users/4b3dd55b-6516-4468-b124-22e655aa878b user.oc.name: no data available","id":"6263f6e6-b279-4e9a-a005-918d312f908e","time":"2025-11-19T00:17:55Z","message":"could not read node"}
    {"level":"error","service":"storage-users","host.name":"27b13cf694c3","pkg":"rgrpc","traceid":"11b95f6a1e84707142f1cb49ff55d3be","error":"node.Xattr /root/.opencloud/storage/users/users/4b3dd55b-6516-4468-b124-22e655aa878b user.oc.name: no data available","status":{"code":15,"message":"error listing spaces","trace":"11b95f6a1e84707142f1cb49ff55d3be"},"filters":[{"type":2,"Term":{"Id":{"opaque_id":"01bbc246-b9ea-47be-bf31-4f90841b5bd8$6263f6e6-b279-4e9a-a005-918d312f908e!6263f6e6-b279-4e9a-a005-918d312f908e"}}},{"type":4,"Term":{"SpaceType":"+grant"}}],"time":"2025-11-19T00:17:55Z","message":"failed to list storage spaces"}
    
  16. v-scharf commented on Nov 19, 2025

    @v-scharf
    Collaborator

    https://ci.opencloud.eu/repos/3/pipeline/595/132

    @rhafer I could localy reproduce it
    it happens if we delete brian user when he is manager of project space
    USE_BEARER_TOKEN=true TEST_SERVER_URL=https://cloud.opencloud.test make test-acceptance-api BEHAT_FEATURE=tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature:1625

    here is log with

    "PROXY_LOG_LEVEL": "debug",
            "STORAGE_USERS_LOG_LEVEL": "debug",
    

    logs:

    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"62f50ae2eea454203cb504f2c23d758c","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/DeleteStorageSpace","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":2288125,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"error","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"b78450a7eb199466805d9c4d430958cd","error":"node.Xattr /var/lib/opencloud/storage/users/users/7c6d6720-271e-416d-ace3-bcc34320553a user.oc.name: no data available","id":"1272256e-37f8-4a85-b2aa-3652d261cf94","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/pkg/storage/pkg/decomposedfs/spaces.go:317","message":"could not read node"}
    
    {"level":"error","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"b78450a7eb199466805d9c4d430958cd","error":"node.Xattr /var/lib/opencloud/storage/users/users/7c6d6720-271e-416d-ace3-bcc34320553a user.oc.name: no data available","status":{"code":15,"message":"error listing spaces","trace":"b78450a7eb199466805d9c4d430958cd"},"filters":[{"type":2,"Term":{"Id":{"opaque_id":"77b1193c-84f6-43ae-b14d-a9bfa479de1d$1272256e-37f8-4a85-b2aa-3652d261cf94!1272256e-37f8-4a85-b2aa-3652d261cf94"}}},{"type":4,"Term":{"SpaceType":"+grant"}}],"time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:579","message":"failed to list storage spaces"}
    
    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"b78450a7eb199466805d9c4d430958cd","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":1345125,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"62f50ae2eea454203cb504f2c23d758c","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/DeleteStorageSpace","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":6270875,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"debug","time":"2025-11-19T13:09:28Z","message":"space deleted event: {idp:\"https://cloud.opencloud.test\" opaque_id:\"f17566ff-803a-4bc0-a474-a69a8ab27965\" type:USER_TYPE_PRIMARY opaque_id:\"77b1193c-84f6-43ae-b14d-a9bfa479de1d$1272256e-37f8-4a85-b2aa-3652d261cf94!1272256e-37f8-4a85-b2aa-3652d261cf94\" Alice Hansen map[] 2025-11-19 13:09:28.650892758 +0000 UTC}"}
    
    {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"dccd0e3abc1c/auskQRdoDv-000271","traceid":"62f50ae2eea454203cb504f2c23d758c","remote-addr":"172.65.32.248","method":"DELETE","status":204,"path":"/graph/v1.0/users/7c6d6720-271e-416d-ace3-bcc34320553a","duration":28.275917,"bytes":0,"time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
    
    {"level":"debug","service":"proxy","policy":"default","method":"DELETE","prefix":"/graph/","path":"/graph/v1.0/users/12cd0a5e-90fe-432c-9b51-107ca7e2e8de","routeType":"prefix","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/router/router.go:243","message":"rewrite hook found"}
    
    {"level":"debug","service":"proxy","claims":{"aud":["web"],"email":"[email protected]","email_verified":false,"exp":1763558067,"family_name":"Admin","given_name":"Admin","iat":1763557767,"iss":"https://cloud.opencloud.test","jti":"OAnAoIvD8A1ic4l7F8UkFiMyBA3n69w1","lg.i":{"dn":"Admin","id":"openCloudUUID=f17566ff-803a-4bc0-a474-a69a8ab27965","un":"admin"},"lg.p":"identifier-ldap","lg.t":"1","name":"Admin","preferred_username":"admin","scp":"email openid profile offline_access","sub":"Jqckg8Wc8mogE9Z8@BC89_TpBSimh2FKt0YsJHii4JsT6hY_maWTBaK6P9WdKVm7OnZa4quJEcPgHt85ejYmCXA"},"time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/oidc_auth.go:70","message":"cache hit for userinfo"}
    
    {"level":"debug","service":"proxy","authenticator":"oidc","path":"/graph/v1.0/users/12cd0a5e-90fe-432c-9b51-107ca7e2e8de","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/oidc_auth.go:204","message":"successfully authenticated request"}
    
    {"level":"debug","service":"proxy","claims":{"aud":["web"],"email":"[email protected]","email_verified":false,"exp":1763558067,"family_name":"Admin","given_name":"Admin","iat":1763557767,"iss":"https://cloud.opencloud.test","jti":"OAnAoIvD8A1ic4l7F8UkFiMyBA3n69w1","lg.i":{"dn":"Admin","id":"openCloudUUID=f17566ff-803a-4bc0-a474-a69a8ab27965","un":"admin"},"lg.p":"identifier-ldap","lg.t":"1","name":"Admin","preferred_username":"admin","scp":"email openid profile offline_access","sub":"Jqckg8Wc8mogE9Z8@BC89_TpBSimh2FKt0YsJHii4JsT6hY_maWTBaK6P9WdKVm7OnZa4quJEcPgHt85ejYmCXA"},"user":{"id":{"idp":"https://cloud.opencloud.test","opaque_id":"f17566ff-803a-4bc0-a474-a69a8ab27965","type":1},"username":"admin","mail":"[email protected]","display_name":"Admin","groups":["509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"],"opaque":{"map":{"roles":{"decoder":"json","value":"WyI3MTg4MTg4My0xNzY4LTQ2YmQtYTI0ZC1hMzU2YTJhZmRmN2YiXQ=="}}},"uid_number":99,"gid_number":99},"time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/account_resolver.go:212","message":"associated claims with user"}
    
    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"a4b7280ef41e506375dc69e3ac4f2ee1","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":2230583,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"a4b7280ef41e506375dc69e3ac4f2ee1","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/DeleteStorageSpace","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":2098334,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"7fdaba3f9598b71deaa7c25e5f56fdb3","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":189667,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"debug","service":"storage-users","host.name":"dccd0e3abc1c","pkg":"rgrpc","traceid":"a4b7280ef41e506375dc69e3ac4f2ee1","user-agent":"grpc-go/1.76.0","from":"tcp://127.0.0.1:52506","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/DeleteStorageSpace","start":"19/Nov/2025:13:09:28 +0000","end":"19/Nov/2025:13:09:28 +0000","time_ns":4592875,"code":"OK","time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/interceptors/log/log.go:69","message":"unary"}
    
    {"level":"debug","time":"2025-11-19T13:09:28Z","message":"space deleted event: {idp:\"https://cloud.opencloud.test\" opaque_id:\"f17566ff-803a-4bc0-a474-a69a8ab27965\" type:USER_TYPE_PRIMARY opaque_id:\"77b1193c-84f6-43ae-b14d-a9bfa479de1d$66bbe5b2-cd14-415e-bd79-2deb4ea7fbf3!66bbe5b2-cd14-415e-bd79-2deb4ea7fbf3\" Brian Murphy map[] 2025-11-19 13:09:28.683648674 +0000 UTC}"}
    
    {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"dccd0e3abc1c/auskQRdoDv-000273","traceid":"a4b7280ef41e506375dc69e3ac4f2ee1","remote-addr":"172.65.32.248","method":"DELETE","status":204,"path":"/graph/v1.0/users/12cd0a5e-90fe-432c-9b51-107ca7e2e8de","duration":27.835708,"bytes":0,"time":"2025-11-19T13:09:28Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
    
    
  17. rhafer commented on Nov 20, 2025

    @rhafer
    Member

    Here we got a 500 https://ci.opencloud.eu/repos/3/pipeline/382/64 in apiAntivirus/antivirus.feature:334

    The test has this:

        And user "Alice" has uploaded file with content "hello world" to "test.txt"
        And user "Alice" has uploaded file with content "hello nepal" to "test.txt"
        When user "Alice" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "test.txt" using the WebDAV API
    

    @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).

    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.

  18. self-assigned this
    on Dec 9, 2025
  19. saw-jan commented on Dec 9, 2025

    @saw-jan
    Contributor

    In case of collaborativePosix/collaborativePosixFS.feature:136 failure, the initial content upload is registered twice.

    And user "Alice" has uploaded file with content "content" to "textfile.txt"
    And user "Alice" has uploaded file with content "new content version 2" to "textfile.txt"
    And user "Alice" has uploaded file with content "new content version 3" to "textfile.txt"
    When the administrator renames the file "textfile.txt" to "new-name.txt" for user "Alice" on the POSIX filesystem

    version history: 3 instead of 2 ❌
    Image
    🔍 Findings:

    • You can see in the above image that 7B (i.e. content string) content is uploaded twice.
    • Second upload (new content version 2) is also there and can be restored but cannot be downloaded
      Image

    server logs (but nothing related to upload):

    opencloud-1  | Running command: mv /var/lib/opencloud/storage/users/users/88857cf3-605a-4db4-a3ed-1515812068fd/textfile.txt /var/lib/opencloud/storage/users/users/88857cf3-605a-4db4-a3ed-1515812068fd/new-name.txt{"level":"error","error":"xattr.get /var/lib/opencloud/storage/users/users/88857cf3-605a-4db4-a3ed-1515812068fd/textfile.txt user.oc.space.id: no such file or directory","path":"/var/lib/opencloud/storage/users/users/88857cf3-605a-4db4-a3ed-1515812068fd/textfile.txt","time":"2025-12-09T10:47:47Z","message":"failed to assimilate item"}
    opencloud-1  | {"level":"error","service":"storage-users","host.name":"a31b71721ef9","pkg":"rgrpc","driver":"posix","error":"error: not found: path not found in cache:/var/lib/opencloud/storage/users/users/88857cf3-605a-4db4-a3ed-1515812068fd/new-name.txt","path":"/var/lib/opencloud/storage/users/users/88857cf3-605a-4db4-a3ed-1515812068fd/new-name.txt","time":"2025-12-09T10:47:47Z","message":"failed to get ids for entry"}
    opencloud-1  | {"level":"error","service":"activitylog","event":{"resource_id":{"storage_id":"f7fbbb7c-791c-4cb6-92f7-cbbf29987b87","opaque_id":"18166ab4-105e-4ae0-8246-d902718741d8","space_id":"18166ab4-105e-4ae0-8246-d902718741d8"},"path":"new-name.txt"},"error":"key not found","time":"2025-12-09T10:47:47Z","message":"could not delete parent id cache"}
    opencloud-1  | {"level":"error","service":"search","error":"entity not found","time":"2025-12-09T10:47:47Z","message":"failed to move the changed resource in the index"}

    @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.

  20. saw-jan commented on Dec 11, 2025

    @saw-jan
    Contributor

    Sometimes while uploading file with content, the content doesn't get uploaded.

        And user "Alice" has uploaded file with content "content" to "/firstFolder/test.txt"             # FeatureContext::userHasUploadedAFileWithContentTo()
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (1)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (2)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (3)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (4)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (5)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (6)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (7)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (8)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (9)...
          │ [INFO] File content mismatch. Expected content 'content' but got '', checking content again (10)...
          │ 
          The content was expected to be 'content', but actually is ''. HTTP status was 200
          Failed asserting that two strings are equal.
          --- Expected
          +++ Actual
          @@ @@
          -'content'
          +''
  21. saw-jan commented on Dec 15, 2025

    @saw-jan
    Contributor

    Opened a bug report for this case: opencloud-eu/opencloud#2026

  22. pinned this issue on Dec 15, 2025
  23. v-scharf commented on Dec 15, 2025

    @v-scharf
    Collaborator

    emailNotification.feature:14
    https://ci.opencloud.rocks/repos/3/pipeline/391/110

    2 problems:

    • user brian doesn't receive emal
    • old messages are not being deleted
    ### When user "Alice" sends the following space share invitation using root endpoint of the Graph API:
    		_______________________________________________________________________
    
    		==> REQUEST
    		POST /graph/v1beta1/drives/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d/root/invite
    		X-Request-ID: apiNotification/emailNotification.feature:14-17
    		==> REQ BODY
    		{"recipients":[{"@libre.graph.recipient.type":"user","objectId":"d0cae414-b6b0-4269-9f0c-9c3fde91047f"}],"roles":["58c63c02-1d89-4572-916a-870abc5a1b7d"]}
    
    		<== RESPONSE
    		200 OK
    		X-Xss-Protection: 1; mode=block
    		<== RES BODY
    		{"value":[{"grantedToV2":{"user":{"@libre.graph.userType":"Member","displayName":"Brian Murphy","id":"d0cae414-b6b0-4269-9f0c-9c3fde91047f"}},"id":"u:d0cae414-b6b0-4269-9f0c-9c3fde91047f","invitation":{"invitedBy":{"user":{"@libre.graph.userType":"Member","displayName":"Alice Hansen","id":"4fb8a145-4b98-4d81-b079-91128fca5f0f"}}},"roles":["58c63c02-1d89-4572-916a-870abc5a1b7d"]}]}
    
    	### Then the HTTP status code should be "200"
    	### And user "Brian" should have received the following email from user "Alice" about the share of project space "new-space"
    		_______________________________________________________________________
    
    		==> REQUEST
    		GET /graph/v1.0/me/drives
    		Content-Type: application/x-www-form-urlencoded
    
    		<== RESPONSE
    		200 OK
    		X-Xss-Protection: 1; mode=block
    		<== RES BODY
    		{"value":[{"driveAlias":"project/new-space","driveType":"project","id":"05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d","lastModifiedDateTime":"2025-12-15T15:07:02.417432473Z","name":"new-space","owner":{"user":{"displayName":"","id":"a401faa7-9dec-4399-befe-9ecfc285ba9d"}},"quota":{"remaining":1000000000,"state":"normal","total":1000000000,"used":0},"root":{"eTag":"\"588fbd6becec887293719afe5b8a723d\"","id":"05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d","webDavUrl":"[https://opencloud-server:9200/dav/spaces/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d"},"webUrl":"https://opencloud-server:9200/f/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d"},{"driveAlias":"personal/brian","driveType":"personal","id":"05c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40","lastModifiedDateTime":"2025-12-15T15:07:02.233433956Z","name":"Brian](https://opencloud-server:9200/dav/spaces/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d%22%7D,%22webUrl%22:%22https://opencloud-server:9200/f/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$a401faa7-9dec-4399-befe-9ecfc285ba9d%22%7D,%7B%22driveAlias%22:%22personal/brian%22,%22driveType%22:%22personal%22,%22id%22:%2205c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40%22,%22lastModifiedDateTime%22:%222025-12-15T15:07:02.233433956Z%22,%22name%22:%22Brian) Murphy","owner":{"user":{"displayName":"","id":"d0cae414-b6b0-4269-9f0c-9c3fde91047f"}},"quota":{"remaining":9223372036854775807,"state":"normal","total":0,"used":0},"root":{"eTag":"\"ae9c1989a03569ada40347f66eddcc3c\"","id":"05c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40","webDavUrl":"[https://opencloud-server:9200/dav/spaces/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40"},"webUrl":"https://opencloud-server:9200/f/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40"},{"driveAlias":"virtual/shares","driveType":"virtual","id":"a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668","name":"Shares","root":{"eTag":"DECAFC00FEE","id":"a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668","webDavUrl":"https://opencloud-server:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668"},"webUrl":"https://opencloud-server:9200/f/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668"}]}](https://opencloud-server:9200/dav/spaces/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40%22%7D,%22webUrl%22:%22https://opencloud-server:9200/f/05c4b22b-2e6a-4e24-948b-d41f6a4cb100$8353e186-6527-415d-b615-4b6e3fd89f40%22%7D,%7B%22driveAlias%22:%22virtual/shares%22,%22driveType%22:%22virtual%22,%22id%22:%22a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668%22,%22name%22:%22Shares%22,%22root%22:%7B%22eTag%22:%22DECAFC00FEE%22,%22id%22:%22a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668%22,%22webDavUrl%22:%22https://opencloud-server:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668%22%7D,%22webUrl%22:%22https://opencloud-server:9200/f/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668%22%7D]%7D)
    
    		_______________________________________________________________________
    
    		==> REQUEST
    		GET /api/v1/mailbox/brian
    		X-Request-ID: apiNotification/emailNotification.feature:14-23
    
    		<== RESPONSE
    		200 OK
    		Content-Length: 1210
    		<== RES BODY
    		[{"mailbox":"brian","id":"20251215T150635-0000","from":"Alice Hansen via ownCloud \[email protected]\u003e","to":["\[email protected]\u003e"],"subject":"Alice Hansen shared 'my_data' with you","date":"2025-12-15T15:06:35.839568861Z","posix-millis":1765811195839,"size":2715,"seen":false},{"mailbox":"brian","id":"20251215T150636-0001","from":"Alice Hansen via ownCloud \[email protected]\u003e","to":["\[email protected]\u003e"],"subject":"Alice Hansen shared 'textfile1.txt' with you","date":"2025-12-15T15:06:36.150560684Z","posix-millis":1765811196150,"size":2733,"seen":false},{"mailbox":"brian","id":"20251215T150638-0002","from":"Alice Hansen via ownCloud \[email protected]\u003e","to":["\[email protected]\u003e"],"subject":"Alice Hansen shared 'my_data' with you","date":"2025-12-15T15:06:38.436159924Z","posix-millis":1765811198436,"size":2715,"seen":false},{"mailbox":"brian","id":"20251215T150638-0003","from":"Alice Hansen via ownCloud \[email protected]\u003e","to":["\[email protected]\u003e"],"subject":"Alice Hansen shared 'textfile1.txt' with you","date":"2025-12-15T15:06:38.577676373Z","posix-millis":1765811198577,"size":2733,"seen":false}]
    
    		_______________________________________________________________________
    
    		==> REQUEST
    		GET /api/v1/mailbox/brian/20251215T150638-0003
    		X-Request-ID: apiNotification/emailNotification.feature:14-23
    
    		<== RESPONSE
    		200 OK
    		Transfer-Encoding: chunked
    		<== RES BODY
    		{"mailbox":"brian","id":"20251215T150638-0003","from":"Alice Hansen via ownCloud \[email protected]\u003e","to":["\[email protected]\u003e"],"subject":"Alice Hansen shared 'textfile1.txt' with you","date":"2025-12-15T15:06:38.577676373Z","posix-millis":1765811198577,"size":2733,"seen":false,"body":{"text":"Hello Brian Murphy\n\nAlice Hansen has shared \"textfile1.txt\" with you.\n\nClick here to view it: [https://opencloud-server:9200/files/shares/with-me\n\n\n---\nOpenCloud](https://opencloud-server:9200/files/shares/with-me/n/n/n---/nOpenCloud) - a safe home for all your data\n[https://opencloud.eu\n","html":"\u003c!DOCTYPE](https://opencloud.eu/n%22,%22html%22:%22/u003c!DOCTYPE) html\u003e\n\u003chtml\u003e\n\u003cbody\u003e\n\u003ctable cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\"\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003ctable cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"600px\"\u003e\n                \u003ctr\u003e\n                    \u003ctd width=\"20px\"\u003e\u0026nbsp;\u003c/td\u003e\n                    \u003ctd style=\"font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;\"\u003e\n                        Hello Brian Murphy\n                        \u003cbr\u003e\u003cbr\u003e\n                        Alice Hansen has shared \"textfile1.txt\" with you.\n                        \u003cbr\u003e\u003cbr\u003e\n                        Click here to view it: \u003ca href=\"[https://opencloud-server:9200/files/shares/with-me\"\u003ehttps://opencloud-server:9200/files/shares/with-me\u003c/a\u003e\n](https://opencloud-server:9200/files/shares/with-me/%22/u003ehttps://opencloud-server:9200/files/shares/with-me/u003c/a/u003e/n)                    \u003c/td\u003e\n                \u003c/tr\u003e\n                \u003ctr\u003e\n                    \u003ctd colspan=\"2\"\u003e\u0026nbsp;\u003c/td\u003e\n                \u003c/tr\u003e\n                \u003ctr\u003e\n                    \u003ctd width=\"20px\"\u003e\u0026nbsp;\u003c/td\u003e\n                    \u003ctd style=\"font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;\"\u003e\n                        \u003cfooter\u003e\n                            \u003cbr\u003e\n                            \u003cbr\u003e\n                            --- \u003cbr\u003e\n                            OpenCloud - a safe home for all your data\u003cbr\u003e\n                            \u003ca href=\"[https://opencloud.eu\"\u003ehttps://opencloud.eu\u003c/a\u003e\n](https://opencloud.eu/%22/u003ehttps://opencloud.eu/u003c/a/u003e/n)                        \u003c/footer\u003e\n                    \u003c/td\u003e\n                \u003c/tr\u003e\n                \u003ctr\u003e\n                    \u003ctd colspan=\"2\"\u003e\u0026nbsp;\u003c/td\u003e\n                \u003c/tr\u003e\n            \u003c/table\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n"},"header":{"Content-Type":["multipart/alternative; boundary=08dd3b610690c7df9e1c9057a94da52033606e88eeae4c0872a20d9157ee"],"Date":["Mon, 15 Dec 2025 15:06:38 +0000"],"From":["\"Alice Hansen via ownCloud\" \[email protected]\u003e"],"Message-Id":["\[email protected]\u003e"],"Mime-Version":["1.0"],"Received":["from localhost ([172.25.0.3]) by inbucket for \u003cbrian\u003e; Mon, 15 Dec 2025 15:06:38 +0000 (UTC)"],"Return-Path":["\[email protected]\u003e"],"Subject":["Alice Hansen shared 'textfile1.txt' with you"],"To":["\[email protected]\u003e"]},"attachments":[]}
    
     
    
  24. saw-jan commented on Dec 16, 2025

    @saw-jan
    Contributor

    Probable fix for email notification flakiness: opencloud-eu/opencloud#2038

  25. saw-jan commented on Dec 16, 2025

    @saw-jan
    Contributor

    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

  26. unpinned this issue on Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions