Class org.syncany.tests.integration.scenarios.RenameToExistingFileScenarioTest

1

tests

0

failures

0

ignored

0.658s

duration

100%

successful

Tests

Test Duration Result
testRenameFileButDestinationExists 0.658s passed

Standard error

25-5-17 10:17:49.123 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.123 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
25-5-17 10:17:49.133 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.141 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.141 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.141 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.141 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.141 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.141 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.141 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.141 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.142 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.142 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.142 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.142 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.142 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.142 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.142 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.142 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.142 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.142 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.142 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.143 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.143 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.143 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.143 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.174 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:49.174 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:49.185 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:49.189 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:49.189 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:49.195 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:49.195 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:49.195 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:49.195 | 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:17:49.199 | 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:17:49.202 | 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:17:49.205 | 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:17:49.207 | 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:17:49.209 | 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:17:49.212 | 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:17:49.214 | 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:17:49.216 | 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:17:49.219 | 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:17:49.221 | 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:17:49.223 | 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:17:49.225 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:49.226 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:49.226 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:49.229 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:49.231 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:49.233 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:49.235 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:49.237 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:49.240 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:49.240 | 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:17:49.248 | 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:17:49.250 | 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:17:49.253 | 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:17:49.258 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:49.258 | 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:17:49.272 | 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:17:49.274 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:49.274 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:49.274 | 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:17:49.276 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:49.276 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:17:49.276 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.277 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@2405a16e) ...
25-5-17 10:17:49.277 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.278 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:49.278 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:17:49.278 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.278 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:49.278 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@76726e3b) ...
25-5-17 10:17:49.278 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101612005-97619-client-A ...
25-5-17 10:17:49.278 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:49.279 | StatusOperation | Test worker    | FINE : - New file: A-original
25-5-17 10:17:49.279 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@2b771710) ...
25-5-17 10:17:49.279 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.279 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.279 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.279 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:49.279 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.279 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@5ad8e2f3) ...
25-5-17 10:17:49.279 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.279 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@188966d6) ...
25-5-17 10:17:49.279 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:49.279 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1495707469143] ...
25-5-17 10:17:49.279 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1495707469143]
25-5-17 10:17:49.280 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1495707469143] ...
25-5-17 10:17:49.281 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.285 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:49.286 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:49.286 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@382de97e) ...
25-5-17 10:17:49.289 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:49.289 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-original
25-5-17 10:17:49.290 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-original
25-5-17 10:17:49.292 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 96f3a7e0c416555772b625018ce7a3b9c1494be0
25-5-17 10:17:49.292 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774
25-5-17 10:17:49.293 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 96f3a7e0c416555772b625018ce7a3b9c1494be0 > ba32e2acd3aa36adf41b923e232da6dbe7b2a774
25-5-17 10:17:49.293 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 96f3a7e0c416555772b625018ce7a3b9c1494be0 > /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-original
25-5-17 10:17:49.293 | Indexer         | AsyncI/syncany | FINE : - /File: A-original (checksum 96f3a7e0c416555772b625018ce7a3b9c1494be0)
25-5-17 10:17:49.294 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: A-original, checksum: 96f3a7e0c416555772b625018ce7a3b9c1494be0)
25-5-17 10:17:49.297 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file A-original
25-5-17 10:17:49.297 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.298 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:49.298 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@9782a2e) ...
25-5-17 10:17:49.298 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774
25-5-17 10:17:49.298 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@4785626f) ...
25-5-17 10:17:49.298 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707469286, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.299 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:49.299 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
25-5-17 10:17:49.299 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:49.299 | UpOperation     | Test worker    | INFO : - Uploading multichunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774 from /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774 to RemoteFile[name=multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774] ...
25-5-17 10:17:49.299 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774 -> Temp. remote file: RemoteFile[name=temp-JyeSs-multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774], final location: RemoteFile[name=multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774]
25-5-17 10:17:49.300 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1495707469299, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.300 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1495707469299 to file /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000001 ... 
25-5-17 10:17:49.300 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:49.300 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:49.300 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:49.300 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-owaDD-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
25-5-17 10:17:49.301 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:49.301 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:49.302 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/temp-transaction-4037581070017067037.tmp
25-5-17 10:17:49.302 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@33bf2af8) ...
25-5-17 10:17:49.302 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-f6648d4] ...
25-5-17 10:17:49.303 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:49.303 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@50673b7a) ...
25-5-17 10:17:49.303 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774 to temp. file RemoteFile[name=temp-JyeSs-multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774] ...
25-5-17 10:17:49.303 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@7e7a5696) ...
25-5-17 10:17:49.303 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-owaDD-database-A-0000000001] ...
25-5-17 10:17:49.304 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-JyeSs-multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774] to final location RemoteFile[name=multichunk-ba32e2acd3aa36adf41b923e232da6dbe7b2a774] ...
25-5-17 10:17:49.304 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-owaDD-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:49.304 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-f6648d4] ...
25-5-17 10:17:49.304 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:49.304 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:49.304 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1495707469299) ...
25-5-17 10:17:49.306 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:49.306 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@3ab76794) ...
25-5-17 10:17:49.316 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:49.319 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1495707469299, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.319 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:49.319 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:49.319 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707469316, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:49.319 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:49.321 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1495707469143] ...
25-5-17 10:17:49.329 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1495707469143]
25-5-17 10:17:49.329 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:49.330 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:49.330 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@287d2ef0) ...
25-5-17 10:17:49.330 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.330 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.330 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.330 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.353 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:49.354 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:49.361 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:49.364 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:49.364 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:49.370 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:49.370 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:49.370 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:49.370 | 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:17:49.372 | 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:17:49.375 | 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:17:49.377 | 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:17:49.381 | 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:17:49.386 | 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:17:49.389 | 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:17:49.391 | 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:17:49.394 | 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:17:49.396 | 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:17:49.398 | 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:17:49.400 | 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:17:49.402 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:49.402 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:49.403 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:49.405 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:49.409 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:49.412 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:49.414 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:49.416 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:49.419 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:49.419 | 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:17:49.421 | 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:17:49.426 | 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:17:49.430 | 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:17:49.432 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:49.432 | 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:17:49.435 | 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:17:49.437 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:49.437 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:49.437 | 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:17:49.440 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:49.440 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
25-5-17 10:17:49.440 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.440 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@8f8ee77) ...
25-5-17 10:17:49.440 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.441 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.441 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.441 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:49.441 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.441 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@7bb3fb9f) ...
25-5-17 10:17:49.441 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.441 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
25-5-17 10:17:49.441 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6492e226) ...
25-5-17 10:17:49.441 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@25b9b86f) ...
25-5-17 10:17:49.441 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1495707469330] ...
25-5-17 10:17:49.441 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1495707469330]
25-5-17 10:17:49.442 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1495707469330] ...
25-5-17 10:17:49.442 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:49.442 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-A-0000000001
25-5-17 10:17:49.442 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@28dd45cc) ...
25-5-17 10:17:49.443 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:49.443 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:49.444 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707469299
25-5-17 10:17:49.446 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-97619-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:49.447 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1495707469299], B=[]}
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:49.447 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707469299
25-5-17 10:17:49.447 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
25-5-17 10:17:49.447 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707469299
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:49.447 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:49.447 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
25-5-17 10:17:49.447 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707469299]
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1495707469299]
25-5-17 10:17:49.447 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:49.447 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:49.450 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707469299
25-5-17 10:17:49.450 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:49.451 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.453 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:49.453 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:49.453 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:49.453 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.453 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file A-original
25-5-17 10:17:49.454 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-97619-client-B/A-original
25-5-17 10:17:49.457 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.458 | DownOperation   | Test worker    | INFO :   + Adding multichunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774 to download list ...
25-5-17 10:17:49.458 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:49.458 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@19dea7b5) ...
25-5-17 10:17:49.458 | Downloader      | Test worker    | INFO :   + Downloading multichunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774 ...
25-5-17 10:17:49.459 | Downloader      | Test worker    | INFO :   + Decrypting multichunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774 ...
25-5-17 10:17:49.459 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk ba32e2acd3aa36adf41b923e232da6dbe7b2a774 ...
25-5-17 10:17:49.460 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:49.460 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.460 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:49.460 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.460 | Assembler       | Test worker    | INFO :      - Creating file A-original to /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/temp-reconstructedFileVersion-4891129888246974310.tmp ...
25-5-17 10:17:49.461 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:49.461 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:49.461 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
25-5-17 10:17:49.461 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1495707469299, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.468 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1495707469330] ...
25-5-17 10:17:49.472 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1495707469330]
25-5-17 10:17:49.473 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:49.473 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:49.473 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@14a56f7c) ...
25-5-17 10:17:49.473 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:49.477 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-97619-client-A/A-original, but actual PATH = tmp/syncanytest/syncany-170525101612005-97619-client-B/A-original, for file tmp/syncanytest/syncany-170525101612005-97619-client-B/A-original
25-5-17 10:17:49.478 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.478 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.507 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
25-5-17 10:17:49.512 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
25-5-17 10:17:49.513 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
25-5-17 10:17:49.515 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
25-5-17 10:17:49.515 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
25-5-17 10:17:49.516 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
25-5-17 10:17:49.523 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
25-5-17 10:17:49.524 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
25-5-17 10:17:49.525 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc
25-5-17 10:17:49.525 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.525 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.525 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.525 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.525 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.525 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.525 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.525 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.526 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.526 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.526 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.534 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.534 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:49.534 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:17:49.534 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.534 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@4bac8970) ...
25-5-17 10:17:49.535 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.535 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:49.535 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:17:49.535 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.535 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:49.535 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@5354a04b) ...
25-5-17 10:17:49.535 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101612005-97619-client-A ...
25-5-17 10:17:49.536 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:49.536 | StatusOperation | Test worker    | FINE : - New file: A-moved
25-5-17 10:17:49.536 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@94fe51c) ...
25-5-17 10:17:49.536 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.536 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.536 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.537 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:49.537 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.537 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@15559bfa) ...
25-5-17 10:17:49.537 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.537 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:49.537 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6d583a8a) ...
25-5-17 10:17:49.537 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:49.537 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1495707469526] ...
25-5-17 10:17:49.537 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1495707469526]
25-5-17 10:17:49.537 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1495707469526] ...
25-5-17 10:17:49.538 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.545 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:49.545 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:49.546 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@2d916d1c) ...
25-5-17 10:17:49.546 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:49.547 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=A-original, type=FILE, status=DELETED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.547 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.548 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-moved
25-5-17 10:17:49.548 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-moved
25-5-17 10:17:49.549 | Indexer         | AsyncI/syncany | FINE : - Chunk exists: 96f3a7e0c416555772b625018ce7a3b9c1494be0
25-5-17 10:17:49.549 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 96f3a7e0c416555772b625018ce7a3b9c1494be0 > /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-moved
25-5-17 10:17:49.549 | Indexer         | AsyncI/syncany | FINE : - /File: A-moved (checksum 96f3a7e0c416555772b625018ce7a3b9c1494be0)
25-5-17 10:17:49.550 | Indexer         | AsyncI/syncany | FINE :    * Found old file history 3583fc302a42dc6ee28a2dc494ab0f5055fbacd0 (by checksum: 96f3a7e0c416555772b625018ce7a3b9c1494be0), appending new version.
25-5-17 10:17:49.550 | FileVersionComp | AsyncI/syncany | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = A-moved, but actual PATH = A-original, for file A-original
25-5-17 10:17:49.550 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=2, path=A-moved, type=FILE, status=CHANGED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.550 | Indexer         | AsyncI/syncany | INFO :      based on file version: FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.550 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@44a75c5) ...
25-5-17 10:17:49.551 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@39000f66) ...
25-5-17 10:17:49.551 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707469546, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:49.551 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:49.551 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
25-5-17 10:17:49.551 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:49.552 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A2)/T=1495707469551, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:49.552 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A2)/T=1495707469551 to file /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000002 ... 
25-5-17 10:17:49.552 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000002 ...
25-5-17 10:17:49.552 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:49.552 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000002 to RemoteFile[name=database-A-0000000002] ...
25-5-17 10:17:49.553 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000002 -> Temp. remote file: RemoteFile[name=temp-GOdBF-database-A-0000000002], final location: RemoteFile[name=database-A-0000000002]
25-5-17 10:17:49.553 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:49.553 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:49.558 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/temp-transaction-6936945949398137364.tmp
25-5-17 10:17:49.558 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@7b89389e) ...
25-5-17 10:17:49.558 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-25014804] ...
25-5-17 10:17:49.559 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:49.559 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@1f289c4e) ...
25-5-17 10:17:49.559 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-A-0000000002 to temp. file RemoteFile[name=temp-GOdBF-database-A-0000000002] ...
25-5-17 10:17:49.560 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-GOdBF-database-A-0000000002] to final location RemoteFile[name=database-A-0000000002] ...
25-5-17 10:17:49.560 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-25014804] ...
25-5-17 10:17:49.560 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:49.560 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:49.560 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A2)/T=1495707469551) ...
25-5-17 10:17:49.561 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:49.562 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@41ad4e7b) ...
25-5-17 10:17:49.565 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A2)/T=1495707469551, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:49.566 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:49.566 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:49.567 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:49.568 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707469567, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:49.568 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:49.570 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1495707469526] ...
25-5-17 10:17:49.576 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1495707469526]
25-5-17 10:17:49.576 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:49.577 | Cache           | Test worker    | INFO : Cache size okay (52 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:49.577 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@32ee47ce) ...
25-5-17 10:17:49.577 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.577 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.577 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.578 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.578 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.578 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.578 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.578 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.578 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.578 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.578 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.578 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.578 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.578 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.579 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.579 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.579 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.579 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.579 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.579 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.579 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.579 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.579 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.579 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.580 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.580 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:49.580 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
25-5-17 10:17:49.580 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.580 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@2686b07e) ...
25-5-17 10:17:49.580 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.581 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.581 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.581 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:49.581 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.581 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@211aead1) ...
25-5-17 10:17:49.581 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.581 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000002 is new.
25-5-17 10:17:49.581 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:49.581 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@4977c64b) ...
25-5-17 10:17:49.581 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@78440435) ...
25-5-17 10:17:49.581 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1495707469579] ...
25-5-17 10:17:49.581 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1495707469579]
25-5-17 10:17:49.584 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1495707469579] ...
25-5-17 10:17:49.584 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:49.584 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000002 to local cache at /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-A-0000000002
25-5-17 10:17:49.584 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@2f3a946c) ...
25-5-17 10:17:49.585 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:49.585 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-A-0000000002 ...
25-5-17 10:17:49.590 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A2)/T=1495707469551
25-5-17 10:17:49.590 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-97619-repo/databases/database-A-0000000002; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:49.590 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-97619-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:49.590 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:49.591 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A2)/T=1495707469551], B=[A/(A1)/T=1495707469299]}
25-5-17 10:17:49.591 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707469299
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A2)/T=1495707469551
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707469299
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO :   + A/(A2)/T=1495707469551
25-5-17 10:17:49.591 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:49.591 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1495707469299]
25-5-17 10:17:49.591 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707469299, A/(A2)/T=1495707469551]
25-5-17 10:17:49.592 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:49.592 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A2)/T=1495707469551]
25-5-17 10:17:49.592 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:49.592 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-A-0000000002 ...
25-5-17 10:17:49.593 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A2)/T=1495707469551
25-5-17 10:17:49.593 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:49.594 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.595 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:49.595 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:49.595 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.595 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=A-moved, type=FILE, status=CHANGED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.596 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = A-moved, but actual PATH = A-original, for file A-original
25-5-17 10:17:49.596 | FileSystemActio | Test worker    | INFO :      -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = /tmp/syncanytest/syncany-170525101612005-97619-client-B/A-original, local version = FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=A-moved, type=FILE, status=CHANGED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.596 | FileSystemActio | Test worker    | INFO :      -> RenameFileSystemAction [file1=FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=A-moved, type=FILE, status=CHANGED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.596 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:49.596 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:49.596 | FileSystemActio | Test worker    | INFO :    + RenameFileSystemAction [file1=FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=A-moved, type=FILE, status=CHANGED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.597 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:49.597 | DownOperation   | Test worker    | FINE :    +  RenameFileSystemAction [file1=FileVersion [version=1, path=A-original, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=A-moved, type=FILE, status=CHANGED, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=96f3a7e0c416555772b625018ce7a3b9c1494be0, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.598 | FileVersionComp | Test worker    | INFO :      - [CHANGED_CHECKSUM]: Local file DIFFERS from file version, expected CHECKSUM = 96f3a7e0c416555772b625018ce7a3b9c1494be0, but actual CHECKSUM = c66a963e502fe2fbea27f59d105007c0d8acef3a, for file A-moved
25-5-17 10:17:49.598 | FileSystemActio | Test worker    | INFO :      - (4) File at destination differs, creating conflict file for /tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved ...
25-5-17 10:17:49.598 | FileSystemActio | Test worker    | INFO :      - Local version conflicts, moving local file A-moved to A-moved (B's conflicted copy, 25 May 17, 10-17 AM) ...
25-5-17 10:17:49.598 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:49.599 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:49.599 | DownOperation   | Test worker    | INFO :   + Applying database version (A2)
25-5-17 10:17:49.599 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A2)/T=1495707469551, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:49.608 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1495707469579] ...
25-5-17 10:17:49.612 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1495707469579]
25-5-17 10:17:49.612 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:49.612 | Cache           | Test worker    | INFO : Cache size okay (52 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:49.613 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@79ea77a1) ...
25-5-17 10:17:49.613 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:49.622 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.622 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.622 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.622 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.623 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.623 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.623 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.623 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.623 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.623 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.623 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.623 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.623 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.623 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.623 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.624 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.624 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.624 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.624 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.624 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.624 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.624 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.624 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.624 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.629 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.630 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:49.630 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
25-5-17 10:17:49.630 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.630 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@91705cc) ...
25-5-17 10:17:49.631 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.631 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:49.631 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
25-5-17 10:17:49.631 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.631 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:49.631 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@463c8419) ...
25-5-17 10:17:49.632 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101612005-97619-client-B ...
25-5-17 10:17:49.632 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:49.632 | StatusOperation | Test worker    | FINE : - New file: A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.633 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@3728b075) ...
25-5-17 10:17:49.633 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.633 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.633 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.634 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:49.634 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.634 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@68ee9923) ...
25-5-17 10:17:49.634 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.637 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000002 is already known (in local database). Ignoring.
25-5-17 10:17:49.638 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:49.638 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@1b926179) ...
25-5-17 10:17:49.638 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:49.638 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1495707469624] ...
25-5-17 10:17:49.638 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1495707469624]
25-5-17 10:17:49.638 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1495707469624] ...
25-5-17 10:17:49.639 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.646 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:49.646 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:49.647 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@4e635e5d) ...
25-5-17 10:17:49.647 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:49.647 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.647 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.654 | Indexer         | AsyncI/syncany | FINE : - Chunk new: c66a963e502fe2fbea27f59d105007c0d8acef3a
25-5-17 10:17:49.654 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f
25-5-17 10:17:49.655 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: c66a963e502fe2fbea27f59d105007c0d8acef3a > 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f
25-5-17 10:17:49.655 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: c66a963e502fe2fbea27f59d105007c0d8acef3a > /tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.655 | Indexer         | AsyncI/syncany | FINE : - /File: A-moved (B's conflicted copy, 25 May 17, 10-17 AM) (checksum c66a963e502fe2fbea27f59d105007c0d8acef3a)
25-5-17 10:17:49.656 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: A-moved (B's conflicted copy, 25 May 17, 10-17 AM), checksum: c66a963e502fe2fbea27f59d105007c0d8acef3a)
25-5-17 10:17:49.656 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.656 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=A-moved (B's conflicted copy, 25 May 17, 10-17 AM), type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=c66a963e502fe2fbea27f59d105007c0d8acef3a, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.656 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:49.656 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@5c89bb6d) ...
25-5-17 10:17:49.656 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f
25-5-17 10:17:49.656 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@2d3f022) ...
25-5-17 10:17:49.656 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707469647, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.656 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:49.657 | UpOperation     | Test worker    | INFO : Last vector clock was: (A2)
25-5-17 10:17:49.657 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:49.657 | UpOperation     | Test worker    | INFO : - Uploading multichunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f from /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f to RemoteFile[name=multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f] ...
25-5-17 10:17:49.657 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f -> Temp. remote file: RemoteFile[name=temp-AzDGJ-multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f], final location: RemoteFile[name=multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f]
25-5-17 10:17:49.657 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A2,B1)/T=1495707469657, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.658 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A2,B1)/T=1495707469657 to file /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-B-0000000001 ... 
25-5-17 10:17:49.658 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-B-0000000001 ...
25-5-17 10:17:49.658 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:49.658 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
25-5-17 10:17:49.658 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-GgHiC-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
25-5-17 10:17:49.659 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:49.659 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:49.660 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/temp-transaction-7001869584763520040.tmp
25-5-17 10:17:49.660 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@23468f20) ...
25-5-17 10:17:49.660 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-7c84ac09] ...
25-5-17 10:17:49.660 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:49.660 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@1e380526) ...
25-5-17 10:17:49.660 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f to temp. file RemoteFile[name=temp-AzDGJ-multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f] ...
25-5-17 10:17:49.661 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@7ba01251) ...
25-5-17 10:17:49.661 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-97619-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-GgHiC-database-B-0000000001] ...
25-5-17 10:17:49.661 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-AzDGJ-multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f] to final location RemoteFile[name=multichunk-10f6a029cf0d83bd4b1ce3f44eb70013c50c717f] ...
25-5-17 10:17:49.661 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-GgHiC-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
25-5-17 10:17:49.661 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@3597a457) ...
25-5-17 10:17:49.661 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-7c84ac09] ...
25-5-17 10:17:49.663 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:49.663 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:49.663 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A2,B1)/T=1495707469657) ...
25-5-17 10:17:49.668 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:49.668 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:49.683 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A2,B1)/T=1495707469657, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.683 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:49.683 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:49.683 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707469668, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:49.683 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:49.685 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1495707469624] ...
25-5-17 10:17:49.689 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1495707469624]
25-5-17 10:17:49.689 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:49.690 | Cache           | Test worker    | INFO : Cache size okay (103 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:49.690 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@3bb44c69) ...
25-5-17 10:17:49.690 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.690 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-B' ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.690 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.691 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.691 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.691 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.692 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.692 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:49.692 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
25-5-17 10:17:49.692 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.692 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@1d5b2f11) ...
25-5-17 10:17:49.692 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.692 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.692 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.692 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:49.692 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.692 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@33f25444) ...
25-5-17 10:17:49.692 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.692 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000002 is already known (in local database). Ignoring.
25-5-17 10:17:49.693 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:49.693 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:49.693 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@5ce19235) ...
25-5-17 10:17:49.693 | DownOperation   | Test worker    | INFO : * Nothing new. Skipping down operation.
25-5-17 10:17:49.693 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@1280c4b5) ...
25-5-17 10:17:49.693 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.693 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.693 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.693 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.694 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.694 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:49.694 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:17:49.694 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.694 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@1b73c3b5) ...
25-5-17 10:17:49.695 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.695 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:49.695 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:17:49.695 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.695 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:49.695 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@5fe25a77) ...
25-5-17 10:17:49.695 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101612005-97619-client-A ...
25-5-17 10:17:49.695 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:49.696 | StatusOperation | Test worker    | INFO : - No changes to local database
25-5-17 10:17:49.696 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@cb4f7a8) ...
25-5-17 10:17:49.696 | UpOperation     | Test worker    | INFO : Local database is up-to-date (change set). NOTHING TO DO!
25-5-17 10:17:49.696 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@387b3a64) ...
25-5-17 10:17:49.696 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.696 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.696 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.696 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.697 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.697 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.697 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.697 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.697 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.697 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.697 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:49.697 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-97619-client-A' ...
25-5-17 10:17:49.697 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:49.697 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:49.697 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:49.697 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:49.698 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:49.698 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:49.698 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:49.698 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:49.698 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:49.698 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:49.698 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:49.698 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:49.704 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.704 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:49.704 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
25-5-17 10:17:49.704 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.705 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@505a5523) ...
25-5-17 10:17:49.705 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:49.705 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.705 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:49.706 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:49.706 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:49.706 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@1a315c26) ...
25-5-17 10:17:49.706 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:49.706 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000002 is already known (in local database). Ignoring.
25-5-17 10:17:49.706 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
25-5-17 10:17:49.706 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:49.706 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@ae91b0f) ...
25-5-17 10:17:49.707 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@3624323c) ...
25-5-17 10:17:49.707 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1495707469700] ...
25-5-17 10:17:49.707 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1495707469700]
25-5-17 10:17:49.707 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1495707469700] ...
25-5-17 10:17:49.708 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:49.708 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-B-0000000001
25-5-17 10:17:49.708 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@29e1dc26) ...
25-5-17 10:17:49.708 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:49.708 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-B-0000000001 ...
25-5-17 10:17:49.710 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A2,B1)/T=1495707469657
25-5-17 10:17:49.710 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-97619-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:49.710 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-97619-repo/databases/database-A-0000000002; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:49.710 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-97619-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:49.711 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:49.711 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1495707469299, A/(A2)/T=1495707469551], B=[B/(A2,B1)/T=1495707469657]}
25-5-17 10:17:49.711 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707469299
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A2)/T=1495707469551
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A2,B1)/T=1495707469657
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707469299
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO :   + A/(A2)/T=1495707469551
25-5-17 10:17:49.711 | DatabaseReconci | Test worker    | INFO :   + B/(A2,B1)/T=1495707469657
25-5-17 10:17:49.711 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:49.712 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:49.712 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:49.712 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1495707469299, A/(A2)/T=1495707469551]
25-5-17 10:17:49.712 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707469299, A/(A2)/T=1495707469551, B/(A2,B1)/T=1495707469657]
25-5-17 10:17:49.712 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:49.712 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A2,B1)/T=1495707469657]
25-5-17 10:17:49.712 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:49.712 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/database-B-0000000001 ...
25-5-17 10:17:49.713 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A2,B1)/T=1495707469657
25-5-17 10:17:49.714 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:49.714 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.715 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:49.715 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:49.715 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:49.715 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=A-moved (B's conflicted copy, 25 May 17, 10-17 AM), type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=c66a963e502fe2fbea27f59d105007c0d8acef3a, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:49.716 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.716 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=A-moved (B's conflicted copy, 25 May 17, 10-17 AM), type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=c66a963e502fe2fbea27f59d105007c0d8acef3a, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-97619-client-A/A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.716 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-moved (B's conflicted copy, 25 May 17, 10-17 AM), type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=c66a963e502fe2fbea27f59d105007c0d8acef3a, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.716 | DownOperation   | Test worker    | INFO :   + Adding multichunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f to download list ...
25-5-17 10:17:49.716 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:49.717 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@70b9ff16) ...
25-5-17 10:17:49.717 | Downloader      | Test worker    | INFO :   + Downloading multichunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f ...
25-5-17 10:17:49.717 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f ...
25-5-17 10:17:49.717 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 10f6a029cf0d83bd4b1ce3f44eb70013c50c717f ...
25-5-17 10:17:49.718 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:49.719 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-moved (B's conflicted copy, 25 May 17, 10-17 AM), type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=c66a963e502fe2fbea27f59d105007c0d8acef3a, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.719 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:49.719 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-moved (B's conflicted copy, 25 May 17, 10-17 AM), type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:49 UTC 2017, linkTarget=null, checksum=c66a963e502fe2fbea27f59d105007c0d8acef3a, updated=Thu May 25 10:17:49 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:49.719 | Assembler       | Test worker    | INFO :      - Creating file A-moved (B's conflicted copy, 25 May 17, 10-17 AM) to /tmp/syncanytest/syncany-170525101612005-97619-client-A/.syncany/cache/temp-reconstructedFileVersion-1568736887233680724.tmp ...
25-5-17 10:17:49.720 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:49.720 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:49.720 | DownOperation   | Test worker    | INFO :   + Applying database version (A2,B1)
25-5-17 10:17:49.721 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A2,B1)/T=1495707469657, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
25-5-17 10:17:49.731 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1495707469700] ...
25-5-17 10:17:49.737 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1495707469700]
25-5-17 10:17:49.737 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:49.738 | Cache           | Test worker    | INFO : Cache size okay (103 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:49.738 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@3f017ab8) ...
25-5-17 10:17:49.738 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:49.743 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-97619-client-A/A-moved, but actual PATH = tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved, for file tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved
25-5-17 10:17:49.745 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-97619-client-A/A-moved (B's conflicted copy, 25 May 17, 10-17 AM), but actual PATH = tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved (B's conflicted copy, 25 May 17, 10-17 AM), for file tmp/syncanytest/syncany-170525101612005-97619-client-B/A-moved (B's conflicted copy, 25 May 17, 10-17 AM)
25-5-17 10:17:49.747 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.747 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:49.773 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
25-5-17 10:17:49.774 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
25-5-17 10:17:49.775 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
25-5-17 10:17:49.775 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
25-5-17 10:17:49.776 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
25-5-17 10:17:49.776 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
25-5-17 10:17:49.777 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
25-5-17 10:17:49.777 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
25-5-17 10:17:49.779 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc