Script path: /home/sujith/test/owncloud/tests/integration 8080 6361 8180 6362 Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded System config value skeletondirectory set to string /home/sujith/test/owncloud/tests/integration/skeleton Cannot load Xdebug - it was already loaded Config value enable_external_storage for app core set to yes Cannot load Xdebug - it was already loaded System config value files_external_allow_create_new_local set to string true Cannot load Xdebug - it was already loaded testing enabled Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded Feature: transfer-ownership [Mon Jul 17 22:20:16 2017] 127.0.0.1:56458 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of a file # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:4 [Mon Jul 17 22:20:17 2017] 127.0.0.1:56484 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:17 2017] 127.0.0.1:56508 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:18 2017] 127.0.0.1:56534 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:18 2017] 127.0.0.1:56564 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:18 2017] 127.0.0.1:56592 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:19 2017] 127.0.0.1:56616 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:19 2017] 127.0.0.1:56642 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:20 2017] 127.0.0.1:56672 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:20 2017] 127.0.0.1:56700 [201]: /remote.php/webdav/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:20 2017] 127.0.0.1:56718 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:20:21 2017] Encryption module defined in "files/transferred from user0 on 20170717_045020/somefile.txt" not loaded! [Mon Jul 17 22:20:21 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045020/somefile.txt [Mon Jul 17 22:20:21 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/transferred fr...', Array, 'rb')\n#9 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('transferred fro...', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#11 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#14 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#16 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#17 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:21 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:21 2017] 127.0.0.1:56734 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045020/somefile.txt Then Downloaded content when downloading file "/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:21 2017] 127.0.0.1:56744 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:21 2017] 127.0.0.1:56778 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:21 2017] 127.0.0.1:56802 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:21 2017] 127.0.0.1:56830 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:22 2017] 127.0.0.1:56854 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of a file after updating the file # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:14 [Mon Jul 17 22:20:22 2017] 127.0.0.1:56878 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:22 2017] 127.0.0.1:56902 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:23 2017] 127.0.0.1:56928 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:23 2017] 127.0.0.1:56958 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:23 2017] 127.0.0.1:56986 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:23 2017] 127.0.0.1:57010 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:24 2017] 127.0.0.1:57036 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:24 2017] 127.0.0.1:57066 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:24 2017] 127.0.0.1:57094 [201]: /remote.php/webdav/PARENT/textfile0.txt And User "user0" uploads file "data/file_to_overwrite.txt" to "/PARENT/textfile0.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:25 2017] 127.0.0.1:57110 [204]: /remote.php/webdav/PARENT/textfile0.txt And User "user0" uploads file "data/file_to_overwrite.txt" to "/PARENT/textfile0.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:25 2017] 127.0.0.1:57126 [204]: /remote.php/webdav/PARENT/textfile0.txt And User "user0" uploads file "data/file_to_overwrite.txt" to "/PARENT/textfile0.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:25 2017] 127.0.0.1:57142 [204]: /remote.php/webdav/PARENT/textfile0.txt And User "user0" uploads file "data/file_to_overwrite.txt" to "/PARENT/textfile0.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:26 2017] 127.0.0.1:57160 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:20:26 2017] Encryption module defined in "files/transferred from user0 on 20170717_045025/PARENT/textfile0.txt" not loaded! [Mon Jul 17 22:20:26 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045025/PARENT/textfile0.txt [Mon Jul 17 22:20:26 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 10, 10)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 10)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/transferred fr...', Array, 'rb')\n#9 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('transferred fro...', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#11 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#14 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#16 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#17 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:26 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:26 2017] 127.0.0.1:57176 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045025/PARENT/textfile0.txt Then Downloaded content when downloading file "/PARENT/textfile0.txt" with range "bytes=0-8" should be "BLABLABLA" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:26 2017] 127.0.0.1:57186 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:26 2017] 127.0.0.1:57220 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:26 2017] 127.0.0.1:57244 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:26 2017] 127.0.0.1:57272 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:27 2017] 127.0.0.1:57296 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of a folder # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:27 [Mon Jul 17 22:20:27 2017] 127.0.0.1:57320 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:27 2017] 127.0.0.1:57344 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:28 2017] 127.0.0.1:57370 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:28 2017] 127.0.0.1:57400 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:28 2017] 127.0.0.1:57428 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:28 2017] 127.0.0.1:57452 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:29 2017] 127.0.0.1:57478 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:29 2017] 127.0.0.1:57508 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:29 2017] 127.0.0.1:57536 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:20:30 2017] 127.0.0.1:57552 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:30 2017] 127.0.0.1:57570 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:20:30 2017] Encryption module defined in "files/transferred from user0 on 20170717_045030/test/somefile.txt" not loaded! [Mon Jul 17 22:20:30 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045030/test/somefile.txt [Mon Jul 17 22:20:30 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/transferred fr...', Array, 'rb')\n#9 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('transferred fro...', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#11 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#14 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#16 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#17 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:30 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:30 2017] 127.0.0.1:57586 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045030/test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:31 2017] 127.0.0.1:57596 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:31 2017] 127.0.0.1:57630 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:31 2017] 127.0.0.1:57654 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:31 2017] 127.0.0.1:57682 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:31 2017] 127.0.0.1:57706 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of file shares # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:38 [Mon Jul 17 22:20:31 2017] 127.0.0.1:57730 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:32 2017] 127.0.0.1:57754 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:32 2017] 127.0.0.1:57780 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:33 2017] 127.0.0.1:57810 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:33 2017] 127.0.0.1:57838 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:33 2017] 127.0.0.1:57862 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:34 2017] 127.0.0.1:57888 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:34 2017] 127.0.0.1:57918 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:34 2017] 127.0.0.1:57946 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:20:34 2017] 127.0.0.1:57970 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:35 2017] 127.0.0.1:57996 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:20:35 2017] 127.0.0.1:58026 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:35 2017] 127.0.0.1:58054 [201]: /remote.php/webdav/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:36 2017] 127.0.0.1:58070 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsomefile.txt [Mon Jul 17 22:20:36 2017] 127.0.0.1:58100 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:20:36 2017] 127.0.0.1:58126 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsomefile.txt And file "/somefile.txt" of user "user0" is shared with user "user2" with permissions 19 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:20:37 2017] 127.0.0.1:58158 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user2" # FeatureContext::asAn() [Mon Jul 17 22:20:37 2017] Encryption module defined in "files/transferred from user0 on 20170717_045036/somefile.txt" not loaded! [Mon Jul 17 22:20:37 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045036/somefile.txt [Mon Jul 17 22:20:37 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(293): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/apps\/files_sharing\/lib\/SharedStorage.php(249): OC\\Files\\Storage\\Wrapper\\Jail->fopen('', 'rb')\n#9 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OCA\\Files_Sharing\\SharedStorage->fopen('', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('', 'rb')\n#11 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/somefile.txt', Array, 'rb')\n#12 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('somefile.txt', 'rb')\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#14 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#16 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#17 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#18 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#19 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#20 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:37 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:37 2017] 127.0.0.1:58174 [206]: /remote.php/webdav/somefile.txt Then Downloaded content when downloading file "/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:37 2017] 127.0.0.1:58184 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:37 2017] 127.0.0.1:58222 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:37 2017] 127.0.0.1:58246 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:38 2017] 127.0.0.1:58274 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:38 2017] 127.0.0.1:58298 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:20:38 2017] 127.0.0.1:58326 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:20:38 2017] 127.0.0.1:58350 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of folder shared with third user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:49 [Mon Jul 17 22:20:38 2017] 127.0.0.1:58374 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:39 2017] 127.0.0.1:58398 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:39 2017] 127.0.0.1:58424 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:39 2017] 127.0.0.1:58454 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:40 2017] 127.0.0.1:58482 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:40 2017] 127.0.0.1:58506 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:41 2017] 127.0.0.1:58532 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:41 2017] 127.0.0.1:58562 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:41 2017] 127.0.0.1:58590 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:20:41 2017] 127.0.0.1:58614 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:42 2017] 127.0.0.1:58640 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:20:42 2017] 127.0.0.1:58670 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:42 2017] 127.0.0.1:58698 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:20:42 2017] 127.0.0.1:58714 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:43 2017] 127.0.0.1:58730 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:20:43 2017] 127.0.0.1:58760 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:20:43 2017] 127.0.0.1:58786 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with user "user2" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:20:44 2017] 127.0.0.1:58818 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user2" # FeatureContext::asAn() [Mon Jul 17 22:20:44 2017] Encryption module defined in "files/transferred from user0 on 20170717_045043/test/somefile.txt" not loaded! [Mon Jul 17 22:20:44 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045043/test/somefile.txt [Mon Jul 17 22:20:44 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(293): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/apps\/files_sharing\/lib\/SharedStorage.php(249): OC\\Files\\Storage\\Wrapper\\Jail->fopen('somefile.txt', 'rb')\n#9 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OCA\\Files_Sharing\\SharedStorage->fopen('somefile.txt', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('somefile.txt', 'rb')\n#11 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/test\/somefile....', Array, 'rb')\n#12 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('test\/somefile.t...', 'rb')\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#14 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#16 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#17 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#18 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#19 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#20 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:44 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:44 2017] 127.0.0.1:58834 [206]: /remote.php/webdav/test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:44 2017] 127.0.0.1:58844 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:44 2017] 127.0.0.1:58882 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:44 2017] 127.0.0.1:58906 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:45 2017] 127.0.0.1:58934 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:45 2017] 127.0.0.1:58958 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:20:45 2017] 127.0.0.1:58986 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:20:45 2017] 127.0.0.1:59010 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of folder shared with transfer recipient # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:61 [Mon Jul 17 22:20:45 2017] 127.0.0.1:59034 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:46 2017] 127.0.0.1:59058 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:46 2017] 127.0.0.1:59084 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:46 2017] 127.0.0.1:59114 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:47 2017] 127.0.0.1:59142 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:47 2017] 127.0.0.1:59166 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:47 2017] 127.0.0.1:59192 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:48 2017] 127.0.0.1:59222 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:48 2017] 127.0.0.1:59250 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:20:48 2017] 127.0.0.1:59266 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:48 2017] 127.0.0.1:59282 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:20:48 2017] 127.0.0.1:59312 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:20:49 2017] 127.0.0.1:59338 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with user "user1" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:20:49 2017] 127.0.0.1:59370 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() [Mon Jul 17 22:20:49 2017] 127.0.0.1:59386 [404]: /remote.php/webdav/test Then as "user1" the folder "/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:20:50 2017] Encryption module defined in "files/transferred from user0 on 20170717_045049/test/somefile.txt" not loaded! [Mon Jul 17 22:20:50 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045049/test/somefile.txt [Mon Jul 17 22:20:50 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/transferred fr...', Array, 'rb')\n#9 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('transferred fro...', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#11 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#14 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#16 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#17 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:50 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:50 2017] 127.0.0.1:59396 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045049/test/somefile.txt And Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:50 2017] 127.0.0.1:59412 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:50 2017] 127.0.0.1:59446 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:50 2017] 127.0.0.1:59470 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:50 2017] 127.0.0.1:59498 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:51 2017] 127.0.0.1:59522 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of folder doubly shared with third user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:74 [Mon Jul 17 22:20:51 2017] 127.0.0.1:59546 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jul 17 22:20:51 2017] 127.0.0.1:59570 [200]: /ocs/v1.php/cloud/groups [Mon Jul 17 22:20:51 2017] 127.0.0.1:59594 [200]: /ocs/v2.php/cloud/groups/group1 Given group "group1" exists # FeatureContext::assureGroupExists() [Mon Jul 17 22:20:51 2017] 127.0.0.1:59618 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:51 2017] 127.0.0.1:59642 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:52 2017] 127.0.0.1:59668 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:52 2017] 127.0.0.1:59698 [200]: /ocs/v2.php/cloud/users/user0 And user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:53 2017] 127.0.0.1:59726 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:53 2017] 127.0.0.1:59750 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:53 2017] 127.0.0.1:59776 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:54 2017] 127.0.0.1:59806 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:54 2017] 127.0.0.1:59834 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:20:54 2017] 127.0.0.1:59858 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:20:55 2017] 127.0.0.1:59884 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:20:55 2017] 127.0.0.1:59914 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:20:55 2017] 127.0.0.1:59942 [200]: /ocs/v2.php/cloud/users/user2/groups [Mon Jul 17 22:20:55 2017] 127.0.0.1:59966 [200]: /ocs/v1.php/cloud/users/user2/groups [Mon Jul 17 22:20:55 2017] 127.0.0.1:59990 [200]: /ocs/v2.php/cloud/users/user2/groups And user "user2" belongs to group "group1" # FeatureContext::assureUserBelongsToGroup() [Mon Jul 17 22:20:56 2017] 127.0.0.1:60014 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:20:56 2017] 127.0.0.1:60030 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:20:56 2017] 127.0.0.1:60046 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:20:56 2017] 127.0.0.1:60076 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:20:56 2017] 127.0.0.1:60102 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with group "group1" with permissions 31 # FeatureContext::assureFileIsSharedWithGroup() [Mon Jul 17 22:20:57 2017] 127.0.0.1:60132 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:20:57 2017] 127.0.0.1:60162 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:20:57 2017] 127.0.0.1:60188 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with user "user2" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:20:58 2017] 127.0.0.1:60220 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user2" # FeatureContext::asAn() [Mon Jul 17 22:20:58 2017] Encryption module defined in "files/transferred from user0 on 20170717_045057/test/somefile.txt" not loaded! [Mon Jul 17 22:20:58 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045057/test/somefile.txt [Mon Jul 17 22:20:58 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(293): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/apps\/files_sharing\/lib\/SharedStorage.php(249): OC\\Files\\Storage\\Wrapper\\Jail->fopen('somefile.txt', 'rb')\n#9 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OCA\\Files_Sharing\\SharedStorage->fopen('somefile.txt', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('somefile.txt', 'rb')\n#11 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/test\/somefile....', Array, 'rb')\n#12 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('test\/somefile.t...', 'rb')\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#14 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#16 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#17 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#18 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#19 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#20 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:20:58 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:20:58 2017] 127.0.0.1:60236 [206]: /remote.php/webdav/test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:20:58 2017] 127.0.0.1:60246 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:20:58 2017] 127.0.0.1:60284 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:20:58 2017] 127.0.0.1:60308 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:20:59 2017] 127.0.0.1:60336 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:20:59 2017] 127.0.0.1:60360 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:20:59 2017] 127.0.0.1:60388 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:20:59 2017] 127.0.0.1:60412 [200]: /ocs/v1.php/cloud/groups/group1 [Mon Jul 17 22:20:59 2017] 127.0.0.1:60436 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jul 17 22:21:00 2017] 127.0.0.1:60460 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership does not transfer received shares # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:89 [Mon Jul 17 22:21:00 2017] 127.0.0.1:60484 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:00 2017] 127.0.0.1:60508 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:01 2017] 127.0.0.1:60534 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:01 2017] 127.0.0.1:60564 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:01 2017] 127.0.0.1:60592 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:01 2017] 127.0.0.1:60616 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:02 2017] 127.0.0.1:60642 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:02 2017] 127.0.0.1:60672 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:02 2017] 127.0.0.1:60700 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:03 2017] 127.0.0.1:60724 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:03 2017] 127.0.0.1:60750 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:03 2017] 127.0.0.1:60780 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:04 2017] 127.0.0.1:60808 [201]: /remote.php/webdav/test And User "user2" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:04 2017] 127.0.0.1:60824 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:21:04 2017] 127.0.0.1:60854 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:04 2017] 127.0.0.1:60880 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user2" is shared with user "user0" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:21:05 2017] 127.0.0.1:60912 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:21:05 2017] 127.0.0.1:60928 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045105//test Then as "user1" the folder "/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jul 17 22:21:05 2017] 127.0.0.1:60940 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:05 2017] 127.0.0.1:60972 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:06 2017] 127.0.0.1:60996 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:06 2017] 127.0.0.1:32792 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:06 2017] 127.0.0.1:32816 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:06 2017] 127.0.0.1:32844 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:06 2017] 127.0.0.1:32868 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload @local_storage Scenario: transfering ownership does not transfer external storage # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:102 [Mon Jul 17 22:21:06 2017] 127.0.0.1:32892 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:07 2017] 127.0.0.1:32916 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:07 2017] 127.0.0.1:32942 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:08 2017] 127.0.0.1:32972 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:08 2017] 127.0.0.1:33000 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:08 2017] 127.0.0.1:33024 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:09 2017] 127.0.0.1:33050 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:09 2017] 127.0.0.1:33080 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:09 2017] 127.0.0.1:33110 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:21:10 2017] 127.0.0.1:33126 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045109//local_storage Then as "user1" the folder "/local_storage" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jul 17 22:21:10 2017] 127.0.0.1:33136 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:10 2017] 127.0.0.1:33170 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:10 2017] 127.0.0.1:33194 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:10 2017] 127.0.0.1:33222 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:11 2017] 127.0.0.1:33246 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership does not fail with shared trashed files # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:111 [Mon Jul 17 22:21:11 2017] 127.0.0.1:33270 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:11 2017] 127.0.0.1:33294 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:12 2017] 127.0.0.1:33320 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:12 2017] 127.0.0.1:33350 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:12 2017] 127.0.0.1:33378 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:12 2017] 127.0.0.1:33402 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:13 2017] 127.0.0.1:33428 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:13 2017] 127.0.0.1:33458 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:13 2017] 127.0.0.1:33486 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:14 2017] 127.0.0.1:33510 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:14 2017] 127.0.0.1:33536 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:14 2017] 127.0.0.1:33566 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:15 2017] 127.0.0.1:33594 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:15 2017] 127.0.0.1:33610 [201]: /remote.php/webdav/sub/test And User "user0" created a folder "/sub/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:15 2017] 127.0.0.1:33626 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsub%2Ftest [Mon Jul 17 22:21:15 2017] 127.0.0.1:33656 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:15 2017] 127.0.0.1:33682 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsub%2Ftest And folder "/sub/test" of user "user0" is shared with user "user2" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:21:16 2017] 127.0.0.1:33712 [204]: /remote.php/webdav/sub And User "user0" deletes folder "/sub" # FeatureContext::userDeletesFile() [Mon Jul 17 22:21:16 2017] 127.0.0.1:33730 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() Then the command was successful # CommandLineContext::theCommandWasSuccessful() [Mon Jul 17 22:21:16 2017] 127.0.0.1:33746 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:17 2017] 127.0.0.1:33774 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:17 2017] 127.0.0.1:33798 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:17 2017] 127.0.0.1:33826 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:17 2017] 127.0.0.1:33850 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:17 2017] 127.0.0.1:33878 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:18 2017] 127.0.0.1:33902 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership fails with invalid source user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:122 [Mon Jul 17 22:21:18 2017] 127.0.0.1:33926 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:18 2017] 127.0.0.1:33950 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:19 2017] 127.0.0.1:33976 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:19 2017] 127.0.0.1:34006 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() When transfering ownership from "invalid_user" to "user0" # CommandLineContext::transferingOwnership() Then the command error output contains the text "Unknown source user" # CommandLineContext::theCommandErrorOutputContainsTheText() And the command failed with exit code 1 # CommandLineContext::theCommandFailedWithExitCode() [Mon Jul 17 22:21:19 2017] 127.0.0.1:34036 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:20 2017] 127.0.0.1:34064 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:20 2017] 127.0.0.1:34088 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership fails with invalid target user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:128 [Mon Jul 17 22:21:20 2017] 127.0.0.1:34112 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:20 2017] 127.0.0.1:34136 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:21 2017] 127.0.0.1:34162 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:21 2017] 127.0.0.1:34192 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() When transfering ownership from "user0" to "invalid_user" # CommandLineContext::transferingOwnership() Then the command error output contains the text "Unknown target user" # CommandLineContext::theCommandErrorOutputContainsTheText() And the command failed with exit code 1 # CommandLineContext::theCommandFailedWithExitCode() [Mon Jul 17 22:21:22 2017] 127.0.0.1:34222 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:22 2017] 127.0.0.1:34250 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:22 2017] 127.0.0.1:34274 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of a folder # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:134 [Mon Jul 17 22:21:22 2017] 127.0.0.1:34298 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:22 2017] 127.0.0.1:34322 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:23 2017] 127.0.0.1:34348 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:23 2017] 127.0.0.1:34378 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:23 2017] 127.0.0.1:34406 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:24 2017] 127.0.0.1:34430 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:24 2017] 127.0.0.1:34456 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:25 2017] 127.0.0.1:34486 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:25 2017] 127.0.0.1:34514 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:25 2017] 127.0.0.1:34530 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:21:26 2017] 127.0.0.1:34548 [207]: /remote.php/webdav When transfering ownership of path "test" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:21:26 2017] Encryption module defined in "files/transferred from user0 on 20170717_045125/test/somefile.txt" not loaded! [Mon Jul 17 22:21:26 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045125/test/somefile.txt [Mon Jul 17 22:21:26 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/transferred fr...', Array, 'rb')\n#9 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('transferred fro...', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#11 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#14 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#16 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#17 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:21:26 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:21:26 2017] 127.0.0.1:34564 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045125/test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:21:26 2017] 127.0.0.1:34574 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:26 2017] 127.0.0.1:34608 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:26 2017] 127.0.0.1:34632 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:26 2017] 127.0.0.1:34660 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:27 2017] 127.0.0.1:34684 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of file shares # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:145 [Mon Jul 17 22:21:27 2017] 127.0.0.1:34708 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:27 2017] 127.0.0.1:34732 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:28 2017] 127.0.0.1:34758 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:28 2017] 127.0.0.1:34788 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:28 2017] 127.0.0.1:34816 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:28 2017] 127.0.0.1:34840 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:29 2017] 127.0.0.1:34866 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:29 2017] 127.0.0.1:34896 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:29 2017] 127.0.0.1:34924 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:30 2017] 127.0.0.1:34948 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:30 2017] 127.0.0.1:34974 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:31 2017] 127.0.0.1:35004 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:31 2017] 127.0.0.1:35032 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:31 2017] 127.0.0.1:35048 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:21:31 2017] 127.0.0.1:35064 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest%2Fsomefile.txt [Mon Jul 17 22:21:31 2017] 127.0.0.1:35094 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:32 2017] 127.0.0.1:35120 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest%2Fsomefile.txt And file "/test/somefile.txt" of user "user0" is shared with user "user2" with permissions 19 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:21:32 2017] 127.0.0.1:35152 [207]: /remote.php/webdav When transfering ownership of path "test" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user2" # FeatureContext::asAn() [Mon Jul 17 22:21:32 2017] Encryption module defined in "files/transferred from user0 on 20170717_045132/test/somefile.txt" not loaded! [Mon Jul 17 22:21:32 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045132/test/somefile.txt [Mon Jul 17 22:21:32 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(293): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/apps\/files_sharing\/lib\/SharedStorage.php(249): OC\\Files\\Storage\\Wrapper\\Jail->fopen('', 'rb')\n#9 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OCA\\Files_Sharing\\SharedStorage->fopen('', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('', 'rb')\n#11 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/somefile.txt', Array, 'rb')\n#12 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('somefile.txt', 'rb')\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#14 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#16 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#17 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#18 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#19 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#20 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:21:32 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:21:32 2017] 127.0.0.1:35168 [206]: /remote.php/webdav/somefile.txt Then Downloaded content when downloading file "/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:21:32 2017] 127.0.0.1:35188 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:33 2017] 127.0.0.1:35216 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:33 2017] 127.0.0.1:35240 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:33 2017] 127.0.0.1:35268 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:33 2017] 127.0.0.1:35292 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:33 2017] 127.0.0.1:35320 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:34 2017] 127.0.0.1:35344 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of folder shared with third user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:157 [Mon Jul 17 22:21:34 2017] 127.0.0.1:35368 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:34 2017] 127.0.0.1:35392 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:35 2017] 127.0.0.1:35418 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:35 2017] 127.0.0.1:35448 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:35 2017] 127.0.0.1:35476 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:35 2017] 127.0.0.1:35500 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:36 2017] 127.0.0.1:35526 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:36 2017] 127.0.0.1:35556 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:36 2017] 127.0.0.1:35584 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:37 2017] 127.0.0.1:35608 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:37 2017] 127.0.0.1:35634 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:38 2017] 127.0.0.1:35664 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:38 2017] 127.0.0.1:35692 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:38 2017] 127.0.0.1:35708 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:21:38 2017] 127.0.0.1:35724 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:21:38 2017] 127.0.0.1:35754 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:38 2017] 127.0.0.1:35780 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with user "user2" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:21:39 2017] 127.0.0.1:35812 [207]: /remote.php/webdav When transfering ownership of path "test" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user2" # FeatureContext::asAn() [Mon Jul 17 22:21:39 2017] Encryption module defined in "files/transferred from user0 on 20170717_045139/test/somefile.txt" not loaded! [Mon Jul 17 22:21:39 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045139/test/somefile.txt [Mon Jul 17 22:21:39 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(293): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/apps\/files_sharing\/lib\/SharedStorage.php(249): OC\\Files\\Storage\\Wrapper\\Jail->fopen('somefile.txt', 'rb')\n#9 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OCA\\Files_Sharing\\SharedStorage->fopen('somefile.txt', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('somefile.txt', 'rb')\n#11 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/test\/somefile....', Array, 'rb')\n#12 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('test\/somefile.t...', 'rb')\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#14 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#16 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#17 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#18 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#19 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#20 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:21:39 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:21:39 2017] 127.0.0.1:35828 [206]: /remote.php/webdav/test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:21:39 2017] 127.0.0.1:35838 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:40 2017] 127.0.0.1:35876 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:40 2017] 127.0.0.1:35900 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:40 2017] 127.0.0.1:35928 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:40 2017] 127.0.0.1:35952 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:40 2017] 127.0.0.1:35980 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:40 2017] 127.0.0.1:36004 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of folder shared with transfer recipient # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:169 [Mon Jul 17 22:21:41 2017] 127.0.0.1:36028 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:41 2017] 127.0.0.1:36052 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:42 2017] 127.0.0.1:36078 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:42 2017] 127.0.0.1:36108 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:42 2017] 127.0.0.1:36136 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:42 2017] 127.0.0.1:36160 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:43 2017] 127.0.0.1:36186 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:43 2017] 127.0.0.1:36216 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:43 2017] 127.0.0.1:36244 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:43 2017] 127.0.0.1:36260 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:21:44 2017] 127.0.0.1:36276 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:21:44 2017] 127.0.0.1:36306 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:44 2017] 127.0.0.1:36332 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with user "user1" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:21:45 2017] 127.0.0.1:36364 [207]: /remote.php/webdav When transfering ownership of path "test" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() [Mon Jul 17 22:21:45 2017] 127.0.0.1:36380 [404]: /remote.php/webdav/test Then as "user1" the folder "/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:21:45 2017] Encryption module defined in "files/transferred from user0 on 20170717_045144/test/somefile.txt" not loaded! [Mon Jul 17 22:21:45 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045144/test/somefile.txt [Mon Jul 17 22:21:45 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/transferred fr...', Array, 'rb')\n#9 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('transferred fro...', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#11 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#14 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#16 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#17 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:21:45 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) And Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:21:45 2017] 127.0.0.1:36390 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045144/test/somefile.txt [Mon Jul 17 22:21:45 2017] 127.0.0.1:36400 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:45 2017] 127.0.0.1:36440 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:46 2017] 127.0.0.1:36464 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:46 2017] 127.0.0.1:36492 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:46 2017] 127.0.0.1:36516 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership of folder doubly shared with third user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:182 [Mon Jul 17 22:21:46 2017] 127.0.0.1:36540 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jul 17 22:21:46 2017] 127.0.0.1:36564 [200]: /ocs/v1.php/cloud/groups [Mon Jul 17 22:21:46 2017] 127.0.0.1:36588 [200]: /ocs/v2.php/cloud/groups/group1 Given group "group1" exists # FeatureContext::assureGroupExists() [Mon Jul 17 22:21:47 2017] 127.0.0.1:36612 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:47 2017] 127.0.0.1:36636 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:48 2017] 127.0.0.1:36662 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:48 2017] 127.0.0.1:36692 [200]: /ocs/v2.php/cloud/users/user0 And user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:48 2017] 127.0.0.1:36720 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:48 2017] 127.0.0.1:36744 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:49 2017] 127.0.0.1:36770 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:49 2017] 127.0.0.1:36800 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:49 2017] 127.0.0.1:36828 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:49 2017] 127.0.0.1:36852 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:50 2017] 127.0.0.1:36878 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:50 2017] 127.0.0.1:36908 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:51 2017] 127.0.0.1:36936 [200]: /ocs/v2.php/cloud/users/user2/groups [Mon Jul 17 22:21:51 2017] 127.0.0.1:36960 [200]: /ocs/v1.php/cloud/users/user2/groups [Mon Jul 17 22:21:51 2017] 127.0.0.1:36984 [200]: /ocs/v2.php/cloud/users/user2/groups And user "user2" belongs to group "group1" # FeatureContext::assureUserBelongsToGroup() [Mon Jul 17 22:21:51 2017] 127.0.0.1:37008 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:51 2017] 127.0.0.1:37024 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jul 17 22:21:51 2017] 127.0.0.1:37040 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:21:52 2017] 127.0.0.1:37070 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:52 2017] 127.0.0.1:37096 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with group "group1" with permissions 31 # FeatureContext::assureFileIsSharedWithGroup() [Mon Jul 17 22:21:52 2017] 127.0.0.1:37126 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:21:52 2017] 127.0.0.1:37156 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:21:52 2017] 127.0.0.1:37182 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user0" is shared with user "user2" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:21:53 2017] 127.0.0.1:37214 [207]: /remote.php/webdav When transfering ownership of path "test" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user2" # FeatureContext::asAn() [Mon Jul 17 22:21:53 2017] Encryption module defined in "files/transferred from user0 on 20170717_045153/test/somefile.txt" not loaded! [Mon Jul 17 22:21:53 2017] Couldn't re-calculate unencrypted size for files/transferred from user0 on 20170717_045153/test/somefile.txt [Mon Jul 17 22:21:53 2017] Exception: {"Exception":"OC\\Encryption\\Exceptions\\ModuleDoesNotExistsException","Message":"Module with id: OC_DEFAULT_MODULE does not exist.","Code":0,"Trace":"#0 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(959): OC\\Encryption\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\n#1 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(517): OC\\Files\\Storage\\Wrapper\\Encryption->getEncryptionModule('files\/transferr...')\n#2 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(492): OC\\Files\\Storage\\Wrapper\\Encryption->fixUnencryptedSize('files\/transferr...', 28, 28)\n#3 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(161): OC\\Files\\Storage\\Wrapper\\Encryption->verifyUnencryptedSize('files\/transferr...', 28)\n#4 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(400): OC\\Files\\Storage\\Wrapper\\Encryption->filesize('files\/transferr...')\n#5 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Checksum.php(59): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('files\/transferr...', 'rb')\n#6 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Checksum->fopen('files\/transferr...', 'rb')\n#7 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(293): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('files\/transferr...', 'rb')\n#8 \/home\/sujith\/test\/owncloud\/apps\/files_sharing\/lib\/SharedStorage.php(249): OC\\Files\\Storage\\Wrapper\\Jail->fopen('somefile.txt', 'rb')\n#9 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OCA\\Files_Sharing\\SharedStorage->fopen('somefile.txt', 'rb')\n#10 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(1121): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('somefile.txt', 'rb')\n#11 \/home\/sujith\/test\/owncloud\/lib\/private\/Files\/View.php(966): OC\\Files\\View->basicOperation('fopen', '\/test\/somefile....', Array, 'rb')\n#12 \/home\/sujith\/test\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(326): OC\\Files\\View->fopen('test\/somefile.t...', 'rb')\n#13 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(85): OCA\\DAV\\Connector\\Sabre\\File->get()\n#14 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#15 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#16 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#17 \/home\/sujith\/test\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#18 \/home\/sujith\/test\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#19 \/home\/sujith\/test\/owncloud\/remote.php(165): require_once('\/home\/sujith\/te...')\n#20 {main}","File":"\/home\/sujith\/test\/owncloud\/lib\/private\/Encryption\/Manager.php","Line":198} [Mon Jul 17 22:21:53 2017] Encryption module "" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.) [Mon Jul 17 22:21:53 2017] 127.0.0.1:37230 [206]: /remote.php/webdav/test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jul 17 22:21:53 2017] 127.0.0.1:37250 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:54 2017] 127.0.0.1:37278 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:54 2017] 127.0.0.1:37302 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:54 2017] 127.0.0.1:37330 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:54 2017] 127.0.0.1:37354 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:54 2017] 127.0.0.1:37382 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:55 2017] 127.0.0.1:37406 [200]: /ocs/v1.php/cloud/groups/group1 [Mon Jul 17 22:21:55 2017] 127.0.0.1:37430 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jul 17 22:21:55 2017] 127.0.0.1:37454 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership does not transfer received shares # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:197 [Mon Jul 17 22:21:55 2017] 127.0.0.1:37478 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:21:55 2017] 127.0.0.1:37502 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:56 2017] 127.0.0.1:37528 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:21:56 2017] 127.0.0.1:37558 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:56 2017] 127.0.0.1:37586 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:21:57 2017] 127.0.0.1:37610 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:57 2017] 127.0.0.1:37636 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:21:57 2017] 127.0.0.1:37666 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:58 2017] 127.0.0.1:37694 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:21:58 2017] 127.0.0.1:37718 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:21:59 2017] 127.0.0.1:37744 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:21:59 2017] 127.0.0.1:37774 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:21:59 2017] 127.0.0.1:37802 [201]: /remote.php/webdav/test And User "user2" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:59 2017] 127.0.0.1:37818 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:21:59 2017] 127.0.0.1:37834 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jul 17 22:22:00 2017] 127.0.0.1:37864 [200]: //ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jul 17 22:22:00 2017] 127.0.0.1:37890 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest And folder "/test" of user "user2" is shared with user "user0" with permissions 31 # FeatureContext::assureFileIsShared() [Mon Jul 17 22:22:00 2017] 127.0.0.1:37920 [201]: /remote.php/webdav/test And User "user0" moved folder "/test" to "/sub/test" # FeatureContext::userMovedFile() [Mon Jul 17 22:22:01 2017] 127.0.0.1:37944 [207]: /remote.php/webdav When transfering ownership of path "sub" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() [Mon Jul 17 22:22:01 2017] 127.0.0.1:37960 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045200//sub/test Then as "user1" the folder "/sub/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jul 17 22:22:01 2017] 127.0.0.1:37970 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:01 2017] 127.0.0.1:38004 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:01 2017] 127.0.0.1:38028 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:22:01 2017] 127.0.0.1:38056 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:22:02 2017] 127.0.0.1:38080 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jul 17 22:22:02 2017] 127.0.0.1:38108 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jul 17 22:22:02 2017] 127.0.0.1:38132 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload @local_storage Scenario: transfering ownership does not transfer external storage # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:212 [Mon Jul 17 22:22:02 2017] 127.0.0.1:38156 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:02 2017] 127.0.0.1:38180 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:22:03 2017] 127.0.0.1:38206 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:03 2017] 127.0.0.1:38236 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:22:03 2017] 127.0.0.1:38264 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:22:04 2017] 127.0.0.1:38288 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:22:04 2017] 127.0.0.1:38314 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:22:05 2017] 127.0.0.1:38344 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:22:05 2017] 127.0.0.1:38372 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Mon Jul 17 22:22:05 2017] 127.0.0.1:38390 [207]: /remote.php/webdav When transfering ownership of path "sub" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() And the command was successful # CommandLineContext::theCommandWasSuccessful() And As an "user1" # FeatureContext::asAn() And using received transfer folder of "user1" as dav path # CommandLineContext::usingTransferFolderAsDavPath() Then as "user1" the folder "/local_storage" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jul 17 22:22:06 2017] 127.0.0.1:38406 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170717_045205//local_storage [Mon Jul 17 22:22:06 2017] 127.0.0.1:38410 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:06 2017] 127.0.0.1:38450 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:06 2017] 127.0.0.1:38474 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:22:06 2017] 127.0.0.1:38502 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:22:06 2017] 127.0.0.1:38526 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership fails with invalid source user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:222 [Mon Jul 17 22:22:07 2017] 127.0.0.1:38550 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:07 2017] 127.0.0.1:38574 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:22:08 2017] 127.0.0.1:38600 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:08 2017] 127.0.0.1:38630 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:22:08 2017] 127.0.0.1:38658 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() When transfering ownership of path "sub" from "invalid_user" to "user0" # CommandLineContext::transferingOwnershipPath() Then the command error output contains the text "Unknown source user" # CommandLineContext::theCommandErrorOutputContainsTheText() And the command failed with exit code 1 # CommandLineContext::theCommandFailedWithExitCode() [Mon Jul 17 22:22:08 2017] 127.0.0.1:38676 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:09 2017] 127.0.0.1:38704 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:09 2017] 127.0.0.1:38728 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership fails with invalid target user # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:229 [Mon Jul 17 22:22:09 2017] 127.0.0.1:38752 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:09 2017] 127.0.0.1:38776 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:22:10 2017] 127.0.0.1:38802 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:10 2017] 127.0.0.1:38832 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:22:10 2017] 127.0.0.1:38860 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() When transfering ownership of path "sub" from "user0" to "invalid_user" # CommandLineContext::transferingOwnershipPath() Then the command error output contains the text "Unknown target user" # CommandLineContext::theCommandErrorOutputContainsTheText() And the command failed with exit code 1 # CommandLineContext::theCommandFailedWithExitCode() [Mon Jul 17 22:22:11 2017] 127.0.0.1:38878 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:11 2017] 127.0.0.1:38906 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:11 2017] 127.0.0.1:38930 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload Scenario: transfering ownership fails with invalid path # /home/sujith/test/owncloud/tests/integration/features/transfer-ownership.feature:236 [Mon Jul 17 22:22:11 2017] 127.0.0.1:38954 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:12 2017] 127.0.0.1:38978 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:22:12 2017] 127.0.0.1:39004 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:12 2017] 127.0.0.1:39034 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jul 17 22:22:13 2017] 127.0.0.1:39062 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jul 17 22:22:13 2017] 127.0.0.1:39086 [200]: /ocs/v1.php/cloud/users [Mon Jul 17 22:22:14 2017] 127.0.0.1:39112 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:22:14 2017] 127.0.0.1:39142 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() When transfering ownership of path "test" from "user0" to "user1" # CommandLineContext::transferingOwnershipPath() Then the command error output contains the text "Unknown target user" # CommandLineContext::theCommandErrorOutputContainsTheText() And the command failed with exit code 1 # CommandLineContext::theCommandFailedWithExitCode() [Mon Jul 17 22:22:14 2017] 127.0.0.1:39172 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jul 17 22:22:14 2017] 127.0.0.1:39200 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jul 17 22:22:15 2017] 127.0.0.1:39224 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jul 17 22:22:15 2017] 127.0.0.1:39252 [404]: /ocs/v2.php/cloud/users/user1 22 scenarios (22 passed) 193 steps (193 passed) 1m59.98s (20.03Mb) Cannot load Xdebug - it was already loaded ./run.sh: line 129: 6361 Terminated php -S localhost:$PORT -t "$OC_PATH" ./run.sh: line 129: 6362 Terminated php -S localhost:$PORT_FED -t ../.. Cannot load Xdebug - it was already loaded Config value enable_external_storage for app core set to no Cannot load Xdebug - it was already loaded testing disabled {"reqId":"DrUPsXaoVHLGeYPeSkgm","level":2,"time":"2017-07-17T16:51:39+00:00","remoteAddr":"127.0.0.1","user":"user2","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/test\/somefile.txt","message":"Encryption module \"\" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.)"} {"reqId":"hTrn6kpZRFqHV5cyLN2g","level":3,"time":"2017-07-17T16:51:45+00:00","remoteAddr":"127.0.0.1","user":"user1","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/transferred%20from%20user0%20on%2020170717_045144\/test\/somefile.txt","message":"Encryption module defined in \"files\/transferred from user0 on 20170717_045144\/test\/somefile.txt\" not loaded!"} {"reqId":"hTrn6kpZRFqHV5cyLN2g","level":3,"time":"2017-07-17T16:51:45+00:00","remoteAddr":"127.0.0.1","user":"user1","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/transferred%20from%20user0%20on%2020170717_045144\/test\/somefile.txt","message":"Couldn't re-calculate unencrypted size for files\/transferred from user0 on 20170717_045144\/test\/somefile.txt"} {"reqId":"hTrn6kpZRFqHV5cyLN2g","level":3,"time":"2017-07-17T16:51:45+00:00","remoteAddr":"127.0.0.1","user":"user1","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/transferred%20from%20user0%20on%2020170717_045144\/test\/somefile.txt","message":"Exception: {\"Exception\":\"OC\\\\Encryption\\\\Exceptions\\\\ModuleDoesNotExistsException\",\"Message\":\"Module with id: OC_DEFAULT_MODULE does not exist.\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(959): OC\\\\Encryption\\\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\\n#1 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(517): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->getEncryptionModule('files\\\/transferr...')\\n#2 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(492): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->fixUnencryptedSize('files\\\/transferr...', 28, 28)\\n#3 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(161): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->verifyUnencryptedSize('files\\\/transferr...', 28)\\n#4 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(400): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->filesize('files\\\/transferr...')\\n#5 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Checksum.php(59): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->fopen('files\\\/transferr...', 'rb')\\n#6 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(294): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Checksum->fopen('files\\\/transferr...', 'rb')\\n#7 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1121): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->fopen('files\\\/transferr...', 'rb')\\n#8 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(966): OC\\\\Files\\\\View->basicOperation('fopen', '\\\/transferred fr...', Array, 'rb')\\n#9 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(326): OC\\\\Files\\\\View->fopen('transferred fro...', 'rb')\\n#10 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(85): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->get()\\n#11 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#12 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#13 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#14 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#15 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(63): Sabre\\\\DAV\\\\Server->exec()\\n#16 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/sujith\\\/te...')\\n#17 {main}\",\"File\":\"\\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Encryption\\\/Manager.php\",\"Line\":198}"} {"reqId":"hTrn6kpZRFqHV5cyLN2g","level":2,"time":"2017-07-17T16:51:45+00:00","remoteAddr":"127.0.0.1","user":"user1","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/transferred%20from%20user0%20on%2020170717_045144\/test\/somefile.txt","message":"Encryption module \"\" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.)"} {"reqId":"fE62yfnTqJOYfdKJVtIW","level":3,"time":"2017-07-17T16:51:53+00:00","remoteAddr":"127.0.0.1","user":"user2","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/test\/somefile.txt","message":"Encryption module defined in \"files\/transferred from user0 on 20170717_045153\/test\/somefile.txt\" not loaded!"} {"reqId":"fE62yfnTqJOYfdKJVtIW","level":3,"time":"2017-07-17T16:51:53+00:00","remoteAddr":"127.0.0.1","user":"user2","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/test\/somefile.txt","message":"Couldn't re-calculate unencrypted size for files\/transferred from user0 on 20170717_045153\/test\/somefile.txt"} {"reqId":"fE62yfnTqJOYfdKJVtIW","level":3,"time":"2017-07-17T16:51:53+00:00","remoteAddr":"127.0.0.1","user":"user2","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/test\/somefile.txt","message":"Exception: {\"Exception\":\"OC\\\\Encryption\\\\Exceptions\\\\ModuleDoesNotExistsException\",\"Message\":\"Module with id: OC_DEFAULT_MODULE does not exist.\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(959): OC\\\\Encryption\\\\Manager->getEncryptionModule('OC_DEFAULT_MODU...')\\n#1 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(517): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->getEncryptionModule('files\\\/transferr...')\\n#2 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(492): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->fixUnencryptedSize('files\\\/transferr...', 28, 28)\\n#3 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(161): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->verifyUnencryptedSize('files\\\/transferr...', 28)\\n#4 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(400): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->filesize('files\\\/transferr...')\\n#5 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Checksum.php(59): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->fopen('files\\\/transferr...', 'rb')\\n#6 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(294): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Checksum->fopen('files\\\/transferr...', 'rb')\\n#7 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Jail.php(293): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->fopen('files\\\/transferr...', 'rb')\\n#8 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedStorage.php(249): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Jail->fopen('somefile.txt', 'rb')\\n#9 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(294): OCA\\\\Files_Sharing\\\\SharedStorage->fopen('somefile.txt', 'rb')\\n#10 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1121): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->fopen('somefile.txt', 'rb')\\n#11 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(966): OC\\\\Files\\\\View->basicOperation('fopen', '\\\/test\\\/somefile....', Array, 'rb')\\n#12 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(326): OC\\\\Files\\\\View->fopen('test\\\/somefile.t...', 'rb')\\n#13 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(85): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->get()\\n#14 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#15 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#16 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#17 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#18 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(63): Sabre\\\\DAV\\\\Server->exec()\\n#19 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/sujith\\\/te...')\\n#20 {main}\",\"File\":\"\\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Encryption\\\/Manager.php\",\"Line\":198}"} {"reqId":"fE62yfnTqJOYfdKJVtIW","level":2,"time":"2017-07-17T16:51:53+00:00","remoteAddr":"127.0.0.1","user":"user2","app":"no app in context","method":"GET","url":"\/remote.php\/webdav\/test\/somefile.txt","message":"Encryption module \"\" not found, file will be stored unencrypted (Module with id: OC_DEFAULT_MODULE does not exist.)"} {"reqId":"rAo4Q3LwbrdJLcjlZoXz","level":3,"time":"2017-07-17T16:52:15+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Not quoting the scalar \"%paths.base%\/..\/output\/\" starting with the \"%\" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0. at \/home\/sujith\/test\/owncloud\/lib\/composer\/symfony\/yaml\/Inline.php#325"} runsh: Exit code: 0