Repository navigation
Open
Labels
Description
Describe the bug
Given user "Alice" has uploaded file with content "content" to "test.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
When the administrator moves the file "test.txt" to the folder "firstFolder" for user "Alice" on the POSIX filesystem # CliContext::theAdministratorMovesFileToFolder()
Then the command should be successful # CliContext::theCommandShouldBeSuccessful()
And the content of file "/firstFolder/test.txt" for user "Alice" should be "content" # FeatureContext::contentOfFileForUserShouldBe()
The content was expected to be 'content', but actually is ''. HTTP status was 200
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'content'
+''
Steps to reproduce
no way to reproduce it localy. When I skipped all tests in CI except of collaborativePosix/collaborativePosixFS.feature -> test was green
Expected behavior
File has content
Actual behavior
File is exist but empty. here is log https://ci.opencloud.eu/repos/3/pipeline/174/88
- Issue
Sometimes Alice cannot find the file, and after 10 attempts to request the file, the tests end with an error.
Details
Then the command should be successful # CliContext::theCommandShouldBeSuccessful()
And the content of file "/firstFolder/test.txt" for user "Alice" should be "content" # FeatureContext::contentOfFileForUserShouldBe()
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:02 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:03 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:04 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:05 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:06 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:07 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:08 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:09 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:11 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│ ### RESPONSE
│ Status: 425
│ Headers:
│ Content-Length: 0
│ Content-Security-Policy: child-src 'self'; connect-src 'self' blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; default-src 'none'; font-src 'self'; frame-ancestors 'self'; frame-src 'self' blob: https://embed.diagrams.net/; img-src 'self' data: blob: https://raw.githubusercontent.com/opencloud-eu/awesome-apps/; manifest-src 'self'; media-src 'self'; object-src 'self' blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'
│ Date: Thu, 30 Oct 2025 13:09:12 GMT
│ Referrer-Policy: strict-origin-when-cross-origin
│ Strict-Transport-Security: max-age=315360000; preload
│ Vary: Origin
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Permitted-Cross-Domain-Policies: none
│ X-Request-Id: collaborativePosix/collaborativePosixFS.feature:88-92
│ X-Robots-Tag: none
│ X-Xss-Protection: 1; mode=block
│ Body:
│ string(0) ""
│
│ ### END RESPONSE
│
Expected status code to be '200', but got '425' (Exception)
And as "Alice" file "/test.txt" should not exist # FeatureContext::asFileOrFolderShouldNotExist()
- File stills exist sfter deleting in file system
Scenario: delete file # /woodpecker/src/github.com/opencloud-eu/opencloud/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature:96
Given user "Alice" has uploaded file with content "content" to "test.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
When the administrator deletes the file "test.txt" for user "Alice" on the POSIX filesystem # CliContext::theAdministratorDeletesFile()
Then the command should be successful # CliContext::theCommandShouldBeSuccessful()
And as "Alice" file "/test.txt" should not exist # FeatureContext::asFileOrFolderShouldNotExist()
file '/test.txt' should not exist. But it does.
in the CI run of my PR #1746 you can find a log
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fix: Ignore files in .oc-tmp in assimilation
fix: Ignore files in .oc-tmp in assimilation
bump reva
bump reva
1 remaining item
individual-it commentedon Nov 3, 2025
In #1762 I've added a check for the 425 code, to make sure the postprocessing is finished before going to the next step.
But now when I run the tests locally, some other tests never get out of the 425 loop or never get a 425, but the file is still not readable.
e.g. from tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature:74
same happens with tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature:88
But at other times I get
individual-it commentedon Nov 4, 2025
Reopening this, because I think it is not solved yet.
I'm still running into the issue when moving/renaming files. Even trying to download them via WebDAV, does not return a 425 and so the test fails
rhafer commentedon Nov 4, 2025
Here's another one:
https://ci.opencloud.eu/repos/3/pipeline/288/88
test: fix a few more collaborative posixfis test
test: fix a few more collaborative posixfs test
test: fix a few more collaborative posixfs test (#1777)
bump reva
test: fix a few more collaborative posixfs test (opencloud-eu#1777)
[-]CollaborativePosix. file is empty after changing it in the file system.[/-][+]watchfs: file is empty after changing it in the file system.[/+]bump reva
test: fix a few more collaborative posixfs test (opencloud-eu#1777)