owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.38k stars 181 forks source link

[parallel-deployment] Cannot PROPFIND file information (using ocis selector) #4122

Open phil-davis opened 2 years ago

phil-davis commented 2 years ago

Describe the bug

PR #4115 pulls in updated code from reva edge branch. This scenario starts failing with that updated reva code: https://drone.owncloud.com/owncloud/ocis/13143/75/14

runsh: Total unexpected failed scenarios throughout the test run:
apiWebdavOperations/downloadFile.feature:35

That failed again the same after I restarted.

  Background:                                                                                   # /drone/src/tests/parallelDeployAcceptance/features/apiWebdavOperations/downloadFile.feature:7
    Given using "oc10" as owncloud selector                                                     # ParallelContext::usingOwncloudSelector()
    And user "Alice" has been created with default attributes and without skeleton files        # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
    And user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt" # FeatureContext::userHasUploadedAFileWithContentTo()

  Scenario: Get the size of a file                                              # /drone/src/tests/parallelDeployAcceptance/features/apiWebdavOperations/downloadFile.feature:35
    Given using "ocis" as owncloud selector                                     # ParallelContext::usingOwncloudSelector()
    When user "Alice" gets the size of file "textfile.txt" using the WebDAV API # FeatureContext::userGetsSizeOfFileUsingTheWebdavApi()
    Then the HTTP status code should be "207"                                   # FeatureContext::thenTheHTTPStatusCodeShouldBe()
      HTTP status code 404 is not the expected value 207
      Failed asserting that 404 matches expected '207'.
    And the size of the file should be "23"                                     # FeatureContext::theSizeOfTheFileShouldBe()

Steps to reproduce

Run CI parallel-deployment test scenarios.

Expected behavior

Pass

Actual behavior

A file was uploaded to oC10. A PROPFIND to find out about the file is sent to oCIS, but returns a 404 "not found".

Setup

Current oCIS CI.

Also see comment https://github.com/owncloud/ocis/pull/4115#issuecomment-1177082508

micbar commented 2 years ago

Not needed for GA