-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.3.1107
-
Fix Version/s: 2.0.818
-
Component/s: Synchronizer, Tests, Watchdog
-
Tags:
See the difference between:
- A successful build: http://qa.nuxeo.org/jenkins/view/Drive/job/FT-nuxeo-drive-master-windows/288/consoleFull
Where we can see:Detected a file movement LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/Nuxeo Drive Test Workspace/Original Folder 1', remote_name=u'Original Folder 1', local_state='deleted', remote_state=u'synchronized', pair_state='locally_deleted', error_count=0>
which leads to a remote move as expected:
Moving remote file according to local : LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/Nuxeo Drive Test Workspace/Original Folder 2/Original Folder 1', remote_name=u'Original Folder 1', local_state=u'moved', remote_state=u'synchronized', pair_state=u'locally_moved', error_count=0>
- A failing build: http://qa.nuxeo.org/jenkins/view/Drive/job/FT-nuxeo-drive-master-windows/289/consoleFull
12:10:01 [INFO] [exec] ====================================================================== 12:10:01 [INFO] [exec] ERROR: test_local_move_folder (nxdrive.tests.test_integration_local_move_and_rename.TestIntegrationLocalMoveAndRename) 12:10:01 [INFO] [exec] ---------------------------------------------------------------------- 12:10:01 [INFO] [exec] Traceback (most recent call last): 12:10:01 [INFO] [exec] File "C:\Jenkins\workspace\FT-nuxeo-drive-master-windows\nuxeo-drive-client\nxdrive\tests\test_integration_local_move_and_rename.py", line 269, in test_local_move_folder 12:10:01 [INFO] [exec] remote_folder_info = remote_client.get_info(original_folder_1_uid) 12:10:01 [INFO] [exec] File "nuxeo-drive-client\nxdrive\client\remote_document_client.py", line 96, in get_info 12:10:01 [INFO] [exec] NotFound: Could not find '5843594b-394a-4ef5-8064-6475be63622e' on 'http://localhost:8080/nuxeo/'
We can see no Detected a file movement ...
=> We get a remote deletion which is not expected:Deleting or unregistering remote document 'Original Folder 1' (defaultFileSystemItemFactory#default#5843594b-394a-4ef5-8064-6475be63622e)
then a call to:
http://localhost:8080/nuxeo/site/automation/NuxeoDrive.Delete
- depends on
-
NXDRIVE-69 Drive build safety check up
- Resolved
-
NXDRIVE-258 Interrupt any upload or download action on delete
- Resolved
- is required by
-
NXDRIVE-112 Test and fix local change detection with Watchdog
- Resolved
-
NXDRIVE-217 Check Drive unresolved tasks / bugs to see if there are still unresolved / relevant
- Resolved