X Tutup
Skip to content

Failing test scenarios #328

@phil-davis

Description

@phil-davis

Last night the following core test scenarios failed with encryption:

https://drone.owncloud.com/owncloud/encryption/2333/30/18

runsh: Total unexpected failed scenarios throughout the test run:

HTTP status code 500 is not the expected value 201
apiFederationToRoot1/federated.feature:285
apiFederationToRoot1/federated.feature:286

file '/PARENT/RandomFolder/file-to-share' should not exist. But it does exist and is a file
apiFederationToRoot2/federated.feature:178
apiFederationToRoot2/federated.feature:179

https://drone.owncloud.com/owncloud/encryption/2333/31/18

runsh: Total unexpected failed scenarios throughout the test run:

HTTP status code 500 is not the expected value 201
apiFederationToShares1/federated.feature:299
apiFederationToShares1/federated.feature:300

file '/PARENT/RandomFolder/file-to-share' should not exist. But it does exist and is a file
apiFederationToShares2/federated.feature:182
apiFederationToShares2/federated.feature:183

https://drone.owncloud.com/owncloud/encryption/2333/32/18

runsh: Total unexpected failed scenarios throughout the test run:

HTTP status code 500 is not the expected value 201
apiMain/external-storage.feature:38

https://drone.owncloud.com/owncloud/encryption/2333/110/18

file '/local_storage2/file-to-delete.txt' should not exist. But it does exist and is a file
runsh: Total unexpected failed scenarios throughout the test run:
cliLocalStorage/createLocalStorage.feature:13
cliLocalStorage/createLocalStorage.feature:30
cliLocalStorage/createLocalStorage.feature:39
cliLocalStorage/createLocalStorage.feature:47
cliLocalStorage/createLocalStorage.feature:55
cliLocalStorage/createLocalStorageForGroups.feature:13
cliLocalStorage/createLocalStorageForGroups.feature:28
cliLocalStorage/createLocalStorageForGroups.feature:40
cliLocalStorage/createLocalStorageForGroups.feature:58
cliLocalStorage/createLocalStorageForGroupsAndUsers.feature:13
cliLocalStorage/createLocalStorageForUsers.feature:14
cliLocalStorage/createLocalStorageForUsers.feature:39
cliLocalStorage/createLocalStorageForUsers.feature:61
cliLocalStorage/createLocalStorageForUsers.feature:71
cliLocalStorage/createLocalStorageForUsers.feature:81
cliLocalStorage/createLocalStorageOc10Issue36713.feature:14
cliLocalStorage/createLocalStorageOc10Issue36719.feature:13
cliLocalStorage/createLocalStorageOc10Issue36719.feature:30
cliLocalStorage/createLocalStorageOc10Issue36719.feature:51
cliLocalStorage/createLocalStorageReadOnly.feature:13

https://drone.owncloud.com/owncloud/encryption/2333/114/20

The downloaded content was expected to be 'this is a file in local storage', but actually is (500 error status)
runsh: Total unexpected failed scenarios throughout the test run:
webUIAdminSettings/adminStorageSettings.feature:17
webUIAdminSettings/adminStorageSettings.feature:34

Sample traceback from the log:

{"reqId":"SR18CrSLy139fMXjOHOh","level":3,"time":"2022-03-01T02:04:55+00:00","remoteAddr":"192.168.3.8","user":"Alice","app":"no app in context","method":"GET",
"url":"\/remote.php\/webdav\/local_storage1\/file-in-local-storage.txt",
"message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you."}

{"reqId":"SR18CrSLy139fMXjOHOh","level":4,"time":"2022-03-01T02:04:55+00:00","remoteAddr":"192.168.3.8","user":"Alice","app":"webdav","method":"GET",
"url":"\/remote.php\/webdav\/local_storage1\/file-in-local-storage.txt",
"message":"Exception: Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.: 
{\"Exception\":\"OC\\\\Encryption\\\\Exceptions\\\\DecryptionFailedException\",
\"Message\":\"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.\",
\"Code\":0,\"Trace\":\"
#0 \\\/var\\\/www\\\/owncloud\\\/server\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(478): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n
#1 \\\/var\\\/www\\\/owncloud\\\/server\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(294): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n
#2 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read()\\n
#3 \\\/var\\\/www\\\/owncloud\\\/server\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(55): fread()\\n
#4 \\\/var\\\/www\\\/owncloud\\\/server\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(96): Icewind\\\\Streams\\\\Wrapper->stream_read()\\n
#5 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read()\\n
#6 \\\/var\\\/www\\\/owncloud\\\/server\\\/lib\\\/composer\\\/sabre\\\/http\\\/lib\\\/Sapi.php(112): stream_copy_to_stream()\\n
#7 \\\/var\\\/www\\\/owncloud\\\/server\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(490): Sabre\\\\HTTP\\\\Sapi::sendResponse()\\n
#8 \\\/var\\\/www\\\/owncloud\\\/server\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod()\\n
#9 \\\/var\\\/www\\\/owncloud\\\/server\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(321): Sabre\\\\DAV\\\\Server->start()\\n
#10 \\\/var\\\/www\\\/owncloud\\\/server\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(67): Sabre\\\\DAV\\\\Server->exec()\\n
#11 \\\/var\\\/www\\\/owncloud\\\/server\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n
#12 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/server\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php\",\"Line\":374}"}

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

      X Tutup