sujith@sujith-Inspiron-5567 ~/test/owncloud/tests/integration $ OC_TEST_ENCRYPTION_MASTER_KEY_ENABLED=1 ./run.sh features/transfer-ownership.feature Script path: /home/sujith/test/owncloud/tests/integration 8080 4825 8180 4826 Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded Cannot load Xdebug - it was already loaded PHP 7.0.18-0ubuntu0.16.04.1 Development Server started at Mon Jun 12 10:41:26 2017 Listening on http://localhost:8080 Document root is /home/sujith/test/owncloud Press Ctrl-C to quit. PHP 7.0.18-0ubuntu0.16.04.1 Development Server started at Mon Jun 12 10:41:26 2017 Listening on http://localhost:8180 Document root is /home/sujith/test/owncloud Press Ctrl-C to quit. 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 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 [Mon Jun 12 10:41:29 2017] 127.0.0.1:40954 [200]: /ocs/v1.php/cloud/apps/testing [Mon Jun 12 10:41:32 2017] 127.0.0.1:40956 [200]: /ocs/v1.php/cloud/apps?filter=enabled [Mon Jun 12 10:41:33 2017] 127.0.0.1:40958 [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 Jun 12 10:41:33 2017] 127.0.0.1:40960 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:41:33 2017] 127.0.0.1:40962 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:41:35 2017] 127.0.0.1:40964 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:41:36 2017] 127.0.0.1:40966 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:41:36 2017] 127.0.0.1:40968 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:41:37 2017] 127.0.0.1:40970 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:41:38 2017] 127.0.0.1:40972 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:41:39 2017] 127.0.0.1:40980 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:41:40 2017] 127.0.0.1:40982 [201]: /remote.php/webdav/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:41:47 2017] 127.0.0.1:40984 [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 Jun 12 10:41:48 2017] 127.0.0.1:40986 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051140//somefile.txt Then Downloaded content when downloading file "/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jun 12 10:41:48 2017] 127.0.0.1:40988 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:41:49 2017] 127.0.0.1:40990 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:41:49 2017] 127.0.0.1:40992 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:41:49 2017] 127.0.0.1:40994 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:41:50 2017] 127.0.0.1:40996 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:41:50 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:41:50 2017] 127.0.0.1:40998 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:41:50 2017] 127.0.0.1:41000 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:41:50 2017] 127.0.0.1:41002 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:41:51 2017] 127.0.0.1:41004 [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 [Mon Jun 12 10:41:51 2017] 127.0.0.1:41006 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:41:52 2017] 127.0.0.1:41008 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:41:53 2017] 127.0.0.1:41010 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:41:54 2017] 127.0.0.1:41012 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:41:54 2017] 127.0.0.1:41014 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:41:55 2017] 127.0.0.1:41016 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:41:56 2017] 127.0.0.1:41018 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:41:57 2017] 127.0.0.1:41022 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:41:57 2017] 127.0.0.1:41024 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:41:58 2017] 127.0.0.1:41026 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:42:05 2017] 127.0.0.1:41030 [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 Jun 12 10:42:05 2017] 127.0.0.1:41032 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051158//test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jun 12 10:42:05 2017] 127.0.0.1:41034 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:42:06 2017] 127.0.0.1:41036 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:42:06 2017] 127.0.0.1:41038 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:42:07 2017] 127.0.0.1:41040 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:42:07 2017] 127.0.0.1:41042 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:42:07 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:42:07 2017] 127.0.0.1:41044 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:42:07 2017] 127.0.0.1:41046 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:42:08 2017] 127.0.0.1:41048 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:42:08 2017] 127.0.0.1:41050 [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 [Mon Jun 12 10:42:08 2017] 127.0.0.1:41052 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:42:09 2017] 127.0.0.1:41054 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:10 2017] 127.0.0.1:41056 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:42:11 2017] 127.0.0.1:41058 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:11 2017] 127.0.0.1:41060 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:42:12 2017] 127.0.0.1:41062 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:13 2017] 127.0.0.1:41064 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:42:14 2017] 127.0.0.1:41066 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:14 2017] 127.0.0.1:41068 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:42:15 2017] 127.0.0.1:41070 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:17 2017] 127.0.0.1:41072 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:42:17 2017] 127.0.0.1:41074 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:18 2017] 127.0.0.1:41076 [201]: /remote.php/webdav/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:42:18 2017] 127.0.0.1:41078 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsomefile.txt [Mon Jun 12 10:42:19 2017] 127.0.0.1:41080 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:42:19 2017] 127.0.0.1:41082 [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 Jun 12 10:42:27 2017] 127.0.0.1:41084 [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 Jun 12 10:42:27 2017] 127.0.0.1:41086 [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 Jun 12 10:42:28 2017] 127.0.0.1:41088 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:42:28 2017] 127.0.0.1:41090 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:42:29 2017] 127.0.0.1:41092 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:42:29 2017] 127.0.0.1:41094 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:42:29 2017] 127.0.0.1:41096 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:42:30 2017] 127.0.0.1:41098 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:42:30 2017] 127.0.0.1:41100 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:42:30 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:42:30 2017] 127.0.0.1:41102 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:42:31 2017] 127.0.0.1:41104 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:42:31 2017] 127.0.0.1:41106 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:42:31 2017] 127.0.0.1:41108 [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 [Mon Jun 12 10:42:32 2017] 127.0.0.1:41110 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:42:32 2017] 127.0.0.1:41112 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:34 2017] 127.0.0.1:41114 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:42:34 2017] 127.0.0.1:41116 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:35 2017] 127.0.0.1:41118 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:42:35 2017] 127.0.0.1:41120 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:37 2017] 127.0.0.1:41122 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:42:38 2017] 127.0.0.1:41124 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:38 2017] 127.0.0.1:41126 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:42:39 2017] 127.0.0.1:41128 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:40 2017] 127.0.0.1:41130 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:42:41 2017] 127.0.0.1:41132 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:41 2017] 127.0.0.1:41134 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:42:42 2017] 127.0.0.1:41136 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:42:42 2017] 127.0.0.1:41138 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:42:42 2017] 127.0.0.1:41140 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:42:43 2017] 127.0.0.1:41142 [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 Jun 12 10:42:50 2017] 127.0.0.1:41144 [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 Jun 12 10:42:51 2017] 127.0.0.1:41146 [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 Jun 12 10:42:51 2017] 127.0.0.1:41148 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:42:51 2017] 127.0.0.1:41150 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:42:52 2017] 127.0.0.1:41152 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:42:52 2017] 127.0.0.1:41154 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:42:53 2017] 127.0.0.1:41156 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:42:53 2017] 127.0.0.1:41158 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:42:53 2017] 127.0.0.1:41160 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:42:54 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:42:54 2017] 127.0.0.1:41162 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:42:54 2017] 127.0.0.1:41164 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:42:54 2017] 127.0.0.1:41166 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:42:55 2017] 127.0.0.1:41168 [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 [Mon Jun 12 10:42:55 2017] 127.0.0.1:41170 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:42:55 2017] 127.0.0.1:41172 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:42:57 2017] 127.0.0.1:41174 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:42:57 2017] 127.0.0.1:41176 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:42:58 2017] 127.0.0.1:41178 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:42:58 2017] 127.0.0.1:41180 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:00 2017] 127.0.0.1:41182 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:43:00 2017] 127.0.0.1:41184 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:00 2017] 127.0.0.1:41186 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:43:01 2017] 127.0.0.1:41188 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:43:01 2017] 127.0.0.1:41190 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:43:02 2017] 127.0.0.1:41192 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:43:02 2017] 127.0.0.1:41194 [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 Jun 12 10:43:09 2017] 127.0.0.1:41242 [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 Jun 12 10:43:10 2017] 127.0.0.1:41246 [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 Jun 12 10:43:10 2017] 127.0.0.1:41248 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051303//test/somefile.txt And Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jun 12 10:43:11 2017] 127.0.0.1:41252 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:43:11 2017] 127.0.0.1:41254 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:43:11 2017] 127.0.0.1:41256 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:43:12 2017] 127.0.0.1:41260 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:43:12 2017] 127.0.0.1:41266 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:43:12 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:43:12 2017] 127.0.0.1:41272 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:43:12 2017] 127.0.0.1:41274 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:43:13 2017] 127.0.0.1:41276 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:43:13 2017] 127.0.0.1:41280 [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 [Mon Jun 12 10:43:13 2017] 127.0.0.1:41286 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jun 12 10:43:14 2017] 127.0.0.1:41288 [200]: /ocs/v1.php/cloud/groups [Mon Jun 12 10:43:14 2017] 127.0.0.1:41292 [200]: /ocs/v2.php/cloud/groups/group1 Given group "group1" exists # FeatureContext::assureGroupExists() [Mon Jun 12 10:43:15 2017] 127.0.0.1:41298 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:43:15 2017] 127.0.0.1:41300 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:17 2017] 127.0.0.1:41302 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:43:17 2017] 127.0.0.1:41306 [200]: /ocs/v2.php/cloud/users/user0 And user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:17 2017] 127.0.0.1:41308 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:43:18 2017] 127.0.0.1:41310 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:20 2017] 127.0.0.1:41312 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:43:20 2017] 127.0.0.1:41314 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:21 2017] 127.0.0.1:41316 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:43:21 2017] 127.0.0.1:41318 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:23 2017] 127.0.0.1:41320 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:43:23 2017] 127.0.0.1:41322 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:24 2017] 127.0.0.1:41324 [200]: /ocs/v2.php/cloud/users/user2/groups [Mon Jun 12 10:43:24 2017] 127.0.0.1:41326 [200]: /ocs/v1.php/cloud/users/user2/groups [Mon Jun 12 10:43:24 2017] 127.0.0.1:41328 [200]: /ocs/v2.php/cloud/users/user2/groups And user "user2" belongs to group "group1" # FeatureContext::assureUserBelongsToGroup() [Mon Jun 12 10:43:25 2017] 127.0.0.1:41332 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:43:25 2017] 127.0.0.1:41334 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:43:26 2017] 127.0.0.1:41336 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:43:26 2017] 127.0.0.1:41338 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:43:27 2017] 127.0.0.1:41340 [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 Jun 12 10:43:27 2017] 127.0.0.1:41342 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:43:28 2017] 127.0.0.1:41344 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:43:28 2017] 127.0.0.1:41346 [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 Jun 12 10:43:35 2017] 127.0.0.1:41350 [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 Jun 12 10:43:35 2017] 127.0.0.1:41352 [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 Jun 12 10:43:36 2017] 127.0.0.1:41354 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:43:36 2017] 127.0.0.1:41356 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:43:37 2017] 127.0.0.1:41358 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:43:37 2017] 127.0.0.1:41360 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:43:37 2017] 127.0.0.1:41362 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:43:38 2017] 127.0.0.1:41364 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:43:38 2017] 127.0.0.1:41366 [200]: /ocs/v1.php/cloud/groups/group1 [Mon Jun 12 10:43:38 2017] 127.0.0.1:41368 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jun 12 10:43:39 2017] 127.0.0.1:41370 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:43:39 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:43:39 2017] 127.0.0.1:41372 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:43:39 2017] 127.0.0.1:41374 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:43:40 2017] 127.0.0.1:41376 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:43:40 2017] 127.0.0.1:41378 [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 [Mon Jun 12 10:43:40 2017] 127.0.0.1:41380 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:43:41 2017] 127.0.0.1:41382 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:42 2017] 127.0.0.1:41384 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:43:43 2017] 127.0.0.1:41386 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:43 2017] 127.0.0.1:41388 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:43:43 2017] 127.0.0.1:41390 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:45 2017] 127.0.0.1:41392 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:43:45 2017] 127.0.0.1:41394 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:46 2017] 127.0.0.1:41396 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:43:46 2017] 127.0.0.1:41398 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:43:48 2017] 127.0.0.1:41400 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:43:48 2017] 127.0.0.1:41402 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:43:49 2017] 127.0.0.1:41404 [201]: /remote.php/webdav/test And User "user2" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:43:49 2017] 127.0.0.1:41406 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:43:49 2017] 127.0.0.1:41408 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:43:50 2017] 127.0.0.1:41410 [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 Jun 12 10:43:56 2017] 127.0.0.1:41412 [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 Jun 12 10:43:57 2017] 127.0.0.1:41414 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051350//test Then as "user1" the folder "/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jun 12 10:43:57 2017] 127.0.0.1:41416 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:43:58 2017] 127.0.0.1:41418 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:43:58 2017] 127.0.0.1:41420 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:43:58 2017] 127.0.0.1:41422 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:43:59 2017] 127.0.0.1:41424 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:43:59 2017] 127.0.0.1:41426 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:43:59 2017] 127.0.0.1:41428 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:43:59 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:43:59 2017] 127.0.0.1:41430 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:44:00 2017] 127.0.0.1:41432 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:44:00 2017] 127.0.0.1:41434 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:44:00 2017] 127.0.0.1:41436 [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 [Mon Jun 12 10:44:01 2017] 127.0.0.1:41438 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:01 2017] 127.0.0.1:41440 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:03 2017] 127.0.0.1:41442 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:03 2017] 127.0.0.1:41448 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:04 2017] 127.0.0.1:41450 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:44:04 2017] 127.0.0.1:41452 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:06 2017] 127.0.0.1:41454 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:44:06 2017] 127.0.0.1:41458 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:12 2017] 127.0.0.1:41470 [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 Jun 12 10:44:13 2017] 127.0.0.1:41472 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051406//local_storage Then as "user1" the folder "/local_storage" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jun 12 10:44:13 2017] 127.0.0.1:41474 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:13 2017] 127.0.0.1:41476 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:14 2017] 127.0.0.1:41478 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:44:14 2017] 127.0.0.1:41480 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:44:14 2017] 127.0.0.1:41482 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:44:14 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:44:14 2017] 127.0.0.1:41484 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:44:15 2017] 127.0.0.1:41486 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:44:15 2017] 127.0.0.1:41488 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:44:15 2017] 127.0.0.1:41490 [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 [Mon Jun 12 10:44:16 2017] 127.0.0.1:41492 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:16 2017] 127.0.0.1:41494 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:18 2017] 127.0.0.1:41496 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:18 2017] 127.0.0.1:41498 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:18 2017] 127.0.0.1:41500 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:44:19 2017] 127.0.0.1:41502 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:20 2017] 127.0.0.1:41504 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:44:21 2017] 127.0.0.1:41506 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:21 2017] 127.0.0.1:41508 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:44:22 2017] 127.0.0.1:41510 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:23 2017] 127.0.0.1:41512 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:44:24 2017] 127.0.0.1:41514 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:24 2017] 127.0.0.1:41516 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:44:24 2017] 127.0.0.1:41518 [201]: /remote.php/webdav/sub/test And User "user0" created a folder "/sub/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:44:25 2017] 127.0.0.1:41520 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Fsub%2Ftest [Mon Jun 12 10:44:25 2017] 127.0.0.1:41522 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:44:25 2017] 127.0.0.1:41524 [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 Jun 12 10:44:26 2017] 127.0.0.1:41526 [204]: /remote.php/webdav/sub And User "user0" deletes folder "/sub" # FeatureContext::userDeletesFile() [Mon Jun 12 10:44:32 2017] 127.0.0.1:41534 [207]: /remote.php/webdav When transfering ownership from "user0" to "user1" # CommandLineContext::transferingOwnership() Then the command was successful # CommandLineContext::theCommandWasSuccessful() [Mon Jun 12 10:44:33 2017] 127.0.0.1:41536 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:33 2017] 127.0.0.1:41544 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:34 2017] 127.0.0.1:41546 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:44:34 2017] 127.0.0.1:41550 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:44:35 2017] 127.0.0.1:41552 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:44:35 2017] 127.0.0.1:41554 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:44:36 2017] 127.0.0.1:41556 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:44:36 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:44:36 2017] 127.0.0.1:41558 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:44:36 2017] 127.0.0.1:41560 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:44:36 2017] 127.0.0.1:41562 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:44:37 2017] 127.0.0.1:41564 [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 [Mon Jun 12 10:44:37 2017] 127.0.0.1:41566 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:38 2017] 127.0.0.1:41568 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:39 2017] 127.0.0.1:41570 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:40 2017] 127.0.0.1:41572 [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 Jun 12 10:44:40 2017] 127.0.0.1:41574 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:41 2017] 127.0.0.1:41576 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:41 2017] 127.0.0.1:41578 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:44:41 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:44:41 2017] 127.0.0.1:41586 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:44:42 2017] 127.0.0.1:41588 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:44:42 2017] 127.0.0.1:41594 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:44:43 2017] 127.0.0.1:41596 [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 [Mon Jun 12 10:44:43 2017] 127.0.0.1:41604 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:44 2017] 127.0.0.1:41606 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:45 2017] 127.0.0.1:41614 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:46 2017] 127.0.0.1:41616 [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 Jun 12 10:44:47 2017] 127.0.0.1:41618 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:47 2017] 127.0.0.1:41620 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:47 2017] 127.0.0.1:41622 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:44:47 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:44:47 2017] 127.0.0.1:41624 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:44:48 2017] 127.0.0.1:41626 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:44:48 2017] 127.0.0.1:41628 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:44:48 2017] 127.0.0.1:41630 [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 [Mon Jun 12 10:44:49 2017] 127.0.0.1:41632 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:49 2017] 127.0.0.1:41634 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:51 2017] 127.0.0.1:41636 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:51 2017] 127.0.0.1:41638 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:52 2017] 127.0.0.1:41640 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:44:52 2017] 127.0.0.1:41642 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:44:54 2017] 127.0.0.1:41644 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:44:54 2017] 127.0.0.1:41646 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:44:55 2017] 127.0.0.1:41648 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:44:55 2017] 127.0.0.1:41650 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:44:56 2017] 127.0.0.1:41652 [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 Jun 12 10:44:57 2017] 127.0.0.1:41654 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051455//test/somefile.txt Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jun 12 10:44:57 2017] 127.0.0.1:41656 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:44:58 2017] 127.0.0.1:41658 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:44:58 2017] 127.0.0.1:41660 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:44:58 2017] 127.0.0.1:41662 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:44:59 2017] 127.0.0.1:41664 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:44:59 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:44:59 2017] 127.0.0.1:41666 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:44:59 2017] 127.0.0.1:41668 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:45:00 2017] 127.0.0.1:41670 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:45:00 2017] 127.0.0.1:41672 [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 [Mon Jun 12 10:45:00 2017] 127.0.0.1:41674 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:01 2017] 127.0.0.1:41676 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:03 2017] 127.0.0.1:41678 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:03 2017] 127.0.0.1:41680 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:04 2017] 127.0.0.1:41686 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:04 2017] 127.0.0.1:41688 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:06 2017] 127.0.0.1:41690 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:07 2017] 127.0.0.1:41692 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:07 2017] 127.0.0.1:41694 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:45:07 2017] 127.0.0.1:41696 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:09 2017] 127.0.0.1:41698 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:45:10 2017] 127.0.0.1:41700 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:10 2017] 127.0.0.1:41702 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:45:11 2017] 127.0.0.1:41704 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:45:11 2017] 127.0.0.1:41706 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest%2Fsomefile.txt [Mon Jun 12 10:45:12 2017] 127.0.0.1:41708 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:45:12 2017] 127.0.0.1:41710 [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 Jun 12 10:45:14 2017] 127.0.0.1:41712 [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 Jun 12 10:45:14 2017] 127.0.0.1:41720 [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 Jun 12 10:45:15 2017] 127.0.0.1:41722 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:15 2017] 127.0.0.1:41724 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:15 2017] 127.0.0.1:41726 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:16 2017] 127.0.0.1:41728 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:16 2017] 127.0.0.1:41730 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:45:17 2017] 127.0.0.1:41732 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:45:17 2017] 127.0.0.1:41734 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:45:17 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:45:17 2017] 127.0.0.1:41736 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:45:18 2017] 127.0.0.1:41738 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:45:18 2017] 127.0.0.1:41740 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:45:18 2017] 127.0.0.1:41742 [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 [Mon Jun 12 10:45:19 2017] 127.0.0.1:41744 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:19 2017] 127.0.0.1:41746 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:21 2017] 127.0.0.1:41748 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:21 2017] 127.0.0.1:41750 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:22 2017] 127.0.0.1:41752 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:22 2017] 127.0.0.1:41754 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:24 2017] 127.0.0.1:41756 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:24 2017] 127.0.0.1:41758 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:24 2017] 127.0.0.1:41760 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:45:25 2017] 127.0.0.1:41762 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:27 2017] 127.0.0.1:41764 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:45:27 2017] 127.0.0.1:41766 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:28 2017] 127.0.0.1:41768 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:45:28 2017] 127.0.0.1:41770 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:45:28 2017] 127.0.0.1:41772 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:45:29 2017] 127.0.0.1:41774 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:45:29 2017] 127.0.0.1:41776 [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 Jun 12 10:45:31 2017] 127.0.0.1:41778 [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 Jun 12 10:45:31 2017] 127.0.0.1:41780 [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 Jun 12 10:45:32 2017] 127.0.0.1:41782 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:32 2017] 127.0.0.1:41784 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:33 2017] 127.0.0.1:41786 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:33 2017] 127.0.0.1:41788 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:33 2017] 127.0.0.1:41790 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:45:34 2017] 127.0.0.1:41792 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:45:34 2017] 127.0.0.1:41794 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:45:34 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:45:34 2017] 127.0.0.1:41796 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:45:34 2017] 127.0.0.1:41798 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:45:35 2017] 127.0.0.1:41800 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:45:35 2017] 127.0.0.1:41802 [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 [Mon Jun 12 10:45:36 2017] 127.0.0.1:41804 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:36 2017] 127.0.0.1:41806 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:38 2017] 127.0.0.1:41808 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:39 2017] 127.0.0.1:41816 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:39 2017] 127.0.0.1:41818 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:40 2017] 127.0.0.1:41820 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:42 2017] 127.0.0.1:41822 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:42 2017] 127.0.0.1:41824 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:43 2017] 127.0.0.1:41826 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:45:43 2017] 127.0.0.1:41828 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:45:44 2017] 127.0.0.1:41830 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:45:44 2017] 127.0.0.1:41832 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:45:45 2017] 127.0.0.1:41834 [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 Jun 12 10:45:46 2017] 127.0.0.1:41836 [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 Jun 12 10:45:47 2017] 127.0.0.1:41838 [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() And Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" # FeatureContext::downloadedContentWhenDownloadindShouldBe() [Mon Jun 12 10:45:47 2017] 127.0.0.1:41840 [206]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051545//test/somefile.txt [Mon Jun 12 10:45:48 2017] 127.0.0.1:41842 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:48 2017] 127.0.0.1:41844 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:48 2017] 127.0.0.1:41846 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:49 2017] 127.0.0.1:41848 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:49 2017] 127.0.0.1:41850 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:45:49 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:45:49 2017] 127.0.0.1:41852 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:45:49 2017] 127.0.0.1:41854 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:45:50 2017] 127.0.0.1:41856 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:45:50 2017] 127.0.0.1:41858 [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 [Mon Jun 12 10:45:51 2017] 127.0.0.1:41860 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jun 12 10:45:51 2017] 127.0.0.1:41862 [200]: /ocs/v1.php/cloud/groups [Mon Jun 12 10:45:51 2017] 127.0.0.1:41864 [200]: /ocs/v2.php/cloud/groups/group1 Given group "group1" exists # FeatureContext::assureGroupExists() [Mon Jun 12 10:45:52 2017] 127.0.0.1:41866 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:45:52 2017] 127.0.0.1:41868 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:54 2017] 127.0.0.1:41870 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:45:54 2017] 127.0.0.1:41872 [200]: /ocs/v2.php/cloud/users/user0 And user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:55 2017] 127.0.0.1:41874 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:45:55 2017] 127.0.0.1:41876 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:45:57 2017] 127.0.0.1:41878 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:45:57 2017] 127.0.0.1:41880 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:45:58 2017] 127.0.0.1:41882 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:45:58 2017] 127.0.0.1:41884 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:00 2017] 127.0.0.1:41886 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:46:01 2017] 127.0.0.1:41888 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:01 2017] 127.0.0.1:41890 [200]: /ocs/v2.php/cloud/users/user2/groups [Mon Jun 12 10:46:01 2017] 127.0.0.1:41892 [200]: /ocs/v1.php/cloud/users/user2/groups [Mon Jun 12 10:46:02 2017] 127.0.0.1:41894 [200]: /ocs/v2.php/cloud/users/user2/groups And user "user2" belongs to group "group1" # FeatureContext::assureUserBelongsToGroup() [Mon Jun 12 10:46:02 2017] 127.0.0.1:41896 [201]: /remote.php/webdav/test And User "user0" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:46:03 2017] 127.0.0.1:41898 [201]: /remote.php/webdav/test/somefile.txt And User "user0" uploads file "data/textfile.txt" to "/test/somefile.txt" # FeatureContext::userUploadsAFileTo() [Mon Jun 12 10:46:03 2017] 127.0.0.1:41900 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:46:04 2017] 127.0.0.1:41902 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:46:04 2017] 127.0.0.1:41904 [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 Jun 12 10:46:05 2017] 127.0.0.1:41906 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:46:05 2017] 127.0.0.1:41908 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:46:06 2017] 127.0.0.1:41910 [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 Jun 12 10:46:07 2017] 127.0.0.1:41912 [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 Jun 12 10:46:08 2017] 127.0.0.1:41914 [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 Jun 12 10:46:08 2017] 127.0.0.1:41916 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:09 2017] 127.0.0.1:41918 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:09 2017] 127.0.0.1:41920 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:46:09 2017] 127.0.0.1:41922 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:46:10 2017] 127.0.0.1:41924 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:46:10 2017] 127.0.0.1:41926 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:46:10 2017] 127.0.0.1:41928 [200]: /ocs/v1.php/cloud/groups/group1 [Mon Jun 12 10:46:11 2017] 127.0.0.1:41930 [404]: /ocs/v2.php/cloud/groups/group1 [Mon Jun 12 10:46:11 2017] 127.0.0.1:41932 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:46:11 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:46:11 2017] 127.0.0.1:41934 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:46:12 2017] 127.0.0.1:41936 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:46:12 2017] 127.0.0.1:41938 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:46:12 2017] 127.0.0.1:41940 [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 [Mon Jun 12 10:46:13 2017] 127.0.0.1:41942 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:13 2017] 127.0.0.1:41944 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:15 2017] 127.0.0.1:41946 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:15 2017] 127.0.0.1:41948 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:16 2017] 127.0.0.1:41950 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:46:16 2017] 127.0.0.1:41952 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:18 2017] 127.0.0.1:41954 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:46:19 2017] 127.0.0.1:41956 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:19 2017] 127.0.0.1:41958 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:46:20 2017] 127.0.0.1:41960 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:21 2017] 127.0.0.1:41962 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:46:22 2017] 127.0.0.1:41964 [200]: /ocs/v2.php/cloud/users/user2 And user "user2" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:22 2017] 127.0.0.1:41966 [201]: /remote.php/webdav/test And User "user2" created a folder "/test" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:46:23 2017] 127.0.0.1:41968 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:46:23 2017] 127.0.0.1:41970 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ftest [Mon Jun 12 10:46:23 2017] 127.0.0.1:41972 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares [Mon Jun 12 10:46:24 2017] 127.0.0.1:41974 [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 Jun 12 10:46:24 2017] 127.0.0.1:41976 [201]: /remote.php/webdav/test And User "user0" moved folder "/test" to "/sub/test" # FeatureContext::userMovedFile() [Mon Jun 12 10:46:25 2017] 127.0.0.1:41978 [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 Jun 12 10:46:26 2017] 127.0.0.1:41980 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051625//sub/test Then as "user1" the folder "/sub/test" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jun 12 10:46:26 2017] 127.0.0.1:41982 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:26 2017] 127.0.0.1:41984 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:27 2017] 127.0.0.1:41986 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:46:27 2017] 127.0.0.1:41988 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:46:28 2017] 127.0.0.1:41990 [200]: /ocs/v1.php/cloud/users/user2 [Mon Jun 12 10:46:28 2017] 127.0.0.1:41992 [404]: /ocs/v2.php/cloud/users/user2 [Mon Jun 12 10:46:28 2017] 127.0.0.1:41994 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:46:28 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:46:28 2017] 127.0.0.1:41996 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:46:29 2017] 127.0.0.1:41998 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:46:29 2017] 127.0.0.1:42000 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:46:30 2017] 127.0.0.1:42002 [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 [Mon Jun 12 10:46:30 2017] 127.0.0.1:42004 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:31 2017] 127.0.0.1:42006 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:32 2017] 127.0.0.1:42008 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:33 2017] 127.0.0.1:42010 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:33 2017] 127.0.0.1:42012 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:46:34 2017] 127.0.0.1:42014 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:35 2017] 127.0.0.1:42016 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:46:36 2017] 127.0.0.1:42018 [200]: /ocs/v2.php/cloud/users/user1 And user "user1" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:36 2017] 127.0.0.1:42020 [201]: /remote.php/webdav/sub And User "user0" created a folder "/sub" # FeatureContext::userCreatedAFolder() [Mon Jun 12 10:46:37 2017] 127.0.0.1:42022 [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 Jun 12 10:46:37 2017] 127.0.0.1:42024 [404]: /remote.php/webdav/transferred%20from%20user0%20on%2020170612_051636//local_storage Then as "user1" the folder "/local_storage" does not exist # FeatureContext::asTheFileOrFolderDoesNotExist() [Mon Jun 12 10:46:38 2017] 127.0.0.1:42026 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:38 2017] 127.0.0.1:42028 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:39 2017] 127.0.0.1:42030 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:46:39 2017] 127.0.0.1:42032 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:46:39 2017] 127.0.0.1:42034 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:46:39 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:46:39 2017] 127.0.0.1:42036 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:46:40 2017] 127.0.0.1:42038 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:46:40 2017] 127.0.0.1:42040 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:46:40 2017] 127.0.0.1:42042 [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 [Mon Jun 12 10:46:41 2017] 127.0.0.1:42044 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:41 2017] 127.0.0.1:42046 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:43 2017] 127.0.0.1:42048 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:44 2017] 127.0.0.1:42050 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:44 2017] 127.0.0.1:42052 [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 Jun 12 10:46:45 2017] 127.0.0.1:42054 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:45 2017] 127.0.0.1:42056 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:45 2017] 127.0.0.1:42058 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:46:45 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:46:45 2017] 127.0.0.1:42060 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:46:46 2017] 127.0.0.1:42062 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:46:46 2017] 127.0.0.1:42064 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:46:47 2017] 127.0.0.1:42066 [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 [Mon Jun 12 10:46:47 2017] 127.0.0.1:42068 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:48 2017] 127.0.0.1:42070 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:49 2017] 127.0.0.1:42072 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:50 2017] 127.0.0.1:42074 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:50 2017] 127.0.0.1:42076 [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 Jun 12 10:46:51 2017] 127.0.0.1:42078 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:51 2017] 127.0.0.1:42080 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:52 2017] 127.0.0.1:42082 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:46:52 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:46:52 2017] 127.0.0.1:42084 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:46:52 2017] 127.0.0.1:42086 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:46:53 2017] 127.0.0.1:42088 [404]: /remote.php/dav/calendars/admin/MyCalendar [Mon Jun 12 10:46:53 2017] 127.0.0.1:42090 [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 [Mon Jun 12 10:46:53 2017] 127.0.0.1:42092 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:46:54 2017] 127.0.0.1:42094 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:56 2017] 127.0.0.1:42096 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:46:56 2017] 127.0.0.1:42098 [200]: /ocs/v2.php/cloud/users/user0 Given user "user0" exists # FeatureContext::assureUserExists() [Mon Jun 12 10:46:56 2017] 127.0.0.1:42100 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:46:57 2017] 127.0.0.1:42102 [200]: /ocs/v1.php/cloud/users [Mon Jun 12 10:46:59 2017] 127.0.0.1:42104 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:46:59 2017] 127.0.0.1:42106 [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 Jun 12 10:47:00 2017] 127.0.0.1:42108 [200]: /ocs/v1.php/cloud/users/user0 [Mon Jun 12 10:47:00 2017] 127.0.0.1:42110 [404]: /ocs/v2.php/cloud/users/user0 [Mon Jun 12 10:47:01 2017] 127.0.0.1:42112 [200]: /ocs/v1.php/cloud/users/user1 [Mon Jun 12 10:47:01 2017] 127.0.0.1:42114 [404]: /ocs/v2.php/cloud/users/user1 [Mon Jun 12 10:47:01 2017] 127.0.0.1:42116 [200]: /ocs/v1.php/apps/testing/api/v1/app/core/shareapi_allow_public_upload [Mon Jun 12 10:47:02 2017] 127.0.0.1:42118 [200]: /ocs/v1.php/cloud/apps/testing [Mon Jun 12 10:47:05 2017] 127.0.0.1:42120 [200]: /ocs/v1.php/cloud/apps?filter=enabled [Mon Jun 12 10:47:05 2017] 127.0.0.1:42122 [207]: /remote.php/dav/systemtags/ [Mon Jun 12 10:47:05 2017] Login failed: 'user0' (Remote IP: '127.0.0.1') [Mon Jun 12 10:47:05 2017] 127.0.0.1:42124 [401]: /remote.php/webdav/myFileToTag.txt [Mon Jun 12 10:47:06 2017] 127.0.0.1:42126 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook [Mon Jun 12 10:47:06 2017] 127.0.0.1:42128 [404]: /remote.php/dav/calendars/admin/MyCalendar 21 scenarios (21 passed) 182 steps (182 passed) 5m37.80s (16.04Mb) Cannot load Xdebug - it was already loaded ./run.sh: line 121: 4825 Terminated php -S localhost:$PORT -t "$OC_PATH" ./run.sh: line 121: 4826 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 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":"YAHfofOyE0orVvjp57tr","level":2,"time":"2017-06-12T05:15:17+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":"6T8oQQWVqoOfBheLXSG7","level":2,"time":"2017-06-12T05:15: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":"UXzlLPM66iN54qs9JBqk","level":3,"time":"2017-06-12T05:15:46+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(5926)\\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(284): 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":"WxGMbOQLY0jqlt9O55gi","level":2,"time":"2017-06-12T05:15:49+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":"bXy0Dooy1aHqnrtgnSbA","level":2,"time":"2017-06-12T05:16:11+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":"3n2bX9hQrBoLgonRtkZm","level":2,"time":"2017-06-12T05:16:28+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":"UGaaeqxIXDAtMiGhkuFG","level":2,"time":"2017-06-12T05:16:39+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":"2ZGAJEDljX6BSZUnOJHn","level":2,"time":"2017-06-12T05:16:45+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":"V5DQo2CJ1FoEvFBZMGeF","level":2,"time":"2017-06-12T05:16:52+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":"MiiVzM5BFEvn8ECbrjhR","level":2,"time":"2017-06-12T05:17:05+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 sujith@sujith-Inspiron-5567 ~/test/owncloud/tests/integration $