Class org.syncany.tests.integration.operations.FileSystemActionReconciliatorTest

1

tests

0

failures

0

ignored

0.212s

duration

100%

successful

Tests

Test Duration Result
testFileSystemActionReconDeleteNonExistingFolder 0.212s passed

Standard error

25-5-17 10:18:53.279 | NotificationLis | NotifyThread   | INFO : Notification listener interrupted.
java.lang.InterruptedException: sleep interrupted
	at java.lang.Thread.sleep(Native Method)
	at org.syncany.operations.watch.NotificationListener$SocketThread.run(NotificationListener.java:255)
25-5-17 10:18:53.279 | NotificationLis | NotifyThread   | INFO : STOPPED notification listener!
25-5-17 10:18:53.280 | NotificationLis | NotifyThread   | INFO : Notification connection down: Socket closed, sleeping 5000ms, then trying a re-connect ...
25-5-17 10:18:53.280 | NotificationLis | NotifyThread   | INFO : Notification listener interrupted.
java.lang.InterruptedException: sleep interrupted
	at java.lang.Thread.sleep(Native Method)
	at org.syncany.operations.watch.NotificationListener$SocketThread.run(NotificationListener.java:255)
25-5-17 10:18:53.280 | NotificationLis | NotifyThread   | INFO : STOPPED notification listener!
25-5-17 10:18:53.286 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:18:53.286 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
25-5-17 10:18:53.295 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:18:53.295 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-53363-client-A' ...
25-5-17 10:18:53.295 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:18:53.295 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:18:53.295 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:18:53.295 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:18:53.296 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:18:53.296 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-53363-client-A' ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:18:53.296 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:18:53.296 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:18:53.296 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:18:53.296 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:18:53.297 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:18:53.297 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:18:53.297 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:18:53.297 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:18:53.316 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:18:53.316 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:18:53.329 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:18:53.333 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:18:53.333 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:18:53.342 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:18:53.342 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:18:53.342 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:18:53.343 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
25-5-17 10:18:53.354 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.357 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.360 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.363 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.367 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.369 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.378 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.381 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
25-5-17 10:18:53.386 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
25-5-17 10:18:53.392 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
25-5-17 10:18:53.395 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
25-5-17 10:18:53.402 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:18:53.402 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:18:53.405 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:18:53.408 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:18:53.411 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:18:53.415 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:18:53.418 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:18:53.421 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:18:53.424 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:18:53.424 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
25-5-17 10:18:53.429 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
25-5-17 10:18:53.437 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
25-5-17 10:18:53.441 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
25-5-17 10:18:53.444 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:18:53.444 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
25-5-17 10:18:53.447 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
25-5-17 10:18:53.450 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:18:53.450 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:18:53.450 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
25-5-17 10:18:53.453 | UpOperation     | Test worker    | INFO : 
25-5-17 10:18:53.453 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:18:53.453 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:18:53.453 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@3ae76790) ...
25-5-17 10:18:53.454 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:18:53.454 | StatusOperation | Test worker    | INFO : 
25-5-17 10:18:53.454 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:18:53.454 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:18:53.454 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
25-5-17 10:18:53.454 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:18:53.454 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@5140cf75) ...
25-5-17 10:18:53.454 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101614951-53363-client-A ...
25-5-17 10:18:53.454 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:18:53.455 | StatusOperation | Test worker    | FINE : - New file: new folder
25-5-17 10:18:53.455 | StatusOperation | Test worker    | FINE : - New file: new folder/some subfolder
25-5-17 10:18:53.455 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@15712a8) ...
25-5-17 10:18:53.455 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:18:53.455 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:18:53.455 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:18:53.455 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:18:53.455 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:18:53.455 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@1efc029d) ...
25-5-17 10:18:53.455 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:18:53.456 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@ae78cc5) ...
25-5-17 10:18:53.456 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:18:53.456 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1495707533297] ...
25-5-17 10:18:53.456 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1495707533297]
25-5-17 10:18:53.456 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1495707533297] ...
25-5-17 10:18:53.456 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:18:53.465 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:18:53.466 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:18:53.466 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@63be023a) ...
25-5-17 10:18:53.466 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:18:53.466 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101614951-53363-client-A/new folder
25-5-17 10:18:53.466 | Indexer         | AsyncI/syncany | FINE : - /File: new folder (directory/symlink/0-byte-file)
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: new folder, FOLDER)
25-5-17 10:18:53.467 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file new folder
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=new folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu May 25 10:18:53 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:18:53 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:18:53.467 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@5c702a19) ...
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101614951-53363-client-A/new folder/some subfolder
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | FINE : - /File: new folder/some subfolder (directory/symlink/0-byte-file)
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: new folder/some subfolder, FOLDER)
25-5-17 10:18:53.467 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file new folder/some subfolder
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=new folder/some subfolder, type=FOLDER, status=NEW, size=4096, lastModified=Thu May 25 10:18:53 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:18:53 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:18:53.467 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@67177b07) ...
25-5-17 10:18:53.467 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707533466, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
25-5-17 10:18:53.467 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:18:53.468 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
25-5-17 10:18:53.468 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:18:53.468 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1495707533468, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
25-5-17 10:18:53.468 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1495707533468 to file /tmp/syncanytest/syncany-170525101614951-53363-client-A/.syncany/cache/database-A-0000000001 ... 
25-5-17 10:18:53.468 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101614951-53363-client-A/.syncany/cache/database-A-0000000001 ...
25-5-17 10:18:53.469 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:18:53.469 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101614951-53363-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
25-5-17 10:18:53.469 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101614951-53363-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-smFAR-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
25-5-17 10:18:53.469 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:18:53.469 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:18:53.470 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101614951-53363-client-A/.syncany/cache/temp-transaction-8458613466856227734.tmp
25-5-17 10:18:53.470 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@1eed78ef) ...
25-5-17 10:18:53.470 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-540e9cc5] ...
25-5-17 10:18:53.470 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:18:53.471 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@773a776e) ...
25-5-17 10:18:53.471 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101614951-53363-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-smFAR-database-A-0000000001] ...
25-5-17 10:18:53.471 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-smFAR-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
25-5-17 10:18:53.471 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-540e9cc5] ...
25-5-17 10:18:53.471 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@39d791e4) ...
25-5-17 10:18:53.471 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:18:53.471 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:18:53.471 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1495707533468) ...
25-5-17 10:18:53.472 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:18:53.476 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:18:53.479 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1495707533468, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
25-5-17 10:18:53.479 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:18:53.479 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:18:53.479 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707533476, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:18:53.479 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:18:53.481 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1495707533297] ...
25-5-17 10:18:53.485 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1495707533297]
25-5-17 10:18:53.485 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:18:53.486 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
25-5-17 10:18:53.486 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@5413c918) ...
25-5-17 10:18:53.486 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:18:53.487 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:18:53.495 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:18:53.495 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:18:53.496 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:18:53.496 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=new folder/some subfolder, type=FOLDER, status=NEW, size=4096, lastModified=Thu May 25 10:18:53 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:18:53 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
25-5-17 10:18:53.496 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=new folder/some subfolder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu May 25 10:18:53 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:18:53 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
25-5-17 10:18:53.496 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file new folder/some subfolder
25-5-17 10:18:53.496 | FileSystemActio | Test worker    | INFO :      -> (15) Doing nothing: Local file does NOT exist, and winning version is marked DELETED: local file = /tmp/syncanytest/syncany-170525101614951-53363-client-A/new folder/some subfolder, local version = FileVersion [version=1, path=new folder/some subfolder, type=FOLDER, status=NEW, size=4096, lastModified=Thu May 25 10:18:53 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:18:53 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], winning version = FileVersion [version=2, path=new folder/some subfolder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu May 25 10:18:53 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:18:53 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]