Script path: /home/sujith/test/owncloud/tests/integration 8080 30456 8180 30457 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 testing enabled Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded encryption enabled Cannot load Xdebug - it was already loaded Encryption enabled Default module: OC_DEFAULT_MODULE Cannot load Xdebug - it was already loaded Master key successfully enabled. Cannot load Xdebug - it was already loaded Feature: transfer-ownership [Wed Jun 21 20:13:11 2017] 127.0.0.1:60752 [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 [Wed Jun 21 20:13:11 2017] 127.0.0.1:60758 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:13:11 2017] 127.0.0.1:60760 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:13 2017] 127.0.0.1:60762 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:13:14 2017] 127.0.0.1:60764 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:14 2017] 127.0.0.1:60766 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:13:14 2017] 127.0.0.1:60768 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:16 2017] 127.0.0.1:60770 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:13:17 2017] 127.0.0.1:60782 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:17 2017] 127.0.0.1:60784 [201]: /remote.php/webdav/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:13:24 2017] 127.0.0.1:60790 [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() [Wed Jun 21 20:13:24 2017] 127.0.0.1:60798 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024317//somefile.txt Then Downloaded content when downloading file "/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Wed Jun 21 20:13:25 2017] 127.0.0.1:60800 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:13:25 2017] 127.0.0.1:60802 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:13:26 2017] 127.0.0.1:60804 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:13:26 2017] 127.0.0.1:60806 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:13:26 2017] 127.0.0.1:60808 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:13:26 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:13:26 2017] 127.0.0.1:60810 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:13:27 2017] 127.0.0.1:60812 [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:14 [Wed Jun 21 20:13:27 2017] 127.0.0.1:60814 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:13:28 2017] 127.0.0.1:60816 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:29 2017] 127.0.0.1:60818 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:13:30 2017] 127.0.0.1:60820 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:30 2017] 127.0.0.1:60822 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:13:30 2017] 127.0.0.1:60824 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:32 2017] 127.0.0.1:60828 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:13:33 2017] 127.0.0.1:60830 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:33 2017] 127.0.0.1:60832 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:13:34 2017] 127.0.0.1:60834 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:13:41 2017] 127.0.0.1:60874 [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() [Wed Jun 21 20:13:41 2017] 127.0.0.1:60880 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024334//test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Wed Jun 21 20:13:42 2017] 127.0.0.1:60886 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:13:42 2017] 127.0.0.1:60912 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:13:43 2017] 127.0.0.1:60920 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:13:43 2017] 127.0.0.1:60924 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:13:43 2017] 127.0.0.1:60926 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:13:43 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:13:43 2017] 127.0.0.1:60930 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:13:44 2017] 127.0.0.1:60932 [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:25 [Wed Jun 21 20:13:44 2017] 127.0.0.1:60936 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:13:44 2017] 127.0.0.1:60938 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:46 2017] 127.0.0.1:60940 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:13:47 2017] 127.0.0.1:60942 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:47 2017] 127.0.0.1:60954 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:13:47 2017] 127.0.0.1:60958 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:49 2017] 127.0.0.1:60960 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:13:50 2017] 127.0.0.1:60962 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:50 2017] 127.0.0.1:60964 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:13:51 2017] 127.0.0.1:60966 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:13:52 2017] 127.0.0.1:60968 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:13:53 2017] 127.0.0.1:60986 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:13:53 2017] 127.0.0.1:60988 [201]: /remote.php/webdav/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:13:54 2017] 127.0.0.1:60990 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsomefile.txt [Wed Jun 21 20:13:54 2017] 127.0.0.1:60992 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:13:54 2017] 127.0.0.1:60994 [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() [Wed Jun 21 20:14:01 2017] 127.0.0.1:32778 [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() [Wed Jun 21 20:14:01 2017] 127.0.0.1:32780 [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() [Wed Jun 21 20:14:02 2017] 127.0.0.1:32782 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:14:02 2017] 127.0.0.1:32792 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:14:03 2017] 127.0.0.1:32800 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:14:03 2017] 127.0.0.1:32804 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:14:03 2017] 127.0.0.1:32808 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:14:04 2017] 127.0.0.1:32810 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:14:04 2017] 127.0.0.1:32812 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:14:04 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:14:04 2017] 127.0.0.1:32814 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:14:04 2017] 127.0.0.1:32816 [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:36 [Wed Jun 21 20:14:05 2017] 127.0.0.1:32818 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:14:05 2017] 127.0.0.1:32820 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:07 2017] 127.0.0.1:32822 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:14:07 2017] 127.0.0.1:32826 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:08 2017] 127.0.0.1:32828 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:14:08 2017] 127.0.0.1:32830 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:10 2017] 127.0.0.1:32832 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:14:10 2017] 127.0.0.1:32834 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:11 2017] 127.0.0.1:32836 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:14:11 2017] 127.0.0.1:32838 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:13 2017] 127.0.0.1:32840 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:14:13 2017] 127.0.0.1:32842 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:14 2017] 127.0.0.1:32844 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:14:14 2017] 127.0.0.1:32846 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:14:15 2017] 127.0.0.1:32848 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:14:15 2017] 127.0.0.1:32850 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:14:15 2017] 127.0.0.1:32852 [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() [Wed Jun 21 20:14:23 2017] 127.0.0.1:32886 [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() [Wed Jun 21 20:14:23 2017] 127.0.0.1:32902 [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() [Wed Jun 21 20:14:24 2017] 127.0.0.1:32922 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:14:24 2017] 127.0.0.1:32936 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:14:25 2017] 127.0.0.1:32944 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:14:25 2017] 127.0.0.1:32948 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:14:26 2017] 127.0.0.1:32950 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:14:26 2017] 127.0.0.1:32952 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:14:27 2017] 127.0.0.1:32954 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:14:27 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:14:27 2017] 127.0.0.1:32956 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:14:27 2017] 127.0.0.1:32958 [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:48 [Wed Jun 21 20:14:28 2017] 127.0.0.1:32960 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:14:28 2017] 127.0.0.1:32962 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:30 2017] 127.0.0.1:32964 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:14:31 2017] 127.0.0.1:32974 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:31 2017] 127.0.0.1:32976 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:14:32 2017] 127.0.0.1:32978 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:34 2017] 127.0.0.1:32992 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:14:34 2017] 127.0.0.1:32994 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:35 2017] 127.0.0.1:32996 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:14:35 2017] 127.0.0.1:32998 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:14:35 2017] 127.0.0.1:33000 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:14:36 2017] 127.0.0.1:33002 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:14:36 2017] 127.0.0.1:33004 [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() [Wed Jun 21 20:14:45 2017] 127.0.0.1:33082 [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() [Wed Jun 21 20:14:45 2017] 127.0.0.1:33084 [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() [Wed Jun 21 20:14:46 2017] 127.0.0.1:33086 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024437//test/somefile.txt And Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Wed Jun 21 20:14:46 2017] 127.0.0.1:33088 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:14:47 2017] 127.0.0.1:33090 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:14:47 2017] 127.0.0.1:33092 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:14:48 2017] 127.0.0.1:33094 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:14:48 2017] 127.0.0.1:33096 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:14:48 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:14:48 2017] 127.0.0.1:33098 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:14:49 2017] 127.0.0.1:33100 [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:61 [Wed Jun 21 20:14:49 2017] 127.0.0.1:33102 [404]: /ocs/v2.php/cloud/groups/group1 [Wed Jun 21 20:14:50 2017] 127.0.0.1:33104 [200]: /ocs/v1.php/cloud/groups [Wed Jun 21 20:14:50 2017] 127.0.0.1:33106 [200]: /ocs/v2.php/cloud/groups/group1 Given group "group1" exists # FeatureContext::assureGroupExists() [Wed Jun 21 20:14:51 2017] 127.0.0.1:33108 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:14:51 2017] 127.0.0.1:33110 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:53 2017] 127.0.0.1:33112 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:14:54 2017] 127.0.0.1:33114 [200]: /ocs/v2.php/cloud/users/user0 And user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:54 2017] 127.0.0.1:33118 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:14:55 2017] 127.0.0.1:33120 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:14:57 2017] 127.0.0.1:33124 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:14:57 2017] 127.0.0.1:33126 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:14:58 2017] 127.0.0.1:33128 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:14:58 2017] 127.0.0.1:33130 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:15:00 2017] 127.0.0.1:33132 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:15:01 2017] 127.0.0.1:33134 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:15:01 2017] 127.0.0.1:33136 [200]: /ocs/v2.php/cloud/users/user2/groups [Wed Jun 21 20:15:02 2017] 127.0.0.1:33138 [200]: /ocs/v1.php/cloud/users/user2/groups [Wed Jun 21 20:15:02 2017] 127.0.0.1:33140 [200]: /ocs/v2.php/cloud/users/user2/groups And user "user2" belongs to group "group1" # FeatureContext::assureUserBelongsToGroup() [Wed Jun 21 20:15:03 2017] 127.0.0.1:33142 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:15:03 2017] 127.0.0.1:33144 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:15:04 2017] 127.0.0.1:33146 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:15:05 2017] 127.0.0.1:33148 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:15:05 2017] 127.0.0.1:33150 [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() [Wed Jun 21 20:15:06 2017] 127.0.0.1:33152 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:15:06 2017] 127.0.0.1:33154 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:15:07 2017] 127.0.0.1:33156 [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() [Wed Jun 21 20:15:15 2017] 127.0.0.1:33158 [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() [Wed Jun 21 20:15:16 2017] 127.0.0.1:33160 [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() [Wed Jun 21 20:15:16 2017] 127.0.0.1:33162 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:15:17 2017] 127.0.0.1:33164 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:15:17 2017] 127.0.0.1:33166 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:15:17 2017] 127.0.0.1:33168 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:15:18 2017] 127.0.0.1:33170 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:15:18 2017] 127.0.0.1:33172 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:15:19 2017] 127.0.0.1:33174 [200]: /ocs/v1.php/cloud/groups/group1 [Wed Jun 21 20:15:19 2017] 127.0.0.1:33176 [404]: /ocs/v2.php/cloud/groups/group1 [Wed Jun 21 20:15:19 2017] 127.0.0.1:33178 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:15:19 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:15:19 2017] 127.0.0.1:33180 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:15:20 2017] 127.0.0.1:33182 [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:76 [Wed Jun 21 20:15:20 2017] 127.0.0.1:33184 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:15:20 2017] 127.0.0.1:33186 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:15:22 2017] 127.0.0.1:33188 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:15:23 2017] 127.0.0.1:33190 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:15:23 2017] 127.0.0.1:33192 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:15:24 2017] 127.0.0.1:33194 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:15:25 2017] 127.0.0.1:33196 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:15:26 2017] 127.0.0.1:33198 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:15:26 2017] 127.0.0.1:33200 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:15:27 2017] 127.0.0.1:33202 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:15:28 2017] 127.0.0.1:33204 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:15:29 2017] 127.0.0.1:33206 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:15:29 2017] 127.0.0.1:33208 [201]: /remote.php/webdav/test And User "user2" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:15:30 2017] 127.0.0.1:33210 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:15:30 2017] 127.0.0.1:33212 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:15:30 2017] 127.0.0.1:33214 [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() [Wed Jun 21 20:15:37 2017] 127.0.0.1:33236 [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() [Wed Jun 21 20:15:37 2017] 127.0.0.1:33238 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024531//test Then as "user1" the folder "/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Wed Jun 21 20:15:38 2017] 127.0.0.1:33240 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:15:38 2017] 127.0.0.1:33242 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:15:39 2017] 127.0.0.1:33246 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:15:39 2017] 127.0.0.1:33262 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:15:40 2017] 127.0.0.1:33264 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:15:40 2017] 127.0.0.1:33266 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:15:41 2017] 127.0.0.1:33268 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:15:41 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:15:41 2017] 127.0.0.1:33270 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:15:41 2017] 127.0.0.1:33272 [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:89 [Wed Jun 21 20:15:41 2017] 127.0.0.1:33274 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:15:42 2017] 127.0.0.1:33276 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:15:44 2017] 127.0.0.1:33278 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:15:44 2017] 127.0.0.1:33280 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:15:44 2017] 127.0.0.1:33282 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:15:45 2017] 127.0.0.1:33284 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:15:47 2017] 127.0.0.1:33286 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:15:47 2017] 127.0.0.1:33288 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:15:54 2017] 127.0.0.1:33290 [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() [Wed Jun 21 20:15:54 2017] 127.0.0.1:33292 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024547//local_storage Then as "user1" the folder "/local_storage" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Wed Jun 21 20:15:55 2017] 127.0.0.1:33294 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:15:55 2017] 127.0.0.1:33296 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:15:56 2017] 127.0.0.1:33298 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:15:56 2017] 127.0.0.1:33300 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:15:57 2017] 127.0.0.1:33302 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:15:57 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:15:57 2017] 127.0.0.1:33304 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:15:57 2017] 127.0.0.1:33306 [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:98 [Wed Jun 21 20:15:57 2017] 127.0.0.1:33308 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:15:58 2017] 127.0.0.1:33310 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:00 2017] 127.0.0.1:33312 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:00 2017] 127.0.0.1:33314 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:01 2017] 127.0.0.1:33316 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:16:01 2017] 127.0.0.1:33318 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:03 2017] 127.0.0.1:33320 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:16:03 2017] 127.0.0.1:33322 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:04 2017] 127.0.0.1:33324 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:16:04 2017] 127.0.0.1:33326 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:06 2017] 127.0.0.1:33328 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:16:07 2017] 127.0.0.1:33330 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:07 2017] 127.0.0.1:33332 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:16:08 2017] 127.0.0.1:33334 [201]: /remote.php/webdav/sub/test And User "user0" created a folder "/sub/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:16:08 2017] 127.0.0.1:33336 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsub%2Ftest [Wed Jun 21 20:16:08 2017] 127.0.0.1:33338 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:16:09 2017] 127.0.0.1:33340 [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() [Wed Jun 21 20:16:10 2017] 127.0.0.1:33342 [204]: /remote.php/webdav/sub And User "user0" deletes folder "/sub" # FeatureContext::userDeletesFile() [Wed Jun 21 20:16:17 2017] 127.0.0.1:33344 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() Then the command was successful # CommandLineContext::theCommandWasSuccessful() [Wed Jun 21 20:16:17 2017] 127.0.0.1:33346 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:18 2017] 127.0.0.1:33348 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:18 2017] 127.0.0.1:33350 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:16:18 2017] 127.0.0.1:33352 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:16:19 2017] 127.0.0.1:33354 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:16:19 2017] 127.0.0.1:33356 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:16:20 2017] 127.0.0.1:33358 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:16:20 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:16:20 2017] 127.0.0.1:33360 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:16:20 2017] 127.0.0.1:33362 [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:109 [Wed Jun 21 20:16:21 2017] 127.0.0.1:33364 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:21 2017] 127.0.0.1:33366 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:23 2017] 127.0.0.1:33368 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:23 2017] 127.0.0.1:33370 [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() [Wed Jun 21 20:16:24 2017] 127.0.0.1:33372 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:24 2017] 127.0.0.1:33374 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:25 2017] 127.0.0.1:33376 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:16:25 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:16:25 2017] 127.0.0.1:33378 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:16:25 2017] 127.0.0.1:33380 [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:115 [Wed Jun 21 20:16:26 2017] 127.0.0.1:33382 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:26 2017] 127.0.0.1:33384 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:28 2017] 127.0.0.1:33386 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:29 2017] 127.0.0.1:33388 [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() [Wed Jun 21 20:16:29 2017] 127.0.0.1:33390 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:30 2017] 127.0.0.1:33392 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:30 2017] 127.0.0.1:33394 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:16:30 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:16:30 2017] 127.0.0.1:33396 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:16:31 2017] 127.0.0.1:33398 [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:121 [Wed Jun 21 20:16:31 2017] 127.0.0.1:33400 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:32 2017] 127.0.0.1:33402 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:34 2017] 127.0.0.1:33404 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:34 2017] 127.0.0.1:33406 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:35 2017] 127.0.0.1:33408 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:16:35 2017] 127.0.0.1:33410 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:37 2017] 127.0.0.1:33412 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:16:38 2017] 127.0.0.1:33414 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:38 2017] 127.0.0.1:33416 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:16:39 2017] 127.0.0.1:33418 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:16:40 2017] 127.0.0.1:33420 [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() Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Wed Jun 21 20:16:41 2017] 127.0.0.1:33422 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024639//test/somefile.txt [Wed Jun 21 20:16:41 2017] 127.0.0.1:33424 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:42 2017] 127.0.0.1:33426 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:42 2017] 127.0.0.1:33428 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:16:43 2017] 127.0.0.1:33430 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:16:43 2017] 127.0.0.1:33432 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:16:43 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:16:43 2017] 127.0.0.1:33434 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:16:43 2017] 127.0.0.1:33436 [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:132 [Wed Jun 21 20:16:44 2017] 127.0.0.1:33438 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:16:44 2017] 127.0.0.1:33440 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:46 2017] 127.0.0.1:33442 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:47 2017] 127.0.0.1:33444 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:47 2017] 127.0.0.1:33446 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:16:48 2017] 127.0.0.1:33448 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:50 2017] 127.0.0.1:33450 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:16:50 2017] 127.0.0.1:33452 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:51 2017] 127.0.0.1:33454 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:16:51 2017] 127.0.0.1:33456 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:16:53 2017] 127.0.0.1:33458 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:16:53 2017] 127.0.0.1:33462 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:16:54 2017] 127.0.0.1:33464 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:16:55 2017] 127.0.0.1:33466 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:16:55 2017] 127.0.0.1:33468 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest%2Fsomefile.txt [Wed Jun 21 20:16:56 2017] 127.0.0.1:33470 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:16:56 2017] 127.0.0.1:33472 [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() [Wed Jun 21 20:16:58 2017] 127.0.0.1:33474 [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() Then Downloaded content when downloading file "/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Wed Jun 21 20:16:58 2017] 127.0.0.1:33476 [206]: /remote.php/webdav/somefile.txt [Wed Jun 21 20:16:59 2017] 127.0.0.1:33478 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:16:59 2017] 127.0.0.1:33480 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:00 2017] 127.0.0.1:33482 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:00 2017] 127.0.0.1:33484 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:01 2017] 127.0.0.1:33486 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:17:01 2017] 127.0.0.1:33488 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:17:01 2017] 127.0.0.1:33490 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:17:01 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:17:01 2017] 127.0.0.1:33492 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:17:02 2017] 127.0.0.1:33494 [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:144 [Wed Jun 21 20:17:02 2017] 127.0.0.1:33496 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:03 2017] 127.0.0.1:33498 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:05 2017] 127.0.0.1:33500 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:17:05 2017] 127.0.0.1:33502 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:06 2017] 127.0.0.1:33504 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:06 2017] 127.0.0.1:33506 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:08 2017] 127.0.0.1:33508 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:09 2017] 127.0.0.1:33510 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:09 2017] 127.0.0.1:33512 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:17:09 2017] 127.0.0.1:33514 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:11 2017] 127.0.0.1:33516 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:17:12 2017] 127.0.0.1:33518 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:12 2017] 127.0.0.1:33520 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:17:13 2017] 127.0.0.1:33522 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:17:13 2017] 127.0.0.1:33524 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:17:14 2017] 127.0.0.1:33526 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:17:14 2017] 127.0.0.1:33528 [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() [Wed Jun 21 20:17:16 2017] 127.0.0.1:33530 [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() [Wed Jun 21 20:17:17 2017] 127.0.0.1:33532 [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() [Wed Jun 21 20:17:17 2017] 127.0.0.1:33534 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:17:17 2017] 127.0.0.1:33536 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:18 2017] 127.0.0.1:33538 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:18 2017] 127.0.0.1:33540 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:19 2017] 127.0.0.1:33542 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:17:19 2017] 127.0.0.1:33544 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:17:20 2017] 127.0.0.1:33546 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:17:20 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:17:20 2017] 127.0.0.1:33548 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:17:20 2017] 127.0.0.1:33550 [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:156 [Wed Jun 21 20:17:20 2017] 127.0.0.1:33552 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:21 2017] 127.0.0.1:33554 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:23 2017] 127.0.0.1:33556 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:17:23 2017] 127.0.0.1:33558 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:24 2017] 127.0.0.1:33560 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:24 2017] 127.0.0.1:33562 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:26 2017] 127.0.0.1:33564 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:27 2017] 127.0.0.1:33566 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:27 2017] 127.0.0.1:33568 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:17:28 2017] 127.0.0.1:33570 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:17:28 2017] 127.0.0.1:33572 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:17:29 2017] 127.0.0.1:33574 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:17:29 2017] 127.0.0.1:33576 [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() [Wed Jun 21 20:17:31 2017] 127.0.0.1:33578 [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() [Wed Jun 21 20:17:31 2017] 127.0.0.1:33580 [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() [Wed Jun 21 20:17:32 2017] 127.0.0.1:33582 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024730//test/somefile.txt And Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Wed Jun 21 20:17:32 2017] 127.0.0.1:33584 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:17:33 2017] 127.0.0.1:33586 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:33 2017] 127.0.0.1:33588 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:34 2017] 127.0.0.1:33590 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:34 2017] 127.0.0.1:33592 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:17:34 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:17:34 2017] 127.0.0.1:33594 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:17:35 2017] 127.0.0.1:33596 [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:169 [Wed Jun 21 20:17:35 2017] 127.0.0.1:33598 [404]: /ocs/v2.php/cloud/groups/group1 [Wed Jun 21 20:17:35 2017] 127.0.0.1:33600 [200]: /ocs/v1.php/cloud/groups [Wed Jun 21 20:17:36 2017] 127.0.0.1:33602 [200]: /ocs/v2.php/cloud/groups/group1 Given group "group1" exists # FeatureContext::assureGroupExists() [Wed Jun 21 20:17:36 2017] 127.0.0.1:33604 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:37 2017] 127.0.0.1:33606 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:39 2017] 127.0.0.1:33608 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:17:39 2017] 127.0.0.1:33610 [200]: /ocs/v2.php/cloud/users/user0 And user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:40 2017] 127.0.0.1:33612 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:40 2017] 127.0.0.1:33614 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:42 2017] 127.0.0.1:33616 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:43 2017] 127.0.0.1:33618 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:43 2017] 127.0.0.1:33620 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:17:43 2017] 127.0.0.1:33622 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:17:45 2017] 127.0.0.1:33624 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:17:46 2017] 127.0.0.1:33626 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:17:46 2017] 127.0.0.1:33628 [200]: /ocs/v2.php/cloud/users/user2/groups [Wed Jun 21 20:17:47 2017] 127.0.0.1:33630 [200]: /ocs/v1.php/cloud/users/user2/groups [Wed Jun 21 20:17:47 2017] 127.0.0.1:33632 [200]: /ocs/v2.php/cloud/users/user2/groups And user "user2" belongs to group "group1" # FeatureContext::assureUserBelongsToGroup() [Wed Jun 21 20:17:47 2017] 127.0.0.1:33634 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:17:48 2017] 127.0.0.1:33636 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Wed Jun 21 20:17:48 2017] 127.0.0.1:33638 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:17:49 2017] 127.0.0.1:33640 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:17:50 2017] 127.0.0.1:33642 [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() [Wed Jun 21 20:17:50 2017] 127.0.0.1:33644 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:17:51 2017] 127.0.0.1:33646 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:17:51 2017] 127.0.0.1:33648 [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() [Wed Jun 21 20:17:53 2017] 127.0.0.1:33650 [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() [Wed Jun 21 20:17:53 2017] 127.0.0.1:33652 [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() [Wed Jun 21 20:17:54 2017] 127.0.0.1:33654 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:17:54 2017] 127.0.0.1:33656 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:55 2017] 127.0.0.1:33658 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:17:55 2017] 127.0.0.1:33660 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:17:56 2017] 127.0.0.1:33662 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:17:56 2017] 127.0.0.1:33664 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:17:57 2017] 127.0.0.1:33666 [200]: /ocs/v1.php/cloud/groups/group1 [Wed Jun 21 20:17:57 2017] 127.0.0.1:33668 [404]: /ocs/v2.php/cloud/groups/group1 [Wed Jun 21 20:17:57 2017] 127.0.0.1:33670 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:17:57 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:17:57 2017] 127.0.0.1:33672 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:17:58 2017] 127.0.0.1:33674 [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:184 [Wed Jun 21 20:17:58 2017] 127.0.0.1:33676 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:17:59 2017] 127.0.0.1:33678 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:01 2017] 127.0.0.1:33680 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:01 2017] 127.0.0.1:33682 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:01 2017] 127.0.0.1:33684 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:18:02 2017] 127.0.0.1:33686 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:04 2017] 127.0.0.1:33688 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:18:04 2017] 127.0.0.1:33690 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:05 2017] 127.0.0.1:33692 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:18:05 2017] 127.0.0.1:33694 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:07 2017] 127.0.0.1:33696 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:18:08 2017] 127.0.0.1:33698 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:08 2017] 127.0.0.1:33700 [201]: /remote.php/webdav/test And User "user2" created a folder "/test" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:18:09 2017] 127.0.0.1:33702 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:18:09 2017] 127.0.0.1:33704 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Wed Jun 21 20:18:09 2017] 127.0.0.1:33706 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Wed Jun 21 20:18:10 2017] 127.0.0.1:33708 [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() [Wed Jun 21 20:18:10 2017] 127.0.0.1:33710 [201]: /remote.php/webdav/test And User "user0" moved folder "/test" to "/sub/test" # FeatureContext::userMovedFile() [Wed Jun 21 20:18:11 2017] 127.0.0.1:33712 [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 "/sub/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Wed Jun 21 20:18:12 2017] 127.0.0.1:33714 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024811//sub/test [Wed Jun 21 20:18:12 2017] 127.0.0.1:33716 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:13 2017] 127.0.0.1:33718 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:13 2017] 127.0.0.1:33720 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:18:14 2017] 127.0.0.1:33722 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:18:14 2017] 127.0.0.1:33724 [200]: /ocs/v1.php/cloud/users/user2 [Wed Jun 21 20:18:15 2017] 127.0.0.1:33726 [404]: /ocs/v2.php/cloud/users/user2 [Wed Jun 21 20:18:15 2017] 127.0.0.1:33728 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:18:15 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:18:15 2017] 127.0.0.1:33730 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:18:16 2017] 127.0.0.1:33732 [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:199 [Wed Jun 21 20:18:16 2017] 127.0.0.1:33734 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:16 2017] 127.0.0.1:33736 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:18 2017] 127.0.0.1:33738 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:19 2017] 127.0.0.1:33740 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:19 2017] 127.0.0.1:33742 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:18:20 2017] 127.0.0.1:33744 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:22 2017] 127.0.0.1:33746 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:18:22 2017] 127.0.0.1:33750 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:22 2017] 127.0.0.1:33752 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Wed Jun 21 20:18:23 2017] 127.0.0.1:33754 [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() [Wed Jun 21 20:18:24 2017] 127.0.0.1:33756 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170621_024823//local_storage Then as "user1" the folder "/local_storage" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Wed Jun 21 20:18:24 2017] 127.0.0.1:33758 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:25 2017] 127.0.0.1:33760 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:25 2017] 127.0.0.1:33762 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:18:26 2017] 127.0.0.1:33764 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:18:26 2017] 127.0.0.1:33766 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:18:26 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:18:26 2017] 127.0.0.1:33768 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:18:27 2017] 127.0.0.1:33770 [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:209 [Wed Jun 21 20:18:27 2017] 127.0.0.1:33772 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:28 2017] 127.0.0.1:33774 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:30 2017] 127.0.0.1:33776 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:30 2017] 127.0.0.1:33778 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:31 2017] 127.0.0.1:33780 [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() [Wed Jun 21 20:18:31 2017] 127.0.0.1:33782 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:32 2017] 127.0.0.1:33784 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:32 2017] 127.0.0.1:33786 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:18:32 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:18:32 2017] 127.0.0.1:33788 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:18:33 2017] 127.0.0.1:33790 [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:216 [Wed Jun 21 20:18:33 2017] 127.0.0.1:33792 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:34 2017] 127.0.0.1:33794 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:36 2017] 127.0.0.1:33796 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:36 2017] 127.0.0.1:33798 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:36 2017] 127.0.0.1:33800 [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() [Wed Jun 21 20:18:37 2017] 127.0.0.1:33802 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:38 2017] 127.0.0.1:33804 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:38 2017] 127.0.0.1:33806 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:18:38 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:18:38 2017] 127.0.0.1:33808 [401]: /remote.php/webdav/myFileToTag.txt [Wed Jun 21 20:18:38 2017] 127.0.0.1:33810 [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:223 [Wed Jun 21 20:18:39 2017] 127.0.0.1:33812 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:39 2017] 127.0.0.1:33814 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:41 2017] 127.0.0.1:33816 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:42 2017] 127.0.0.1:33818 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Wed Jun 21 20:18:42 2017] 127.0.0.1:33820 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:18:42 2017] 127.0.0.1:33822 [200]: /ocs/v1.php/cloud/users [Wed Jun 21 20:18:44 2017] 127.0.0.1:33824 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:18:45 2017] 127.0.0.1:33826 [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() [Wed Jun 21 20:18:46 2017] 127.0.0.1:33828 [200]: /ocs/v1.php/cloud/users/user0 [Wed Jun 21 20:18:46 2017] 127.0.0.1:33830 [404]: /ocs/v2.php/cloud/users/user0 [Wed Jun 21 20:18:47 2017] 127.0.0.1:33832 [200]: /ocs/v1.php/cloud/users/user1 [Wed Jun 21 20:18:47 2017] 127.0.0.1:33834 [404]: /ocs/v2.php/cloud/users/user1 [Wed Jun 21 20:18:47 2017] 127.0.0.1:33836 [207]: /remote.php/dav/systemtags/ [Wed Jun 21 20:18:48 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Wed Jun 21 20:18:48 2017] 127.0.0.1:33838 [401]: /remote.php/webdav/myFileToTag.txt 21 scenarios (21 passed) 182 steps (182 passed) 5m40.21s (13.73Mb) Cannot load Xdebug - it was already loaded ./run.sh: line 122: 30456 Terminated php -S localhost:$PORT -t "$OC_PATH" ./run.sh: line 122: 30457 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 Cannot load Xdebug - it was already loaded Encryption disabled Cannot load Xdebug - it was already loaded encryption disabled Cannot load Xdebug - it was already loaded Config value useMasterKey of app encryption deleted {"reqId":"Q1VKI4gA2id5LhnTAFOx","level":2,"time":"2017-06-21T14:47:01+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"0qWi5Wmzw3JSnVA3W17V","level":2,"time":"2017-06-21T14:47:20+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"Lc1MvOPZJQkQ8NwZyebv","level":3,"time":"2017-06-21T14:47:31+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"--","url":"--","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"defaultInstance is null\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Encryption\\\/Update.php(103): OC\\\\Files\\\\Filesystem::getPath(2568)\\n#1 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Encryption\\\/HookManager.php(38): OC\\\\Encryption\\\\Update->postUnshared(Array)\\n#2 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/hook.php(105): OC\\\\Encryption\\\\HookManager::postUnshared(Array)\\n#3 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Share20\\\/Manager.php(831): OC_Hook::emit('OCP\\\\\\\\Share', 'post_unshare', Array)\\n#4 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Command\\\/TransferOwnership.php(286): OC\\\\Share20\\\\Manager->deleteShare(Object(OC\\\\Share20\\\\Share))\\n#5 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Command\\\/TransferOwnership.php(154): OCA\\\\Files\\\\Command\\\\TransferOwnership->restoreShares(Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#6 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Command\\\/Command.php(262): OCA\\\\Files\\\\Command\\\\TransferOwnership->execute(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#7 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(826): Symfony\\\\Component\\\\Console\\\\Command\\\\Command->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#8 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(189): Symfony\\\\Component\\\\Console\\\\Application->doRunCommand(Object(OCA\\\\Files\\\\Command\\\\TransferOwnership), Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#9 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(120): Symfony\\\\Component\\\\Console\\\\Application->doRun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#10 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Console\\\/Application.php(160): Symfony\\\\Component\\\\Console\\\\Application->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#11 \\\/home\\\/sujith\\\/test\\\/owncloud\\\/console.php(99): OC\\\\Console\\\\Application->run()\\n#12 {main}\",\"File\":\"\\\/home\\\/sujith\\\/test\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"Line\":948}"} {"reqId":"TMsQNqvuNXLqa5FPXL5i","level":2,"time":"2017-06-21T14:47:34+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"bDdiTCswQz0p25zv2Mdz","level":2,"time":"2017-06-21T14:47:57+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"rSmKMCPyT8HeD4MQuxzC","level":2,"time":"2017-06-21T14:48:15+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"JQwtxbLUIVTgkqupWKhW","level":2,"time":"2017-06-21T14:48:26+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"L0tVseBWuJZbEISBCDQV","level":2,"time":"2017-06-21T14:48:32+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"7ouilZFwxqftsdRpu57c","level":2,"time":"2017-06-21T14:48:38+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} {"reqId":"twu3MNfsGuq5ImgUzLsA","level":2,"time":"2017-06-21T14:48:48+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"DELETE","url":"\/remote.php\/webdav\/myFileToTag.txt","message":"Login failed: 'user0' (Remote IP: '127.0.0.1')"} runsh: Exit code: 0