Class org.syncany.tests.integration.scenarios.ChangedAttributesScenarioTest

2

tests

0

failures

0

ignored

0.850s

duration

100%

successful

Tests

Test Duration Result
testChangeAttributes 0.501s passed
testNewFileWithDifferingAttributes 0.349s passed

Standard error

16-2-17 8:18:50.998 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:50.998 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:18:51.008 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.008 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-43034-client-A' ...
16-2-17 8:18:51.008 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.008 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.008 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.008 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.008 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.008 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.009 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.009 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.009 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.009 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-43034-client-A' ...
16-2-17 8:18:51.009 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.009 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.009 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:18:51.009 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:18:51.009 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.010 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.010 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.010 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.010 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.010 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.010 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:18:51.010 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:18:51.028 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:18:51.028 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:18:51.043 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:18:51.045 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:18:51.046 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:18:51.053 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:18:51.053 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:18:51.053 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:18:51.053 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
16-2-17 8:18:51.056 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.058 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.060 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.062 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.065 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.068 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.071 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.073 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.075 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
16-2-17 8:18:51.078 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
16-2-17 8:18:51.080 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
16-2-17 8:18:51.082 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:18:51.082 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:18:51.083 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:18:51.087 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:18:51.089 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:18:51.091 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:18:51.093 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:18:51.095 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:18:51.098 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:18:51.098 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
16-2-17 8:18:51.101 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
16-2-17 8:18:51.103 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
16-2-17 8:18:51.105 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
16-2-17 8:18:51.108 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:18:51.109 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
16-2-17 8:18:51.111 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
16-2-17 8:18:51.114 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:18:51.114 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:18:51.114 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
16-2-17 8:18:51.117 | UpOperation     | Test worker    | INFO : 
16-2-17 8:18:51.117 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:18:51.118 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.118 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@49ba01fd) ...
16-2-17 8:18:51.119 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.119 | StatusOperation | Test worker    | INFO : 
16-2-17 8:18:51.119 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:18:51.119 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.120 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
16-2-17 8:18:51.120 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:18:51.120 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@677dbb65) ...
16-2-17 8:18:51.121 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-43034-client-A ...
16-2-17 8:18:51.121 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:18:51.121 | StatusOperation | Test worker    | FINE : - New file: file1.jpg
16-2-17 8:18:51.121 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@563a8323) ...
16-2-17 8:18:51.122 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:18:51.123 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.123 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:18:51.123 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:18:51.123 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.123 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@6f913b93) ...
16-2-17 8:18:51.124 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:18:51.124 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6c2a4ffd) ...
16-2-17 8:18:51.124 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:18:51.124 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233131010] ...
16-2-17 8:18:51.124 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233131010]
16-2-17 8:18:51.125 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233131010] ...
16-2-17 8:18:51.126 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.126 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:18:51.126 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:18:51.127 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@94caf96) ...
16-2-17 8:18:51.127 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:18:51.127 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-43034-client-A/file1.jpg
16-2-17 8:18:51.127 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-43034-client-A/file1.jpg
16-2-17 8:18:51.130 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 04dd73980ef5db2af51c41bff78dd427623e90ef
16-2-17 8:18:51.130 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 7ec26d4760c3529e276af050aeba2c6a20496aec
16-2-17 8:18:51.131 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 04dd73980ef5db2af51c41bff78dd427623e90ef > 7ec26d4760c3529e276af050aeba2c6a20496aec
16-2-17 8:18:51.131 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 04dd73980ef5db2af51c41bff78dd427623e90ef > /tmp/syncanytest/syncany-170216081832804-43034-client-A/file1.jpg
16-2-17 8:18:51.131 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 04dd73980ef5db2af51c41bff78dd427623e90ef)
16-2-17 8:18:51.132 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: file1.jpg, checksum: 04dd73980ef5db2af51c41bff78dd427623e90ef)
16-2-17 8:18:51.133 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file file1.jpg
16-2-17 8:18:51.133 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:18:51.133 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:18:51.133 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@3f5ca98c) ...
16-2-17 8:18:51.134 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 7ec26d4760c3529e276af050aeba2c6a20496aec
16-2-17 8:18:51.134 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@2a11880c) ...
16-2-17 8:18:51.134 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233131127, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.134 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:18:51.135 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:18:51.135 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:18:51.135 | UpOperation     | Test worker    | INFO : - Uploading multichunk 7ec26d4760c3529e276af050aeba2c6a20496aec from /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec to RemoteFile[name=multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec] ...
16-2-17 8:18:51.137 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec -> Temp. remote file: RemoteFile[name=temp-HumWp-multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec], final location: RemoteFile[name=multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec]
16-2-17 8:18:51.137 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233131135, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.137 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233131135 to file /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:18:51.137 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:18:51.138 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:18:51.138 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:18:51.138 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-ZSVut-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:18:51.138 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:18:51.138 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:18:51.141 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/temp-transaction-5915124216238710491.tmp
16-2-17 8:18:51.141 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@3d30c659) ...
16-2-17 8:18:51.142 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-1f454e9c] ...
16-2-17 8:18:51.142 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:18:51.142 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@783a6093) ...
16-2-17 8:18:51.142 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec to temp. file RemoteFile[name=temp-HumWp-multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec] ...
16-2-17 8:18:51.143 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@4de10883) ...
16-2-17 8:18:51.143 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-43034-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-ZSVut-database-A-0000000001] ...
16-2-17 8:18:51.144 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-HumWp-multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec] to final location RemoteFile[name=multichunk-7ec26d4760c3529e276af050aeba2c6a20496aec] ...
16-2-17 8:18:51.144 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@2ed9c14a) ...
16-2-17 8:18:51.144 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-ZSVut-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:18:51.145 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-1f454e9c] ...
16-2-17 8:18:51.145 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:18:51.145 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:18:51.145 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233131135) ...
16-2-17 8:18:51.148 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:18:51.150 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:18:51.158 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233131135, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.158 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:18:51.158 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:18:51.158 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233131148, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:18:51.158 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:18:51.160 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233131010] ...
16-2-17 8:18:51.161 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233131010]
16-2-17 8:18:51.161 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:18:51.161 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:18:51.161 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@61a1a451) ...
16-2-17 8:18:51.161 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.161 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-43034-client-B' ...
16-2-17 8:18:51.161 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.161 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.161 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.161 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.161 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.162 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-43034-client-B' ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.162 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:18:51.162 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:18:51.190 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:18:51.191 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:18:51.198 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:18:51.201 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:18:51.201 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:18:51.208 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:18:51.208 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:18:51.208 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:18:51.209 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
16-2-17 8:18:51.211 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.214 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.217 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.219 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.222 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.227 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.230 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.232 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.234 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
16-2-17 8:18:51.237 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
16-2-17 8:18:51.239 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
16-2-17 8:18:51.241 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:18:51.241 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:18:51.242 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:18:51.244 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:18:51.246 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:18:51.248 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:18:51.250 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:18:51.252 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:18:51.254 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:18:51.254 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
16-2-17 8:18:51.257 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
16-2-17 8:18:51.259 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
16-2-17 8:18:51.262 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
16-2-17 8:18:51.266 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:18:51.266 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
16-2-17 8:18:51.269 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
16-2-17 8:18:51.271 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:18:51.271 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:18:51.272 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
16-2-17 8:18:51.275 | DownOperation   | Test worker    | INFO : 
16-2-17 8:18:51.275 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:18:51.275 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.275 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@37937e8b) ...
16-2-17 8:18:51.275 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:18:51.279 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.279 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:18:51.280 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:18:51.280 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.280 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@64327279) ...
16-2-17 8:18:51.280 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:18:51.281 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:18:51.281 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7633cd3b) ...
16-2-17 8:18:51.281 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@7c733dec) ...
16-2-17 8:18:51.281 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233131162] ...
16-2-17 8:18:51.281 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233131162]
16-2-17 8:18:51.282 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233131162] ...
16-2-17 8:18:51.282 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:18:51.282 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-43034-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:18:51.282 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@7d4f6cc2) ...
16-2-17 8:18:51.283 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:18:51.283 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-43034-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:18:51.286 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233131135
16-2-17 8:18:51.286 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-43034-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:18:51.286 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:18:51.287 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233131135], B=[]}
16-2-17 8:18:51.287 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:18:51.287 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233131135
16-2-17 8:18:51.287 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:18:51.287 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233131135
16-2-17 8:18:51.287 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:18:51.287 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:18:51.287 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:18:51.287 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:18:51.288 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233131135]
16-2-17 8:18:51.288 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:18:51.288 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233131135]
16-2-17 8:18:51.288 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:18:51.288 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-43034-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:18:51.290 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233131135
16-2-17 8:18:51.290 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:18:51.291 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.292 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:18:51.292 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:18:51.292 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:18:51.293 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:18:51.293 | FileVersionComp | Test worker    | INFO :      - [CHANGED_ATTRIBUTES]: Local file DIFFERS from file version, expected POSIX ATTRS = rw-rw-r--, but actual POSIX ATTRS = rwxrwxrwx, for file file1.jpg
16-2-17 8:18:51.295 | FileSystemActio | Test worker    | INFO :      -> (5) Changed file attributes: winning file has different file attributes: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-43034-client-B/file1.jpg
16-2-17 8:18:51.295 | FileSystemActio | Test worker    | INFO :      -> SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:18:51.295 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:18:51.295 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:18:51.295 | FileSystemActio | Test worker    | INFO :    + SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:18:51.295 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:18:51.295 | DownOperation   | Test worker    | FINE :    +  SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:18:51.296 | FileVersionComp | Test worker    | INFO :      - [CHANGED_ATTRIBUTES]: Local file DIFFERS from file version, expected POSIX ATTRS = rw-rw-r--, but actual POSIX ATTRS = rwxrwxrwx, for file file1.jpg
16-2-17 8:18:51.296 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:18:51.297 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:18:51.297 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:18:51.297 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233131135, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.306 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233131162] ...
16-2-17 8:18:51.307 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233131162]
16-2-17 8:18:51.307 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:18:51.307 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
16-2-17 8:18:51.307 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@9aab69f) ...
16-2-17 8:18:51.307 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:18:51.310 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-43034-client-A/file1.jpg, but actual PATH = tmp/syncanytest/syncany-170216081832804-43034-client-B/file1.jpg, for file tmp/syncanytest/syncany-170216081832804-43034-client-B/file1.jpg
16-2-17 8:18:51.311 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.312 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.337 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
16-2-17 8:18:51.338 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
16-2-17 8:18:51.339 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
16-2-17 8:18:51.340 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
16-2-17 8:18:51.340 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
16-2-17 8:18:51.341 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
16-2-17 8:18:51.342 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
16-2-17 8:18:51.343 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
16-2-17 8:18:51.344 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc
16-2-17 8:18:51.349 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.349 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:18:51.356 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.357 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-A' ...
16-2-17 8:18:51.357 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.357 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.357 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.357 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.357 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.357 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.357 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.357 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.357 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-A' ...
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:18:51.358 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.358 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.358 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.358 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.358 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.358 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:18:51.358 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:18:51.383 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:18:51.383 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:18:51.391 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:18:51.394 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:18:51.395 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:18:51.401 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:18:51.401 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:18:51.401 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:18:51.402 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
16-2-17 8:18:51.404 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.407 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.409 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.412 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.415 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.417 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.424 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.427 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.429 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
16-2-17 8:18:51.431 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
16-2-17 8:18:51.433 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
16-2-17 8:18:51.435 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:18:51.435 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:18:51.436 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:18:51.439 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:18:51.441 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:18:51.443 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:18:51.445 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:18:51.447 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:18:51.449 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:18:51.449 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
16-2-17 8:18:51.452 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
16-2-17 8:18:51.454 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
16-2-17 8:18:51.457 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
16-2-17 8:18:51.463 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:18:51.463 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
16-2-17 8:18:51.465 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
16-2-17 8:18:51.469 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:18:51.469 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:18:51.469 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
16-2-17 8:18:51.472 | UpOperation     | Test worker    | INFO : 
16-2-17 8:18:51.472 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:18:51.472 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.472 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@7a6c9167) ...
16-2-17 8:18:51.473 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.474 | StatusOperation | Test worker    | INFO : 
16-2-17 8:18:51.474 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:18:51.474 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.474 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
16-2-17 8:18:51.474 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:18:51.474 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@4d2101ca) ...
16-2-17 8:18:51.475 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-82633-client-A ...
16-2-17 8:18:51.475 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:18:51.476 | StatusOperation | Test worker    | FINE : - New file: file1.jpg
16-2-17 8:18:51.476 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@1419239f) ...
16-2-17 8:18:51.476 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:18:51.479 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.479 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:18:51.479 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:18:51.479 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.480 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@3b2e66dd) ...
16-2-17 8:18:51.480 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:18:51.480 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@3ebc0573) ...
16-2-17 8:18:51.480 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:18:51.481 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233131358] ...
16-2-17 8:18:51.481 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233131358]
16-2-17 8:18:51.481 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233131358] ...
16-2-17 8:18:51.482 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.482 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:18:51.483 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:18:51.484 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@10a81f94) ...
16-2-17 8:18:51.484 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:18:51.484 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-82633-client-A/file1.jpg
16-2-17 8:18:51.484 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-82633-client-A/file1.jpg
16-2-17 8:18:51.486 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 69ec3ffd19a6cad78af43d10c1d37643eab16657
16-2-17 8:18:51.486 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk ac8274aa6453d422285dc323e28ec9383fa1d53b
16-2-17 8:18:51.487 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 69ec3ffd19a6cad78af43d10c1d37643eab16657 > ac8274aa6453d422285dc323e28ec9383fa1d53b
16-2-17 8:18:51.487 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 69ec3ffd19a6cad78af43d10c1d37643eab16657 > /tmp/syncanytest/syncany-170216081832804-82633-client-A/file1.jpg
16-2-17 8:18:51.488 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 69ec3ffd19a6cad78af43d10c1d37643eab16657)
16-2-17 8:18:51.489 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: file1.jpg, checksum: 69ec3ffd19a6cad78af43d10c1d37643eab16657)
16-2-17 8:18:51.489 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file file1.jpg
16-2-17 8:18:51.489 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:18:51.489 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:18:51.489 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@19a6a974) ...
16-2-17 8:18:51.490 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk ac8274aa6453d422285dc323e28ec9383fa1d53b
16-2-17 8:18:51.490 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@3d4dfc72) ...
16-2-17 8:18:51.490 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233131483, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.491 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:18:51.491 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:18:51.491 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:18:51.492 | UpOperation     | Test worker    | INFO : - Uploading multichunk ac8274aa6453d422285dc323e28ec9383fa1d53b from /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b to RemoteFile[name=multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b] ...
16-2-17 8:18:51.493 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b -> Temp. remote file: RemoteFile[name=temp-RPvdn-multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b], final location: RemoteFile[name=multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b]
16-2-17 8:18:51.493 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233131491, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.493 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233131491 to file /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:18:51.493 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:18:51.494 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:18:51.494 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:18:51.494 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-mNevC-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:18:51.494 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:18:51.494 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:18:51.497 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/temp-transaction-2132674347490947170.tmp
16-2-17 8:18:51.497 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@7ad60511) ...
16-2-17 8:18:51.497 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-13894188] ...
16-2-17 8:18:51.498 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:18:51.498 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@df9f0e2) ...
16-2-17 8:18:51.498 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b to temp. file RemoteFile[name=temp-RPvdn-multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b] ...
16-2-17 8:18:51.500 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@2ac58b41) ...
16-2-17 8:18:51.501 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-mNevC-database-A-0000000001] ...
16-2-17 8:18:51.501 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@1477cbb) ...
16-2-17 8:18:51.502 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-RPvdn-multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b] to final location RemoteFile[name=multichunk-ac8274aa6453d422285dc323e28ec9383fa1d53b] ...
16-2-17 8:18:51.504 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-mNevC-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:18:51.506 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-13894188] ...
16-2-17 8:18:51.506 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:18:51.507 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:18:51.507 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:18:51.507 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233131491) ...
16-2-17 8:18:51.510 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:18:51.519 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233131491, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.519 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:18:51.519 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:18:51.519 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233131507, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:18:51.519 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:18:51.521 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233131358] ...
16-2-17 8:18:51.522 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233131358]
16-2-17 8:18:51.522 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:18:51.522 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:18:51.522 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@70f5031f) ...
16-2-17 8:18:51.522 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.522 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-B' ...
16-2-17 8:18:51.522 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.522 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.522 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.522 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.523 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-B' ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.523 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:18:51.523 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:18:51.556 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:18:51.557 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:18:51.565 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:18:51.568 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:18:51.568 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:18:51.574 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:18:51.574 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:18:51.575 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:18:51.575 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
16-2-17 8:18:51.577 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.580 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.582 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.584 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.587 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.589 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.593 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.596 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:18:51.598 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
16-2-17 8:18:51.600 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
16-2-17 8:18:51.603 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
16-2-17 8:18:51.605 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:18:51.605 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:18:51.605 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:18:51.608 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:18:51.611 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:18:51.613 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:18:51.615 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:18:51.617 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:18:51.619 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:18:51.619 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
16-2-17 8:18:51.622 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
16-2-17 8:18:51.624 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
16-2-17 8:18:51.633 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
16-2-17 8:18:51.636 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:18:51.636 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
16-2-17 8:18:51.639 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
16-2-17 8:18:51.641 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:18:51.641 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:18:51.642 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
16-2-17 8:18:51.644 | DownOperation   | Test worker    | INFO : 
16-2-17 8:18:51.645 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:18:51.645 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.645 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@27d8fdc7) ...
16-2-17 8:18:51.645 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:18:51.646 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.646 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:18:51.647 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:18:51.647 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.647 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@45000692) ...
16-2-17 8:18:51.647 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:18:51.647 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:18:51.648 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6b7c6238) ...
16-2-17 8:18:51.648 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@733bdd64) ...
16-2-17 8:18:51.648 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233131523] ...
16-2-17 8:18:51.648 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233131523]
16-2-17 8:18:51.648 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233131523] ...
16-2-17 8:18:51.649 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:18:51.649 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:18:51.649 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@61d87554) ...
16-2-17 8:18:51.650 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:18:51.650 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:18:51.657 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233131491
16-2-17 8:18:51.659 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-82633-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:18:51.660 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:18:51.660 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233131491], B=[]}
16-2-17 8:18:51.660 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:18:51.660 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233131491
16-2-17 8:18:51.661 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:18:51.661 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233131491
16-2-17 8:18:51.661 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:18:51.661 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:18:51.661 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:18:51.661 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:18:51.661 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233131491]
16-2-17 8:18:51.662 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:18:51.662 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233131491]
16-2-17 8:18:51.662 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:18:51.662 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:18:51.666 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233131491
16-2-17 8:18:51.666 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:18:51.667 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.668 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:18:51.668 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:18:51.668 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:18:51.669 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:18:51.669 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file file1.jpg
16-2-17 8:18:51.669 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081832804-82633-client-B/file1.jpg
16-2-17 8:18:51.669 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:18:51.670 | DownOperation   | Test worker    | INFO :   + Adding multichunk ac8274aa6453d422285dc323e28ec9383fa1d53b to download list ...
16-2-17 8:18:51.670 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:18:51.670 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@e0b0fc8) ...
16-2-17 8:18:51.670 | Downloader      | Test worker    | INFO :   + Downloading multichunk ac8274aa6453d422285dc323e28ec9383fa1d53b ...
16-2-17 8:18:51.671 | Downloader      | Test worker    | INFO :   + Decrypting multichunk ac8274aa6453d422285dc323e28ec9383fa1d53b ...
16-2-17 8:18:51.671 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk ac8274aa6453d422285dc323e28ec9383fa1d53b ...
16-2-17 8:18:51.672 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:18:51.672 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:18:51.672 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:18:51.673 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:18:51.673 | Assembler       | Test worker    | INFO :      - Creating file file1.jpg to /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/temp-reconstructedFileVersion-2899431874205965377.tmp ...
16-2-17 8:18:51.674 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:18:51.675 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:18:51.675 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:18:51.675 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233131491, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:18:51.682 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233131523] ...
16-2-17 8:18:51.683 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233131523]
16-2-17 8:18:51.683 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:18:51.683 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:18:51.683 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@62a39c1c) ...
16-2-17 8:18:51.683 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:18:51.685 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.685 | StatusOperation | Test worker    | INFO : 
16-2-17 8:18:51.685 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
16-2-17 8:18:51.685 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.685 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:18:51.685 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@7253e4ce) ...
16-2-17 8:18:51.686 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-82633-client-B ...
16-2-17 8:18:51.686 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:18:51.686 | FileVersionComp | Test worker    | INFO :      - [CHANGED_ATTRIBUTES]: Local file DIFFERS from file version, expected POSIX ATTRS = rw-rw-r--, but actual POSIX ATTRS = rwxrwxrwx, for file file1.jpg
16-2-17 8:18:51.686 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@753e76dd) ...
16-2-17 8:18:51.686 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-B' ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.687 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-B' ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.687 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:18:51.687 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:18:51.690 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.690 | UpOperation     | Test worker    | INFO : 
16-2-17 8:18:51.690 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
16-2-17 8:18:51.690 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.690 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@5616e01a) ...
16-2-17 8:18:51.691 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.691 | StatusOperation | Test worker    | INFO : 
16-2-17 8:18:51.691 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
16-2-17 8:18:51.691 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.691 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:18:51.691 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@3015399) ...
16-2-17 8:18:51.693 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081832804-82633-client-B ...
16-2-17 8:18:51.693 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:18:51.693 | FileVersionComp | Test worker    | INFO :      - [CHANGED_ATTRIBUTES]: Local file DIFFERS from file version, expected POSIX ATTRS = rw-rw-r--, but actual POSIX ATTRS = rwxrwxrwx, for file file1.jpg
16-2-17 8:18:51.693 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@67ec5b8f) ...
16-2-17 8:18:51.694 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:18:51.694 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.695 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:18:51.695 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:18:51.695 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.695 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@56bcc601) ...
16-2-17 8:18:51.695 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:18:51.695 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:18:51.696 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@74335b4c) ...
16-2-17 8:18:51.696 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:18:51.696 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1487233131687] ...
16-2-17 8:18:51.696 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1487233131687]
16-2-17 8:18:51.696 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1487233131687] ...
16-2-17 8:18:51.697 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.698 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:18:51.699 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:18:51.699 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@32c6e20e) ...
16-2-17 8:18:51.699 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:18:51.699 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081832804-82633-client-B/file1.jpg
16-2-17 8:18:51.699 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081832804-82633-client-B/file1.jpg
16-2-17 8:18:51.701 | Indexer         | AsyncI/syncany | FINE : - Chunk exists: 69ec3ffd19a6cad78af43d10c1d37643eab16657
16-2-17 8:18:51.701 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 69ec3ffd19a6cad78af43d10c1d37643eab16657 > /tmp/syncanytest/syncany-170216081832804-82633-client-B/file1.jpg
16-2-17 8:18:51.702 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 69ec3ffd19a6cad78af43d10c1d37643eab16657)
16-2-17 8:18:51.703 | Indexer         | AsyncI/syncany | FINE :    * Found old file history f798521f0be508f038db4919f70071030b466df3 (by path: file1.jpg), appending new version.
16-2-17 8:18:51.703 | FileVersionComp | AsyncI/syncany | INFO :      - [CHANGED_ATTRIBUTES]: Local file DIFFERS from file version, expected POSIX ATTRS = rwxrwxrwx, but actual POSIX ATTRS = rw-rw-r--, for file file1.jpg
16-2-17 8:18:51.703 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
16-2-17 8:18:51.704 | Indexer         | AsyncI/syncany | INFO :      based on file version: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:18:51.704 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@29b9c9dd) ...
16-2-17 8:18:51.704 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@782bde19) ...
16-2-17 8:18:51.704 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233131699, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:18:51.705 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:18:51.705 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
16-2-17 8:18:51.706 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:18:51.706 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1487233131706, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:18:51.706 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1487233131706 to file /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-B-0000000001 ... 
16-2-17 8:18:51.706 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-B-0000000001 ...
16-2-17 8:18:51.707 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:18:51.707 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
16-2-17 8:18:51.707 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-OWVsA-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
16-2-17 8:18:51.707 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:18:51.707 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:18:51.711 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/temp-transaction-6586219993072382300.tmp
16-2-17 8:18:51.716 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@5525682c) ...
16-2-17 8:18:51.716 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-6fc255f7] ...
16-2-17 8:18:51.717 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:18:51.717 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@7c621484) ...
16-2-17 8:18:51.717 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081832804-82633-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-OWVsA-database-B-0000000001] ...
16-2-17 8:18:51.718 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-OWVsA-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
16-2-17 8:18:51.718 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-6fc255f7] ...
16-2-17 8:18:51.718 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:18:51.718 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:18:51.718 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1487233131706) ...
16-2-17 8:18:51.720 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:18:51.720 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@3735c63d) ...
16-2-17 8:18:51.728 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:18:51.728 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1487233131706, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:18:51.728 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:18:51.729 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:18:51.729 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233131728, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:18:51.729 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:18:51.731 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1487233131687] ...
16-2-17 8:18:51.740 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1487233131687]
16-2-17 8:18:51.740 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:18:51.740 | Cache           | Test worker    | INFO : Cache size okay (52 KB), no need to clean (keep size is 500 MB)
16-2-17 8:18:51.741 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@4d96c5ac) ...
16-2-17 8:18:51.742 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.744 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.744 | FileVersionSqlD | Test worker    | INFO :  getFileTree(path = file1.jpg, history = %, minSlash = 0, maxSlash = 0, date <= Sat Jan 01 01:01:01 UTC 2101, types = FILE, FOLDER, SYMLINK
16-2-17 8:18:51.752 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.752 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-A' ...
16-2-17 8:18:51.753 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.753 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.753 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.753 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.753 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.753 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.753 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.754 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.754 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:18:51.754 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081832804-82633-client-A' ...
16-2-17 8:18:51.754 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:18:51.754 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:18:51.754 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:18:51.754 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:18:51.754 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:18:51.755 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:18:51.755 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:18:51.755 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:18:51.755 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:18:51.755 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:18:51.755 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:18:51.755 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:18:51.756 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.757 | DownOperation   | Test worker    | INFO : 
16-2-17 8:18:51.757 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
16-2-17 8:18:51.757 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.757 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@118f89df) ...
16-2-17 8:18:51.757 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:18:51.757 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.757 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:18:51.757 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:18:51.757 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:18:51.757 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@38ca3a7e) ...
16-2-17 8:18:51.758 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:18:51.758 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
16-2-17 8:18:51.758 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
16-2-17 8:18:51.761 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7809a00a) ...
16-2-17 8:18:51.761 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@63df03c9) ...
16-2-17 8:18:51.761 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1487233131755] ...
16-2-17 8:18:51.761 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1487233131755]
16-2-17 8:18:51.762 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1487233131755] ...
16-2-17 8:18:51.762 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:18:51.762 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-B-0000000001
16-2-17 8:18:51.763 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@29b154f) ...
16-2-17 8:18:51.763 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:18:51.763 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:18:51.766 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233131706
16-2-17 8:18:51.770 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-82633-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:18:51.770 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081832804-82633-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:18:51.770 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:18:51.770 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233131491], B=[B/(A1,B1)/T=1487233131706]}
16-2-17 8:18:51.771 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:18:51.772 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233131491
16-2-17 8:18:51.772 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1487233131706
16-2-17 8:18:51.772 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
16-2-17 8:18:51.772 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233131491
16-2-17 8:18:51.772 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1487233131706
16-2-17 8:18:51.773 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:18:51.773 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:18:51.773 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:18:51.773 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1487233131491]
16-2-17 8:18:51.773 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233131491, B/(A1,B1)/T=1487233131706]
16-2-17 8:18:51.773 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:18:51.773 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1487233131706]
16-2-17 8:18:51.773 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:18:51.773 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081832804-82633-client-A/.syncany/cache/database-B-0000000001 ...
16-2-17 8:18:51.777 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1487233131706
16-2-17 8:18:51.777 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:18:51.779 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.781 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:18:51.782 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:18:51.782 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:18:51.782 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
16-2-17 8:18:51.783 | FileVersionComp | Test worker    | INFO :      - [CHANGED_ATTRIBUTES]: Local file DIFFERS from file version, expected POSIX ATTRS = rwxrwxrwx, but actual POSIX ATTRS = rw-rw-r--, for file file1.jpg
16-2-17 8:18:51.783 | FileSystemActio | Test worker    | INFO :      -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = /tmp/syncanytest/syncany-170216081832804-82633-client-A/file1.jpg, local version = FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
16-2-17 8:18:51.784 | FileSystemActio | Test worker    | INFO :      -> RenameFileSystemAction [file1=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
16-2-17 8:18:51.784 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:18:51.784 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:18:51.784 | FileSystemActio | Test worker    | INFO :    + RenameFileSystemAction [file1=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
16-2-17 8:18:51.784 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:18:51.784 | DownOperation   | Test worker    | FINE :    +  RenameFileSystemAction [file1=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Feb 16 08:18:51 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Feb 16 08:18:51 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
16-2-17 8:18:51.784 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxrwx ...
16-2-17 8:18:51.785 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:18:51.786 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
16-2-17 8:18:51.786 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1487233131706, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
16-2-17 8:18:51.792 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1487233131755] ...
16-2-17 8:18:51.796 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1487233131755]
16-2-17 8:18:51.796 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:18:51.796 | Cache           | Test worker    | INFO : Cache size okay (52 KB), no need to clean (keep size is 500 MB)
16-2-17 8:18:51.797 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@1a1ff4f3) ...
16-2-17 8:18:51.797 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:18:51.804 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081832804-82633-client-A/file1.jpg, but actual PATH = tmp/syncanytest/syncany-170216081832804-82633-client-B/file1.jpg, for file tmp/syncanytest/syncany-170216081832804-82633-client-B/file1.jpg
16-2-17 8:18:51.805 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.806 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:18:51.836 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
16-2-17 8:18:51.837 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
16-2-17 8:18:51.838 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
16-2-17 8:18:51.839 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
16-2-17 8:18:51.841 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
16-2-17 8:18:51.842 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
16-2-17 8:18:51.843 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
16-2-17 8:18:51.844 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
16-2-17 8:18:51.845 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc