Skip to content

Flaky API test in Reva nightlies #77

Closed
opencloud-eu/opencloud
#2092

Description

@prashant-gurung899

coreApiWebdavEtagPropagation2/createFolder.feature:44

  Scenario Outline: creating an invalid folder inside a folder should not change any etags # /woodpecker/src/github.com/opencloud-eu/reva/opencloud/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature:28
    Given using <dav-path-version> DAV path                                                # FeatureContext::usingOldOrNewOrSpacesDavPath()
    And user "Alice" has created folder "/folder"                                          # FeatureContext::userHasCreatedFolder()
    And user "Alice" has created folder "/folder/sub"                                      # FeatureContext::userHasCreatedFolder()
    And user "Alice" has stored etag of element "/"                                        # WebDavPropertiesContext::userHasStoredEtagOfElement()
    And user "Alice" has stored etag of element "/folder"                                  # WebDavPropertiesContext::userHasStoredEtagOfElement()
    And user "Alice" has stored etag of element "/folder/sub"                              # WebDavPropertiesContext::userHasStoredEtagOfElement()
    When user "Alice" creates folder "/folder/sub/.." using the WebDAV API                 # FeatureContext::userCreatesFolder()
    Then the HTTP status code should be "405"                                              # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And these etags should not have changed:                                               # WebDavPropertiesContext::theseEtagsShouldNotHaveChanged()
      | user  | path        |
      | Alice | /           |
      | Alice | /folder     |
      | Alice | /folder/sub |

    Examples:
      | dav-path-version |
      | old              |
        Failed step: And these etags should not have changed:
        WebDavPropertiesContext::theseEtagsShouldNotHaveChanged
        The etag '"781d4f2a57dcf9ace5ab3f27bb136881"' of element '/' of user 'Alice' changed to '"790d4792477b7aec3c698174cddee59e"'.
        Failed asserting that 1 matches expected 0.
+ rm -rf /woodpecker/src/reva/data/users/af0e6a74-6815-1040-992f-c3c5e685c883 /woodpecker/src/reva/data/users/af446386-6815-1040-9932-c3c5e685c883 /woodpecker/src/reva/data/indexes/by-type/personal.mpk
      | new              |
+ rm -rf /woodpecker/src/reva/data/users/af446386-6815-1040-9932-c3c5e685c883 /woodpecker/src/reva/data/users/af7063d2-6815-1040-9935-c3c5e685c883 /woodpecker/src/reva/data/indexes/by-type/personal.mpk
      | spaces           |

Builds:
https://ci.opencloud.rocks/repos/4/pipeline/36/117
https://ci.opencloud.rocks/repos/4/pipeline/29/117
https://ci.opencloud.rocks/repos/4/pipeline/51/117

CC @saw-jan @individual-it

Activity

  1. aduffeck commented on Dec 15, 2025

    @aduffeck
    Member

    This was (supposedly) fixed with opencloud-eu/reva#457. Please reopen if it still happens for you.

  2. saw-jan commented on Dec 30, 2025

    @saw-jan
    Contributor

    The flakiness is in the posix storage pipeline

  3. saw-jan commented on Dec 30, 2025

    @saw-jan
    Contributor

    waiting for post-processing to finish after folder creation makes the test stable
    Fix opencloud-eu/opencloud#2092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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