owncloud / owncloud/ocis

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

Open
#4,122 1 comment 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.