It appears on a regular basis on GNU/Linux:
[INFO] [exec] FAIL nuxeo-drive-client/tests/test_group_changes.py::TestGroupChanges::test_changes_with_parent_group [INFO] [exec] =================================== FAILURES =================================== [INFO] [exec] _______________ TestGroupChanges.test_changes_with_parent_group ________________ [INFO] [exec] self = <tests.test_group_changes.TestGroupChanges testMethod=test_changes_with_parent_group> [INFO] [exec] def test_changes_with_parent_group(self): [INFO] [exec] """ [INFO] [exec] Test changes on the parent group of a group that has access to a synchronization root. [INFO] [exec] """ [INFO] [exec] > self._test_group_changes_with_ancestor_groups('parentGroup') [INFO] [exec] self = <tests.test_group_changes.TestGroupChanges testMethod=test_changes_with_parent_group> [INFO] [exec] nuxeo-drive-client/tests/test_group_changes.py:163: [INFO] [exec] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [INFO] [exec] nuxeo-drive-client/tests/test_group_changes.py:256: in _test_group_changes_with_ancestor_groups [INFO] [exec] self._test_group_changes('/syncRoot', 'group1', needsParentGroup=True) [INFO] [exec] nuxeo-drive-client/tests/test_group_changes.py:231: in _test_group_changes [INFO] [exec] self.assertTrue(local.exists(folder_path)) [INFO] [exec] E AssertionError: False is not true [INFO] [exec] ----------------------------- Captured stderr call ----------------------------- [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 INFO nxdrive.manager --consider-ssl-errors option is True, will verify HTTPS certificates [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create DAO on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/manager.db [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create main connexion on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/manager.db (dir exists: 1 / file exists: 0) [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 TRACE nxdrive.manager Effective proxy: None [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.osi Not using any OS integration [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.updater Application is not frozen, cannot build Esky instance, as a consequence update features won't be available [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 INFO nxdrive.manager --consider-ssl-errors option is True, will verify HTTPS certificates [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create DAO on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/manager.db [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create main connexion on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/manager.db (dir exists: 1 / file exists: 0) [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 TRACE nxdrive.manager Effective proxy: None [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.osi Not using any OS integration [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG nxdrive.updater Application is not frozen, cannot build Esky instance, as a consequence update features won't be available [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 DEBUG tests.common_unit_test Will use http://localhost:8080/nuxeo#NXDRIVE as url [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:38 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': u'nxdrive-test-administrator-device', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {"value": "/"}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"4800938a-8393-426c-a180-1c6df9f9016e","path":"/","type":"Root","state":null,"parentRef":"/","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":null,"title":"4800938a-8393-426c-a180-1c6df9f9016e","properties":{"common:icon-expanded":null,"common:icon":null,"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":null,"dc:modified":null,"dc:lastContributor":null,"dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":null,"dc:title":null,"dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":[],"dc:source":null,"dc:publisher":null},"facets":["Folderish","NotCollectionMember"]}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetupIntegrationTests with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {"userNames": "user_1, user_2", "permission": "ReadWrite"}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetupIntegrationTests' with cookies [] has content-type 'text/plain;charset=UTF-8' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {"value": "/default-domain/workspaces/"}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"26ce32df-3331-475a-9f56-6224a77f9d9b","path":"/default-domain/workspaces","type":"WorkspaceRoot","state":"project","parentRef":"cec2c7e2-49f7-4d79-9168-e3a2b4a2b03a","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402365139","title":"Workspaces","lastModified":"2017-06-25T14:52:45.139Z","properties":{"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"system","dc:modified":"2017-06-25T14:52:45.139Z","dc:lastContributor":"system","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T14:52:45.139Z","dc:title":"Workspaces","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["system"],"dc:source":null,"dc:publisher":null},"facets":["Folderish","SuperSpace","HiddenInCreation","NotCollectionMember"]}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.GetChildren with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"input": "doc:26ce32df-3331-475a-9f56-6224a77f9d9b", "params": {}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.GetChildren' with cookies []: '{"entity-type":"documents","entries":[{"entity-type":"document","repository":"default","uid":"04586a8b-130d-4278-af41-08e75cd019a0","path":"/default-domain/workspaces/nuxeo-drive-test-workspace","type":"Workspace","state":"project","parentRef":"26ce32df-3331-475a-9f56-6224a77f9d9b","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402899026","title":"Nuxeo Drive Test Workspace","lastModified":"2017-06-25T15:01:39.026Z","properties":{"webc:themePerspective":null,"webc:useCaptcha":null,"webc:isWebContainer":null,"webc:template":null,"webc:themePage":"workspace","webc:logo":null,"webc:name":null,"webc:email":null,"webc:welcomeMedia":null,"webc:url":null,"webc:baseline":null,"webc:theme":"sites","webc:moderationType":"aposteriori","webc:welcomeText":null,"file:content":null,"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","files:files":[],"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:39.026Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:39.026Z","dc:title":"Nuxeo Drive Test Workspace","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null,"publish:sections":[]},"facets":["Folderish","SuperSpace"]}]}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG tests.common_unit_test SuperWorkspace info: {u'changeToken': u'1498402365139', u'uid': u'26ce32df-3331-475a-9f56-6224a77f9d9b', u'repository': u'default', u'title': u'Workspaces', u'lastModified': u'2017-06-25T14:52:45.139Z', u'facets': [u'Folderish', u'SuperSpace', u'HiddenInCreation', u'NotCollectionMember'], u'entity-type': u'document', u'state': u'project', u'isCheckedOut': True, u'parentRef': u'cec2c7e2-49f7-4d79-9168-e3a2b4a2b03a', u'path': u'/default-domain/workspaces', u'isProxy': False, u'type': u'WorkspaceRoot', u'properties': {u'dc:subjects': [], u'dc:source': None, u'common:icon-expanded': None, u'dc:valid': None, u'dc:language': None, u'dc:creator': u'system', u'dc:title': u'Workspaces', u'dc:expired': None, u'dc:coverage': None, u'dc:modified': u'2017-06-25T14:52:45.139Z', u'dc:lastContributor': u'system', u'dc:created': u'2017-06-25T14:52:45.139Z', u'dc:contributors': [u'system'], u'common:icon': u'/icons/workspace.gif', u'dc:issued': None, u'dc:publisher': None, u'dc:nature': None, u'dc:format': None, u'dc:description': None, u'dc:rights': None}, u'isVersion': False} [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG tests.common_unit_test SuperWorkspace children: {u'entity-type': u'documents', u'entries': [{u'changeToken': u'1498402899026', u'uid': u'04586a8b-130d-4278-af41-08e75cd019a0', u'repository': u'default', u'title': u'Nuxeo Drive Test Workspace', u'lastModified': u'2017-06-25T15:01:39.026Z', u'facets': [u'Folderish', u'SuperSpace'], u'entity-type': u'document', u'state': u'project', u'isCheckedOut': True, u'parentRef': u'26ce32df-3331-475a-9f56-6224a77f9d9b', u'path': u'/default-domain/workspaces/nuxeo-drive-test-workspace', u'isProxy': False, u'type': u'Workspace', u'properties': {u'webc:url': None, u'dc:language': None, u'dc:valid': None, u'dc:subjects': [], u'webc:theme': u'sites', u'dc:title': u'Nuxeo Drive Test Workspace', u'dc:coverage': None, u'dc:lastContributor': u'Administrator', u'dc:created': u'2017-06-25T15:01:39.026Z', u'webc:email': None, u'dc:contributors': [u'Administrator'], u'dc:publisher': None, u'dc:format': None, u'webc:baseline': None, u'dc:source': None, u'common:icon-expanded': None, u'webc:useCaptcha': None, u'dc:nature': None, u'dc:creator': u'Administrator', u'webc:logo': None, u'webc:name': None, u'file:content': None, u'webc:welcomeText': None, u'dc:description': None, u'dc:rights': None, u'webc:welcomeMedia': None, u'webc:isWebContainer': None, u'webc:template': None, u'common:icon': u'/icons/workspace.gif', u'dc:expired': None, u'webc:moderationType': u'aposteriori', u'webc:themePage': u'workspace', u'dc:modified': u'2017-06-25T15:01:39.026Z', u'webc:themePerspective': None, u'dc:issued': None, u'files:files': [], u'publish:sections': []}, u'isVersion': False}]} [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {"value": "/default-domain/workspaces/nuxeo-drive-test-workspace"}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"04586a8b-130d-4278-af41-08e75cd019a0","path":"/default-domain/workspaces/nuxeo-drive-test-workspace","type":"Workspace","state":"project","parentRef":"26ce32df-3331-475a-9f56-6224a77f9d9b","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402899026","title":"Nuxeo Drive Test Workspace","lastModified":"2017-06-25T15:01:39.026Z","properties":{"webc:themePerspective":null,"webc:useCaptcha":null,"webc:isWebContainer":null,"webc:template":null,"webc:themePage":"workspace","webc:logo":null,"webc:name":null,"webc:email":null,"webc:welcomeMedia":null,"webc:url":null,"webc:baseline":null,"webc:theme":"sites","webc:moderationType":"aposteriori","webc:welcomeText":null,"file:content":null,"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","files:files":[],"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:39.026Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:39.026Z","dc:title":"Nuxeo Drive Test Workspace","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null,"publish:sections":[]},"facets":["Folderish","SuperSpace"]}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG tests.common_unit_test Workspace info: {u'changeToken': u'1498402899026', u'uid': u'04586a8b-130d-4278-af41-08e75cd019a0', u'repository': u'default', u'title': u'Nuxeo Drive Test Workspace', u'lastModified': u'2017-06-25T15:01:39.026Z', u'facets': [u'Folderish', u'SuperSpace'], u'entity-type': u'document', u'state': u'project', u'isCheckedOut': True, u'parentRef': u'26ce32df-3331-475a-9f56-6224a77f9d9b', u'path': u'/default-domain/workspaces/nuxeo-drive-test-workspace', u'isProxy': False, u'type': u'Workspace', u'properties': {u'webc:url': None, u'dc:language': None, u'dc:valid': None, u'dc:subjects': [], u'webc:theme': u'sites', u'dc:title': u'Nuxeo Drive Test Workspace', u'dc:coverage': None, u'dc:lastContributor': u'Administrator', u'dc:created': u'2017-06-25T15:01:39.026Z', u'webc:email': None, u'dc:contributors': [u'Administrator'], u'dc:publisher': None, u'dc:format': None, u'webc:baseline': None, u'dc:source': None, u'common:icon-expanded': None, u'webc:useCaptcha': None, u'dc:nature': None, u'dc:creator': u'Administrator', u'webc:logo': None, u'webc:name': None, u'file:content': None, u'webc:welcomeText': None, u'dc:description': None, u'dc:rights': None, u'webc:welcomeMedia': None, u'webc:isWebContainer': None, u'webc:template': None, u'common:icon': u'/icons/workspace.gif', u'dc:expired': None, u'webc:moderationType': u'aposteriori', u'webc:themePage': u'workspace', u'dc:modified': u'2017-06-25T15:01:39.026Z', u'webc:themePerspective': None, u'dc:issued': None, u'files:files': [], u'publish:sections': []}, u'isVersion': False} [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create DAO on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/ndrive_30cb2fc659b711e7bbdf0242ac11000d.db [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create main connexion on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/ndrive_30cb2fc659b711e7bbdf0242ac11000d.db (dir exists: 1 / file exists: 0) [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Vacuum sqlite [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Vacuum sqlite finished [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/authentication/token?applicationName=Nuxeo+Drive&deviceDescription=GNU%2FLinux+Desktop&revoke=false&deviceId=30bd64e059b711e7bbdf0242ac11000d&permission=ReadWrite with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Got token '6b64c4a8-ba93-4d5c-9538-bf334b50c38f' with cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetClientUpdateInfo with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetClientUpdateInfo' with cookies []: '{"betaUpdateSiteURL":"http://community.nuxeo.com/static/drive-tests/","updateSiteURL":"http://community.nuxeo.com/static/drive/","serverVersion":"9.2-SNAPSHOT"}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.engine Fetched update info for engine [localhost] from server http://localhost:8080/nuxeo/: {u'betaUpdateSiteURL': u'http://community.nuxeo.com/static/drive-tests/', u'updateSiteURL': u'http://community.nuxeo.com/static/drive/', u'serverVersion': u'9.2-SNAPSHOT'} [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetTopLevelFolder with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetTopLevelFolder' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"canScrollDescendants":false,"canCreateChild":false,"creationDate":355,"creator":"system","folder":true,"lastContributor":"system","canDelete":false,"lastModificationDate":355,"parentId":null,"canRename":false,"lockInfo":null,"name":"Nuxeo Drive","id":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","userName":"driveuser_1"}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Will not push pair: locally_created, pair=None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Updating remote state for row = <StateRow[1] local_path=u'/', remote_ref=None, local_state=u'created', remote_state=u'unknown', pair_state='locally_created'> with info = RemoteFileInfo(name=u'Nuxeo Drive', uid=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', parent_uid=None, path=u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', folderish=True, last_modification_time=datetime.datetime(1970, 1, 1, 0, 0), last_contributor=u'system', digest=None, digest_algorithm=None, download_url=None, can_rename=False, can_delete=False, can_update=False, can_create_child=False, lock_owner=None, lock_created=None, can_scroll_descendants=False) (force: False) [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Will not push pair: locally_created, pair=None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.local_client Setting xattr ndriveroot with value 'http://localhost:8080/nuxeo/|driveuser_1|30bd64e059b711e7bbdf0242ac11000d|30cb2fc659b711e7bbdf0242ac11000d' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.local_client Setting xattr ndrive with value 'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Try to synchronize state for [local_path=/, remote_name=None, version=0] with version=0 [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Queuing 0 children of '<StateRow[1] local_path=u'/', remote_ref=None, local_state=u'created', remote_state=u'unknown', pair_state='locally_created'>' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create DAO on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/ndrive_30f9b10259b711e7bbdf0242ac11000d.db [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Create main connexion on /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/ndrive_30f9b10259b711e7bbdf0242ac11000d.db (dir exists: 1 / file exists: 0) [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Vacuum sqlite [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Vacuum sqlite finished [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzI6N2FiN2Qy'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/authentication/token?applicationName=Nuxeo+Drive&deviceDescription=GNU%2FLinux+Desktop&revoke=false&deviceId=30bfc5b459b711e7bbdf0242ac11000d&permission=ReadWrite with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzI6N2FiN2Qy'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Got token '78353b10-4ab4-4820-899f-e53de77acf0c' with cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetClientUpdateInfo with headers {'X-Authentication-Token': '78353b10-4ab4-4820-899f-e53de77acf0c', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetClientUpdateInfo' with cookies []: '{"betaUpdateSiteURL":"http://community.nuxeo.com/static/drive-tests/","updateSiteURL":"http://community.nuxeo.com/static/drive/","serverVersion":"9.2-SNAPSHOT"}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.engine Fetched update info for engine [localhost] from server http://localhost:8080/nuxeo/: {u'betaUpdateSiteURL': u'http://community.nuxeo.com/static/drive-tests/', u'updateSiteURL': u'http://community.nuxeo.com/static/drive/', u'serverVersion': u'9.2-SNAPSHOT'} [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Authentication-Token': '78353b10-4ab4-4820-899f-e53de77acf0c', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetTopLevelFolder with headers {'X-Authentication-Token': '78353b10-4ab4-4820-899f-e53de77acf0c', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='78353b10-4ab4-4820-899f-e53de77acf0c', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetTopLevelFolder' with cookies [Cookie(version=0, name='X-Authentication-Token', value='78353b10-4ab4-4820-899f-e53de77acf0c', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"canScrollDescendants":false,"canCreateChild":false,"creationDate":447,"creator":"system","folder":true,"lastContributor":"system","canDelete":false,"lastModificationDate":447,"parentId":null,"canRename":false,"lockInfo":null,"name":"Nuxeo Drive","id":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","userName":"driveuser_2"}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Will not push pair: locally_created, pair=None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Updating remote state for row = <StateRow[1] local_path=u'/', remote_ref=None, local_state=u'created', remote_state=u'unknown', pair_state='locally_created'> with info = RemoteFileInfo(name=u'Nuxeo Drive', uid=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', parent_uid=None, path=u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', folderish=True, last_modification_time=datetime.datetime(1970, 1, 1, 0, 0), last_contributor=u'system', digest=None, digest_algorithm=None, download_url=None, can_rename=False, can_delete=False, can_update=False, can_create_child=False, lock_owner=None, lock_created=None, can_scroll_descendants=False) (force: False) [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Will not push pair: locally_created, pair=None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.local_client Setting xattr ndriveroot with value 'http://localhost:8080/nuxeo/|driveuser_2|30bfc5b459b711e7bbdf0242ac11000d|30f9b10259b711e7bbdf0242ac11000d' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.local_client Setting xattr ndrive with value 'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.engine.dao.sqlite Try to synchronize state for [local_path=/, remote_name=None, version=0] with version=0 [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Queuing 0 children of '<StateRow[1] local_path=u'/', remote_ref=None, local_state=u'created', remote_state=u'unknown', pair_state='locally_created'>' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': u'nxdrive-test-device-1', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-1', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'}, cookies [] and JSON payload '{"params": {"value": "04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"04586a8b-130d-4278-af41-08e75cd019a0","path":"/default-domain/workspaces/nuxeo-drive-test-workspace","type":"Workspace","state":"project","parentRef":"26ce32df-3331-475a-9f56-6224a77f9d9b","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402899026","title":"Nuxeo Drive Test Workspace","lastModified":"2017-06-25T15:01:39.026Z","properties":{"webc:themePerspective":null,"webc:useCaptcha":null,"webc:isWebContainer":null,"webc:template":null,"webc:themePage":"workspace","webc:logo":null,"webc:name":null,"webc:email":null,"webc:welcomeMedia":null,"webc:url":null,"webc:baseline":null,"webc:theme":"sites","webc:moderationType":"aposteriori","webc:welcomeText":null,"file:content":null,"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","files:files":[],"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:39.026Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:39.026Z","dc:title":"Nuxeo Drive Test Workspace","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null,"publish:sections":[]},"facets":["Folderish","SuperSpace"]}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': u'nxdrive-test-device-2', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzI6N2FiN2Qy'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzI6N2FiN2Qy'}, cookies [] and JSON payload '{"params": {"value": "04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"04586a8b-130d-4278-af41-08e75cd019a0","path":"/default-domain/workspaces/nuxeo-drive-test-workspace","type":"Workspace","state":"project","parentRef":"26ce32df-3331-475a-9f56-6224a77f9d9b","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402899026","title":"Nuxeo Drive Test Workspace","lastModified":"2017-06-25T15:01:39.026Z","properties":{"webc:themePerspective":null,"webc:useCaptcha":null,"webc:isWebContainer":null,"webc:template":null,"webc:themePage":"workspace","webc:logo":null,"webc:name":null,"webc:email":null,"webc:welcomeMedia":null,"webc:url":null,"webc:baseline":null,"webc:theme":"sites","webc:moderationType":"aposteriori","webc:welcomeText":null,"file:content":null,"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","files:files":[],"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:39.026Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:39.026Z","dc:title":"Nuxeo Drive Test Workspace","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null,"publish:sections":[]},"facets":["Folderish","SuperSpace"]}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': u'nxdrive-test-device-1', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': u'nxdrive-test-device-2', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzI6N2FiN2Qy'} and cookies [] [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetSynchronization with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-1', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'}, cookies [] and JSON payload '{"input": "doc:04586a8b-130d-4278-af41-08e75cd019a0", "params": {"enable": true}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetSynchronization' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetSynchronization with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzI6N2FiN2Qy'}, cookies [] and JSON payload '{"input": "doc:04586a8b-130d-4278-af41-08e75cd019a0", "params": {"enable": true}}' [INFO] [exec] 2017-06-25 15:01:39 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetSynchronization' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:01:39 4068 140371594041088 DEBUG tests.common_unit_test UnitTest thread started [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API GET http://localhost:8080/nuxeo/api/v1/groups/search?q=* with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for GET http://localhost:8080/nuxeo/api/v1/groups/search?q=* with cookies []: '{"entity-type":"groups","isPaginable":true,"resultsCount":3,"pageSize":50,"maxPageSize":1000,"currentPageSize":3,"currentPageIndex":0,"numberOfPages":1,"isPreviousPageAvailable":false,"isNextPageAvailable":false,"isLastPageAvailable":false,"isSortable":false,"hasError":false,"errorMessage":null,"pageIndex":0,"pageCount":1,"entries":[{"entity-type":"group","groupname":"administrators","grouplabel":"Administrators group"},{"entity-type":"group","groupname":"members","grouplabel":"Members group"},{"entity-type":"group","groupname":"powerusers","grouplabel":"Power users group"}]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API POST http://localhost:8080/nuxeo/api/v1/group with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "group1", "entity-type": "group", "memberUsers": ["driveuser_1"]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for POST http://localhost:8080/nuxeo/api/v1/group with cookies []: '{"entity-type":"group","groupname":"group1","grouplabel":"group1"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API POST http://localhost:8080/nuxeo/api/v1/group with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "group2", "entity-type": "group", "memberUsers": ["driveuser_1"]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for POST http://localhost:8080/nuxeo/api/v1/group with cookies []: '{"entity-type":"group","groupname":"group2","grouplabel":"group2"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API POST http://localhost:8080/nuxeo/api/v1/group with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "parentGroup", "memberGroups": ["group1"], "entity-type": "group"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for POST http://localhost:8080/nuxeo/api/v1/group with cookies []: '{"entity-type":"group","groupname":"parentGroup","grouplabel":"parentGroup"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API POST http://localhost:8080/nuxeo/api/v1/group with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "grandParentGroup", "memberGroups": ["parentGroup"], "entity-type": "group"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for POST http://localhost:8080/nuxeo/api/v1/group with cookies []: '{"entity-type":"group","groupname":"grandParentGroup","grouplabel":"grandParentGroup"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API GET http://localhost:8080/nuxeo/api/v1/groups/search?q=* with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for GET http://localhost:8080/nuxeo/api/v1/groups/search?q=* with cookies []: '{"entity-type":"groups","isPaginable":true,"resultsCount":7,"pageSize":50,"maxPageSize":1000,"currentPageSize":7,"currentPageIndex":0,"numberOfPages":1,"isPreviousPageAvailable":false,"isNextPageAvailable":false,"isLastPageAvailable":false,"isSortable":false,"hasError":false,"errorMessage":null,"pageIndex":0,"pageCount":1,"entries":[{"entity-type":"group","groupname":"administrators","grouplabel":"Administrators group"},{"entity-type":"group","groupname":"grandParentGroup","grouplabel":"grandParentGroup"},{"entity-type":"group","groupname":"group1","grouplabel":"group1"},{"entity-type":"group","groupname":"group2","grouplabel":"group2"},{"entity-type":"group","groupname":"members","grouplabel":"Members group"},{"entity-type":"group","groupname":"parentGroup","grouplabel":"parentGroup"},{"entity-type":"group","groupname":"powerusers","grouplabel":"Power users group"}]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API POST http://localhost:8080/nuxeo/api/v1/path/default-domain/workspaces with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"properties": {"dc:title": "Group Changes Test Workspace"}, "type": "Workspace", "entity-type": "document", "name": "groupChangesTestWorkspace"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for POST http://localhost:8080/nuxeo/api/v1/path/default-domain/workspaces with cookies []: '{"entity-type":"document","repository":"default","uid":"a724788e-0c18-40b4-83e5-0f2d29e3ae66","path":"/default-domain/workspaces/groupChangesTestWorkspace","type":"Workspace","state":"project","parentRef":"26ce32df-3331-475a-9f56-6224a77f9d9b","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402900658","title":"Group Changes Test Workspace","lastModified":"2017-06-25T15:01:40.658Z","properties":{"webc:themePerspective":null,"webc:useCaptcha":null,"webc:isWebContainer":null,"webc:template":null,"webc:themePage":"workspace","webc:logo":null,"webc:name":null,"webc:email":null,"webc:welcomeMedia":null,"webc:url":null,"webc:baseline":null,"webc:theme":"sites","webc:moderationType":"aposteriori","webc:welcomeText":null,"file:content":null,"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","files:files":[],"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:40.658Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:40.658Z","dc:title":"Group Changes Test Workspace","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null,"publish:sections":[]},"facets":["Folderish","SuperSpace"]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': 'nxdrive-test-administrator-device', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'} and cookies [] [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': 'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {"value": "/default-domain/workspaces/groupChangesTestWorkspace"}}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"a724788e-0c18-40b4-83e5-0f2d29e3ae66","path":"/default-domain/workspaces/groupChangesTestWorkspace","type":"Workspace","state":"project","parentRef":"26ce32df-3331-475a-9f56-6224a77f9d9b","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402900658","title":"Group Changes Test Workspace","lastModified":"2017-06-25T15:01:40.658Z","properties":{"webc:themePerspective":null,"webc:useCaptcha":null,"webc:isWebContainer":null,"webc:template":null,"webc:themePage":"workspace","webc:logo":null,"webc:name":null,"webc:email":null,"webc:welcomeMedia":null,"webc:url":null,"webc:baseline":null,"webc:theme":"sites","webc:moderationType":"aposteriori","webc:welcomeText":null,"file:content":null,"common:icon-expanded":null,"common:icon":"/icons/workspace.gif","files:files":[],"dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:40.658Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:40.658Z","dc:title":"Group Changes Test Workspace","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null,"publish:sections":[]},"facets":["Folderish","SuperSpace"]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.local_client Setting xattr drive-fs-test with value 'NXDRIVE_VERIFICATION' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.local_client Removing xattr drive-fs-test from /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 DEBUG nxdrive.engine.engine Engine 30cb2fc659b711e7bbdf0242ac11000d starting [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.workers Thread LocalWatcher(140371199780608) start [INFO] [exec] 2017-06-25 15:01:40 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Watching FS modification on : /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Watchdog setup finished [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Full scan started [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.queue_manager Suspending queue [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Starting to get DB local children for u'/' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Starting to get DB local children for u'/' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Fetched DB local children for u'/' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Starting to get FS children info for u'/' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Fetched FS children info for u'/' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Ended recursive local scan of u'/' [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Full scan finished in 3ms [INFO] [exec] 2017-06-25 15:01:40 4068 140371199780608 DEBUG nxdrive.engine.queue_manager Resuming queue [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.workers Thread RemoteWatcher(140371568862976) start [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=True [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote full scan [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetFileSystemItem with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"id": "org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#"}}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetFileSystemItem' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"canScrollDescendants":false,"canCreateChild":false,"creationDate":776,"creator":"system","folder":true,"lastContributor":"system","canDelete":false,"lastModificationDate":776,"parentId":null,"canRename":false,"lockInfo":null,"name":"Nuxeo Drive","id":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","userName":"driveuser_1"}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Not updating remote state (not dirty) for row = <StateRow[1] local_path=u'/', remote_ref=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', local_state=u'synchronized', remote_state='synchronized', pair_state='synchronized'> with info = RemoteFileInfo(name=u'Nuxeo Drive', uid=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', parent_uid=None, path=u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', folderish=True, last_modification_time=datetime.datetime(1970, 1, 1, 0, 0), last_contributor=u'system', digest=None, digest_algorithm=None, download_url=None, can_rename=False, can_delete=False, can_update=False, can_create_child=False, lock_owner=None, lock_created=None, can_scroll_descendants=False) [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402900000,"hasTooManyChanges":false,"upperBound":2112,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Scroll scan not available, performing recursive remote scan for Nuxeo Drive (org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#) [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: / [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Skip remote scan as mark_unknown: <StateRow[1] local_path=u'/', remote_ref=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', local_state=u'synchronized', remote_state='synchronized', pair_state='synchronized'> [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChildren with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"id": "org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#"}}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChildren' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '[{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402899026,"creator":"Administrator","folder":true,"lastContributor":"driveuser_2","canDelete":true,"lastModificationDate":1498402899570,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"Nuxeo Drive Test Workspace","id":"defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0","userName":"driveuser_1"}]' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Scanning remote child: RemoteFileInfo(name=u'Nuxeo Drive Test Workspace', uid=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', parent_uid=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', path=u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', folderish=True, last_modification_time=datetime.datetime(2017, 6, 25, 15, 1, 39), last_contributor=u'driveuser_2', digest=None, digest_algorithm=None, download_url=None, can_rename=True, can_delete=True, can_update=False, can_create_child=True, lock_owner=None, lock_created=None, can_scroll_descendants=True) [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Push to queue: remotely_created, pair=None [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushing QueueItem[2](Folderish:True, State: remotely_created) [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushed to _remote_folder_queue, now of size: 1 [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Performing scroll remote scan for Nuxeo Drive Test Workspace (defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0) [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: /Nuxeo Drive Test Workspace [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Scrolling through at most [100] descendants of Nuxeo Drive Test Workspace (defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0) [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"batchSize": 100, "id": "defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"scrollId":"d8dced06-26ff-4127-9870-0d2cecf014a0","fileSystemItems":[]}' [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Remote scroll request retrieved no descendants of Nuxeo Drive Test Workspace (defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0), took 9 ms [INFO] [exec] 2017-06-25 15:01:40 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scan finished in 124ms [INFO] [exec] 2017-06-25 15:01:40 4068 140372928202496 DEBUG tests.common_unit_test Remote scan completed for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:40 4068 140372928202496 TRACE nxdrive.engine.queue_manager Init processors [INFO] [exec] 2017-06-25 15:01:40 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Creating RemoteFolderProcessor [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) start [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371182995200 for row 2 [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 DEBUG nxdrive.engine.processor Executing processor on <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'unknown', remote_state=u'created', pair_state=u'remotely_created'>(0) [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.processor Calling <bound method Processor._synchronize_remotely_created of <Processor ID=140371182995200>> on doc pair <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'unknown', remote_state=u'created', pair_state=u'remotely_created'> [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.processor Soft locking: /Nuxeo Drive Test Workspace [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.processor readonly unlock: unlock on / with 1 [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:40 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 DEBUG nxdrive.engine.processor Creating local folder 'Nuxeo Drive Test Workspace' in '/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, wd=1, mask=IN_CREATE|IN_ISDIR, cookie=0, name=Nuxeo Drive Test Workspace> [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.processor readonly lock: update lock count on / to 0 [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.processor readonly lock: relocked path: / with 1 [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:40 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.client.local_client Setting xattr ndrive with value 'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace' [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive Test Workspace> [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, wd=2, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive Test Workspace> [INFO] [exec] 2017-06-25 15:01:40 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, wd=2, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'unknown', remote_state=u'created', pair_state='remotely_created'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, remote_ref=defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0] [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 DEBUG nxdrive.engine.processor Unsetting u'/Nuxeo Drive Test Workspace' as readonly [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Try to synchronize state for [local_path=/Nuxeo Drive Test Workspace, remote_name=Nuxeo Drive Test Workspace, version=0] with version=0 [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 DEBUG nxdrive.engine.dao.sqlite Queuing 0 children of '<StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'unknown', remote_state=u'created', pair_state='remotely_created'>' [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.processor Soft unlocking: /nuxeo drive test workspace [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite No processor to release with id 140371182995200 [INFO] [exec] 2017-06-25 15:01:40 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) end [INFO] [exec] 2017-06-25 15:01:41 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:01:41 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirCreatedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [created] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace' [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher watchdog event <DirCreatedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace'> on known pair: <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371199780608 for row 2 [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Created event on a known pair with a remote_ref: <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unchanged folder /Nuxeo Drive Test Workspace (watchdog event [created]), only update last_local_updated [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state='synchronized'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, remote_ref=defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0] [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Released processor 140371199780608 [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Re-queuing acquired, released and refreshed state <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Will not push pair: synchronized, pair=<StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace' [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher watchdog event <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace'> on known pair: <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371199780608 for row 2 [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unchanged folder /Nuxeo Drive Test Workspace (watchdog event [modified]), only update last_local_updated [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state='synchronized'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/Nuxeo Drive Test Workspace, remote_ref=defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0] [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Released processor 140371199780608 [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Re-queuing acquired, released and refreshed state <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:41 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Will not push pair: synchronized, pair=<StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2112, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402903000,"hasTooManyChanges":false,"upperBound":2133,"fileSystemChanges":[{"eventId":"rootRegistered","fileSystemItemId":"defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0","fileSystemItemName":"Nuxeo Drive Test Workspace","eventDate":1498402899572,"repositoryId":"default","fileSystemItem":{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402899026,"creator":"Administrator","folder":true,"lastContributor":"driveuser_2","canDelete":true,"lastModificationDate":1498402899570,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"Nuxeo Drive Test Workspace","id":"defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0","userName":"driveuser_1"},"docUuid":"04586a8b-130d-4278-af41-08e75cd019a0"}]}' [INFO] [exec] 2017-06-25 15:01:43 4068 140372928202496 DEBUG tests.common_unit_test Remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Processing event: {u'eventId': u'rootRegistered', u'fileSystemItem': {u'userName': u'driveuser_1', u'canScrollDescendants': True, u'name': u'Nuxeo Drive Test Workspace', u'canDelete': True, u'creator': u'Administrator', u'lastModificationDate': 1498402899570, u'id': u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', u'path': u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', u'canCreateChild': True, u'parentId': u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', u'lockInfo': None, u'folder': True, u'creationDate': 1498402899026, u'lastContributor': u'driveuser_2', u'canRename': True}, u'repositoryId': u'default', u'fileSystemItemName': u'Nuxeo Drive Test Workspace', u'fileSystemItemId': u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', u'docUuid': u'04586a8b-130d-4278-af41-08e75cd019a0', u'eventDate': 1498402899572} [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Refreshing remote state info for doc_pair=u'/Nuxeo Drive Test Workspace', event_id=u'rootRegistered' (force_recursion=0) [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Not updating remote state (not dirty) for row = <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state='synchronized', pair_state='synchronized'> with info = RemoteFileInfo(name=u'Nuxeo Drive Test Workspace', uid=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', parent_uid=u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', path=u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', folderish=True, last_modification_time=datetime.datetime(2017, 6, 25, 15, 1, 39), last_contributor=u'driveuser_2', digest=None, digest_algorithm=None, download_url=None, can_rename=True, can_delete=True, can_update=False, can_create_child=True, lock_owner=None, lock_created=None, can_scroll_descendants=True) [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Force scan recursive on <StateRow[2] local_path=u'/Nuxeo Drive Test Workspace', remote_ref=u'defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0', local_state=u'synchronized', remote_state='synchronized', pair_state='synchronized'> : 0 [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Performing scroll remote scan for Nuxeo Drive Test Workspace (defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0) [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: /Nuxeo Drive Test Workspace [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Scrolling through at most [100] descendants of Nuxeo Drive Test Workspace (defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0) [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"batchSize": 100, "id": "defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"scrollId":"b500dbfb-6744-43cd-b2a2-9a79b6a5663e","fileSystemItems":[]}' [INFO] [exec] 2017-06-25 15:01:43 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Remote scroll request retrieved no descendants of Nuxeo Drive Test Workspace (defaultSyncRootFolderItemFactory#default#04586a8b-130d-4278-af41-08e75cd019a0), took 6 ms [INFO] [exec] 2017-06-25 15:01:43 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 0, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:01:47 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:01:47 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2133, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402907000,"hasTooManyChanges":false,"upperBound":2135,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:01:47 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:47 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 1, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:01:47 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:47 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': False}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 1}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common_unit_test Ended wait for sync, setting _wait_remote_scan values to True, _remote_changes_count values to 0 and _no_remote_changes values to False [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common Create syncRoot folder [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Create with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': 'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"input": "doc:/default-domain/workspaces/groupChangesTestWorkspace/", "params": {"type": "Folder", "name": "syncRoot", "properties": "dc:title=syncRoot"}}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Create' with cookies []: '{"entity-type":"document","repository":"default","uid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/default-domain/workspaces/groupChangesTestWorkspace/syncRoot","type":"Folder","state":"project","parentRef":"a724788e-0c18-40b4-83e5-0f2d29e3ae66","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402907045","title":"syncRoot","lastModified":"2017-06-25T15:01:47.045Z","properties":{"common:icon-expanded":null,"common:icon":"/icons/folder.gif","dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:47.045Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:47.045Z","dc:title":"syncRoot","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null},"facets":["Folderish"]}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common Grant ReadWrite permission to parentGroup on syncRoot [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.SetACE with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': 'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"input": "doc:6d87f1e9-c5aa-47c1-95c8-c158636d48ac", "params": {"user": "parentGroup", "permission": "ReadWrite"}}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.SetACE' with cookies []: '{"entity-type":"document","repository":"default","uid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/default-domain/workspaces/groupChangesTestWorkspace/syncRoot","type":"Folder","state":"project","parentRef":"a724788e-0c18-40b4-83e5-0f2d29e3ae66","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402907045","title":"syncRoot","lastModified":"2017-06-25T15:01:47.045Z","properties":{"common:icon-expanded":null,"common:icon":"/icons/folder.gif","dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:47.045Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:47.045Z","dc:title":"syncRoot","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null},"facets":["Folderish"]}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common Register syncRoot for driveuser_1 [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Client-Version': '2.4.6b1', 'X-Device-Id': 'nxdrive-test-device-1', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'} and cookies [] [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/Document.Fetch with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': 'nxdrive-test-device-1', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'}, cookies [] and JSON payload '{"params": {"value": "6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/Document.Fetch' with cookies []: '{"entity-type":"document","repository":"default","uid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/default-domain/workspaces/groupChangesTestWorkspace/syncRoot","type":"Folder","state":"project","parentRef":"a724788e-0c18-40b4-83e5-0f2d29e3ae66","isCheckedOut":true,"isVersion":false,"isProxy":false,"changeToken":"1498402907045","title":"syncRoot","lastModified":"2017-06-25T15:01:47.045Z","properties":{"common:icon-expanded":null,"common:icon":"/icons/folder.gif","dc:description":null,"dc:language":null,"dc:coverage":null,"dc:valid":null,"dc:creator":"Administrator","dc:modified":"2017-06-25T15:01:47.045Z","dc:lastContributor":"Administrator","dc:rights":null,"dc:expired":null,"dc:format":null,"dc:created":"2017-06-25T15:01:47.045Z","dc:title":"syncRoot","dc:issued":null,"dc:nature":null,"dc:subjects":[],"dc:contributors":["Administrator"],"dc:source":null,"dc:publisher":null},"facets":["Folderish"]}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetSynchronization with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': 'nxdrive-test-device-1', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic ZHJpdmV1c2VyXzE6NjEyYjRi'}, cookies [] and JSON payload '{"input": "doc:6d87f1e9-c5aa-47c1-95c8-c158636d48ac", "params": {"enable": true}}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.SetSynchronization' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common Check that syncRoot is created locally [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:47 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2135, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac","syncDate":1498402910000,"hasTooManyChanges":false,"upperBound":2145,"fileSystemChanges":[{"eventId":"rootRegistered","fileSystemItemId":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","fileSystemItemName":"syncRoot","eventDate":1498402907243,"repositoryId":"default","fileSystemItem":{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402907045,"creator":"Administrator","folder":true,"lastContributor":"driveuser_1","canDelete":true,"lastModificationDate":1498402907242,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"syncRoot","id":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","userName":"driveuser_1"},"docUuid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac"},{"eventId":"documentCreated","fileSystemItemId":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","fileSystemItemName":"syncRoot","eventDate":1498402907045,"repositoryId":"default","fileSystemItem":{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402907045,"creator":"Administrator","folder":true,"lastContributor":"driveuser_1","canDelete":true,"lastModificationDate":1498402907242,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"syncRoot","id":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","userName":"driveuser_1"},"docUuid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}]}' [INFO] [exec] 2017-06-25 15:01:50 4068 140372928202496 DEBUG tests.common_unit_test Remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Processing event: {u'eventId': u'rootRegistered', u'fileSystemItem': {u'userName': u'driveuser_1', u'canScrollDescendants': True, u'name': u'syncRoot', u'canDelete': True, u'creator': u'Administrator', u'lastModificationDate': 1498402907242, u'id': u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'path': u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'canCreateChild': True, u'parentId': u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', u'lockInfo': None, u'folder': True, u'creationDate': 1498402907045, u'lastContributor': u'driveuser_1', u'canRename': True}, u'repositoryId': u'default', u'fileSystemItemName': u'syncRoot', u'fileSystemItemId': u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'docUuid': u'6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'eventDate': 1498402907243} [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Push to queue: remotely_created, pair=None [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushing QueueItem[3](Folderish:True, State: remotely_created) [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushed to _remote_folder_queue, now of size: 1 [INFO] [exec] 2017-06-25 15:01:50 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Creating RemoteFolderProcessor [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Marked doc_pair 'syncRoot' as remote creation [INFO] [exec] 2017-06-25 15:01:50 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote recursive scan of the content of syncRoot [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) start [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371182995200 for row 3 [INFO] [exec] 2017-06-25 15:01:50 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is active, overall size = 0, empty polls count = 0, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 DEBUG nxdrive.engine.processor Executing processor on <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state=u'remotely_created'>(0) [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.processor Calling <bound method Processor._synchronize_remotely_created of <Processor ID=140371182995200>> on doc pair <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state=u'remotely_created'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.processor Soft locking: /syncRoot [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.processor readonly unlock: unlock on / with 1 [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:50 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 DEBUG nxdrive.engine.processor Creating local folder 'syncRoot' in '/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.processor readonly lock: update lock count on / to 0 [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_CREATE|IN_ISDIR, cookie=0, name=syncRoot> [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.processor readonly lock: relocked path: / with 1 [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:50 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.client.local_client Setting xattr ndrive with value 'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=syncRoot> [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=3, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=syncRoot> [INFO] [exec] 2017-06-25 15:01:50 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=3, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state='remotely_created'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, remote_ref=defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac] [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 DEBUG nxdrive.engine.processor Unsetting u'/syncRoot' as readonly [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Try to synchronize state for [local_path=/syncRoot, remote_name=syncRoot, version=0] with version=0 [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 DEBUG nxdrive.engine.dao.sqlite Queuing 0 children of '<StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state='remotely_created'>' [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.processor Soft unlocking: /syncroot [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite No processor to release with id 140371182995200 [INFO] [exec] 2017-06-25 15:01:50 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) end [INFO] [exec] 2017-06-25 15:01:50 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirCreatedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [created] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher watchdog event <DirCreatedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> on known pair: <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371199780608 for row 3 [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Created event on a known pair with a remote_ref: <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unchanged folder /syncRoot (watchdog event [created]), only update last_local_updated [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state='synchronized'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, remote_ref=defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac] [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Released processor 140371199780608 [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Re-queuing acquired, released and refreshed state <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Will not push pair: synchronized, pair=<StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher watchdog event <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> on known pair: <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371199780608 for row 3 [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unchanged folder /syncRoot (watchdog event [modified]), only update last_local_updated [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state='synchronized'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, remote_ref=defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac] [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Released processor 140371199780608 [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Re-queuing acquired, released and refreshed state <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:50 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Will not push pair: synchronized, pair=<StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Continue full scan of /org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac/ [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetFileSystemItem with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"id": "defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetFileSystemItem' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402907045,"creator":"Administrator","folder":true,"lastContributor":"driveuser_1","canDelete":true,"lastModificationDate":1498402907242,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"syncRoot","id":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","userName":"driveuser_1"}' [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scan_pair: /syncRoot [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Performing scroll remote scan for syncRoot (defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac) [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: /syncRoot [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Scrolling through at most [100] descendants of syncRoot (defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac) [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"batchSize": 100, "id": "defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"scrollId":"4ee163e7-dbab-4c0d-b092-fb10c77dd615","fileSystemItems":[]}' [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Remote scroll request retrieved no descendants of syncRoot (defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac), took 6 ms [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scan_pair ended: /syncRoot [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2145, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:01:53 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac","syncDate":1498402913000,"hasTooManyChanges":false,"upperBound":2146,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:01:53 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:53 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 1, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:01:53 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:53 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 2}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 DEBUG tests.common_unit_test Ended wait for sync, setting _wait_remote_scan values to True, _remote_changes_count values to 0 and _no_remote_changes values to False [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 DEBUG tests.common Test changes on group1 for /syncRoot with needsParentGroup=True [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 DEBUG tests.common Remove driveuser_1 from group1 [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API PUT http://localhost:8080/nuxeo/api/v1/group/group1 with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "group1", "entity-type": "group", "memberUsers": []}' [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for PUT http://localhost:8080/nuxeo/api/v1/group/group1 with cookies []: '{"entity-type":"group","groupname":"group1","grouplabel":"group1"}' [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 DEBUG tests.common Check that /syncRoot is deleted locally [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:01:54 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2146, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac","syncDate":1498402916000,"hasTooManyChanges":false,"upperBound":2153,"fileSystemChanges":[{"eventId":"securityUpdated","fileSystemItemId":"default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","fileSystemItemName":null,"eventDate":1498402914386,"repositoryId":"default","fileSystemItem":null,"docUuid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}]}' [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Processing event: {u'eventId': u'securityUpdated', u'fileSystemItem': None, u'repositoryId': u'default', u'fileSystemItemName': None, u'fileSystemItemId': u'default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'docUuid': u'6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'eventDate': 1498402914386} [INFO] [exec] 2017-06-25 15:01:56 4068 140372928202496 DEBUG tests.common_unit_test Remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Security has been updated for doc_pair '/syncRoot' denying Read access, marking it as deleted [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Push to queue: remotely_deleted, pair=None [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushing QueueItem[3](Folderish:1, State: remotely_deleted) [INFO] [exec] 2017-06-25 15:01:56 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushed to _remote_folder_queue, now of size: 1 [INFO] [exec] 2017-06-25 15:01:56 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Creating RemoteFolderProcessor [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) start [INFO] [exec] 2017-06-25 15:01:56 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is active, overall size = 0, empty polls count = 0, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371182995200 for row 3 [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.processor Executing processor on <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'deleted', pair_state=u'remotely_deleted'>(0) [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 TRACE nxdrive.engine.processor Calling <bound method Processor._synchronize_remotely_deleted of <Processor ID=140371182995200>> on doc pair <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'deleted', pair_state=u'remotely_deleted'> [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 TRACE nxdrive.engine.processor Soft locking: /syncRoot [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.processor Deleting locally /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.engine Local Folder locking on '/syncRoot' [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.engine Local Folder lock setup completed on '/syncRoot' [INFO] [exec] 2017-06-25 15:01:56 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:01:56 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 TRACE nxdrive.client.local_client Sending to trash /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot [INFO] [exec] 2017-06-25 15:01:56 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_ISDIR|IN_MOVED_FROM, cookie=571700282, name=syncRoot> [INFO] [exec] 2017-06-25 15:01:56 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:01:56 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.processor Search for dupe pair with syncRoot org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory# [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.engine Local Folder unlocking [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 TRACE nxdrive.engine.processor Soft unlocking: /syncroot [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite No processor to release with id 140371182995200 [INFO] [exec] 2017-06-25 15:01:56 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) end [INFO] [exec] 2017-06-25 15:01:57 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:01:57 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirDeletedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> [INFO] [exec] 2017-06-25 15:01:57 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:01:57 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:57 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [deleted] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:01:57 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unknown pair deleted: /syncRoot [INFO] [exec] 2017-06-25 15:01:57 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:01:59 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:01:59 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2153, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:01:59 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402919000,"hasTooManyChanges":false,"upperBound":2154,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:01:59 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:59 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 1, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:01:59 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:01:59 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 1}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 DEBUG tests.common_unit_test Ended wait for sync, setting _wait_remote_scan values to True, _remote_changes_count values to 0 and _no_remote_changes values to False [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 DEBUG tests.common Add driveuser_1 to group1 [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API PUT http://localhost:8080/nuxeo/api/v1/group/group1 with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "group1", "entity-type": "group", "memberUsers": ["driveuser_1"]}' [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for PUT http://localhost:8080/nuxeo/api/v1/group/group1 with cookies []: '{"entity-type":"group","groupname":"group1","grouplabel":"group1"}' [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 DEBUG tests.common Check that /syncRoot is created locally [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:02:00 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2154, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402922000,"hasTooManyChanges":false,"upperBound":2159,"fileSystemChanges":[{"eventId":"securityUpdated","fileSystemItemId":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","fileSystemItemName":"syncRoot","eventDate":1498402920538,"repositoryId":"default","fileSystemItem":{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402907045,"creator":"Administrator","folder":true,"lastContributor":"driveuser_1","canDelete":true,"lastModificationDate":1498402907242,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"syncRoot","id":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","userName":"driveuser_1"},"docUuid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}]}' [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Processing event: {u'eventId': u'securityUpdated', u'fileSystemItem': {u'userName': u'driveuser_1', u'canScrollDescendants': True, u'name': u'syncRoot', u'canDelete': True, u'creator': u'Administrator', u'lastModificationDate': 1498402907242, u'id': u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'path': u'/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'canCreateChild': True, u'parentId': u'org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#', u'lockInfo': None, u'folder': True, u'creationDate': 1498402907045, u'lastContributor': u'driveuser_1', u'canRename': True}, u'repositoryId': u'default', u'fileSystemItemName': u'syncRoot', u'fileSystemItemId': u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'docUuid': u'6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'eventDate': 1498402920538} [INFO] [exec] 2017-06-25 15:02:02 4068 140372928202496 DEBUG tests.common_unit_test Remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Push to queue: remotely_created, pair=None [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushing QueueItem[3](Folderish:True, State: remotely_created) [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushed to _remote_folder_queue, now of size: 1 [INFO] [exec] 2017-06-25 15:02:02 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Creating RemoteFolderProcessor [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Marked doc_pair 'syncRoot' as remote creation [INFO] [exec] 2017-06-25 15:02:02 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote recursive scan of the content of syncRoot [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) start [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371182995200 for row 3 [INFO] [exec] 2017-06-25 15:02:02 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is active, overall size = 0, empty polls count = 0, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 DEBUG nxdrive.engine.processor Executing processor on <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state=u'remotely_created'>(0) [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.processor Calling <bound method Processor._synchronize_remotely_created of <Processor ID=140371182995200>> on doc pair <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state=u'remotely_created'> [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.processor Soft locking: /syncRoot [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.processor readonly unlock: unlock on / with 1 [INFO] [exec] 2017-06-25 15:02:02 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 DEBUG nxdrive.engine.processor Creating local folder 'syncRoot' in '/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_CREATE|IN_ISDIR, cookie=0, name=syncRoot> [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.processor readonly lock: update lock count on / to 0 [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.processor readonly lock: relocked path: / with 1 [INFO] [exec] 2017-06-25 15:02:02 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.client.local_client Setting xattr ndrive with value 'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac' on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=syncRoot> [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=4, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=syncRoot> [INFO] [exec] 2017-06-25 15:02:02 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=4, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state='remotely_created'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, remote_ref=defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac] [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 DEBUG nxdrive.engine.processor Unsetting u'/syncRoot' as readonly [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Try to synchronize state for [local_path=/syncRoot, remote_name=syncRoot, version=0] with version=0 [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 DEBUG nxdrive.engine.dao.sqlite Queuing 0 children of '<StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'unknown', remote_state=u'created', pair_state='remotely_created'>' [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.processor Soft unlocking: /syncroot [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite No processor to release with id 140371182995200 [INFO] [exec] 2017-06-25 15:02:02 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) end [INFO] [exec] 2017-06-25 15:02:03 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirCreatedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [created] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher watchdog event <DirCreatedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> on known pair: <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371199780608 for row 3 [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Created event on a known pair with a remote_ref: <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unchanged folder /syncRoot (watchdog event [created]), only update last_local_updated [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state='synchronized'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, remote_ref=defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac] [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Released processor 140371199780608 [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Re-queuing acquired, released and refreshed state <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Will not push pair: synchronized, pair=<StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher watchdog event <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> on known pair: <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371199780608 for row 3 [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unchanged folder /syncRoot (watchdog event [modified]), only update last_local_updated [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Updating local state for row = <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state='synchronized'> with info = FileInfo[/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, remote_ref=defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac] [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Released processor 140371199780608 [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.watcher.local_watcher Re-queuing acquired, released and refreshed state <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:03 4068 140371199780608 TRACE nxdrive.engine.dao.sqlite Will not push pair: synchronized, pair=<StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'> [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Continue full scan of /org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac/ [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetFileSystemItem with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"id": "defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetFileSystemItem' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"canScrollDescendants":true,"canCreateChild":true,"creationDate":1498402907045,"creator":"Administrator","folder":true,"lastContributor":"driveuser_1","canDelete":true,"lastModificationDate":1498402907242,"parentId":"org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#","canRename":true,"lockInfo":null,"name":"syncRoot","id":"defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","path":"/org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory#/defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","userName":"driveuser_1"}' [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scan_pair: /syncRoot [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Performing scroll remote scan for syncRoot (defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac) [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: /syncRoot [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Scrolling through at most [100] descendants of syncRoot (defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac) [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"batchSize": 100, "id": "defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.ScrollDescendants' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"scrollId":"e16e8f3b-76bb-4f0a-90c2-edcc6948f4a2","fileSystemItems":[]}' [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Remote scroll request retrieved no descendants of syncRoot (defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac), took 13 ms [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Remote scan_pair ended: /syncRoot [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2159, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:05 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac","syncDate":1498402925000,"hasTooManyChanges":false,"upperBound":2160,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:05 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:05 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 1, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:05 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:05 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 1}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 DEBUG tests.common_unit_test Ended wait for sync, setting _wait_remote_scan values to True, _remote_changes_count values to 0 and _no_remote_changes values to False [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 DEBUG tests.common Delete group1 [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API DELETE http://localhost:8080/nuxeo/api/v1/group/group1 with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for DELETE http://localhost:8080/nuxeo/api/v1/group/group1 with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 DEBUG tests.common Check that /syncRoot is deleted locally [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:02:06 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2160, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac","syncDate":1498402928000,"hasTooManyChanges":false,"upperBound":2167,"fileSystemChanges":[{"eventId":"securityUpdated","fileSystemItemId":"default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","fileSystemItemName":null,"eventDate":1498402926573,"repositoryId":"default","fileSystemItem":null,"docUuid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}]}' [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Processing event: {u'eventId': u'securityUpdated', u'fileSystemItem': None, u'repositoryId': u'default', u'fileSystemItemName': None, u'fileSystemItemId': u'default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'docUuid': u'6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'eventDate': 1498402926573} [INFO] [exec] 2017-06-25 15:02:08 4068 140372928202496 DEBUG tests.common_unit_test Remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Security has been updated for doc_pair '/syncRoot' denying Read access, marking it as deleted [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 TRACE nxdrive.engine.dao.sqlite Push to queue: remotely_deleted, pair=None [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushing QueueItem[3](Folderish:1, State: remotely_deleted) [INFO] [exec] 2017-06-25 15:02:08 4068 140371568862976 TRACE nxdrive.engine.queue_manager Pushed to _remote_folder_queue, now of size: 1 [INFO] [exec] 2017-06-25 15:02:08 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Creating RemoteFolderProcessor [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) start [INFO] [exec] 2017-06-25 15:02:08 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is active, overall size = 0, empty polls count = 0, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite Acquired processor 140371182995200 for row 3 [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.processor Executing processor on <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'deleted', pair_state=u'remotely_deleted'>(0) [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 TRACE nxdrive.engine.processor Calling <bound method Processor._synchronize_remotely_deleted of <Processor ID=140371182995200>> on doc pair <StateRow[3] local_path=u'/syncRoot', remote_ref=u'defaultSyncRootFolderItemFactory#default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', local_state=u'synchronized', remote_state=u'deleted', pair_state=u'remotely_deleted'> [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 TRACE nxdrive.engine.processor Soft locking: /syncRoot [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.processor Deleting locally /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.engine Local Folder locking on '/syncRoot' [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.engine Local Folder lock setup completed on '/syncRoot' [INFO] [exec] 2017-06-25 15:02:08 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:02:08 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 TRACE nxdrive.client.local_client Sending to trash /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot [INFO] [exec] 2017-06-25 15:02:08 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot, wd=1, mask=IN_ISDIR|IN_MOVED_FROM, cookie=571701035, name=syncRoot> [INFO] [exec] 2017-06-25 15:02:08 4068 140371560470272 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=> [INFO] [exec] 2017-06-25 15:02:08 4068 140371577255680 DEBUG watchdog.observers.inotify_buffer in-event <InotifyEvent: src_path=/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive, wd=1, mask=IN_ATTRIB|IN_ISDIR, cookie=0, name=Nuxeo Drive> [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.processor Search for dupe pair with syncRoot org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory# [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.engine Local Folder unlocking [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 TRACE nxdrive.engine.processor Soft unlocking: /syncroot [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 TRACE nxdrive.engine.dao.sqlite No processor to release with id 140371182995200 [INFO] [exec] 2017-06-25 15:02:08 4068 140371182995200 DEBUG nxdrive.engine.workers Thread RemoteFolderProcessor(140371182995200) end [INFO] [exec] 2017-06-25 15:02:09 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:02:09 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirDeletedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot'> [INFO] [exec] 2017-06-25 15:02:09 4068 140371585648384 TRACE nxdrive.engine.watcher.local_watcher Queueing watchdog: <DirModifiedEvent: src_path=u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive'> [INFO] [exec] 2017-06-25 15:02:09 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:02:09 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [deleted] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive/syncRoot' [INFO] [exec] 2017-06-25 15:02:09 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Unknown pair deleted: /syncRoot [INFO] [exec] 2017-06-25 15:02:09 4068 140371199780608 DEBUG nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/Nuxeo Drive' [INFO] [exec] 2017-06-25 15:02:11 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:11 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2167, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0,default:6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}}' [INFO] [exec] 2017-06-25 15:02:11 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402931000,"hasTooManyChanges":false,"upperBound":2168,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:11 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:11 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 1, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:11 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:11 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 1}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 DEBUG tests.common_unit_test Ended wait for sync, setting _wait_remote_scan values to True, _remote_changes_count values to 0 and _no_remote_changes values to False [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 DEBUG tests.common Create group1 [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API POST http://localhost:8080/nuxeo/api/v1/group with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "group1", "entity-type": "group", "memberUsers": ["driveuser_1"]}' [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for POST http://localhost:8080/nuxeo/api/v1/group with cookies []: '{"entity-type":"group","groupname":"group1","grouplabel":"group1"}' [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 DEBUG tests.common /syncRoot should not be created locally since the newly created group has not been added yet as a subgroup of parentGroup [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:02:12 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:15 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:15 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2168, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:15 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402935000,"hasTooManyChanges":false,"upperBound":2172,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:15 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:15 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 2, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:15 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:15 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:15 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:16 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:17 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:18 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:18 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2172, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:18 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402938000,"hasTooManyChanges":false,"upperBound":2173,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:18 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:18 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 3, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:18 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:18 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:18 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:19 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:20 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:21 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:21 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2173, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:21 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402941000,"hasTooManyChanges":false,"upperBound":2174,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:21 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:21 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 4, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:21 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:21 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:21 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:22 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:23 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:24 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:24 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2174, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:24 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402944000,"hasTooManyChanges":false,"upperBound":2175,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:24 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:24 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 5, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:24 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:24 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:24 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:25 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:26 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:27 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:27 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2175, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:27 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402947000,"hasTooManyChanges":false,"upperBound":2176,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:27 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:27 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 6, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:27 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:27 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:27 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:28 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:29 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:30 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:30 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2176, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:30 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402950000,"hasTooManyChanges":false,"upperBound":2177,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:30 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:30 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 7, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:30 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:30 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:30 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:31 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:32 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:33 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:33 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2177, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:33 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402953000,"hasTooManyChanges":false,"upperBound":2178,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:33 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:33 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 8, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:33 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:33 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:33 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:34 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:35 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:36 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:36 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2178, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:36 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402956000,"hasTooManyChanges":false,"upperBound":2179,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:36 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:36 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 9, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:36 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:36 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:36 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:37 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:38 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:39 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:39 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:39 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2179, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:39 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402959000,"hasTooManyChanges":false,"upperBound":2180,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:39 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:39 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 10, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:39 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:39 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:40 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:41 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 0}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 WARNING tests.common_unit_test Wait for sync timeout has expired [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 TRACE nxdrive.engine.dao.sqlite Cache Syncing count incorrect should be 0 was 4 [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 TRACE tests.common Add group1 as a subgroup of parentGroup [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API PUT http://localhost:8080/nuxeo/api/v1/group/parentGroup with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"groupname": "parentGroup", "memberGroups": ["group1"], "entity-type": "group"}' [INFO] [exec] 2017-06-25 15:02:42 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:42 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2180, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for PUT http://localhost:8080/nuxeo/api/v1/group/parentGroup with cookies []: '{"entity-type":"group","groupname":"parentGroup","grouplabel":"parentGroup"}' [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 DEBUG tests.common Check that /syncRoot is created locally [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 DEBUG tests.common_unit_test Wait for sync [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:02:42 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402962000,"hasTooManyChanges":false,"upperBound":2181,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:42 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:42 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 11, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:42 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:42 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:42 4068 140371594041088 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.WaitForElasticsearchCompletion' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:45 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:45 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2181, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:45 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402965000,"hasTooManyChanges":false,"upperBound":2186,"fileSystemChanges":[{"eventId":"securityUpdated","fileSystemItemId":"default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac","fileSystemItemName":null,"eventDate":1498402962863,"repositoryId":"default","fileSystemItem":null,"docUuid":"6d87f1e9-c5aa-47c1-95c8-c158636d48ac"}]}' [INFO] [exec] 2017-06-25 15:02:45 4068 140372928202496 DEBUG tests.common_unit_test Remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:45 4068 140371568862976 TRACE nxdrive.engine.watcher.remote_watcher Processing event: {u'eventId': u'securityUpdated', u'fileSystemItem': None, u'repositoryId': u'default', u'fileSystemItemName': None, u'fileSystemItemId': u'default#6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'docUuid': u'6d87f1e9-c5aa-47c1-95c8-c158636d48ac', u'eventDate': 1498402962863} [INFO] [exec] 2017-06-25 15:02:45 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 0, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:49 4068 140371568862976 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False [INFO] [exec] 2017-06-25 15:02:49 4068 140371568862976 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary with headers {'X-Authentication-Token': '6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'}, cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] and JSON payload '{"params": {"lowerBound": 2186, "lastSyncActiveRootDefinitions": "default:04586a8b-130d-4278-af41-08e75cd019a0"}}' [INFO] [exec] 2017-06-25 15:02:49 4068 140371568862976 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.GetChangeSummary' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]: '{"activeSynchronizationRootDefinitions":"default:04586a8b-130d-4278-af41-08e75cd019a0","syncDate":1498402969000,"hasTooManyChanges":false,"upperBound":2187,"fileSystemChanges":[]}' [INFO] [exec] 2017-06-25 15:02:49 4068 140372928202496 TRACE tests.common_unit_test No remote changes slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:49 4068 140372928202496 DEBUG nxdrive.engine.engine Checking sync completed: queue manager is inactive, overall size = 0, empty polls count = 1, local watcher empty events = 1, blacklist = 0, not Windows [INFO] [exec] 2017-06-25 15:02:49 4068 140372928202496 TRACE nxdrive.engine.engine Emitting syncCompleted for engine 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:49 4068 140372928202496 DEBUG tests.common_unit_test Sync Completed slot for: 30cb2fc659b711e7bbdf0242ac11000d [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 DEBUG tests.common_unit_test Sync completed, _wait_remote_scan = {u'30f9b10259b711e7bbdf0242ac11000d': False, u'30cb2fc659b711e7bbdf0242ac11000d': True}, remote changes count = {u'30f9b10259b711e7bbdf0242ac11000d': 0, u'30cb2fc659b711e7bbdf0242ac11000d': 1}, no remote changes = {u'30f9b10259b711e7bbdf0242ac11000d': True, u'30cb2fc659b711e7bbdf0242ac11000d': True} [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 DEBUG tests.common_unit_test Ended wait for sync, setting _wait_remote_scan values to True, _remote_changes_count values to 0 and _no_remote_changes values to False [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API DELETE http://localhost:8080/nuxeo/api/v1/path/default-domain/workspaces/groupChangesTestWorkspace with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for DELETE http://localhost:8080/nuxeo/api/v1/path/default-domain/workspaces/groupChangesTestWorkspace with cookies []: '' [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API DELETE http://localhost:8080/nuxeo/api/v1/group/grandParentGroup with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for DELETE http://localhost:8080/nuxeo/api/v1/group/grandParentGroup with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API DELETE http://localhost:8080/nuxeo/api/v1/group/parentGroup with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for DELETE http://localhost:8080/nuxeo/api/v1/group/parentGroup with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API DELETE http://localhost:8080/nuxeo/api/v1/group/group2 with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for DELETE http://localhost:8080/nuxeo/api/v1/group/group2 with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API DELETE http://localhost:8080/nuxeo/api/v1/group/group1 with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for DELETE http://localhost:8080/nuxeo/api/v1/group/group1 with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:49 4068 140371594041088 TRACE nxdrive.client.rest_api_client Calling REST API GET http://localhost:8080/nuxeo/api/v1/groups/search?q=* with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-device-2', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload None [INFO] [exec] 2017-06-25 15:02:50 4068 140371594041088 TRACE nxdrive.client.rest_api_client Response for GET http://localhost:8080/nuxeo/api/v1/groups/search?q=* with cookies []: '{"entity-type":"groups","isPaginable":true,"resultsCount":3,"pageSize":50,"maxPageSize":1000,"currentPageSize":3,"currentPageIndex":0,"numberOfPages":1,"isPreviousPageAvailable":false,"isNextPageAvailable":false,"isLastPageAvailable":false,"isSortable":false,"hasError":false,"errorMessage":null,"pageIndex":0,"pageCount":1,"entries":[{"entity-type":"group","groupname":"administrators","grouplabel":"Administrators group"},{"entity-type":"group","groupname":"members","grouplabel":"Members group"},{"entity-type":"group","groupname":"powerusers","grouplabel":"Power users group"}]}' [INFO] [exec] 2017-06-25 15:02:50 4068 140371594041088 DEBUG tests.common_unit_test UnitTest thread finished [INFO] [exec] 2017-06-25 15:02:50 4068 140372928202496 DEBUG tests.common_unit_test TearDown unit test [INFO] [exec] 2017-06-25 15:02:50 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Suspending queue [INFO] [exec] 2017-06-25 15:02:50 4068 140372928202496 TRACE nxdrive.engine.engine Engine 30cb2fc659b711e7bbdf0242ac11000d stopping [INFO] [exec] 2017-06-25 15:02:50 4068 140371199780608 INFO nxdrive.engine.watcher.local_watcher Stopping FS Observer thread [INFO] [exec] 2017-06-25 15:02:50 4068 140371568862976 DEBUG nxdrive.engine.workers Thread RemoteWatcher(140371568862976) interrupted [INFO] [exec] 2017-06-25 15:02:50 4068 140371199780608 INFO nxdrive.engine.watcher.local_watcher Stopping FS root Observer thread [INFO] [exec] 2017-06-25 15:02:51 4068 140371199780608 DEBUG nxdrive.engine.workers Thread LocalWatcher(140371199780608) interrupted [INFO] [exec] 2017-06-25 15:02:51 4068 140372928202496 TRACE nxdrive.engine.engine Engine 30cb2fc659b711e7bbdf0242ac11000d stopped [INFO] [exec] 2017-06-25 15:02:51 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:02:51 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Authentication-Token': u'6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'} and cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/authentication/token?applicationName=Nuxeo+Drive&deviceDescription=GNU%2FLinux+Desktop&revoke=true&deviceId=30bd64e059b711e7bbdf0242ac11000d&permission=ReadWrite with headers {'X-Authentication-Token': u'6b64c4a8-ba93-4d5c-9538-bf334b50c38f', 'X-Device-Id': '30bd64e059b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_1', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'} and cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Got token 'Token revoked for userName driveuser_1, applicationName Nuxeo Drive and deviceId 30bd64e059b711e7bbdf0242ac11000d.' with cookies [Cookie(version=0, name='X-Authentication-Token', value='6b64c4a8-ba93-4d5c-9538-bf334b50c38f', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Disposing sqlite database u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/ndrive_30cb2fc659b711e7bbdf0242ac11000d.db' [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.engine Remove DB file /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/ndrive_30cb2fc659b711e7bbdf0242ac11000d.db [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Disposing sqlite database u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpaJ4Divdrive-1/nuxeo-drive-conf/manager.db' [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.queue_manager Suspending queue [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.engine.engine Engine 30f9b10259b711e7bbdf0242ac11000d stopping [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.engine.engine Engine 30f9b10259b711e7bbdf0242ac11000d stopped [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Proxy configuration: System, effective proxy list: None [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/ with headers {'X-Authentication-Token': u'78353b10-4ab4-4820-899f-e53de77acf0c', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'} and cookies [Cookie(version=0, name='X-Authentication-Token', value='78353b10-4ab4-4820-899f-e53de77acf0c', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/authentication/token?applicationName=Nuxeo+Drive&deviceDescription=GNU%2FLinux+Desktop&revoke=true&deviceId=30bfc5b459b711e7bbdf0242ac11000d&permission=ReadWrite with headers {'X-Authentication-Token': u'78353b10-4ab4-4820-899f-e53de77acf0c', 'X-Device-Id': '30bfc5b459b711e7bbdf0242ac11000d', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'driveuser_2', 'Cache-Control': 'no-cache', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '2.4.6b1'} and cookies [Cookie(version=0, name='X-Authentication-Token', value='78353b10-4ab4-4820-899f-e53de77acf0c', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Got token 'Token revoked for userName driveuser_2, applicationName Nuxeo Drive and deviceId 30bfc5b459b711e7bbdf0242ac11000d.' with cookies [Cookie(version=0, name='X-Authentication-Token', value='78353b10-4ab4-4820-899f-e53de77acf0c', port=None, port_specified=False, domain=u'localhost.local', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=True, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)] [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Disposing sqlite database u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/ndrive_30f9b10259b711e7bbdf0242ac11000d.db' [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.engine Remove DB file /opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/ndrive_30f9b10259b711e7bbdf0242ac11000d.db [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 DEBUG nxdrive.engine.dao.sqlite Disposing sqlite database u'/opt/jenkins/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/tmp/tmpr6K5TZdrive-2/nuxeo-drive-conf/manager.db' [INFO] [exec] 2017-06-25 15:02:52 4068 140372928202496 TRACE nxdrive.client.base_automation_client Calling http://localhost:8080/nuxeo/site/automation/NuxeoDrive.TearDownIntegrationTests with headers {'X-Client-Version': '2.4.6b1', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-Device-Id': u'nxdrive-test-administrator-device', 'Accept': 'application/json+nxentity, */*', 'User-Agent': 'Nuxeo Drive/2.4.6b1', 'X-User-Id': 'Administrator', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json+nxrequest', 'X-Application-Name': 'Nuxeo Drive', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y'}, cookies [] and JSON payload '{"params": {}}' [INFO] [exec] 2017-06-25 15:02:53 4068 140372928202496 TRACE nxdrive.client.base_automation_client Response for 'http://localhost:8080/nuxeo/site/automation/NuxeoDrive.TearDownIntegrationTests' with cookies [] has content-type '' [INFO] [exec] 2017-06-25 15:02:53 4068 140372928202496 DEBUG tests.common_unit_test UnitTest run finished