Class org.syncany.tests.integration.scenarios.SymlinkSyncScenarioTest

3

tests

0

failures

0

ignored

1.187s

duration

100%

successful

Tests

Test Duration Result
testSymlinkMultipleUpsAndDowns 0.436s passed
testSymlinkOneUpOneDown 0.342s passed
testSymlinkSyncToNonExistingFolder 0.409s passed

Standard error

27-4-17 11:01:12.589 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.589 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
27-4-17 11:01:12.605 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.605 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-A' ...
27-4-17 11:01:12.605 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.605 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.605 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.605 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.606 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.606 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.606 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.606 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.606 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.606 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-A' ...
27-4-17 11:01:12.606 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.607 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.607 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:12.607 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:12.607 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.607 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.607 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.608 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.608 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.608 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.608 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:12.608 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:12.622 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:01:12.623 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:01:12.632 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:01:12.637 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:01:12.638 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:01:12.650 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:01:12.650 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:01:12.650 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:01:12.650 | 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) ); 
27-4-17 11:01:12.655 | 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 ); 
27-4-17 11:01:12.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 ); 
27-4-17 11:01:12.661 | 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 ); 
27-4-17 11:01:12.664 | 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 ); 
27-4-17 11:01:12.667 | 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 ); 
27-4-17 11:01:12.669 | 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 ); 
27-4-17 11:01:12.672 | 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 ); 
27-4-17 11:01:12.674 | 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 ); 
27-4-17 11:01:12.677 | 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) ); 
27-4-17 11:01:12.680 | 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) ); 
27-4-17 11:01:12.682 | 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) ); 
27-4-17 11:01:12.685 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:01:12.685 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:01:12.686 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:01:12.688 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:01:12.691 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:01:12.694 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:01:12.696 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:01:12.699 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:01:12.701 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:01:12.701 | 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'; 
27-4-17 11:01:12.704 | 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'; 
27-4-17 11:01:12.707 | 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; 
27-4-17 11:01:12.709 | 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'; 
27-4-17 11:01:12.713 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:01:12.713 | 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; 
27-4-17 11:01:12.716 | 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; 
27-4-17 11:01:12.719 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:01:12.719 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:01:12.719 | 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; 
27-4-17 11:01:12.723 | UpOperation     | Test worker    | INFO : 
27-4-17 11:01:12.723 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:01:12.723 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.723 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@388a5329) ...
27-4-17 11:01:12.724 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.724 | StatusOperation | Test worker    | INFO : 
27-4-17 11:01:12.724 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:01:12.724 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.724 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:01:12.724 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@1ffeca44) ...
27-4-17 11:01:12.724 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-79024-client-A ...
27-4-17 11:01:12.724 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:01:12.725 | StatusOperation | Test worker    | FINE : - New file: folder1
27-4-17 11:01:12.725 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@4d859009) ...
27-4-17 11:01:12.725 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:12.726 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.726 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:12.726 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:01:12.726 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.726 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@704c342e) ...
27-4-17 11:01:12.726 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:12.727 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@46a64f3a) ...
27-4-17 11:01:12.729 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:01:12.729 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290872608] ...
27-4-17 11:01:12.729 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290872608]
27-4-17 11:01:12.730 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290872608] ...
27-4-17 11:01:12.731 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.736 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:01:12.737 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:01:12.737 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@74434a52) ...
27-4-17 11:01:12.737 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:01:12.738 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-79024-client-A/folder1
27-4-17 11:01:12.738 | Indexer         | AsyncI/syncany | FINE : - /File: folder1 (directory/symlink/0-byte-file)
27-4-17 11:01:12.738 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder1, FOLDER)
27-4-17 11:01:12.740 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder1
27-4-17 11:01:12.740 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
27-4-17 11:01:12.740 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:01:12.740 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@36d9215b) ...
27-4-17 11:01:12.740 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@5fd870e1) ...
27-4-17 11:01:12.740 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290872737, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.740 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:01:12.741 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
27-4-17 11:01:12.741 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:01:12.741 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1493290872741, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.741 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1493290872741 to file /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000001 ... 
27-4-17 11:01:12.741 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:12.742 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:01:12.742 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
27-4-17 11:01:12.742 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-nIGQz-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
27-4-17 11:01:12.743 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:01:12.743 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:01:12.744 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/temp-transaction-4458351312185357391.tmp
27-4-17 11:01:12.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@38d71806) ...
27-4-17 11:01:12.744 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-2093cb38] ...
27-4-17 11:01:12.745 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:01:12.745 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@4781f359) ...
27-4-17 11:01:12.745 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-nIGQz-database-A-0000000001] ...
27-4-17 11:01:12.746 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-nIGQz-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
27-4-17 11:01:12.746 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-2093cb38] ...
27-4-17 11:01:12.746 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:01:12.746 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:01:12.746 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1493290872741) ...
27-4-17 11:01:12.747 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:01:12.749 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@4df15dc9) ...
27-4-17 11:01:12.757 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1493290872741, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.758 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:01:12.758 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:01:12.760 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:01:12.760 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290872760, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:01:12.760 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:01:12.763 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290872608] ...
27-4-17 11:01:12.768 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290872608]
27-4-17 11:01:12.768 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:12.768 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:12.768 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@2f9fd6f6) ...
27-4-17 11:01:12.769 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-B' ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.769 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-B' ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.769 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:12.769 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:12.789 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:01:12.789 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:01:12.803 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:01:12.806 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:01:12.807 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:01:12.813 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:01:12.813 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:01:12.813 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:01:12.813 | 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) ); 
27-4-17 11:01:12.816 | 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 ); 
27-4-17 11:01:12.818 | 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 ); 
27-4-17 11:01:12.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 ); 
27-4-17 11:01:12.832 | 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 ); 
27-4-17 11:01:12.836 | 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 ); 
27-4-17 11:01:12.838 | 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 ); 
27-4-17 11:01:12.841 | 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 ); 
27-4-17 11:01:12.843 | 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 ); 
27-4-17 11:01:12.846 | 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) ); 
27-4-17 11:01:12.848 | 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) ); 
27-4-17 11:01:12.850 | 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) ); 
27-4-17 11:01:12.854 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:01:12.854 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:01:12.854 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:01:12.857 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:01:12.861 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:01:12.863 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:01:12.866 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:01:12.868 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:01:12.871 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:01:12.871 | 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'; 
27-4-17 11:01:12.873 | 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'; 
27-4-17 11:01:12.876 | 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; 
27-4-17 11:01:12.879 | 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'; 
27-4-17 11:01:12.882 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:01:12.882 | 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; 
27-4-17 11:01:12.884 | 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; 
27-4-17 11:01:12.887 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:01:12.887 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:01:12.887 | 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; 
27-4-17 11:01:12.890 | DownOperation   | Test worker    | INFO : 
27-4-17 11:01:12.890 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:01:12.890 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.890 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@6dd696a0) ...
27-4-17 11:01:12.890 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:12.891 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.891 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:12.891 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:01:12.891 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.891 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@5ae8153d) ...
27-4-17 11:01:12.891 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:12.891 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
27-4-17 11:01:12.891 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@15c66da) ...
27-4-17 11:01:12.892 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@5d57a7f9) ...
27-4-17 11:01:12.892 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290872769] ...
27-4-17 11:01:12.892 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290872769]
27-4-17 11:01:12.892 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290872769] ...
27-4-17 11:01:12.892 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:01:12.893 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170427110011148-79024-client-B/.syncany/cache/database-A-0000000001
27-4-17 11:01:12.893 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@49c9f81e) ...
27-4-17 11:01:12.893 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:01:12.893 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-79024-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:12.895 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290872741
27-4-17 11:01:12.895 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-79024-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:01:12.895 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:01:12.895 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290872741], B=[]}
27-4-17 11:01:12.896 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:01:12.896 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290872741
27-4-17 11:01:12.896 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:01:12.896 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290872741
27-4-17 11:01:12.896 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:01:12.896 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:01:12.896 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:01:12.896 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
27-4-17 11:01:12.896 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290872741]
27-4-17 11:01:12.896 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:01:12.896 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1493290872741]
27-4-17 11:01:12.896 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:01:12.896 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-79024-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:12.898 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290872741
27-4-17 11:01:12.899 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:01:12.899 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.902 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:01:12.902 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:01:12.902 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:01:12.902 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]
27-4-17 11:01:12.902 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder1
27-4-17 11:01:12.903 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-79024-client-B/folder1
27-4-17 11:01:12.904 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
27-4-17 11:01:12.904 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:01:12.904 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:01:12.905 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
27-4-17 11:01:12.905 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:01:12.905 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-]]
27-4-17 11:01:12.905 | FileSystemActio | Test worker    | INFO :      - Creating folder at FileVersion [version=1, path=folder1, type=FOLDER, status=NEW, size=4096, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=null, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxr-x, dosAttributes=--a-] ...
27-4-17 11:01:12.905 | FileSystemActio | Test worker    | INFO :      - Creating folder at /tmp/syncanytest/syncany-170427110011148-79024-client-B/folder1 ...
27-4-17 11:01:12.905 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxr-x ...
27-4-17 11:01:12.906 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:01:12.906 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
27-4-17 11:01:12.906 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1493290872741, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.917 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290872769] ...
27-4-17 11:01:12.925 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290872769]
27-4-17 11:01:12.925 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:12.925 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:12.925 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@7971920c) ...
27-4-17 11:01:12.925 | DownOperation   | Test worker    | INFO : Sync down done.
27-4-17 11:01:12.927 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.927 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-A' ...
27-4-17 11:01:12.927 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.927 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.927 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.927 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.927 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.927 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.927 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.928 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-A' ...
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.928 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:12.928 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:12.929 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.929 | UpOperation     | Test worker    | INFO : 
27-4-17 11:01:12.929 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:01:12.929 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.929 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@355cebbd) ...
27-4-17 11:01:12.929 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.929 | StatusOperation | Test worker    | INFO : 
27-4-17 11:01:12.929 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:01:12.929 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.930 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:01:12.930 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@2e76de73) ...
27-4-17 11:01:12.930 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-79024-client-A ...
27-4-17 11:01:12.930 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:01:12.930 | StatusOperation | Test worker    | FINE : - New file: folder1/symlink-name
27-4-17 11:01:12.930 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@e059b1b) ...
27-4-17 11:01:12.931 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:12.931 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.931 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:12.931 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:01:12.931 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.931 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@2257cb90) ...
27-4-17 11:01:12.931 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:12.931 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
27-4-17 11:01:12.931 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@3f96c788) ...
27-4-17 11:01:12.931 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:01:12.931 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290872928] ...
27-4-17 11:01:12.931 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290872928]
27-4-17 11:01:12.932 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290872928] ...
27-4-17 11:01:12.932 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.933 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:01:12.937 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:01:12.937 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@555f5c73) ...
27-4-17 11:01:12.937 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:01:12.937 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-79024-client-A/folder1/symlink-name
27-4-17 11:01:12.937 | Indexer         | AsyncI/syncany | FINE : - /File: folder1/symlink-name (directory/symlink/0-byte-file)
27-4-17 11:01:12.938 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: folder1/symlink-name, SYMLINK)
27-4-17 11:01:12.938 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file folder1/symlink-name
27-4-17 11:01:12.938 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=folder1/symlink-name, type=SYMLINK, status=NEW, size=15, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=/does/not/exist, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:01:12.938 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:01:12.938 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@7a8a5ddc) ...
27-4-17 11:01:12.938 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@79f4e6b4) ...
27-4-17 11:01:12.938 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290872937, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.938 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:01:12.938 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
27-4-17 11:01:12.938 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:01:12.939 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A2)/T=1493290872938, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.939 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A2)/T=1493290872938 to file /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000002 ... 
27-4-17 11:01:12.939 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000002 ...
27-4-17 11:01:12.940 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:01:12.940 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000002 to RemoteFile[name=database-A-0000000002] ...
27-4-17 11:01:12.940 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000002 -> Temp. remote file: RemoteFile[name=temp-xeMDW-database-A-0000000002], final location: RemoteFile[name=database-A-0000000002]
27-4-17 11:01:12.940 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:01:12.940 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:01:12.941 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/temp-transaction-6739225450636370444.tmp
27-4-17 11:01:12.941 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@75635606) ...
27-4-17 11:01:12.941 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-7f1988c4] ...
27-4-17 11:01:12.942 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:01:12.942 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@1e000ebd) ...
27-4-17 11:01:12.942 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79024-client-A/.syncany/cache/database-A-0000000002 to temp. file RemoteFile[name=temp-xeMDW-database-A-0000000002] ...
27-4-17 11:01:12.942 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-xeMDW-database-A-0000000002] to final location RemoteFile[name=database-A-0000000002] ...
27-4-17 11:01:12.942 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-7f1988c4] ...
27-4-17 11:01:12.942 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:01:12.942 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:01:12.942 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A2)/T=1493290872938) ...
27-4-17 11:01:12.943 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:01:12.944 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@7dd192c6) ...
27-4-17 11:01:12.948 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A2)/T=1493290872938, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.948 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:01:12.948 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:01:12.953 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:01:12.953 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290872953, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:01:12.953 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:01:12.956 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290872928] ...
27-4-17 11:01:12.961 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290872928]
27-4-17 11:01:12.961 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:12.962 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:12.962 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@4d27303) ...
27-4-17 11:01:12.962 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-B' ...
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.962 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.962 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.962 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.962 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.962 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.962 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79024-client-B' ...
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:12.962 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:12.963 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:12.963 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:12.963 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:12.963 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:12.963 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:12.963 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:12.963 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:12.963 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:12.966 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.966 | DownOperation   | Test worker    | INFO : 
27-4-17 11:01:12.966 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:01:12.966 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.966 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@280c26fd) ...
27-4-17 11:01:12.966 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:12.967 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.967 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:12.967 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:01:12.967 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:12.967 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@78aa4f45) ...
27-4-17 11:01:12.967 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:12.967 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000002 is new.
27-4-17 11:01:12.967 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
27-4-17 11:01:12.967 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@320c185f) ...
27-4-17 11:01:12.967 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@66b11ca6) ...
27-4-17 11:01:12.967 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290872963] ...
27-4-17 11:01:12.967 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290872963]
27-4-17 11:01:12.967 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290872963] ...
27-4-17 11:01:12.968 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:01:12.968 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000002 to local cache at /tmp/syncanytest/syncany-170427110011148-79024-client-B/.syncany/cache/database-A-0000000002
27-4-17 11:01:12.968 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@12358c98) ...
27-4-17 11:01:12.968 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:01:12.968 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-79024-client-B/.syncany/cache/database-A-0000000002 ...
27-4-17 11:01:12.970 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A2)/T=1493290872938
27-4-17 11:01:12.970 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-79024-repo/databases/database-A-0000000002; maybe invalid file name pattern. Ignoring file.
27-4-17 11:01:12.970 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-79024-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:01:12.970 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:01:12.970 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A2)/T=1493290872938], B=[A/(A1)/T=1493290872741]}
27-4-17 11:01:12.970 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290872741
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A2)/T=1493290872938
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290872741
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO :   + A/(A2)/T=1493290872938
27-4-17 11:01:12.971 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:01:12.971 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1493290872741]
27-4-17 11:01:12.971 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290872741, A/(A2)/T=1493290872938]
27-4-17 11:01:12.971 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:01:12.971 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A2)/T=1493290872938]
27-4-17 11:01:12.971 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:01:12.971 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-79024-client-B/.syncany/cache/database-A-0000000002 ...
27-4-17 11:01:12.972 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A2)/T=1493290872938
27-4-17 11:01:12.972 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:01:12.973 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:12.977 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:01:12.977 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:01:12.977 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:01:12.977 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=folder1/symlink-name, type=SYMLINK, status=NEW, size=15, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=/does/not/exist, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:01:12.978 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file folder1/symlink-name
27-4-17 11:01:12.978 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=folder1/symlink-name, type=SYMLINK, status=NEW, size=15, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=/does/not/exist, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-79024-client-B/folder1/symlink-name
27-4-17 11:01:12.978 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder1/symlink-name, type=SYMLINK, status=NEW, size=15, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=/does/not/exist, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:12.978 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:01:12.978 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:01:12.978 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder1/symlink-name, type=SYMLINK, status=NEW, size=15, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=/does/not/exist, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:12.978 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:01:12.978 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=folder1/symlink-name, type=SYMLINK, status=NEW, size=15, lastModified=Thu Apr 27 11:01:12 UTC 2017, linkTarget=/does/not/exist, checksum=null, updated=Thu Apr 27 11:01:12 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:12.978 | FileSystemActio | Test worker    | INFO :      - Parent folder does not exist, creating /tmp/syncanytest/syncany-170427110011148-79024-client-B/folder1 ...
27-4-17 11:01:12.978 | FileSystemActio | Test worker    | INFO :      - Creating symlink at /tmp/syncanytest/syncany-170427110011148-79024-client-B/folder1/symlink-name (target: /does/not/exist) ...
27-4-17 11:01:12.978 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:01:12.978 | DownOperation   | Test worker    | INFO :   + Applying database version (A2)
27-4-17 11:01:12.978 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A2)/T=1493290872938, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:12.986 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290872963] ...
27-4-17 11:01:12.993 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290872963]
27-4-17 11:01:12.993 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:12.994 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:12.994 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@7d269c65) ...
27-4-17 11:01:12.994 | DownOperation   | Test worker    | INFO : Sync down done.
27-4-17 11:01:13.005 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.006 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
27-4-17 11:01:13.021 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-99566-client-A' ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.021 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-99566-client-A' ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.021 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:13.021 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:13.066 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:01:13.067 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:01:13.076 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:01:13.079 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:01:13.079 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:01:13.085 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:01:13.085 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:01:13.086 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:01:13.086 | 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) ); 
27-4-17 11:01:13.089 | 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 ); 
27-4-17 11:01:13.091 | 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 ); 
27-4-17 11:01:13.093 | 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 ); 
27-4-17 11:01:13.096 | 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 ); 
27-4-17 11:01:13.098 | 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 ); 
27-4-17 11:01:13.104 | 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 ); 
27-4-17 11:01:13.107 | 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 ); 
27-4-17 11:01:13.111 | 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 ); 
27-4-17 11:01:13.113 | 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) ); 
27-4-17 11:01:13.116 | 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) ); 
27-4-17 11:01:13.118 | 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) ); 
27-4-17 11:01:13.122 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:01:13.123 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:01:13.123 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:01:13.127 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:01:13.130 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:01:13.132 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:01:13.134 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:01:13.136 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:01:13.138 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:01:13.138 | 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'; 
27-4-17 11:01:13.141 | 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'; 
27-4-17 11:01:13.144 | 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; 
27-4-17 11:01:13.146 | 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'; 
27-4-17 11:01:13.149 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:01:13.149 | 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; 
27-4-17 11:01:13.151 | 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; 
27-4-17 11:01:13.155 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:01:13.155 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:01:13.155 | 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; 
27-4-17 11:01:13.158 | UpOperation     | Test worker    | INFO : 
27-4-17 11:01:13.158 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:01:13.158 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.158 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@34cbd54) ...
27-4-17 11:01:13.159 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.159 | StatusOperation | Test worker    | INFO : 
27-4-17 11:01:13.159 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:01:13.159 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.159 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:01:13.159 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@1e547b86) ...
27-4-17 11:01:13.159 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-99566-client-A ...
27-4-17 11:01:13.159 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:01:13.159 | StatusOperation | Test worker    | FINE : - New file: symlink-target
27-4-17 11:01:13.159 | StatusOperation | Test worker    | FINE : - New file: symlink-name
27-4-17 11:01:13.160 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@3237a931) ...
27-4-17 11:01:13.160 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:13.160 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.160 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:13.160 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:01:13.160 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.160 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@1f307a2c) ...
27-4-17 11:01:13.161 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:13.161 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@558a5f75) ...
27-4-17 11:01:13.161 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:01:13.161 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290873021] ...
27-4-17 11:01:13.161 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290873021]
27-4-17 11:01:13.162 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290873021] ...
27-4-17 11:01:13.162 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.181 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:01:13.181 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:01:13.182 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@71707b9b) ...
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-99566-client-A/symlink-name
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | FINE : - /File: symlink-name (directory/symlink/0-byte-file)
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: symlink-name, SYMLINK)
27-4-17 11:01:13.182 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file symlink-name
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=14, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=symlink-target, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:01:13.182 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@2fcef713) ...
27-4-17 11:01:13.182 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-99566-client-A/symlink-target
27-4-17 11:01:13.183 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170427110011148-99566-client-A/symlink-target
27-4-17 11:01:13.184 | Indexer         | AsyncI/syncany | FINE : - Chunk new: e94f2a8f0238fa363a27afbdbfc469fc58153411
27-4-17 11:01:13.184 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4
27-4-17 11:01:13.185 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: e94f2a8f0238fa363a27afbdbfc469fc58153411 > 7410d0fb5a796f46388b09a57a00d56a01e2dcf4
27-4-17 11:01:13.185 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: e94f2a8f0238fa363a27afbdbfc469fc58153411 > /tmp/syncanytest/syncany-170427110011148-99566-client-A/symlink-target
27-4-17 11:01:13.185 | Indexer         | AsyncI/syncany | FINE : - /File: symlink-target (checksum e94f2a8f0238fa363a27afbdbfc469fc58153411)
27-4-17 11:01:13.190 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: symlink-target, checksum: e94f2a8f0238fa363a27afbdbfc469fc58153411)
27-4-17 11:01:13.190 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file symlink-target
27-4-17 11:01:13.190 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=symlink-target, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=null, checksum=e94f2a8f0238fa363a27afbdbfc469fc58153411, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:01:13.190 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:01:13.190 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4
27-4-17 11:01:13.190 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@75ea9e04) ...
27-4-17 11:01:13.190 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290873182, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
27-4-17 11:01:13.190 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@45e6a336) ...
27-4-17 11:01:13.190 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:01:13.190 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
27-4-17 11:01:13.191 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:01:13.191 | UpOperation     | Test worker    | INFO : - Uploading multichunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4 from /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4 to RemoteFile[name=multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4] ...
27-4-17 11:01:13.191 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4 -> Temp. remote file: RemoteFile[name=temp-lsgwO-multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4], final location: RemoteFile[name=multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4]
27-4-17 11:01:13.191 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1493290873191, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
27-4-17 11:01:13.191 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1493290873191 to file /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/database-A-0000000001 ... 
27-4-17 11:01:13.191 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:13.192 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:01:13.192 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
27-4-17 11:01:13.192 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-slbXn-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
27-4-17 11:01:13.193 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:01:13.193 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:01:13.196 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:01:13.197 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/temp-transaction-4008393207066414344.tmp
27-4-17 11:01:13.197 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@76486b93) ...
27-4-17 11:01:13.197 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-667d8740] ...
27-4-17 11:01:13.197 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:01:13.198 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@4ddeeb78) ...
27-4-17 11:01:13.198 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4 to temp. file RemoteFile[name=temp-lsgwO-multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4] ...
27-4-17 11:01:13.198 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@462429ab) ...
27-4-17 11:01:13.198 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-99566-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-slbXn-database-A-0000000001] ...
27-4-17 11:01:13.199 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-lsgwO-multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4] to final location RemoteFile[name=multichunk-7410d0fb5a796f46388b09a57a00d56a01e2dcf4] ...
27-4-17 11:01:13.199 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-slbXn-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
27-4-17 11:01:13.199 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-667d8740] ...
27-4-17 11:01:13.199 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:01:13.200 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:01:13.200 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1493290873191) ...
27-4-17 11:01:13.202 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:01:13.211 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1493290873191, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
27-4-17 11:01:13.212 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:01:13.212 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:01:13.212 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290873196, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:01:13.212 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:01:13.213 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290873021] ...
27-4-17 11:01:13.224 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290873021]
27-4-17 11:01:13.225 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:13.225 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:13.225 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@37ec891f) ...
27-4-17 11:01:13.225 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.225 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-99566-client-B' ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.226 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-99566-client-B' ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.226 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:13.226 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:13.247 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:01:13.247 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:01:13.263 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:01:13.266 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:01:13.267 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:01:13.278 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:01:13.278 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:01:13.279 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:01:13.279 | 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) ); 
27-4-17 11:01:13.282 | 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 ); 
27-4-17 11:01:13.284 | 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 ); 
27-4-17 11:01:13.287 | 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 ); 
27-4-17 11:01:13.289 | 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 ); 
27-4-17 11:01:13.291 | 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 ); 
27-4-17 11:01:13.294 | 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 ); 
27-4-17 11:01:13.297 | 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 ); 
27-4-17 11:01:13.299 | 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 ); 
27-4-17 11:01:13.307 | 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) ); 
27-4-17 11:01:13.310 | 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) ); 
27-4-17 11:01:13.312 | 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) ); 
27-4-17 11:01:13.315 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:01:13.315 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:01:13.316 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:01:13.319 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:01:13.321 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:01:13.331 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:01:13.334 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:01:13.337 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:01:13.340 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:01:13.340 | 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'; 
27-4-17 11:01:13.343 | 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'; 
27-4-17 11:01:13.347 | 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; 
27-4-17 11:01:13.350 | 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'; 
27-4-17 11:01:13.353 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:01:13.353 | 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; 
27-4-17 11:01:13.356 | 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; 
27-4-17 11:01:13.359 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:01:13.359 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:01:13.359 | 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; 
27-4-17 11:01:13.364 | DownOperation   | Test worker    | INFO : 
27-4-17 11:01:13.364 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:01:13.364 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.364 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@7cc46387) ...
27-4-17 11:01:13.364 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:13.365 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.365 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:13.365 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:01:13.365 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.365 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@114f119d) ...
27-4-17 11:01:13.365 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:13.365 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
27-4-17 11:01:13.365 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@c55eaa8) ...
27-4-17 11:01:13.365 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@4e5b405c) ...
27-4-17 11:01:13.365 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290873226] ...
27-4-17 11:01:13.365 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290873226]
27-4-17 11:01:13.366 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290873226] ...
27-4-17 11:01:13.367 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:01:13.367 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170427110011148-99566-client-B/.syncany/cache/database-A-0000000001
27-4-17 11:01:13.367 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@44d8086d) ...
27-4-17 11:01:13.367 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:01:13.368 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-99566-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:13.374 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290873191
27-4-17 11:01:13.374 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-99566-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:01:13.375 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:01:13.375 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290873191], B=[]}
27-4-17 11:01:13.375 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:01:13.375 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290873191
27-4-17 11:01:13.375 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:01:13.375 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290873191
27-4-17 11:01:13.375 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:01:13.375 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:01:13.375 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:01:13.380 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
27-4-17 11:01:13.380 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290873191]
27-4-17 11:01:13.380 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:01:13.380 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1493290873191]
27-4-17 11:01:13.380 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:01:13.380 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-99566-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:13.382 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290873191
27-4-17 11:01:13.382 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:01:13.383 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.384 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:01:13.387 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:01:13.388 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:01:13.388 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=14, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=symlink-target, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:01:13.388 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file symlink-name
27-4-17 11:01:13.388 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=14, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=symlink-target, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-99566-client-B/symlink-name
27-4-17 11:01:13.388 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=14, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=symlink-target, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:13.388 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:01:13.388 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=symlink-target, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=null, checksum=e94f2a8f0238fa363a27afbdbfc469fc58153411, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:01:13.389 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file symlink-target
27-4-17 11:01:13.389 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=symlink-target, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=null, checksum=e94f2a8f0238fa363a27afbdbfc469fc58153411, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-99566-client-B/symlink-target
27-4-17 11:01:13.389 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-target, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=null, checksum=e94f2a8f0238fa363a27afbdbfc469fc58153411, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:01:13.394 | DownOperation   | Test worker    | INFO :   + Adding multichunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4 to download list ...
27-4-17 11:01:13.394 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:01:13.394 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@494effe) ...
27-4-17 11:01:13.394 | Downloader      | Test worker    | INFO :   + Downloading multichunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4 ...
27-4-17 11:01:13.395 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4 ...
27-4-17 11:01:13.395 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 7410d0fb5a796f46388b09a57a00d56a01e2dcf4 ...
27-4-17 11:01:13.404 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:01:13.405 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-target, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=null, checksum=e94f2a8f0238fa363a27afbdbfc469fc58153411, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:01:13.405 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=14, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=symlink-target, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:13.405 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:01:13.405 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-target, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=null, checksum=e94f2a8f0238fa363a27afbdbfc469fc58153411, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:01:13.405 | Assembler       | Test worker    | INFO :      - Creating file symlink-target to /tmp/syncanytest/syncany-170427110011148-99566-client-B/.syncany/cache/temp-reconstructedFileVersion-8809033373935087032.tmp ...
27-4-17 11:01:13.406 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
27-4-17 11:01:13.407 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=14, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=symlink-target, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:13.407 | FileSystemActio | Test worker    | INFO :      - Creating symlink at /tmp/syncanytest/syncany-170427110011148-99566-client-B/symlink-name (target: symlink-target) ...
27-4-17 11:01:13.407 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:01:13.407 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
27-4-17 11:01:13.407 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1493290873191, chunks=1, multiChunks=1, fileContents=1, fileHistories=2]
27-4-17 11:01:13.427 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290873226] ...
27-4-17 11:01:13.429 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290873226]
27-4-17 11:01:13.429 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:13.430 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:13.430 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@5778689) ...
27-4-17 11:01:13.430 | DownOperation   | Test worker    | INFO : Sync down done.
27-4-17 11:01:13.434 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.435 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
27-4-17 11:01:13.440 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-63048-client-A' ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.440 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-63048-client-A' ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.440 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:13.440 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:13.466 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:01:13.466 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:01:13.481 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:01:13.486 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:01:13.486 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:01:13.491 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:01:13.492 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:01:13.492 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:01:13.492 | 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) ); 
27-4-17 11:01:13.495 | 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 ); 
27-4-17 11:01:13.497 | 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 ); 
27-4-17 11:01:13.500 | 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 ); 
27-4-17 11:01:13.502 | 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 ); 
27-4-17 11:01:13.505 | 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 ); 
27-4-17 11:01:13.507 | 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 ); 
27-4-17 11:01:13.510 | 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 ); 
27-4-17 11:01:13.513 | 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 ); 
27-4-17 11:01:13.516 | 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) ); 
27-4-17 11:01:13.519 | 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) ); 
27-4-17 11:01:13.521 | 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) ); 
27-4-17 11:01:13.524 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:01:13.524 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:01:13.525 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:01:13.529 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:01:13.532 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:01:13.534 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:01:13.537 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:01:13.539 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:01:13.542 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:01:13.542 | 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'; 
27-4-17 11:01:13.545 | 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'; 
27-4-17 11:01:13.547 | 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; 
27-4-17 11:01:13.550 | 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'; 
27-4-17 11:01:13.553 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:01:13.553 | 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; 
27-4-17 11:01:13.556 | 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; 
27-4-17 11:01:13.558 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:01:13.558 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:01:13.558 | 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; 
27-4-17 11:01:13.561 | UpOperation     | Test worker    | INFO : 
27-4-17 11:01:13.561 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:01:13.561 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.561 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@62f40a0e) ...
27-4-17 11:01:13.562 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.562 | StatusOperation | Test worker    | INFO : 
27-4-17 11:01:13.562 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:01:13.562 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.562 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:01:13.562 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@273b51ab) ...
27-4-17 11:01:13.563 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-63048-client-A ...
27-4-17 11:01:13.563 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:01:13.563 | StatusOperation | Test worker    | FINE : - New file: symlink-name
27-4-17 11:01:13.563 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@70fd07e5) ...
27-4-17 11:01:13.563 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:13.564 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.564 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:13.564 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:01:13.564 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.564 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@41bdb2fe) ...
27-4-17 11:01:13.564 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:13.564 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@257f7ffd) ...
27-4-17 11:01:13.564 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:01:13.564 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290873440] ...
27-4-17 11:01:13.564 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290873440]
27-4-17 11:01:13.564 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290873440] ...
27-4-17 11:01:13.565 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.569 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:01:13.569 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:01:13.569 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@1e17501a) ...
27-4-17 11:01:13.570 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:01:13.570 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-63048-client-A/symlink-name
27-4-17 11:01:13.570 | Indexer         | AsyncI/syncany | FINE : - /File: symlink-name (directory/symlink/0-byte-file)
27-4-17 11:01:13.578 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: symlink-name, SYMLINK)
27-4-17 11:01:13.578 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file symlink-name
27-4-17 11:01:13.578 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=10, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=/etc/hosts, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:01:13.578 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:01:13.578 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@16abab0e) ...
27-4-17 11:01:13.579 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@358c95af) ...
27-4-17 11:01:13.579 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290873569, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:13.579 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@6e448b4f) ...
27-4-17 11:01:13.579 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:01:13.579 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
27-4-17 11:01:13.579 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:01:13.579 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1493290873579, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:13.580 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1493290873579 to file /tmp/syncanytest/syncany-170427110011148-63048-client-A/.syncany/cache/database-A-0000000001 ... 
27-4-17 11:01:13.580 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-63048-client-A/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:13.580 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:01:13.580 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-63048-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
27-4-17 11:01:13.580 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-63048-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-Rvseo-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
27-4-17 11:01:13.581 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:01:13.581 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:01:13.582 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-63048-client-A/.syncany/cache/temp-transaction-1086055243738459498.tmp
27-4-17 11:01:13.582 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@368246e1) ...
27-4-17 11:01:13.582 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-3e4ff5b2] ...
27-4-17 11:01:13.583 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:01:13.583 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:01:13.583 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@3b226f54) ...
27-4-17 11:01:13.583 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-63048-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-Rvseo-database-A-0000000001] ...
27-4-17 11:01:13.583 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-Rvseo-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
27-4-17 11:01:13.583 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-3e4ff5b2] ...
27-4-17 11:01:13.583 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:01:13.583 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:01:13.583 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1493290873579) ...
27-4-17 11:01:13.584 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:01:13.595 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1493290873579, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:13.595 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:01:13.595 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:01:13.596 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290873583, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:01:13.596 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:01:13.600 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290873440] ...
27-4-17 11:01:13.601 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290873440]
27-4-17 11:01:13.602 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:13.602 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:13.602 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@7f2c7351) ...
27-4-17 11:01:13.604 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.604 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.605 | FileVersionSqlD | Test worker    | INFO :  getFileTree(path = symlink-name, history = %, minSlash = 0, maxSlash = 0, date <= Sat Jan 01 01:01:01 UTC 2101, types = FILE, FOLDER, SYMLINK
27-4-17 11:01:13.610 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.610 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-63048-client-B' ...
27-4-17 11:01:13.610 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.611 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.611 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.611 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.611 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.611 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.611 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.611 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.612 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:01:13.612 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-63048-client-B' ...
27-4-17 11:01:13.612 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:01:13.612 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:01:13.613 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:01:13.613 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:01:13.613 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:01:13.613 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:01:13.613 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:01:13.613 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:01:13.613 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:01:13.613 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:01:13.613 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:01:13.613 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:01:13.645 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:01:13.645 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:01:13.660 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:01:13.664 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:01:13.664 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:01:13.669 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:01:13.670 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:01:13.670 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:01:13.670 | 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) ); 
27-4-17 11:01:13.673 | 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 ); 
27-4-17 11:01:13.677 | 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 ); 
27-4-17 11:01:13.680 | 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 ); 
27-4-17 11:01:13.682 | 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 ); 
27-4-17 11:01:13.684 | 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 ); 
27-4-17 11:01:13.687 | 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 ); 
27-4-17 11:01:13.689 | 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 ); 
27-4-17 11:01:13.692 | 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 ); 
27-4-17 11:01:13.694 | 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) ); 
27-4-17 11:01:13.697 | 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) ); 
27-4-17 11:01:13.700 | 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) ); 
27-4-17 11:01:13.703 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:01:13.703 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:01:13.703 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:01:13.706 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:01:13.709 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:01:13.712 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:01:13.715 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:01:13.717 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:01:13.720 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:01:13.720 | 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'; 
27-4-17 11:01:13.724 | 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'; 
27-4-17 11:01:13.726 | 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; 
27-4-17 11:01:13.729 | 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'; 
27-4-17 11:01:13.732 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:01:13.732 | 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; 
27-4-17 11:01:13.736 | 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; 
27-4-17 11:01:13.739 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:01:13.739 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:01:13.739 | 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; 
27-4-17 11:01:13.742 | DownOperation   | Test worker    | INFO : 
27-4-17 11:01:13.742 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:01:13.742 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.742 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@ab31197) ...
27-4-17 11:01:13.742 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:01:13.743 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.743 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:01:13.743 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:01:13.743 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:01:13.743 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@2fb2eead) ...
27-4-17 11:01:13.743 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:01:13.744 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
27-4-17 11:01:13.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7dcd4b5d) ...
27-4-17 11:01:13.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@34bed4a1) ...
27-4-17 11:01:13.744 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290873614] ...
27-4-17 11:01:13.744 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290873614]
27-4-17 11:01:13.744 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290873614] ...
27-4-17 11:01:13.744 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:01:13.744 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170427110011148-63048-client-B/.syncany/cache/database-A-0000000001
27-4-17 11:01:13.744 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@72cce6f5) ...
27-4-17 11:01:13.749 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:01:13.749 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-63048-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:13.751 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290873579
27-4-17 11:01:13.751 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-63048-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:01:13.751 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:01:13.751 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290873579], B=[]}
27-4-17 11:01:13.752 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:01:13.752 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290873579
27-4-17 11:01:13.752 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:01:13.752 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290873579
27-4-17 11:01:13.752 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:01:13.752 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:01:13.752 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:01:13.752 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
27-4-17 11:01:13.752 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290873579]
27-4-17 11:01:13.752 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:01:13.752 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1493290873579]
27-4-17 11:01:13.752 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:01:13.752 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-63048-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:01:13.759 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290873579
27-4-17 11:01:13.759 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:01:13.760 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:01:13.760 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:01:13.760 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:01:13.760 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:01:13.760 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=10, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=/etc/hosts, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:01:13.760 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file symlink-name
27-4-17 11:01:13.760 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=10, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=/etc/hosts, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-63048-client-B/symlink-name
27-4-17 11:01:13.760 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=10, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=/etc/hosts, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:13.760 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:01:13.761 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:01:13.761 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=10, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=/etc/hosts, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:13.761 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:01:13.761 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=symlink-name, type=SYMLINK, status=NEW, size=10, lastModified=Thu Apr 27 11:01:13 UTC 2017, linkTarget=/etc/hosts, checksum=null, updated=Thu Apr 27 11:01:13 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:01:13.761 | FileSystemActio | Test worker    | INFO :      - Creating symlink at /tmp/syncanytest/syncany-170427110011148-63048-client-B/symlink-name (target: /etc/hosts) ...
27-4-17 11:01:13.761 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:01:13.761 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
27-4-17 11:01:13.761 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1493290873579, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:01:13.770 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290873614] ...
27-4-17 11:01:13.772 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290873614]
27-4-17 11:01:13.773 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:01:13.773 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
27-4-17 11:01:13.773 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@4fb91f2a) ...
27-4-17 11:01:13.774 | DownOperation   | Test worker    | INFO : Sync down done.