Class org.syncany.tests.integration.scenarios.SingleFolderNoConflictsScenarioTest

6

tests

0

failures

0

ignored

3.041s

duration

100%

successful

Tests

Test Duration Result
testFolderEmptyDeleteNoConflicts 0.408s passed
testFolderEmptyMoveNoConflicts 0.496s passed
testFolderEmptyNewNoConflicts 0.412s passed
testFolderNonEmptyMove1NoConflicts 0.395s passed
testFolderNonEmptyMove2NoConflicts 0.625s passed
testFolderNonEmptyNewNoConflicts 0.705s passed

Standard error

16-2-17 8:19:00.400 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.400 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:19:00.411 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.412 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-A' ...
16-2-17 8:19:00.412 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.412 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.412 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.412 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.412 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.413 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.413 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.413 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.413 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.413 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-A' ...
16-2-17 8:19:00.416 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.416 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.416 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:00.416 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:00.417 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.417 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.417 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.417 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.417 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.417 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.417 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:00.417 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:00.448 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:00.448 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:00.456 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:00.459 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:00.460 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:00.465 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:00.466 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:00.466 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:00.466 | 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) ); 
16-2-17 8:19:00.468 | 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 ); 
16-2-17 8:19:00.472 | 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 ); 
16-2-17 8:19:00.477 | 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 ); 
16-2-17 8:19:00.479 | 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 ); 
16-2-17 8:19:00.481 | 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 ); 
16-2-17 8:19:00.484 | 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 ); 
16-2-17 8:19:00.486 | 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 ); 
16-2-17 8:19:00.488 | 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 ); 
16-2-17 8:19:00.492 | 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) ); 
16-2-17 8:19:00.495 | 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) ); 
16-2-17 8:19:00.498 | 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) ); 
16-2-17 8:19:00.500 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:00.500 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:00.501 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:00.504 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:00.508 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:00.510 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:00.512 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:00.515 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:00.517 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:00.517 | 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'; 
16-2-17 8:19:00.520 | 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'; 
16-2-17 8:19:00.522 | 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; 
16-2-17 8:19:00.524 | 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'; 
16-2-17 8:19:00.527 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:00.527 | 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; 
16-2-17 8:19:00.529 | 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; 
16-2-17 8:19:00.532 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:00.532 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:00.532 | 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; 
16-2-17 8:19:00.535 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:00.535 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:19:00.535 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.535 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@3c152d78) ...
16-2-17 8:19:00.537 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.537 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:00.537 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:19:00.537 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.537 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:00.537 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@13c9405e) ...
16-2-17 8:19:00.537 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-73812-client-A ...
16-2-17 8:19:00.538 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:00.538 | StatusOperation | Test worker    | FINE : - New file: folder
16-2-17 8:19:00.538 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@2de4b835) ...
16-2-17 8:19:00.538 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:00.542 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.542 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:00.542 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:00.542 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.542 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@6525654f) ...
16-2-17 8:19:00.543 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:00.543 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@1369d2db) ...
16-2-17 8:19:00.543 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:00.543 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233140417] ...
16-2-17 8:19:00.543 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233140417]
16-2-17 8:19:00.545 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233140417] ...
16-2-17 8:19:00.546 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.552 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:00.552 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:00.552 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@26544b3) ...
16-2-17 8:19:00.553 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:00.553 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-73812-client-A/folder
16-2-17 8:19:00.553 | Indexer         | AsyncI/syncany | FINE : - /File: folder (directory/symlink/0-byte-file)
16-2-17 8:19:00.555 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder, FOLDER)
16-2-17 8:19:00.555 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder
16-2-17 8:19:00.555 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.555 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:00.555 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@69e4e4d) ...
16-2-17 8:19:00.556 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@29fe16f2) ...
16-2-17 8:19:00.556 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233140552, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.556 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:00.556 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:19:00.556 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:00.557 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233140556, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.557 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233140556 to file /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:19:00.557 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:00.558 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:00.558 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:00.558 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-MuDwr-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:19:00.558 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:00.558 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:00.560 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/temp-transaction-2415198943800652232.tmp
16-2-17 8:19:00.560 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@4f0f8b75) ...
16-2-17 8:19:00.560 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-688ceb8f] ...
16-2-17 8:19:00.561 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:00.561 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@25257f90) ...
16-2-17 8:19:00.561 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-MuDwr-database-A-0000000001] ...
16-2-17 8:19:00.561 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-MuDwr-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:00.561 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-688ceb8f] ...
16-2-17 8:19:00.561 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:00.562 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:00.562 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233140556) ...
16-2-17 8:19:00.562 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:00.563 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@5ba64a7e) ...
16-2-17 8:19:00.571 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:00.574 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233140556, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.574 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:00.574 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:00.574 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233140571, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:00.574 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:00.576 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233140417] ...
16-2-17 8:19:00.580 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233140417]
16-2-17 8:19:00.580 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:00.580 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:00.580 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@7cd61bf8) ...
16-2-17 8:19:00.580 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-B' ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.581 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-B' ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.581 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:00.581 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:00.616 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:00.617 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:00.623 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:00.626 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:00.626 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:00.631 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:00.631 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:00.631 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:00.631 | 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) ); 
16-2-17 8:19:00.634 | 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 ); 
16-2-17 8:19:00.636 | 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 ); 
16-2-17 8:19:00.638 | 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 ); 
16-2-17 8:19:00.640 | 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 ); 
16-2-17 8:19:00.643 | 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 ); 
16-2-17 8:19:00.645 | 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 ); 
16-2-17 8:19:00.648 | 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 ); 
16-2-17 8:19:00.650 | 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 ); 
16-2-17 8:19:00.652 | 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) ); 
16-2-17 8:19:00.654 | 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) ); 
16-2-17 8:19:00.656 | 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) ); 
16-2-17 8:19:00.659 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:00.659 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:00.659 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:00.661 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:00.670 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:00.672 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:00.674 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:00.676 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:00.678 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:00.678 | 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'; 
16-2-17 8:19:00.680 | 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'; 
16-2-17 8:19:00.683 | 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; 
16-2-17 8:19:00.685 | 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'; 
16-2-17 8:19:00.688 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:00.688 | 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; 
16-2-17 8:19:00.691 | 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; 
16-2-17 8:19:00.693 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:00.693 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:00.693 | 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; 
16-2-17 8:19:00.695 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:00.695 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:19:00.695 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.695 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@4b353c96) ...
16-2-17 8:19:00.695 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:00.696 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.696 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:00.696 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:00.696 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.696 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@31f02c07) ...
16-2-17 8:19:00.696 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:00.697 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:19:00.697 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7bd48778) ...
16-2-17 8:19:00.697 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@66484da3) ...
16-2-17 8:19:00.697 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233140581] ...
16-2-17 8:19:00.697 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233140581]
16-2-17 8:19:00.697 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233140581] ...
16-2-17 8:19:00.698 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:00.698 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:19:00.698 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@2ed27dd0) ...
16-2-17 8:19:00.698 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:00.698 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:00.700 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233140556
16-2-17 8:19:00.700 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-73812-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:00.700 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:00.700 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233140556], B=[]}
16-2-17 8:19:00.700 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:00.700 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233140556
16-2-17 8:19:00.701 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:19:00.701 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233140556
16-2-17 8:19:00.701 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:00.701 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:00.701 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:00.701 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:19:00.701 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233140556]
16-2-17 8:19:00.701 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:00.701 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233140556]
16-2-17 8:19:00.701 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:00.701 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:00.707 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233140556
16-2-17 8:19:00.707 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:00.708 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.708 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:00.708 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:00.708 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.710 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-73812-client-B/folder
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:00.710 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:00.710 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:00.710 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-73812-client-B/folder ...
16-2-17 8:19:00.710 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:00.711 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:00.711 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:19:00.711 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233140556, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.724 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233140581] ...
16-2-17 8:19:00.728 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233140581]
16-2-17 8:19:00.728 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:00.728 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:00.728 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@2b3e1ba2) ...
16-2-17 8:19:00.728 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:00.729 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-B' ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.729 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-B' ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.729 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:00.729 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:00.740 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.740 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:00.740 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
16-2-17 8:19:00.740 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.740 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@217ac378) ...
16-2-17 8:19:00.741 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.741 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:00.741 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
16-2-17 8:19:00.741 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.741 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:00.741 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@17a86759) ...
16-2-17 8:19:00.742 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-73812-client-B ...
16-2-17 8:19:00.743 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:00.743 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@237667d5) ...
16-2-17 8:19:00.743 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:00.744 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.744 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:00.744 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:00.744 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@2773c5a5) ...
16-2-17 8:19:00.744 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:00.744 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:00.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@30e27e42) ...
16-2-17 8:19:00.744 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:00.744 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1487233140729] ...
16-2-17 8:19:00.744 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1487233140729]
16-2-17 8:19:00.744 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1487233140729] ...
16-2-17 8:19:00.745 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.745 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:00.745 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:00.745 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:00.747 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.747 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.747 | Indexer         | AsyncI/syncany | FINE : Added database version with only deletions: DatabaseVersion [header=UnknownMachine/()/T=1487233140745, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.748 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:00.748 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
16-2-17 8:19:00.748 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:00.748 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1487233140748, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.749 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1487233140748 to file /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-B-0000000001 ... 
16-2-17 8:19:00.749 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:00.749 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:00.749 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:00.750 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-wXCZp-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
16-2-17 8:19:00.750 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:00.750 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:00.751 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/temp-transaction-2933539549074297575.tmp
16-2-17 8:19:00.752 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@5c7f0c4) ...
16-2-17 8:19:00.752 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-323703bb] ...
16-2-17 8:19:00.752 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:00.752 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@387a0d36) ...
16-2-17 8:19:00.752 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-73812-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-wXCZp-database-B-0000000001] ...
16-2-17 8:19:00.753 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-wXCZp-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:00.753 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-323703bb] ...
16-2-17 8:19:00.753 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:00.753 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:00.753 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1487233140748) ...
16-2-17 8:19:00.756 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:00.758 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:00.763 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1487233140748, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.763 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:00.763 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:00.763 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233140758, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:00.764 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:00.766 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1487233140729] ...
16-2-17 8:19:00.766 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1487233140729]
16-2-17 8:19:00.766 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:00.766 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:00.766 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@39282016) ...
16-2-17 8:19:00.766 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.766 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-A' ...
16-2-17 8:19:00.766 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.766 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.766 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.766 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.767 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-73812-client-A' ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.767 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:00.767 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:00.768 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.768 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:00.768 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
16-2-17 8:19:00.768 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.768 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@2fb5502a) ...
16-2-17 8:19:00.768 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:00.769 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.769 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:00.769 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:00.769 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.769 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@7e439676) ...
16-2-17 8:19:00.769 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:00.769 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
16-2-17 8:19:00.769 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:00.769 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@31673e85) ...
16-2-17 8:19:00.769 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@2e9ae425) ...
16-2-17 8:19:00.770 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1487233140767] ...
16-2-17 8:19:00.770 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1487233140767]
16-2-17 8:19:00.770 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1487233140767] ...
16-2-17 8:19:00.770 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:00.770 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-B-0000000001
16-2-17 8:19:00.770 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@40a02132) ...
16-2-17 8:19:00.771 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:00.771 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:00.773 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233140748
16-2-17 8:19:00.773 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-73812-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:00.773 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-73812-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:00.773 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:00.773 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233140556], B=[B/(A1,B1)/T=1487233140748]}
16-2-17 8:19:00.774 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:00.775 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233140556
16-2-17 8:19:00.775 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1487233140748
16-2-17 8:19:00.775 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
16-2-17 8:19:00.775 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233140556
16-2-17 8:19:00.775 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1487233140748
16-2-17 8:19:00.775 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:00.775 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:00.776 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:00.776 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1487233140556]
16-2-17 8:19:00.776 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233140556, B/(A1,B1)/T=1487233140748]
16-2-17 8:19:00.776 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:00.776 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1487233140748]
16-2-17 8:19:00.776 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:00.776 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-73812-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:00.778 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233140748
16-2-17 8:19:00.778 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:00.779 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.780 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:00.780 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:00.780 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.780 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.780 | FileVersionComp | Test worker    | INFO :      - [NEW]: Local file DIFFERS from file version, expected EXISTS = false, but actual EXISTS = true, for file folder
16-2-17 8:19:00.780 | FileSystemActio | Test worker    | INFO :      -> (10) Local file exists, but should not: local file = /tmp/syncanytest/syncany-170216081832804-73812-client-A/folder, local version = FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], winning version = FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.781 | FileSystemActio | Test worker    | INFO :      -> DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:00.781 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:00.782 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:00.782 | FileSystemActio | Test worker    | INFO :    + DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:00.782 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:00.782 | DownOperation   | Test worker    | FINE :    +  DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:00.782 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:00.782 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
16-2-17 8:19:00.782 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1487233140748, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:00.789 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1487233140767] ...
16-2-17 8:19:00.796 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1487233140767]
16-2-17 8:19:00.796 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:00.796 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:00.797 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@5b69288c) ...
16-2-17 8:19:00.797 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:00.806 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.807 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:19:00.824 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.824 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-51755-client-A' ...
16-2-17 8:19:00.824 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.825 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.825 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.825 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.825 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.825 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.825 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.825 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.825 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.826 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-51755-client-A' ...
16-2-17 8:19:00.826 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.826 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.826 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:00.826 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:00.826 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.826 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.826 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.826 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.826 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.827 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.827 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:00.827 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:00.839 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:00.840 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:00.850 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:00.853 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:00.853 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:00.859 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:00.859 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:00.859 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:00.859 | 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) ); 
16-2-17 8:19:00.862 | 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 ); 
16-2-17 8:19:00.864 | 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 ); 
16-2-17 8:19:00.867 | 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 ); 
16-2-17 8:19:00.869 | 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 ); 
16-2-17 8:19:00.871 | 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 ); 
16-2-17 8:19:00.873 | 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 ); 
16-2-17 8:19:00.875 | 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 ); 
16-2-17 8:19:00.877 | 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 ); 
16-2-17 8:19:00.880 | 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) ); 
16-2-17 8:19:00.882 | 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) ); 
16-2-17 8:19:00.884 | 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) ); 
16-2-17 8:19:00.886 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:00.886 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:00.887 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:00.889 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:00.891 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:00.893 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:00.895 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:00.897 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:00.899 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:00.899 | 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'; 
16-2-17 8:19:00.901 | 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'; 
16-2-17 8:19:00.904 | 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; 
16-2-17 8:19:00.906 | 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'; 
16-2-17 8:19:00.909 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:00.909 | 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; 
16-2-17 8:19:00.912 | 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; 
16-2-17 8:19:00.914 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:00.914 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:00.914 | 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; 
16-2-17 8:19:00.926 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:00.926 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:19:00.926 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.926 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@4e8f7ef8) ...
16-2-17 8:19:00.928 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.928 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:00.928 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:19:00.928 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.928 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:00.928 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@11ec6188) ...
16-2-17 8:19:00.929 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-51755-client-A ...
16-2-17 8:19:00.929 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:00.929 | StatusOperation | Test worker    | FINE : - New file: folder
16-2-17 8:19:00.929 | StatusOperation | Test worker    | FINE : - New file: folder/file
16-2-17 8:19:00.929 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@c9d5d97) ...
16-2-17 8:19:00.929 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:00.930 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.930 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:00.930 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:00.930 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:00.930 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@db120b2) ...
16-2-17 8:19:00.930 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:00.930 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@150455c5) ...
16-2-17 8:19:00.930 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:00.930 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233140827] ...
16-2-17 8:19:00.930 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233140827]
16-2-17 8:19:00.931 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233140827] ...
16-2-17 8:19:00.931 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:00.932 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:00.936 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:00.936 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@7578ef4a) ...
16-2-17 8:19:00.936 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:00.936 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-51755-client-A/folder
16-2-17 8:19:00.937 | Indexer         | AsyncI/syncany | FINE : - /File: folder (directory/symlink/0-byte-file)
16-2-17 8:19:00.938 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder, FOLDER)
16-2-17 8:19:00.938 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder
16-2-17 8:19:00.938 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:00.938 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:00.938 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@6b2cd19b) ...
16-2-17 8:19:00.939 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-51755-client-A/folder/file
16-2-17 8:19:00.939 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-51755-client-A/folder/file
16-2-17 8:19:00.942 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836
16-2-17 8:19:00.942 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05
16-2-17 8:19:00.943 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836 > dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05
16-2-17 8:19:00.943 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836 > /tmp/syncanytest/syncany-170216081832804-51755-client-A/folder/file
16-2-17 8:19:00.943 | Indexer         | AsyncI/syncany | FINE : - /File: folder/file (checksum 390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836)
16-2-17 8:19:00.944 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder/file, checksum: 390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836)
16-2-17 8:19:00.944 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder/file
16-2-17 8:19:00.944 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:00.945 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:00.945 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05
16-2-17 8:19:00.945 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@242d4975) ...
16-2-17 8:19:00.945 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233140936, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:00.946 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:00.946 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:19:00.946 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:00.947 | UpOperation     | Test worker    | INFO : - Uploading multichunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 from /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 to RemoteFile[name=multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05] ...
16-2-17 8:19:00.947 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 -> Temp. remote file: RemoteFile[name=temp-kqoNe-multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05], final location: RemoteFile[name=multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05]
16-2-17 8:19:00.947 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233140946, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:00.947 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233140946 to file /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:19:00.947 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:00.948 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:00.948 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:00.948 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-ydsrs-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:19:00.948 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:00.948 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:00.950 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/temp-transaction-9135353615575710191.tmp
16-2-17 8:19:00.950 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@67887252) ...
16-2-17 8:19:00.950 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-3027bcb9] ...
16-2-17 8:19:00.951 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:00.951 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@6e900b21) ...
16-2-17 8:19:00.951 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 to temp. file RemoteFile[name=temp-kqoNe-multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05] ...
16-2-17 8:19:00.951 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@660fe675) ...
16-2-17 8:19:00.952 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-51755-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-ydsrs-database-A-0000000001] ...
16-2-17 8:19:00.952 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-kqoNe-multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05] to final location RemoteFile[name=multichunk-dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05] ...
16-2-17 8:19:00.952 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-ydsrs-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:00.952 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-3027bcb9] ...
16-2-17 8:19:00.953 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:00.953 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:00.953 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233140946) ...
16-2-17 8:19:00.954 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@62799c6c) ...
16-2-17 8:19:00.956 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:00.959 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:00.962 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233140946, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:00.962 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:00.962 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:00.962 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233140959, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:00.962 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:00.963 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233140827] ...
16-2-17 8:19:00.964 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233140827]
16-2-17 8:19:00.964 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:00.964 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:00.964 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@25cf6bd1) ...
16-2-17 8:19:00.964 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-51755-client-B' ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.965 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-51755-client-B' ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:00.965 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:00.965 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:00.980 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:00.980 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:00.986 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:00.988 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:00.988 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:00.993 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:00.993 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:00.993 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:00.993 | 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) ); 
16-2-17 8:19:00.996 | 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 ); 
16-2-17 8:19:00.998 | 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 ); 
16-2-17 8:19:01.000 | 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 ); 
16-2-17 8:19:01.002 | 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 ); 
16-2-17 8:19:01.004 | 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 ); 
16-2-17 8:19:01.006 | 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 ); 
16-2-17 8:19:01.008 | 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 ); 
16-2-17 8:19:01.010 | 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 ); 
16-2-17 8:19:01.012 | 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) ); 
16-2-17 8:19:01.014 | 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) ); 
16-2-17 8:19:01.016 | 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) ); 
16-2-17 8:19:01.018 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:01.018 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:01.018 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:01.021 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:01.022 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:01.024 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:01.026 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:01.028 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:01.030 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:01.030 | 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'; 
16-2-17 8:19:01.033 | 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'; 
16-2-17 8:19:01.035 | 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; 
16-2-17 8:19:01.037 | 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'; 
16-2-17 8:19:01.040 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:01.040 | 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; 
16-2-17 8:19:01.042 | 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; 
16-2-17 8:19:01.044 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:01.044 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:01.044 | 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; 
16-2-17 8:19:01.047 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:01.047 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:19:01.047 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.047 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@7d8104d7) ...
16-2-17 8:19:01.047 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:01.048 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.048 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:01.048 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:01.048 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.048 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@7cb64281) ...
16-2-17 8:19:01.048 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:01.048 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:19:01.048 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6a0e5f35) ...
16-2-17 8:19:01.048 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@37313874) ...
16-2-17 8:19:01.048 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233140965] ...
16-2-17 8:19:01.048 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233140965]
16-2-17 8:19:01.048 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233140965] ...
16-2-17 8:19:01.049 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:01.049 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-51755-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:19:01.049 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@1c2ed7e2) ...
16-2-17 8:19:01.049 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:01.049 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-51755-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:01.050 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233140946
16-2-17 8:19:01.051 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-51755-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:01.051 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233140946], B=[]}
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:01.051 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233140946
16-2-17 8:19:01.051 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:19:01.051 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233140946
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:01.051 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:01.051 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:19:01.051 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233140946]
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233140946]
16-2-17 8:19:01.051 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:01.051 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-51755-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:01.052 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233140946
16-2-17 8:19:01.052 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:01.053 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.053 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:01.053 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:01.053 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:01.053 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.054 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder
16-2-17 8:19:01.054 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-51755-client-B/folder
16-2-17 8:19:01.054 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.054 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:01.054 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.054 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder/file
16-2-17 8:19:01.054 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-51755-client-B/folder/file
16-2-17 8:19:01.054 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.054 | DownOperation   | Test worker    | INFO :   + Adding multichunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 to download list ...
16-2-17 8:19:01.055 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:01.055 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@1d137735) ...
16-2-17 8:19:01.055 | Downloader      | Test worker    | INFO :   + Downloading multichunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 ...
16-2-17 8:19:01.055 | Downloader      | Test worker    | INFO :   + Decrypting multichunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 ...
16-2-17 8:19:01.055 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk dc3910f4b1efdc540ab8cfa77a1a0b5c65c91b05 ...
16-2-17 8:19:01.057 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:01.064 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.064 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.064 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:01.064 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.064 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:01.064 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-51755-client-B/folder ...
16-2-17 8:19:01.064 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:01.064 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:00 UTC 2017, linkTarget=null, checksum=390e9ed4e8fe473d7d1b29a0ae2c63b9eda67836, updated=Thu Feb 16 08:19:00 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.065 | Assembler       | Test worker    | INFO :      - Creating file folder/file to /tmp/syncanytest/syncany-170216081832804-51755-client-B/.syncany/cache/temp-reconstructedFileVersion-941351156327395600.tmp ...
16-2-17 8:19:01.066 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:01.066 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:01.066 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:19:01.066 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233140946, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:01.497 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233140965] ...
16-2-17 8:19:01.497 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233140965]
16-2-17 8:19:01.497 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:01.497 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:01.497 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@6a81a563) ...
16-2-17 8:19:01.497 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:01.500 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-51755-client-A/folder/file, but actual PATH = tmp/syncanytest/syncany-170216081832804-51755-client-B/folder/file, for file tmp/syncanytest/syncany-170216081832804-51755-client-B/folder/file
16-2-17 8:19:01.507 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-51755-client-A/folder/file, but actual PATH = tmp/syncanytest/syncany-170216081832804-51755-client-B/folder/file, for file tmp/syncanytest/syncany-170216081832804-51755-client-B/folder/file
16-2-17 8:19:01.524 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.524 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:19:01.548 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.550 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-A' ...
16-2-17 8:19:01.550 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.550 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.550 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.550 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.552 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.552 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.552 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.552 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.552 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.552 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-A' ...
16-2-17 8:19:01.552 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.552 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.552 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:01.552 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:01.552 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.552 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.553 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.553 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.553 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.553 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.553 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:01.553 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:01.583 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:01.583 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:01.588 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:01.591 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:01.592 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:01.599 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:01.599 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:01.599 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:01.599 | 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) ); 
16-2-17 8:19:01.604 | 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 ); 
16-2-17 8:19:01.605 | 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 ); 
16-2-17 8:19:01.607 | 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 ); 
16-2-17 8:19:01.609 | 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 ); 
16-2-17 8:19:01.612 | 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 ); 
16-2-17 8:19:01.614 | 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 ); 
16-2-17 8:19:01.617 | 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 ); 
16-2-17 8:19:01.623 | 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 ); 
16-2-17 8:19:01.625 | 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) ); 
16-2-17 8:19:01.627 | 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) ); 
16-2-17 8:19:01.630 | 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) ); 
16-2-17 8:19:01.632 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:01.632 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:01.633 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:01.635 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:01.637 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:01.639 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:01.641 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:01.642 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:01.644 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:01.644 | 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'; 
16-2-17 8:19:01.647 | 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'; 
16-2-17 8:19:01.649 | 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; 
16-2-17 8:19:01.651 | 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'; 
16-2-17 8:19:01.655 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:01.655 | 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; 
16-2-17 8:19:01.658 | 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; 
16-2-17 8:19:01.660 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:01.660 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:01.661 | 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; 
16-2-17 8:19:01.663 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:01.663 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:19:01.664 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.664 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@30c2011d) ...
16-2-17 8:19:01.665 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.666 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:01.666 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:19:01.666 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.666 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:01.666 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@226bb965) ...
16-2-17 8:19:01.667 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-53507-client-A ...
16-2-17 8:19:01.667 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:01.667 | StatusOperation | Test worker    | FINE : - New file: folder
16-2-17 8:19:01.668 | StatusOperation | Test worker    | FINE : - New file: folder/file
16-2-17 8:19:01.668 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@7639691d) ...
16-2-17 8:19:01.668 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:01.669 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.669 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:01.669 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:01.670 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.670 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@14e11e08) ...
16-2-17 8:19:01.670 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:01.670 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@8bb2be3) ...
16-2-17 8:19:01.670 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:01.670 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233141553] ...
16-2-17 8:19:01.670 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233141553]
16-2-17 8:19:01.671 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233141553] ...
16-2-17 8:19:01.672 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.672 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:01.672 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:01.672 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@444c7b3a) ...
16-2-17 8:19:01.672 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:01.673 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder
16-2-17 8:19:01.673 | Indexer         | AsyncI/syncany | FINE : - /File: folder (directory/symlink/0-byte-file)
16-2-17 8:19:01.674 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder, FOLDER)
16-2-17 8:19:01.674 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder
16-2-17 8:19:01.674 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.674 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:01.674 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@4f2bf20d) ...
16-2-17 8:19:01.675 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder/file
16-2-17 8:19:01.675 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder/file
16-2-17 8:19:01.676 | Indexer         | AsyncI/syncany | FINE : - Chunk new: b42ad34eb1b09937c3a4107b82a93c340e111b78
16-2-17 8:19:01.676 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 37b41976bf8370822b2695529f20a0ecec27a038
16-2-17 8:19:01.677 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: b42ad34eb1b09937c3a4107b82a93c340e111b78 > 37b41976bf8370822b2695529f20a0ecec27a038
16-2-17 8:19:01.677 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: b42ad34eb1b09937c3a4107b82a93c340e111b78 > /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder/file
16-2-17 8:19:01.677 | Indexer         | AsyncI/syncany | FINE : - /File: folder/file (checksum b42ad34eb1b09937c3a4107b82a93c340e111b78)
16-2-17 8:19:01.678 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder/file, checksum: b42ad34eb1b09937c3a4107b82a93c340e111b78)
16-2-17 8:19:01.678 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder/file
16-2-17 8:19:01.679 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.679 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:01.679 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 37b41976bf8370822b2695529f20a0ecec27a038
16-2-17 8:19:01.679 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@b6e5a1d) ...
16-2-17 8:19:01.679 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233141672, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:01.680 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:01.680 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:19:01.680 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:01.681 | UpOperation     | Test worker    | INFO : - Uploading multichunk 37b41976bf8370822b2695529f20a0ecec27a038 from /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/multichunk-37b41976bf8370822b2695529f20a0ecec27a038 to RemoteFile[name=multichunk-37b41976bf8370822b2695529f20a0ecec27a038] ...
16-2-17 8:19:01.681 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/multichunk-37b41976bf8370822b2695529f20a0ecec27a038 -> Temp. remote file: RemoteFile[name=temp-OElcK-multichunk-37b41976bf8370822b2695529f20a0ecec27a038], final location: RemoteFile[name=multichunk-37b41976bf8370822b2695529f20a0ecec27a038]
16-2-17 8:19:01.681 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233141680, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:01.681 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233141680 to file /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:19:01.681 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:01.682 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:01.682 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:01.682 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-CjHgP-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:19:01.682 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:01.682 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:01.686 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/temp-transaction-7263549846215438832.tmp
16-2-17 8:19:01.689 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@7d61755f) ...
16-2-17 8:19:01.689 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-778826b6] ...
16-2-17 8:19:01.689 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:01.689 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@72c582b0) ...
16-2-17 8:19:01.689 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/multichunk-37b41976bf8370822b2695529f20a0ecec27a038 to temp. file RemoteFile[name=temp-OElcK-multichunk-37b41976bf8370822b2695529f20a0ecec27a038] ...
16-2-17 8:19:01.690 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@359be840) ...
16-2-17 8:19:01.690 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-CjHgP-database-A-0000000001] ...
16-2-17 8:19:01.690 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-OElcK-multichunk-37b41976bf8370822b2695529f20a0ecec27a038] to final location RemoteFile[name=multichunk-37b41976bf8370822b2695529f20a0ecec27a038] ...
16-2-17 8:19:01.691 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-CjHgP-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:01.691 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-778826b6] ...
16-2-17 8:19:01.691 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:01.691 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:01.691 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233141680) ...
16-2-17 8:19:01.692 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@560d7001) ...
16-2-17 8:19:01.698 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:01.707 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:01.710 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233141680, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:01.710 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:01.710 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:01.710 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233141707, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:01.710 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:01.712 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233141553] ...
16-2-17 8:19:01.712 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233141553]
16-2-17 8:19:01.712 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:01.713 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:01.713 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@490e908f) ...
16-2-17 8:19:01.713 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-B' ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.713 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-B' ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.713 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.714 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.714 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:01.714 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:01.726 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:01.727 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:01.735 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:01.742 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:01.743 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:01.749 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:01.749 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:01.749 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:01.749 | 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) ); 
16-2-17 8:19:01.752 | 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 ); 
16-2-17 8:19:01.755 | 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 ); 
16-2-17 8:19:01.757 | 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 ); 
16-2-17 8:19:01.759 | 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 ); 
16-2-17 8:19:01.761 | 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 ); 
16-2-17 8:19:01.764 | 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 ); 
16-2-17 8:19:01.766 | 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 ); 
16-2-17 8:19:01.769 | 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 ); 
16-2-17 8:19:01.772 | 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) ); 
16-2-17 8:19:01.774 | 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) ); 
16-2-17 8:19:01.776 | 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) ); 
16-2-17 8:19:01.778 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:01.778 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:01.779 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:01.782 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:01.784 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:01.786 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:01.788 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:01.791 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:01.793 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:01.793 | 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'; 
16-2-17 8:19:01.795 | 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'; 
16-2-17 8:19:01.798 | 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; 
16-2-17 8:19:01.801 | 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'; 
16-2-17 8:19:01.804 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:01.804 | 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; 
16-2-17 8:19:01.807 | 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; 
16-2-17 8:19:01.811 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:01.811 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:01.811 | 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; 
16-2-17 8:19:01.814 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:01.814 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:19:01.814 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.814 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@6efaebdf) ...
16-2-17 8:19:01.815 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:01.816 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.816 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:01.816 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:01.816 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.816 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@703d58c8) ...
16-2-17 8:19:01.816 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:01.817 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:19:01.817 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@3658ab0b) ...
16-2-17 8:19:01.817 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@5b9a3d8b) ...
16-2-17 8:19:01.817 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233141714] ...
16-2-17 8:19:01.817 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233141714]
16-2-17 8:19:01.818 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233141714] ...
16-2-17 8:19:01.818 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:01.818 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:19:01.818 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@1503ebeb) ...
16-2-17 8:19:01.819 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:01.819 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:01.828 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233141680
16-2-17 8:19:01.828 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-53507-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:01.829 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:01.829 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233141680], B=[]}
16-2-17 8:19:01.829 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:01.829 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233141680
16-2-17 8:19:01.829 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:19:01.829 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233141680
16-2-17 8:19:01.829 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:01.829 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:01.830 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:01.830 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:19:01.830 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233141680]
16-2-17 8:19:01.830 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:01.830 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233141680]
16-2-17 8:19:01.830 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:01.830 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:01.832 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233141680
16-2-17 8:19:01.832 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:01.833 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.834 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder/file
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-53507-client-B/folder/file
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.834 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:01.835 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.835 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder
16-2-17 8:19:01.835 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-53507-client-B/folder
16-2-17 8:19:01.835 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.836 | DownOperation   | Test worker    | INFO :   + Adding multichunk 37b41976bf8370822b2695529f20a0ecec27a038 to download list ...
16-2-17 8:19:01.836 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:01.836 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@51ee873c) ...
16-2-17 8:19:01.836 | Downloader      | Test worker    | INFO :   + Downloading multichunk 37b41976bf8370822b2695529f20a0ecec27a038 ...
16-2-17 8:19:01.837 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 37b41976bf8370822b2695529f20a0ecec27a038 ...
16-2-17 8:19:01.837 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 37b41976bf8370822b2695529f20a0ecec27a038 ...
16-2-17 8:19:01.838 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:01.838 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.838 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.838 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:01.838 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.839 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:01.839 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-53507-client-B/folder ...
16-2-17 8:19:01.839 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:01.839 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.839 | Assembler       | Test worker    | INFO :      - Creating file folder/file to /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/temp-reconstructedFileVersion-1299504633895234963.tmp ...
16-2-17 8:19:01.841 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:01.841 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:01.841 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:19:01.841 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233141680, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
16-2-17 8:19:01.849 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233141714] ...
16-2-17 8:19:01.849 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233141714]
16-2-17 8:19:01.849 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:01.849 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:01.849 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@41bc8978) ...
16-2-17 8:19:01.849 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:01.850 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-B' ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.850 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-B' ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.850 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.850 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:01.851 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:01.852 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.852 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:01.852 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
16-2-17 8:19:01.852 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.852 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@3789d230) ...
16-2-17 8:19:01.853 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.853 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:01.853 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
16-2-17 8:19:01.853 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.853 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:01.853 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@321fb28) ...
16-2-17 8:19:01.853 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-53507-client-B ...
16-2-17 8:19:01.854 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:01.854 | StatusOperation | Test worker    | FINE : - New file: moved
16-2-17 8:19:01.854 | StatusOperation | Test worker    | FINE : - New file: moved/file
16-2-17 8:19:01.854 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@57cb841e) ...
16-2-17 8:19:01.854 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:01.855 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.855 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:01.855 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:01.855 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.855 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@6cb52421) ...
16-2-17 8:19:01.855 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:01.855 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:01.855 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@30fc5890) ...
16-2-17 8:19:01.856 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:01.856 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1487233141851] ...
16-2-17 8:19:01.856 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1487233141851]
16-2-17 8:19:01.856 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1487233141851] ...
16-2-17 8:19:01.857 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.857 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:01.857 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:01.857 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@10197477) ...
16-2-17 8:19:01.858 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:01.859 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.859 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.860 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder/file, type=FILE, status=DELETED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.860 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.860 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-53507-client-B/moved
16-2-17 8:19:01.860 | Indexer         | AsyncI/syncany | FINE : - /File: moved (directory/symlink/0-byte-file)
16-2-17 8:19:01.861 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: moved, FOLDER)
16-2-17 8:19:01.861 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file moved
16-2-17 8:19:01.861 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.861 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:01.861 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file
16-2-17 8:19:01.861 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file
16-2-17 8:19:01.862 | Indexer         | AsyncI/syncany | FINE : - Chunk exists: b42ad34eb1b09937c3a4107b82a93c340e111b78
16-2-17 8:19:01.862 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: b42ad34eb1b09937c3a4107b82a93c340e111b78 > /tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file
16-2-17 8:19:01.862 | Indexer         | AsyncI/syncany | FINE : - /File: moved/file (checksum b42ad34eb1b09937c3a4107b82a93c340e111b78)
16-2-17 8:19:01.863 | Indexer         | AsyncI/syncany | FINE :    * Found old file history eaed6fba3e5fe321129daa0badc7704534aac5f5 (by checksum: b42ad34eb1b09937c3a4107b82a93c340e111b78), appending new version.
16-2-17 8:19:01.864 | FileVersionComp | AsyncI/syncany | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = moved/file, but actual PATH = folder/file, for file folder/file
16-2-17 8:19:01.864 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.864 | Indexer         | AsyncI/syncany | INFO :      based on file version: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.864 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@d73138f) ...
16-2-17 8:19:01.864 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233141857, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
16-2-17 8:19:01.864 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@17e6ac4) ...
16-2-17 8:19:01.865 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:01.865 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
16-2-17 8:19:01.866 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:01.866 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1487233141866, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
16-2-17 8:19:01.867 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1487233141866 to file /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-B-0000000001 ... 
16-2-17 8:19:01.867 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:01.868 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:01.868 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:01.868 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-PtwCS-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
16-2-17 8:19:01.869 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:01.869 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:01.870 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/temp-transaction-4444107342306603274.tmp
16-2-17 8:19:01.870 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@656be661) ...
16-2-17 8:19:01.870 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-532ad1b6] ...
16-2-17 8:19:01.871 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:01.871 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@64996584) ...
16-2-17 8:19:01.871 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-53507-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-PtwCS-database-B-0000000001] ...
16-2-17 8:19:01.871 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-PtwCS-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:01.871 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-532ad1b6] ...
16-2-17 8:19:01.871 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:01.871 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:01.871 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1487233141866) ...
16-2-17 8:19:01.873 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:01.873 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:01.879 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1487233141866, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
16-2-17 8:19:01.879 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:01.879 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:01.879 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233141874, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:01.879 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:01.881 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1487233141851] ...
16-2-17 8:19:01.882 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1487233141851]
16-2-17 8:19:01.882 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:01.882 | Cache           | Test worker    | INFO : Cache size okay (53 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:01.882 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@266ca048) ...
16-2-17 8:19:01.882 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.882 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-A' ...
16-2-17 8:19:01.882 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.882 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.882 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.882 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.883 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-53507-client-A' ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.883 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:01.883 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:01.884 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.884 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:01.884 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
16-2-17 8:19:01.884 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.884 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@46263a78) ...
16-2-17 8:19:01.884 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:01.885 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.885 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:01.885 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:01.885 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:01.885 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@7fe7f5ed) ...
16-2-17 8:19:01.885 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:01.885 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
16-2-17 8:19:01.885 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:01.885 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@5f0a75aa) ...
16-2-17 8:19:01.886 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@30494e1b) ...
16-2-17 8:19:01.886 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1487233141883] ...
16-2-17 8:19:01.886 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1487233141883]
16-2-17 8:19:01.886 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1487233141883] ...
16-2-17 8:19:01.886 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:01.886 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-B-0000000001
16-2-17 8:19:01.886 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@1770d480) ...
16-2-17 8:19:01.887 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:01.887 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:01.889 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233141866
16-2-17 8:19:01.889 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-53507-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:01.889 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-53507-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:01.890 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:01.890 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233141680], B=[B/(A1,B1)/T=1487233141866]}
16-2-17 8:19:01.890 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:01.890 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233141680
16-2-17 8:19:01.890 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1487233141866
16-2-17 8:19:01.890 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
16-2-17 8:19:01.890 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233141680
16-2-17 8:19:01.891 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1487233141866
16-2-17 8:19:01.891 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:01.891 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:01.891 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:01.891 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1487233141680]
16-2-17 8:19:01.891 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233141680, B/(A1,B1)/T=1487233141866]
16-2-17 8:19:01.891 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:01.891 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1487233141866]
16-2-17 8:19:01.891 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:01.891 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-53507-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:01.893 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233141866
16-2-17 8:19:01.893 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:01.894 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.895 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file moved
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-53507-client-A/moved
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.895 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.896 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = moved/file, but actual PATH = folder/file, for file folder/file
16-2-17 8:19:01.896 | FileSystemActio | Test worker    | INFO :      -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder/file, local version = FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:01.896 | FileSystemActio | Test worker    | INFO :      -> RenameFileSystemAction [file1=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.896 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.897 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.897 | FileVersionComp | Test worker    | INFO :      - [NEW]: Local file DIFFERS from file version, expected EXISTS = false, but actual EXISTS = true, for file folder
16-2-17 8:19:01.897 | FileSystemActio | Test worker    | INFO :      -> (10) Local file exists, but should not: local file = /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder, local version = FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], winning version = FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:01.897 | FileSystemActio | Test worker    | INFO :      -> DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.897 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:01.897 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:01.897 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.898 | FileSystemActio | Test worker    | INFO :    + RenameFileSystemAction [file1=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.898 | FileSystemActio | Test worker    | INFO :    + DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.898 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:01.898 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.898 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:01.898 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-53507-client-A/moved ...
16-2-17 8:19:01.898 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:01.899 | DownOperation   | Test worker    | FINE :    +  RenameFileSystemAction [file1=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=b42ad34eb1b09937c3a4107b82a93c340e111b78, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:01.899 | FileSystemActio | Test worker    | INFO :      - (1) Renaming file /tmp/syncanytest/syncany-170216081832804-53507-client-A/folder/file to /tmp/syncanytest/syncany-170216081832804-53507-client-A/moved/file ...
16-2-17 8:19:01.899 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:01.900 | DownOperation   | Test worker    | FINE :    +  DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:01 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:01.900 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:01.900 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
16-2-17 8:19:01.900 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1487233141866, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
16-2-17 8:19:01.908 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1487233141883] ...
16-2-17 8:19:01.908 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1487233141883]
16-2-17 8:19:01.908 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:01.908 | Cache           | Test worker    | INFO : Cache size okay (53 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:01.908 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@31c84cab) ...
16-2-17 8:19:01.908 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:01.910 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-53507-client-A/moved/file, but actual PATH = tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file, for file tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file
16-2-17 8:19:01.915 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-53507-client-A/moved/file, but actual PATH = tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file, for file tmp/syncanytest/syncany-170216081832804-53507-client-B/moved/file
16-2-17 8:19:01.919 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.919 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:19:01.927 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.928 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-A' ...
16-2-17 8:19:01.928 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.928 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.928 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.928 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.928 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.928 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.928 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.928 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.928 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-A' ...
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:01.929 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:01.929 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:01.929 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:01.929 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:01.929 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:01.929 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:01.929 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:01.946 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:01.948 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:01.962 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:01.968 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:01.968 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:01.973 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:01.973 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:01.974 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:01.974 | 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) ); 
16-2-17 8:19:01.976 | 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 ); 
16-2-17 8:19:01.978 | 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 ); 
16-2-17 8:19:01.980 | 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 ); 
16-2-17 8:19:01.982 | 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 ); 
16-2-17 8:19:01.985 | 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 ); 
16-2-17 8:19:01.987 | 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 ); 
16-2-17 8:19:01.989 | 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 ); 
16-2-17 8:19:01.991 | 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 ); 
16-2-17 8:19:01.993 | 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) ); 
16-2-17 8:19:01.995 | 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) ); 
16-2-17 8:19:01.997 | 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) ); 
16-2-17 8:19:01.999 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:01.999 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:01.999 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:02.002 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:02.004 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:02.006 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:02.008 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:02.010 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:02.012 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:02.012 | 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'; 
16-2-17 8:19:02.015 | 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'; 
16-2-17 8:19:02.017 | 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; 
16-2-17 8:19:02.019 | 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'; 
16-2-17 8:19:02.022 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:02.022 | 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; 
16-2-17 8:19:02.024 | 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; 
16-2-17 8:19:02.026 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:02.026 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:02.026 | 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; 
16-2-17 8:19:02.030 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:02.030 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:19:02.030 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.030 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@dbffbc5) ...
16-2-17 8:19:02.031 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.031 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:02.031 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:19:02.031 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.031 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:02.031 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@26930c25) ...
16-2-17 8:19:02.032 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-77957-client-A ...
16-2-17 8:19:02.032 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:02.032 | StatusOperation | Test worker    | FINE : - New file: folder
16-2-17 8:19:02.033 | StatusOperation | Test worker    | FINE : - New file: folder/file
16-2-17 8:19:02.033 | StatusOperation | Test worker    | FINE : - New file: folder/folder2
16-2-17 8:19:02.033 | StatusOperation | Test worker    | FINE : - New file: folder/folder2/file2
16-2-17 8:19:02.033 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@69b10522) ...
16-2-17 8:19:02.033 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.034 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.034 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.034 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:02.034 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.034 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@55ca8865) ...
16-2-17 8:19:02.035 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.035 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@75db31aa) ...
16-2-17 8:19:02.035 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:02.035 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233141929] ...
16-2-17 8:19:02.035 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233141929]
16-2-17 8:19:02.035 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233141929] ...
16-2-17 8:19:02.036 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.043 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:02.044 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:02.044 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@60f05a99) ...
16-2-17 8:19:02.045 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:02.046 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder
16-2-17 8:19:02.046 | Indexer         | AsyncI/syncany | FINE : - /File: folder (directory/symlink/0-byte-file)
16-2-17 8:19:02.050 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder, FOLDER)
16-2-17 8:19:02.050 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder
16-2-17 8:19:02.050 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.051 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.051 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@2ec7ff01) ...
16-2-17 8:19:02.051 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/file
16-2-17 8:19:02.052 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/file
16-2-17 8:19:02.054 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 465972359b65fcdc64b4be6b72f37cec6a9b2f86
16-2-17 8:19:02.054 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46
16-2-17 8:19:02.055 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 465972359b65fcdc64b4be6b72f37cec6a9b2f86 > 543d82d97074beb72f33995b0d4e4d0c7b5b4e46
16-2-17 8:19:02.055 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 465972359b65fcdc64b4be6b72f37cec6a9b2f86 > /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/file
16-2-17 8:19:02.055 | Indexer         | AsyncI/syncany | FINE : - /File: folder/file (checksum 465972359b65fcdc64b4be6b72f37cec6a9b2f86)
16-2-17 8:19:02.056 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder/file, checksum: 465972359b65fcdc64b4be6b72f37cec6a9b2f86)
16-2-17 8:19:02.056 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder/file
16-2-17 8:19:02.057 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.058 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.058 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2
16-2-17 8:19:02.058 | Indexer         | AsyncI/syncany | FINE : - /File: folder/folder2 (directory/symlink/0-byte-file)
16-2-17 8:19:02.059 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder/folder2, FOLDER)
16-2-17 8:19:02.059 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder/folder2
16-2-17 8:19:02.059 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.059 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.059 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2/file2
16-2-17 8:19:02.059 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2/file2
16-2-17 8:19:02.062 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 29db204067865dbbd2221afae8274ef4965de970
16-2-17 8:19:02.063 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 29db204067865dbbd2221afae8274ef4965de970 > 543d82d97074beb72f33995b0d4e4d0c7b5b4e46
16-2-17 8:19:02.063 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 29db204067865dbbd2221afae8274ef4965de970 > /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2/file2
16-2-17 8:19:02.063 | Indexer         | AsyncI/syncany | FINE : - /File: folder/folder2/file2 (checksum 29db204067865dbbd2221afae8274ef4965de970)
16-2-17 8:19:02.064 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder/folder2/file2, checksum: 29db204067865dbbd2221afae8274ef4965de970)
16-2-17 8:19:02.065 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder/folder2/file2
16-2-17 8:19:02.065 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.065 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.065 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46
16-2-17 8:19:02.066 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@377d006) ...
16-2-17 8:19:02.066 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142044, chunks=2, multiChunks=1, fileContents=2, fileHistories=4]
16-2-17 8:19:02.066 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:02.066 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:19:02.067 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:02.067 | UpOperation     | Test worker    | INFO : - Uploading multichunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46 from /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46 to RemoteFile[name=multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46] ...
16-2-17 8:19:02.067 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46 -> Temp. remote file: RemoteFile[name=temp-oxLkM-multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46], final location: RemoteFile[name=multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46]
16-2-17 8:19:02.067 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233142067, chunks=2, multiChunks=1, fileContents=2, fileHistories=4]
16-2-17 8:19:02.067 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233142067 to file /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:19:02.068 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:02.068 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:02.068 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:02.069 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-wdpzn-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:19:02.069 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:02.069 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:02.071 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/temp-transaction-5389411087961441016.tmp
16-2-17 8:19:02.071 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@3f7635db) ...
16-2-17 8:19:02.071 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-a69beb8] ...
16-2-17 8:19:02.072 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:02.072 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@61052ac6) ...
16-2-17 8:19:02.072 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46 to temp. file RemoteFile[name=temp-oxLkM-multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46] ...
16-2-17 8:19:02.072 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@160b3aeb) ...
16-2-17 8:19:02.072 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-wdpzn-database-A-0000000001] ...
16-2-17 8:19:02.073 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-oxLkM-multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46] to final location RemoteFile[name=multichunk-543d82d97074beb72f33995b0d4e4d0c7b5b4e46] ...
16-2-17 8:19:02.073 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-wdpzn-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:02.073 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-a69beb8] ...
16-2-17 8:19:02.073 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:02.073 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:02.073 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233142067) ...
16-2-17 8:19:02.077 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@20bb09df) ...
16-2-17 8:19:02.085 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:02.090 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:02.097 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233142067, chunks=2, multiChunks=1, fileContents=2, fileHistories=4]
16-2-17 8:19:02.097 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:02.098 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:02.098 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142085, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:02.098 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:02.100 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233141929] ...
16-2-17 8:19:02.100 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233141929]
16-2-17 8:19:02.100 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.100 | Cache           | Test worker    | INFO : Cache size okay (102 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.100 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@1c54e12c) ...
16-2-17 8:19:02.101 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-B' ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.101 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-B' ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.101 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.101 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.136 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:02.136 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:02.175 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:02.179 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:02.179 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:02.185 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:02.185 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:02.185 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:02.186 | 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) ); 
16-2-17 8:19:02.188 | 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 ); 
16-2-17 8:19:02.191 | 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 ); 
16-2-17 8:19:02.193 | 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 ); 
16-2-17 8:19:02.195 | 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 ); 
16-2-17 8:19:02.197 | 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 ); 
16-2-17 8:19:02.200 | 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 ); 
16-2-17 8:19:02.203 | 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 ); 
16-2-17 8:19:02.205 | 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 ); 
16-2-17 8:19:02.208 | 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) ); 
16-2-17 8:19:02.213 | 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) ); 
16-2-17 8:19:02.215 | 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) ); 
16-2-17 8:19:02.217 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:02.217 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:02.218 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:02.220 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:02.222 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:02.224 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:02.226 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:02.228 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:02.230 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:02.230 | 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'; 
16-2-17 8:19:02.232 | 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'; 
16-2-17 8:19:02.235 | 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; 
16-2-17 8:19:02.237 | 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'; 
16-2-17 8:19:02.240 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:02.240 | 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; 
16-2-17 8:19:02.244 | 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; 
16-2-17 8:19:02.247 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:02.247 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:02.247 | 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; 
16-2-17 8:19:02.249 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:02.249 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:19:02.249 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.249 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@6cd5b656) ...
16-2-17 8:19:02.249 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.252 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.252 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.252 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:02.252 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.252 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@1fb95e0e) ...
16-2-17 8:19:02.253 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.253 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:19:02.253 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@4a18b7ea) ...
16-2-17 8:19:02.253 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@3e102455) ...
16-2-17 8:19:02.253 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233142101] ...
16-2-17 8:19:02.253 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233142101]
16-2-17 8:19:02.254 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233142101] ...
16-2-17 8:19:02.256 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:02.256 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:19:02.256 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@19d9b477) ...
16-2-17 8:19:02.256 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:02.256 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:02.269 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233142067
16-2-17 8:19:02.270 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-77957-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:02.270 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233142067], B=[]}
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:02.270 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233142067
16-2-17 8:19:02.270 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:19:02.270 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233142067
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:02.270 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:02.270 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:19:02.270 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233142067]
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233142067]
16-2-17 8:19:02.270 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:02.270 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:02.276 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233142067
16-2-17 8:19:02.276 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:02.277 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.278 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:02.278 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:02.278 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.279 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.279 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder/folder2
16-2-17 8:19:02.279 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-77957-client-B/folder/folder2
16-2-17 8:19:02.279 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.279 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.279 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.280 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder/file
16-2-17 8:19:02.280 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-77957-client-B/folder/file
16-2-17 8:19:02.280 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.280 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.280 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.280 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder
16-2-17 8:19:02.284 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-77957-client-B/folder
16-2-17 8:19:02.284 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.284 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.284 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.285 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder/folder2/file2
16-2-17 8:19:02.285 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-77957-client-B/folder/folder2/file2
16-2-17 8:19:02.285 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.286 | DownOperation   | Test worker    | INFO :   + Adding multichunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46 to download list ...
16-2-17 8:19:02.286 | DownOperation   | Test worker    | INFO :   + Adding multichunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46 to download list ...
16-2-17 8:19:02.286 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:02.287 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@190bc6ba) ...
16-2-17 8:19:02.287 | Downloader      | Test worker    | INFO :   + Downloading multichunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46 ...
16-2-17 8:19:02.287 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46 ...
16-2-17 8:19:02.288 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 543d82d97074beb72f33995b0d4e4d0c7b5b4e46 ...
16-2-17 8:19:02.292 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:02.293 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.293 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.293 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.293 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.293 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:02.293 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.293 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:02.293 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-77957-client-B/folder ...
16-2-17 8:19:02.294 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:02.294 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.294 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:02.294 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-77957-client-B/folder/folder2 ...
16-2-17 8:19:02.294 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:02.294 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.295 | Assembler       | Test worker    | INFO :      - Creating file folder/file to /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/temp-reconstructedFileVersion-8505532253049543327.tmp ...
16-2-17 8:19:02.296 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:02.296 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.297 | Assembler       | Test worker    | INFO :      - Creating file folder/folder2/file2 to /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/temp-reconstructedFileVersion-541335113830027671.tmp ...
16-2-17 8:19:02.299 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:02.300 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:02.300 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:19:02.300 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233142067, chunks=2, multiChunks=1, fileContents=2, fileHistories=4]
16-2-17 8:19:02.314 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233142101] ...
16-2-17 8:19:02.320 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233142101]
16-2-17 8:19:02.320 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.320 | Cache           | Test worker    | INFO : Cache size okay (102 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.320 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@7aff4734) ...
16-2-17 8:19:02.320 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:02.320 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-B' ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.321 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-B' ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.321 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.321 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.323 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.323 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:02.323 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
16-2-17 8:19:02.323 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.323 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@acf6467) ...
16-2-17 8:19:02.324 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.324 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:02.324 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
16-2-17 8:19:02.324 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.324 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:02.324 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@218f47ae) ...
16-2-17 8:19:02.325 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-77957-client-B ...
16-2-17 8:19:02.325 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:02.326 | StatusOperation | Test worker    | FINE : - New file: moved
16-2-17 8:19:02.326 | StatusOperation | Test worker    | FINE : - New file: moved/file
16-2-17 8:19:02.326 | StatusOperation | Test worker    | FINE : - New file: moved/folder2
16-2-17 8:19:02.326 | StatusOperation | Test worker    | FINE : - New file: moved/folder2/file2
16-2-17 8:19:02.327 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@62969ffb) ...
16-2-17 8:19:02.327 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.328 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.328 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.328 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:02.328 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.328 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@634b1426) ...
16-2-17 8:19:02.328 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.329 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:02.329 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7b6086d7) ...
16-2-17 8:19:02.329 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:02.329 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1487233142321] ...
16-2-17 8:19:02.329 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1487233142321]
16-2-17 8:19:02.329 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1487233142321] ...
16-2-17 8:19:02.330 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.338 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:02.338 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:02.338 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@519e0393) ...
16-2-17 8:19:02.338 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:02.340 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.341 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.342 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder/file, type=FILE, status=DELETED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.342 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.343 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder/folder2, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.343 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.344 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder/folder2/file2, type=FILE, status=DELETED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.344 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.344 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved
16-2-17 8:19:02.344 | Indexer         | AsyncI/syncany | FINE : - /File: moved (directory/symlink/0-byte-file)
16-2-17 8:19:02.344 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: moved, FOLDER)
16-2-17 8:19:02.348 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file moved
16-2-17 8:19:02.348 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.348 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.348 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file
16-2-17 8:19:02.348 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file
16-2-17 8:19:02.349 | Indexer         | AsyncI/syncany | FINE : - Chunk exists: 465972359b65fcdc64b4be6b72f37cec6a9b2f86
16-2-17 8:19:02.349 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 465972359b65fcdc64b4be6b72f37cec6a9b2f86 > /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file
16-2-17 8:19:02.350 | Indexer         | AsyncI/syncany | FINE : - /File: moved/file (checksum 465972359b65fcdc64b4be6b72f37cec6a9b2f86)
16-2-17 8:19:02.360 | Indexer         | AsyncI/syncany | FINE :    * Found old file history 1037c39c9c314208f515bbddaf1280e933a86372 (by checksum: 465972359b65fcdc64b4be6b72f37cec6a9b2f86), appending new version.
16-2-17 8:19:02.360 | FileVersionComp | AsyncI/syncany | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = moved/file, but actual PATH = folder/file, for file folder/file
16-2-17 8:19:02.360 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.360 | Indexer         | AsyncI/syncany | INFO :      based on file version: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.361 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/folder2
16-2-17 8:19:02.361 | Indexer         | AsyncI/syncany | FINE : - /File: moved/folder2 (directory/symlink/0-byte-file)
16-2-17 8:19:02.364 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: moved/folder2, FOLDER)
16-2-17 8:19:02.364 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file moved/folder2
16-2-17 8:19:02.366 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.366 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.366 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/folder2/file2
16-2-17 8:19:02.366 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/folder2/file2
16-2-17 8:19:02.372 | Indexer         | AsyncI/syncany | FINE : - Chunk exists: 29db204067865dbbd2221afae8274ef4965de970
16-2-17 8:19:02.372 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 29db204067865dbbd2221afae8274ef4965de970 > /tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/folder2/file2
16-2-17 8:19:02.374 | Indexer         | AsyncI/syncany | FINE : - /File: moved/folder2/file2 (checksum 29db204067865dbbd2221afae8274ef4965de970)
16-2-17 8:19:02.380 | Indexer         | AsyncI/syncany | FINE :    * Found old file history 16f06d07a33724946686cda6624be9ac7366cb9a (by checksum: 29db204067865dbbd2221afae8274ef4965de970), appending new version.
16-2-17 8:19:02.380 | FileVersionComp | AsyncI/syncany | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = moved/folder2/file2, but actual PATH = folder/folder2/file2, for file folder/folder2/file2
16-2-17 8:19:02.380 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=2, path=moved/folder2/file2, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.393 | Indexer         | AsyncI/syncany | INFO :      based on file version: FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.394 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@729f6348) ...
16-2-17 8:19:02.395 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142338, chunks=0, multiChunks=0, fileContents=0, fileHistories=6]
16-2-17 8:19:02.395 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@116575c9) ...
16-2-17 8:19:02.396 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:02.397 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
16-2-17 8:19:02.397 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:02.397 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1487233142397, chunks=0, multiChunks=0, fileContents=0, fileHistories=6]
16-2-17 8:19:02.398 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1487233142397 to file /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-B-0000000001 ... 
16-2-17 8:19:02.398 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:02.399 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:02.399 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:02.399 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-WAGRb-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
16-2-17 8:19:02.399 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:02.399 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:02.401 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/temp-transaction-8420425740611699895.tmp
16-2-17 8:19:02.401 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@19b55c31) ...
16-2-17 8:19:02.401 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-3a9ca7f6] ...
16-2-17 8:19:02.402 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:02.402 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@ad94441) ...
16-2-17 8:19:02.402 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-77957-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-WAGRb-database-B-0000000001] ...
16-2-17 8:19:02.402 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-WAGRb-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:02.408 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-3a9ca7f6] ...
16-2-17 8:19:02.409 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:02.409 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:02.409 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1487233142397) ...
16-2-17 8:19:02.411 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:02.413 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:02.419 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1487233142397, chunks=0, multiChunks=0, fileContents=0, fileHistories=6]
16-2-17 8:19:02.419 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:02.419 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:02.419 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142411, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:02.419 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:02.421 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1487233142321] ...
16-2-17 8:19:02.425 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1487233142321]
16-2-17 8:19:02.425 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.425 | Cache           | Test worker    | INFO : Cache size okay (105 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.425 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@36bbdef0) ...
16-2-17 8:19:02.425 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-A' ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.426 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-77957-client-A' ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.426 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.426 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.430 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.430 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:02.430 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
16-2-17 8:19:02.430 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.430 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@18d8fb89) ...
16-2-17 8:19:02.430 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.431 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.431 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.431 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:02.431 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.431 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@d908c00) ...
16-2-17 8:19:02.431 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.431 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
16-2-17 8:19:02.431 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:02.431 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@29fbd9bf) ...
16-2-17 8:19:02.431 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@681eaaca) ...
16-2-17 8:19:02.431 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1487233142426] ...
16-2-17 8:19:02.431 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1487233142426]
16-2-17 8:19:02.432 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1487233142426] ...
16-2-17 8:19:02.433 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:02.433 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-B-0000000001
16-2-17 8:19:02.433 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@63f11848) ...
16-2-17 8:19:02.433 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:02.433 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:02.436 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233142397
16-2-17 8:19:02.436 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-77957-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:02.436 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-77957-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:02.440 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:02.440 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233142067], B=[B/(A1,B1)/T=1487233142397]}
16-2-17 8:19:02.440 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233142067
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1487233142397
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233142067
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1487233142397
16-2-17 8:19:02.440 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:02.440 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:02.440 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1487233142067]
16-2-17 8:19:02.441 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233142067, B/(A1,B1)/T=1487233142397]
16-2-17 8:19:02.441 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:02.441 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1487233142397]
16-2-17 8:19:02.441 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:02.441 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-77957-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:02.442 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233142397
16-2-17 8:19:02.442 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:02.444 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.445 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:02.446 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:02.446 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.446 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=folder/folder2, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.446 | FileVersionComp | Test worker    | INFO :      - [NEW]: Local file DIFFERS from file version, expected EXISTS = false, but actual EXISTS = true, for file folder/folder2
16-2-17 8:19:02.447 | FileSystemActio | Test worker    | INFO :      -> (10) Local file exists, but should not: local file = /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2, local version = FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], winning version = FileVersion [version=2, path=folder/folder2, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.450 | FileSystemActio | Test worker    | INFO :      -> DeleteFileSystemAction [file1=FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder/folder2, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.450 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.450 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.452 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = moved/file, but actual PATH = folder/file, for file folder/file
16-2-17 8:19:02.452 | FileSystemActio | Test worker    | INFO :      -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/file, local version = FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.453 | FileSystemActio | Test worker    | INFO :      -> RenameFileSystemAction [file1=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.453 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.453 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.454 | FileVersionComp | Test worker    | INFO :      - [NEW]: Local file DIFFERS from file version, expected EXISTS = false, but actual EXISTS = true, for file folder
16-2-17 8:19:02.454 | FileSystemActio | Test worker    | INFO :      -> (10) Local file exists, but should not: local file = /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder, local version = FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], winning version = FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.454 | FileSystemActio | Test worker    | INFO :      -> DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.454 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.454 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.455 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file moved
16-2-17 8:19:02.455 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-77957-client-A/moved
16-2-17 8:19:02.456 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.456 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.456 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=moved/folder2/file2, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.458 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = moved/folder2/file2, but actual PATH = folder/folder2/file2, for file folder/folder2/file2
16-2-17 8:19:02.458 | FileSystemActio | Test worker    | INFO :      -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2/file2, local version = FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=moved/folder2/file2, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:19:02.458 | FileSystemActio | Test worker    | INFO :      -> RenameFileSystemAction [file1=FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/folder2/file2, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.459 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.459 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.460 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file moved/folder2
16-2-17 8:19:02.460 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/folder2
16-2-17 8:19:02.460 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.461 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:02.461 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:02.461 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.461 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.462 | FileSystemActio | Test worker    | INFO :    + RenameFileSystemAction [file1=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.462 | FileSystemActio | Test worker    | INFO :    + RenameFileSystemAction [file1=FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/folder2/file2, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.462 | FileSystemActio | Test worker    | INFO :    + DeleteFileSystemAction [file1=FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder/folder2, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.462 | FileSystemActio | Test worker    | INFO :    + DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.462 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:02.462 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.462 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:02.463 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-77957-client-A/moved ...
16-2-17 8:19:02.464 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:02.464 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.464 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=moved/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:02.465 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/folder2 ...
16-2-17 8:19:02.465 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:02.465 | DownOperation   | Test worker    | FINE :    +  RenameFileSystemAction [file1=FileVersion [version=1, path=folder/file, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/file, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=465972359b65fcdc64b4be6b72f37cec6a9b2f86, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.466 | FileSystemActio | Test worker    | INFO :      - (1) Renaming file /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/file to /tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/file ...
16-2-17 8:19:02.468 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:02.468 | DownOperation   | Test worker    | FINE :    +  RenameFileSystemAction [file1=FileVersion [version=1, path=folder/folder2/file2, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=moved/folder2/file2, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=29db204067865dbbd2221afae8274ef4965de970, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:19:02.470 | FileSystemActio | Test worker    | INFO :      - (1) Renaming file /tmp/syncanytest/syncany-170216081832804-77957-client-A/folder/folder2/file2 to /tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/folder2/file2 ...
16-2-17 8:19:02.477 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:19:02.478 | DownOperation   | Test worker    | FINE :    +  DeleteFileSystemAction [file1=FileVersion [version=1, path=folder/folder2, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder/folder2, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.479 | DownOperation   | Test worker    | FINE :    +  DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:01 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.480 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:02.480 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
16-2-17 8:19:02.480 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1487233142397, chunks=0, multiChunks=0, fileContents=0, fileHistories=6]
16-2-17 8:19:02.506 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1487233142426] ...
16-2-17 8:19:02.510 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1487233142426]
16-2-17 8:19:02.511 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.511 | Cache           | Test worker    | INFO : Cache size okay (105 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.511 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@6916d485) ...
16-2-17 8:19:02.511 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:02.513 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/file, but actual PATH = tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file, for file tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file
16-2-17 8:19:02.526 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/file, but actual PATH = tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file, for file tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/file
16-2-17 8:19:02.531 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-77957-client-A/moved/folder2/file2, but actual PATH = tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/folder2/file2, for file tmp/syncanytest/syncany-170216081832804-77957-client-B/moved/folder2/file2
16-2-17 8:19:02.551 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.554 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:19:02.581 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.581 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-A' ...
16-2-17 8:19:02.581 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.582 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.582 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.582 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.583 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.583 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.583 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.583 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.583 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.584 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-A' ...
16-2-17 8:19:02.584 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.585 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.585 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.585 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.585 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.586 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.586 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.586 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.586 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.587 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.587 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.587 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.612 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:02.613 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:02.625 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:02.634 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:02.637 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:02.653 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:02.653 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:02.653 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:02.653 | 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) ); 
16-2-17 8:19:02.656 | 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 ); 
16-2-17 8:19:02.658 | 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 ); 
16-2-17 8:19:02.660 | 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 ); 
16-2-17 8:19:02.663 | 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 ); 
16-2-17 8:19:02.665 | 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 ); 
16-2-17 8:19:02.667 | 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 ); 
16-2-17 8:19:02.669 | 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 ); 
16-2-17 8:19:02.671 | 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 ); 
16-2-17 8:19:02.673 | 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) ); 
16-2-17 8:19:02.675 | 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) ); 
16-2-17 8:19:02.677 | 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) ); 
16-2-17 8:19:02.680 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:02.680 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:02.680 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:02.682 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:02.684 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:02.686 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:02.687 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:02.689 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:02.690 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:02.691 | 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'; 
16-2-17 8:19:02.693 | 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'; 
16-2-17 8:19:02.697 | 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; 
16-2-17 8:19:02.699 | 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'; 
16-2-17 8:19:02.703 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:02.703 | 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; 
16-2-17 8:19:02.705 | 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; 
16-2-17 8:19:02.707 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:02.707 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:02.707 | 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; 
16-2-17 8:19:02.709 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:02.710 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:19:02.710 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.710 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@2454b514) ...
16-2-17 8:19:02.711 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.711 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:02.711 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:19:02.711 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.711 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:02.711 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@5ab4abd3) ...
16-2-17 8:19:02.714 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-27917-client-A ...
16-2-17 8:19:02.714 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:02.714 | StatusOperation | Test worker    | FINE : - New file: folder
16-2-17 8:19:02.714 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@500933d7) ...
16-2-17 8:19:02.715 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.720 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.724 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.724 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:02.724 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.724 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@2aa9f139) ...
16-2-17 8:19:02.724 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.724 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6dcec704) ...
16-2-17 8:19:02.724 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:02.724 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233142587] ...
16-2-17 8:19:02.724 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233142587]
16-2-17 8:19:02.725 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233142587] ...
16-2-17 8:19:02.726 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.735 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:02.736 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:02.736 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@49a12e54) ...
16-2-17 8:19:02.736 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:02.736 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-27917-client-A/folder
16-2-17 8:19:02.736 | Indexer         | AsyncI/syncany | FINE : - /File: folder (directory/symlink/0-byte-file)
16-2-17 8:19:02.740 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder, FOLDER)
16-2-17 8:19:02.740 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder
16-2-17 8:19:02.740 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.740 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.740 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@25ea2974) ...
16-2-17 8:19:02.740 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@623a36a1) ...
16-2-17 8:19:02.740 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142736, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:02.741 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:02.741 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:19:02.741 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:02.741 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233142741, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:02.742 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233142741 to file /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:19:02.742 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:02.742 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:02.742 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:02.742 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-ueWGk-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:19:02.743 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:02.743 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:02.744 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/temp-transaction-3870510183083158852.tmp
16-2-17 8:19:02.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@5d193f82) ...
16-2-17 8:19:02.744 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-76c9a59f] ...
16-2-17 8:19:02.744 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:02.745 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@53760c0c) ...
16-2-17 8:19:02.745 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-ueWGk-database-A-0000000001] ...
16-2-17 8:19:02.745 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-ueWGk-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:02.745 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-76c9a59f] ...
16-2-17 8:19:02.745 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:02.745 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:02.745 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233142741) ...
16-2-17 8:19:02.746 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:02.747 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@7cd5fc9f) ...
16-2-17 8:19:02.765 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:02.767 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233142741, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:02.767 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:02.767 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:02.768 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142765, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:02.768 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:02.770 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233142587] ...
16-2-17 8:19:02.776 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233142587]
16-2-17 8:19:02.780 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.780 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.780 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@5096b5b7) ...
16-2-17 8:19:02.780 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.781 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-B' ...
16-2-17 8:19:02.782 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.782 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.782 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.782 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.782 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.782 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.782 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.782 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.783 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-B' ...
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.783 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.783 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.783 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.783 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.783 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.783 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.783 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.797 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:02.797 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:02.807 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:02.809 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:02.809 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:02.814 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:02.814 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:02.815 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:02.815 | 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) ); 
16-2-17 8:19:02.817 | 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 ); 
16-2-17 8:19:02.819 | 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 ); 
16-2-17 8:19:02.821 | 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 ); 
16-2-17 8:19:02.824 | 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 ); 
16-2-17 8:19:02.826 | 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 ); 
16-2-17 8:19:02.828 | 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 ); 
16-2-17 8:19:02.830 | 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 ); 
16-2-17 8:19:02.832 | 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 ); 
16-2-17 8:19:02.834 | 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) ); 
16-2-17 8:19:02.836 | 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) ); 
16-2-17 8:19:02.838 | 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) ); 
16-2-17 8:19:02.840 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:02.840 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:02.840 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:02.843 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:02.846 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:02.847 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:02.849 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:02.851 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:02.853 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:02.853 | 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'; 
16-2-17 8:19:02.855 | 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'; 
16-2-17 8:19:02.858 | 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; 
16-2-17 8:19:02.860 | 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'; 
16-2-17 8:19:02.862 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:02.863 | 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; 
16-2-17 8:19:02.865 | 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; 
16-2-17 8:19:02.867 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:02.867 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:02.867 | 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; 
16-2-17 8:19:02.870 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:02.870 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:19:02.870 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.870 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@550f8d56) ...
16-2-17 8:19:02.870 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.871 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.871 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.871 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:02.871 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.871 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@48edcfb0) ...
16-2-17 8:19:02.871 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.871 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:19:02.871 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@d07ff8) ...
16-2-17 8:19:02.871 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@2560633d) ...
16-2-17 8:19:02.872 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233142783] ...
16-2-17 8:19:02.872 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233142783]
16-2-17 8:19:02.872 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233142783] ...
16-2-17 8:19:02.872 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:02.872 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:19:02.872 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@483b0a33) ...
16-2-17 8:19:02.873 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:02.873 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:02.874 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233142741
16-2-17 8:19:02.875 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-27917-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:02.876 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233142741], B=[]}
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:02.876 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233142741
16-2-17 8:19:02.876 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:19:02.876 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233142741
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:02.876 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:02.876 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:19:02.876 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233142741]
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233142741]
16-2-17 8:19:02.876 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:02.876 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:02.879 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233142741
16-2-17 8:19:02.879 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:02.889 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.890 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-27917-client-B/folder
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.890 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:02.890 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.890 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:02.890 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:02.891 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:02.891 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-27917-client-B/folder ...
16-2-17 8:19:02.891 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:02.891 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:02.892 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:19:02.892 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233142741, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:02.899 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233142783] ...
16-2-17 8:19:02.916 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233142783]
16-2-17 8:19:02.916 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.916 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.916 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@4d5ee43e) ...
16-2-17 8:19:02.917 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:02.917 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-B' ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.917 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-B' ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.917 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.917 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.918 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.918 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.923 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.923 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:02.923 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
16-2-17 8:19:02.923 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.923 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@76f182e2) ...
16-2-17 8:19:02.924 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.924 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:02.924 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
16-2-17 8:19:02.924 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.924 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:02.924 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@52608fb9) ...
16-2-17 8:19:02.925 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-27917-client-B ...
16-2-17 8:19:02.925 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:02.925 | StatusOperation | Test worker    | FINE : - New file: moved
16-2-17 8:19:02.925 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@1c8fb200) ...
16-2-17 8:19:02.925 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:02.926 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.926 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:02.927 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:02.927 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.927 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@5703cd52) ...
16-2-17 8:19:02.927 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:02.927 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:02.927 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@4f199e6f) ...
16-2-17 8:19:02.928 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:02.928 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1487233142918] ...
16-2-17 8:19:02.928 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1487233142918]
16-2-17 8:19:02.928 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1487233142918] ...
16-2-17 8:19:02.929 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.932 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:02.932 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:02.932 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@7ecc0a84) ...
16-2-17 8:19:02.933 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:02.936 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.936 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.936 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-27917-client-B/moved
16-2-17 8:19:02.936 | Indexer         | AsyncI/syncany | FINE : - /File: moved (directory/symlink/0-byte-file)
16-2-17 8:19:02.945 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: moved, FOLDER)
16-2-17 8:19:02.945 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file moved
16-2-17 8:19:02.945 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:02.945 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:02.945 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@631e69fd) ...
16-2-17 8:19:02.945 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142932, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
16-2-17 8:19:02.946 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:02.946 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
16-2-17 8:19:02.946 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:02.946 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1487233142946, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
16-2-17 8:19:02.947 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1487233142946 to file /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-B-0000000001 ... 
16-2-17 8:19:02.947 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:02.947 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:02.947 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:02.948 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-CaumX-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
16-2-17 8:19:02.948 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:02.948 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:02.949 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/temp-transaction-7463849805412126356.tmp
16-2-17 8:19:02.950 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@6fd0330e) ...
16-2-17 8:19:02.950 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-541681a0] ...
16-2-17 8:19:02.950 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:02.950 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@1b50024e) ...
16-2-17 8:19:02.950 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-27917-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-CaumX-database-B-0000000001] ...
16-2-17 8:19:02.951 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-CaumX-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
16-2-17 8:19:02.951 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-541681a0] ...
16-2-17 8:19:02.951 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:02.951 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:02.951 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1487233142946) ...
16-2-17 8:19:02.953 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:02.955 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@4dc0bb86) ...
16-2-17 8:19:02.958 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1487233142946, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
16-2-17 8:19:02.959 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:02.959 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:02.976 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:02.976 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233142976, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:02.976 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:02.980 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1487233142918] ...
16-2-17 8:19:02.984 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1487233142918]
16-2-17 8:19:02.984 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:02.985 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:02.985 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@41071ea5) ...
16-2-17 8:19:02.985 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-A' ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.985 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-27917-client-A' ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:02.985 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:02.985 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:02.999 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:02.999 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:02.999 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
16-2-17 8:19:02.999 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:02.999 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@6b0bab21) ...
16-2-17 8:19:02.999 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:03.000 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.000 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:03.000 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:03.000 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:03.000 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@208b327f) ...
16-2-17 8:19:03.001 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:03.001 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
16-2-17 8:19:03.001 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:19:03.001 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@2c0db24d) ...
16-2-17 8:19:03.001 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@723dd40d) ...
16-2-17 8:19:03.001 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1487233142985] ...
16-2-17 8:19:03.001 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1487233142985]
16-2-17 8:19:03.001 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1487233142985] ...
16-2-17 8:19:03.002 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:03.002 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-B-0000000001
16-2-17 8:19:03.002 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@1abfeaad) ...
16-2-17 8:19:03.002 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:03.002 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:03.004 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233142946
16-2-17 8:19:03.005 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-27917-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:03.006 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-27917-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:03.006 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233142741], B=[B/(A1,B1)/T=1487233142946]}
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233142741
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1487233142946
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233142741
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1487233142946
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1487233142741]
16-2-17 8:19:03.006 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233142741, B/(A1,B1)/T=1487233142946]
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1487233142946]
16-2-17 8:19:03.006 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:03.006 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-27917-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:19:03.009 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233142946
16-2-17 8:19:03.010 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:03.011 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:03.012 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file moved
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-27917-client-A/moved
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:03.012 | FileVersionComp | Test worker    | INFO :      - [NEW]: Local file DIFFERS from file version, expected EXISTS = false, but actual EXISTS = true, for file folder
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :      -> (10) Local file exists, but should not: local file = /tmp/syncanytest/syncany-170216081832804-27917-client-A/folder, local version = FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], winning version = FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:03.012 | FileSystemActio | Test worker    | INFO :      -> DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.012 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:03.018 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:03.018 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.018 | FileSystemActio | Test worker    | INFO :    + DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.018 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:03.018 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.018 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=moved, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:03.018 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-27917-client-A/moved ...
16-2-17 8:19:03.019 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:03.019 | DownOperation   | Test worker    | FINE :    +  DeleteFileSystemAction [file1=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-], file2=FileVersion [version=2, path=folder, type=FOLDER, status=DELETED, size=4096, lastModified=Thu Feb 16 08:19:02 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:02 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.019 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:03.019 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
16-2-17 8:19:03.019 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1487233142946, chunks=0, multiChunks=0, fileContents=0, fileHistories=2]
16-2-17 8:19:03.035 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1487233142985] ...
16-2-17 8:19:03.040 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1487233142985]
16-2-17 8:19:03.040 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:03.040 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:03.040 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@29a94c3) ...
16-2-17 8:19:03.040 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:19:03.048 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:03.049 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:19:03.060 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:03.061 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-85353-client-A' ...
16-2-17 8:19:03.061 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:03.061 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:03.064 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:03.064 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:03.065 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:03.065 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:03.065 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:03.065 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:03.066 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:03.066 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-85353-client-A' ...
16-2-17 8:19:03.066 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:03.066 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:03.066 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:03.066 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:03.066 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:03.067 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:03.067 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:03.068 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:03.068 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:03.069 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:03.069 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:03.069 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:03.104 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:03.105 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:03.119 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:03.122 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:03.122 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:03.128 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:03.128 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:03.130 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:03.130 | 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) ); 
16-2-17 8:19:03.132 | 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 ); 
16-2-17 8:19:03.135 | 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 ); 
16-2-17 8:19:03.137 | 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 ); 
16-2-17 8:19:03.147 | 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 ); 
16-2-17 8:19:03.149 | 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 ); 
16-2-17 8:19:03.151 | 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 ); 
16-2-17 8:19:03.153 | 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 ); 
16-2-17 8:19:03.156 | 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 ); 
16-2-17 8:19:03.166 | 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) ); 
16-2-17 8:19:03.168 | 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) ); 
16-2-17 8:19:03.170 | 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) ); 
16-2-17 8:19:03.173 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:03.173 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:03.174 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:03.176 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:03.178 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:03.180 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:03.183 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:03.184 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:03.187 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:03.187 | 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'; 
16-2-17 8:19:03.189 | 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'; 
16-2-17 8:19:03.191 | 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; 
16-2-17 8:19:03.195 | 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'; 
16-2-17 8:19:03.199 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:03.199 | 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; 
16-2-17 8:19:03.201 | 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; 
16-2-17 8:19:03.205 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:03.205 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:03.206 | 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; 
16-2-17 8:19:03.208 | UpOperation     | Test worker    | INFO : 
16-2-17 8:19:03.208 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:19:03.209 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:03.209 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@7698db51) ...
16-2-17 8:19:03.212 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.212 | StatusOperation | Test worker    | INFO : 
16-2-17 8:19:03.212 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:19:03.212 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:03.213 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:19:03.213 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@4f0e52fd) ...
16-2-17 8:19:03.214 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-85353-client-A ...
16-2-17 8:19:03.214 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:19:03.215 | StatusOperation | Test worker    | FINE : - New file: folder
16-2-17 8:19:03.215 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@511c9583) ...
16-2-17 8:19:03.215 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:03.216 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.216 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:03.216 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:19:03.220 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:03.220 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@2aeabec6) ...
16-2-17 8:19:03.220 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:03.221 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@74cfc4df) ...
16-2-17 8:19:03.221 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:19:03.221 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233143069] ...
16-2-17 8:19:03.221 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233143069]
16-2-17 8:19:03.221 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233143069] ...
16-2-17 8:19:03.225 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.228 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:19:03.229 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:19:03.229 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@42479b0) ...
16-2-17 8:19:03.229 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:19:03.229 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-85353-client-A/folder
16-2-17 8:19:03.229 | Indexer         | AsyncI/syncany | FINE : - /File: folder (directory/symlink/0-byte-file)
16-2-17 8:19:03.232 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder, FOLDER)
16-2-17 8:19:03.232 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder
16-2-17 8:19:03.232 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:03.232 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:19:03.232 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@f7fbe45) ...
16-2-17 8:19:03.232 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@2fbfbd78) ...
16-2-17 8:19:03.232 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233143229, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:03.232 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:19:03.232 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:19:03.233 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:19:03.233 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233143233, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:03.233 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233143233 to file /tmp/syncanytest/syncany-170216081832804-85353-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:19:03.233 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-85353-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:03.234 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:19:03.234 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-85353-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:03.235 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-85353-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-PhijI-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:19:03.236 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:19:03.236 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:19:03.237 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-85353-client-A/.syncany/cache/temp-transaction-3116169932217905975.tmp
16-2-17 8:19:03.237 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@723a363b) ...
16-2-17 8:19:03.237 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-22d48733] ...
16-2-17 8:19:03.238 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:19:03.238 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@55a88e08) ...
16-2-17 8:19:03.238 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-85353-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-PhijI-database-A-0000000001] ...
16-2-17 8:19:03.238 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-PhijI-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:19:03.239 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-22d48733] ...
16-2-17 8:19:03.239 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:19:03.239 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:19:03.239 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233143233) ...
16-2-17 8:19:03.239 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@35418d31) ...
16-2-17 8:19:03.241 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:19:03.245 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:19:03.261 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233143233, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:03.261 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:19:03.261 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:19:03.261 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233143245, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:19:03.261 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:19:03.263 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233143069] ...
16-2-17 8:19:03.264 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233143069]
16-2-17 8:19:03.264 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:03.264 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:03.264 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@caf01e) ...
16-2-17 8:19:03.264 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:03.264 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-85353-client-B' ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:03.265 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-85353-client-B' ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:19:03.265 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:19:03.265 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:19:03.297 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:19:03.297 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:19:03.313 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:19:03.316 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:19:03.316 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:19:03.322 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:19:03.322 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:19:03.322 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:19:03.322 | 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) ); 
16-2-17 8:19:03.325 | 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 ); 
16-2-17 8:19:03.327 | 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 ); 
16-2-17 8:19:03.329 | 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 ); 
16-2-17 8:19:03.331 | 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 ); 
16-2-17 8:19:03.333 | 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 ); 
16-2-17 8:19:03.338 | 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 ); 
16-2-17 8:19:03.342 | 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 ); 
16-2-17 8:19:03.344 | 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 ); 
16-2-17 8:19:03.346 | 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) ); 
16-2-17 8:19:03.349 | 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) ); 
16-2-17 8:19:03.353 | 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) ); 
16-2-17 8:19:03.356 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:19:03.356 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:19:03.357 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:19:03.359 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:19:03.361 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:19:03.363 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:19:03.365 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:19:03.368 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:19:03.371 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:19:03.371 | 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'; 
16-2-17 8:19:03.373 | 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'; 
16-2-17 8:19:03.375 | 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; 
16-2-17 8:19:03.378 | 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'; 
16-2-17 8:19:03.380 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:19:03.381 | 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; 
16-2-17 8:19:03.383 | 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; 
16-2-17 8:19:03.385 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:19:03.385 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:19:03.385 | 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; 
16-2-17 8:19:03.389 | DownOperation   | Test worker    | INFO : 
16-2-17 8:19:03.389 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:19:03.389 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:03.389 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@394ebb95) ...
16-2-17 8:19:03.390 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:19:03.391 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.391 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:19:03.391 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:19:03.391 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:19:03.391 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@45cd049e) ...
16-2-17 8:19:03.391 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:19:03.391 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:19:03.391 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@1f349676) ...
16-2-17 8:19:03.391 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@4470196d) ...
16-2-17 8:19:03.391 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233143265] ...
16-2-17 8:19:03.391 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233143265]
16-2-17 8:19:03.392 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233143265] ...
16-2-17 8:19:03.393 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:19:03.393 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-85353-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:19:03.393 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@518dcec1) ...
16-2-17 8:19:03.393 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:19:03.393 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-85353-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:03.404 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233143233
16-2-17 8:19:03.404 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-85353-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:19:03.405 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:19:03.408 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233143233], B=[]}
16-2-17 8:19:03.408 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:19:03.409 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233143233
16-2-17 8:19:03.409 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:19:03.409 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233143233
16-2-17 8:19:03.409 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:19:03.409 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:19:03.410 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:19:03.410 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:19:03.410 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233143233]
16-2-17 8:19:03.410 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:19:03.410 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233143233]
16-2-17 8:19:03.410 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:19:03.410 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-85353-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:19:03.413 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233143233
16-2-17 8:19:03.416 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:19:03.417 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:19:03.427 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:19:03.427 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:19:03.427 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:19:03.427 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
16-2-17 8:19:03.428 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder
16-2-17 8:19:03.428 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-85353-client-B/folder
16-2-17 8:19:03.428 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.428 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:19:03.428 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:19:03.428 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.428 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:19:03.428 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
16-2-17 8:19:03.429 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder, type=FOLDER, status=NEW, size=4096, lastModified=Thu Feb 16 08:19:03 UTC 2017, linkTarget=null, checksum=null, updated=Thu Feb 16 08:19:03 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
16-2-17 8:19:03.429 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170216081832804-85353-client-B/folder ...
16-2-17 8:19:03.429 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
16-2-17 8:19:03.429 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:19:03.429 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:19:03.429 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233143233, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:19:03.436 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233143265] ...
16-2-17 8:19:03.456 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233143265]
16-2-17 8:19:03.456 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:19:03.456 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
16-2-17 8:19:03.456 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@1ae1f494) ...
16-2-17 8:19:03.456 | DownOperation   | Test worker    | INFO : Sync down done.