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

2

tests

0

failures

0

ignored

0.801s

duration

100%

successful

Tests

Test Duration Result
testChangeAttributes 0.431s passed
testNewFileWithDifferingAttributes 0.370s passed

Standard error

27-4-17 11:00:29.595 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.595 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
27-4-17 11:00:29.604 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79409-client-A' ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:29.605 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79409-client-A' ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:29.605 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:29.605 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:29.606 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:00:29.606 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:00:29.621 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:00:29.621 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:00:29.629 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:00:29.631 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:00:29.632 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:00:29.638 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:00:29.638 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:00:29.639 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:00:29.639 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
27-4-17 11:00:29.641 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.644 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.646 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.649 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.652 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.654 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.662 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.665 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.668 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
27-4-17 11:00:29.671 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
27-4-17 11:00:29.673 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
27-4-17 11:00:29.676 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:00:29.676 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:00:29.676 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:00:29.679 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:00:29.681 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:00:29.684 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:00:29.686 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:00:29.688 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:00:29.691 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:00:29.691 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
27-4-17 11:00:29.694 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
27-4-17 11:00:29.696 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
27-4-17 11:00:29.699 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
27-4-17 11:00:29.703 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:00:29.703 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
27-4-17 11:00:29.706 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
27-4-17 11:00:29.708 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:00:29.708 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:00:29.709 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
27-4-17 11:00:29.713 | UpOperation     | Test worker    | INFO : 
27-4-17 11:00:29.713 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:00:29.713 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:29.713 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@7480ab73) ...
27-4-17 11:00:29.715 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.715 | StatusOperation | Test worker    | INFO : 
27-4-17 11:00:29.715 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:00:29.715 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:29.715 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
27-4-17 11:00:29.715 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:00:29.715 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@4bc2b2dd) ...
27-4-17 11:00:29.717 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-79409-client-A ...
27-4-17 11:00:29.718 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:00:29.718 | StatusOperation | Test worker    | FINE : - New file: file1.jpg
27-4-17 11:00:29.718 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@3663c82a) ...
27-4-17 11:00:29.718 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:00:29.720 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.720 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:00:29.721 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:00:29.721 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:29.721 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@3d428736) ...
27-4-17 11:00:29.721 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:00:29.721 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@739ef187) ...
27-4-17 11:00:29.722 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:00:29.722 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290829606] ...
27-4-17 11:00:29.722 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290829606]
27-4-17 11:00:29.722 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290829606] ...
27-4-17 11:00:29.723 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.724 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:00:29.724 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:00:29.724 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@76833167) ...
27-4-17 11:00:29.724 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:00:29.724 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-79409-client-A/file1.jpg
27-4-17 11:00:29.724 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170427110011148-79409-client-A/file1.jpg
27-4-17 11:00:29.726 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 04dd73980ef5db2af51c41bff78dd427623e90ef
27-4-17 11:00:29.726 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 49bf35064c709abfea64f3c144da3db84aacbb3f
27-4-17 11:00:29.727 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 04dd73980ef5db2af51c41bff78dd427623e90ef > 49bf35064c709abfea64f3c144da3db84aacbb3f
27-4-17 11:00:29.727 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 04dd73980ef5db2af51c41bff78dd427623e90ef > /tmp/syncanytest/syncany-170427110011148-79409-client-A/file1.jpg
27-4-17 11:00:29.727 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 04dd73980ef5db2af51c41bff78dd427623e90ef)
27-4-17 11:00:29.728 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: file1.jpg, checksum: 04dd73980ef5db2af51c41bff78dd427623e90ef)
27-4-17 11:00:29.728 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file file1.jpg
27-4-17 11:00:29.729 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Apr 27 11:00:29 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:00:29.729 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:00:29.729 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@1c329bf8) ...
27-4-17 11:00:29.729 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 49bf35064c709abfea64f3c144da3db84aacbb3f
27-4-17 11:00:29.729 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@2ed6e913) ...
27-4-17 11:00:29.730 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290829724, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:29.730 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:00:29.730 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
27-4-17 11:00:29.731 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:00:29.731 | UpOperation     | Test worker    | INFO : - Uploading multichunk 49bf35064c709abfea64f3c144da3db84aacbb3f from /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f to RemoteFile[name=multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f] ...
27-4-17 11:00:29.731 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f -> Temp. remote file: RemoteFile[name=temp-QpzOO-multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f], final location: RemoteFile[name=multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f]
27-4-17 11:00:29.731 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1493290829731, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:29.731 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1493290829731 to file /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/database-A-0000000001 ... 
27-4-17 11:00:29.731 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/database-A-0000000001 ...
27-4-17 11:00:29.732 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:00:29.732 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
27-4-17 11:00:29.732 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-xVhVQ-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
27-4-17 11:00:29.733 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:00:29.733 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:00:29.735 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/temp-transaction-9088894827316110717.tmp
27-4-17 11:00:29.735 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@73d0a8ef) ...
27-4-17 11:00:29.735 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-2cf3d100] ...
27-4-17 11:00:29.735 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:00:29.735 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@6514df18) ...
27-4-17 11:00:29.735 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f to temp. file RemoteFile[name=temp-QpzOO-multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f] ...
27-4-17 11:00:29.736 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@2244a3b) ...
27-4-17 11:00:29.736 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-79409-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-xVhVQ-database-A-0000000001] ...
27-4-17 11:00:29.736 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-QpzOO-multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f] to final location RemoteFile[name=multichunk-49bf35064c709abfea64f3c144da3db84aacbb3f] ...
27-4-17 11:00:29.736 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-xVhVQ-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
27-4-17 11:00:29.736 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-2cf3d100] ...
27-4-17 11:00:29.737 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:00:29.737 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:00:29.737 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1493290829731) ...
27-4-17 11:00:29.738 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@3c33cd10) ...
27-4-17 11:00:29.746 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:00:29.753 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:00:29.755 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1493290829731, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:29.755 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:00:29.755 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:00:29.756 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290829753, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:00:29.756 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:00:29.758 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290829606] ...
27-4-17 11:00:29.758 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290829606]
27-4-17 11:00:29.758 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:00:29.758 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:00:29.758 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@5c5e1e4b) ...
27-4-17 11:00:29.759 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79409-client-B' ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:29.759 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-79409-client-B' ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:00:29.759 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:29.759 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:29.760 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:29.760 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:29.760 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:29.760 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:00:29.760 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:00:29.786 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:00:29.786 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:00:29.794 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:00:29.797 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:00:29.797 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:00:29.803 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:00:29.803 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:00:29.804 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:00:29.804 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
27-4-17 11:00:29.808 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.811 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.814 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.816 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.819 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.821 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.824 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.826 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:29.832 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
27-4-17 11:00:29.834 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
27-4-17 11:00:29.839 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
27-4-17 11:00:29.841 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:00:29.841 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:00:29.842 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:00:29.845 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:00:29.847 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:00:29.850 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:00:29.852 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:00:29.854 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:00:29.856 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:00:29.856 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
27-4-17 11:00:29.860 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
27-4-17 11:00:29.862 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
27-4-17 11:00:29.865 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
27-4-17 11:00:29.870 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:00:29.870 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
27-4-17 11:00:29.873 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
27-4-17 11:00:29.876 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:00:29.876 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:00:29.876 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
27-4-17 11:00:29.879 | DownOperation   | Test worker    | INFO : 
27-4-17 11:00:29.879 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:00:29.879 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:29.880 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@68756a12) ...
27-4-17 11:00:29.880 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:00:29.884 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.884 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:00:29.884 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:00:29.884 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:29.884 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@35f8e678) ...
27-4-17 11:00:29.885 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:00:29.885 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
27-4-17 11:00:29.885 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@342fbc45) ...
27-4-17 11:00:29.885 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@3a8332cb) ...
27-4-17 11:00:29.885 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290829760] ...
27-4-17 11:00:29.885 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290829760]
27-4-17 11:00:29.886 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290829760] ...
27-4-17 11:00:29.886 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:00:29.887 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170427110011148-79409-client-B/.syncany/cache/database-A-0000000001
27-4-17 11:00:29.887 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@3da1688e) ...
27-4-17 11:00:29.887 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:00:29.888 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-79409-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:00:29.891 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290829731
27-4-17 11:00:29.891 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-79409-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:00:29.892 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:00:29.892 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290829731], B=[]}
27-4-17 11:00:29.892 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:00:29.892 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290829731
27-4-17 11:00:29.892 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:00:29.892 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290829731
27-4-17 11:00:29.893 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:00:29.893 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:00:29.893 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:00:29.893 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
27-4-17 11:00:29.893 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290829731]
27-4-17 11:00:29.893 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:00:29.893 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1493290829731]
27-4-17 11:00:29.893 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:00:29.894 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-79409-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:00:29.895 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290829731
27-4-17 11:00:29.895 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:00:29.897 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.898 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:00:29.898 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:00:29.898 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:00:29.898 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Apr 27 11:00:29 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:00:29.899 | 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
27-4-17 11:00:29.900 | 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 Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Apr 27 11:00:29 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-79409-client-B/file1.jpg
27-4-17 11:00:29.901 | FileSystemActio | Test worker    | INFO :      -> SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Apr 27 11:00:29 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:00:29.901 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:00:29.901 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:00:29.901 | FileSystemActio | Test worker    | INFO :    + SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Apr 27 11:00:29 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:00:29.901 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:00:29.901 | DownOperation   | Test worker    | FINE :    +  SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=04dd73980ef5db2af51c41bff78dd427623e90ef, updated=Thu Apr 27 11:00:29 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:00:29.903 | 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
27-4-17 11:00:29.903 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
27-4-17 11:00:29.903 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:00:29.903 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
27-4-17 11:00:29.903 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1493290829731, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:29.912 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290829760] ...
27-4-17 11:00:29.913 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290829760]
27-4-17 11:00:29.913 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:00:29.913 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
27-4-17 11:00:29.913 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@75ec68a3) ...
27-4-17 11:00:29.913 | DownOperation   | Test worker    | INFO : Sync down done.
27-4-17 11:00:29.918 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170427110011148-79409-client-A/file1.jpg, but actual PATH = tmp/syncanytest/syncany-170427110011148-79409-client-B/file1.jpg, for file tmp/syncanytest/syncany-170427110011148-79409-client-B/file1.jpg
27-4-17 11:00:29.920 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.921 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:29.945 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
27-4-17 11:00:29.947 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
27-4-17 11:00:29.954 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
27-4-17 11:00:29.957 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
27-4-17 11:00:29.958 | 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
27-4-17 11:00:29.959 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
27-4-17 11:00:29.960 | 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
27-4-17 11:00:29.961 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
27-4-17 11:00:29.962 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc
27-4-17 11:00:29.966 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.966 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
27-4-17 11:00:29.987 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.987 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-A' ...
27-4-17 11:00:29.987 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:29.987 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:29.988 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:29.988 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:29.988 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:29.988 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:29.988 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:29.989 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:29.989 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:29.989 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-A' ...
27-4-17 11:00:29.989 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:29.990 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:29.990 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:00:29.990 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:00:29.990 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:29.990 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:29.990 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:29.990 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:29.991 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:29.991 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:29.991 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:00:29.991 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:00:30.006 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:00:30.007 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:00:30.014 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:00:30.017 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:00:30.018 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:00:30.024 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:00:30.024 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:00:30.024 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:00:30.025 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
27-4-17 11:00:30.027 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.030 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.032 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.035 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.037 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.040 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.043 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.045 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.048 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
27-4-17 11:00:30.050 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
27-4-17 11:00:30.052 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
27-4-17 11:00:30.054 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:00:30.054 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:00:30.055 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:00:30.058 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:00:30.060 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:00:30.062 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:00:30.064 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:00:30.066 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:00:30.068 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:00:30.068 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
27-4-17 11:00:30.071 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
27-4-17 11:00:30.076 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
27-4-17 11:00:30.079 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
27-4-17 11:00:30.082 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:00:30.082 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
27-4-17 11:00:30.084 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
27-4-17 11:00:30.087 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:00:30.087 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:00:30.087 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
27-4-17 11:00:30.093 | UpOperation     | Test worker    | INFO : 
27-4-17 11:00:30.093 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:00:30.093 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.093 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@64e2aad2) ...
27-4-17 11:00:30.094 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.094 | StatusOperation | Test worker    | INFO : 
27-4-17 11:00:30.094 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:00:30.094 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.094 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
27-4-17 11:00:30.094 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:00:30.094 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@1a5e7c87) ...
27-4-17 11:00:30.095 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-30518-client-A ...
27-4-17 11:00:30.095 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:00:30.095 | StatusOperation | Test worker    | FINE : - New file: file1.jpg
27-4-17 11:00:30.095 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@54aacd9f) ...
27-4-17 11:00:30.095 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:00:30.098 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.098 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:00:30.098 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:00:30.098 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.098 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@164237d7) ...
27-4-17 11:00:30.098 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:00:30.101 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@19cec0b7) ...
27-4-17 11:00:30.101 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:00:30.102 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290829991] ...
27-4-17 11:00:30.102 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290829991]
27-4-17 11:00:30.102 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290829991] ...
27-4-17 11:00:30.103 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.103 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:00:30.105 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:00:30.106 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@3f21c2f2) ...
27-4-17 11:00:30.106 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:00:30.106 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-30518-client-A/file1.jpg
27-4-17 11:00:30.106 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170427110011148-30518-client-A/file1.jpg
27-4-17 11:00:30.109 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 69ec3ffd19a6cad78af43d10c1d37643eab16657
27-4-17 11:00:30.110 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5
27-4-17 11:00:30.110 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 69ec3ffd19a6cad78af43d10c1d37643eab16657 > f0de586a3d980f74ddf2c9f6e5db99e4a63672b5
27-4-17 11:00:30.110 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 69ec3ffd19a6cad78af43d10c1d37643eab16657 > /tmp/syncanytest/syncany-170427110011148-30518-client-A/file1.jpg
27-4-17 11:00:30.110 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 69ec3ffd19a6cad78af43d10c1d37643eab16657)
27-4-17 11:00:30.111 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: file1.jpg, checksum: 69ec3ffd19a6cad78af43d10c1d37643eab16657)
27-4-17 11:00:30.112 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file file1.jpg
27-4-17 11:00:30.112 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:00:30.112 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:00:30.112 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@6bba8863) ...
27-4-17 11:00:30.112 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5
27-4-17 11:00:30.112 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@4b587079) ...
27-4-17 11:00:30.113 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290830106, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:30.113 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:00:30.113 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
27-4-17 11:00:30.113 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@a26d2eb) ...
27-4-17 11:00:30.113 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:00:30.114 | UpOperation     | Test worker    | INFO : - Uploading multichunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 from /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 to RemoteFile[name=multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5] ...
27-4-17 11:00:30.114 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 -> Temp. remote file: RemoteFile[name=temp-JtZGh-multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5], final location: RemoteFile[name=multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5]
27-4-17 11:00:30.114 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1493290830113, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:30.114 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1493290830113 to file /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-A-0000000001 ... 
27-4-17 11:00:30.114 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-A-0000000001 ...
27-4-17 11:00:30.115 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:00:30.115 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
27-4-17 11:00:30.115 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-lltWc-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
27-4-17 11:00:30.116 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:00:30.116 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:00:30.118 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/temp-transaction-2416195860422604168.tmp
27-4-17 11:00:30.118 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@92c3bc2) ...
27-4-17 11:00:30.118 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-7a96d458] ...
27-4-17 11:00:30.118 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:00:30.118 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@408bde18) ...
27-4-17 11:00:30.119 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 to temp. file RemoteFile[name=temp-JtZGh-multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5] ...
27-4-17 11:00:30.119 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@5a77e560) ...
27-4-17 11:00:30.119 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-lltWc-database-A-0000000001] ...
27-4-17 11:00:30.120 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-JtZGh-multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5] to final location RemoteFile[name=multichunk-f0de586a3d980f74ddf2c9f6e5db99e4a63672b5] ...
27-4-17 11:00:30.120 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-lltWc-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
27-4-17 11:00:30.121 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-7a96d458] ...
27-4-17 11:00:30.121 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:00:30.121 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:00:30.121 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1493290830113) ...
27-4-17 11:00:30.123 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:00:30.127 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:00:30.131 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1493290830113, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:30.132 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:00:30.132 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:00:30.132 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290830127, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:00:30.132 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:00:30.134 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290829991] ...
27-4-17 11:00:30.134 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290829991]
27-4-17 11:00:30.135 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:00:30.135 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:00:30.135 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@55ee7b1e) ...
27-4-17 11:00:30.135 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:30.135 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-B' ...
27-4-17 11:00:30.135 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:30.135 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:30.135 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:30.135 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:30.135 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:30.135 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:30.135 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:30.135 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:30.136 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-B' ...
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:00:30.136 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:30.136 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:30.136 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:30.136 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:30.136 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:30.136 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:00:30.136 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:00:30.161 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:00:30.161 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:00:30.170 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:00:30.173 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:00:30.173 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:00:30.179 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:00:30.179 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:00:30.179 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:00:30.179 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
27-4-17 11:00:30.182 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.184 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.186 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.188 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.191 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.193 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.196 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.198 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
27-4-17 11:00:30.200 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
27-4-17 11:00:30.202 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
27-4-17 11:00:30.205 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
27-4-17 11:00:30.207 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:00:30.207 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:00:30.208 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:00:30.210 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:00:30.212 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:00:30.214 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:00:30.217 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:00:30.219 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:00:30.221 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:00:30.221 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
27-4-17 11:00:30.224 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
27-4-17 11:00:30.226 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
27-4-17 11:00:30.229 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
27-4-17 11:00:30.232 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:00:30.232 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
27-4-17 11:00:30.234 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
27-4-17 11:00:30.237 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:00:30.237 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:00:30.237 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
27-4-17 11:00:30.240 | DownOperation   | Test worker    | INFO : 
27-4-17 11:00:30.240 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:00:30.240 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.240 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@6027a3b2) ...
27-4-17 11:00:30.240 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:00:30.243 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.243 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:00:30.243 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:00:30.243 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.243 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@29c01d48) ...
27-4-17 11:00:30.244 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:00:30.244 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
27-4-17 11:00:30.244 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@3520483e) ...
27-4-17 11:00:30.244 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@4952aa2e) ...
27-4-17 11:00:30.244 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290830136] ...
27-4-17 11:00:30.244 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290830136]
27-4-17 11:00:30.245 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290830136] ...
27-4-17 11:00:30.245 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:00:30.245 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-A-0000000001
27-4-17 11:00:30.245 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@5f7c19a) ...
27-4-17 11:00:30.246 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:00:30.246 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:00:30.253 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290830113
27-4-17 11:00:30.253 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-30518-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:00:30.254 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:00:30.254 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290830113], B=[]}
27-4-17 11:00:30.254 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:00:30.254 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290830113
27-4-17 11:00:30.254 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:00:30.254 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290830113
27-4-17 11:00:30.254 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:00:30.254 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:00:30.254 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:00:30.254 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
27-4-17 11:00:30.254 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290830113]
27-4-17 11:00:30.254 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:00:30.255 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1493290830113]
27-4-17 11:00:30.255 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:00:30.255 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:00:30.257 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290830113
27-4-17 11:00:30.257 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:00:30.258 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.259 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:00:30.259 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:00:30.259 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:00:30.259 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:00:30.259 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file file1.jpg
27-4-17 11:00:30.259 | 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 Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110011148-30518-client-B/file1.jpg
27-4-17 11:00:30.259 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:00:30.260 | DownOperation   | Test worker    | INFO :   + Adding multichunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 to download list ...
27-4-17 11:00:30.260 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:00:30.260 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@41f67c6d) ...
27-4-17 11:00:30.260 | Downloader      | Test worker    | INFO :   + Downloading multichunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 ...
27-4-17 11:00:30.261 | Downloader      | Test worker    | INFO :   + Decrypting multichunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 ...
27-4-17 11:00:30.261 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk f0de586a3d980f74ddf2c9f6e5db99e4a63672b5 ...
27-4-17 11:00:30.262 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:00:30.262 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:00:30.262 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:00:30.262 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:00:30.263 | Assembler       | Test worker    | INFO :      - Creating file file1.jpg to /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/temp-reconstructedFileVersion-3055521270218650102.tmp ...
27-4-17 11:00:30.264 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
27-4-17 11:00:30.264 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:00:30.264 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
27-4-17 11:00:30.265 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1493290830113, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:00:30.272 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290830136] ...
27-4-17 11:00:30.273 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290830136]
27-4-17 11:00:30.274 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:00:30.274 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:00:30.274 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@46026935) ...
27-4-17 11:00:30.274 | DownOperation   | Test worker    | INFO : Sync down done.
27-4-17 11:00:30.275 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.275 | StatusOperation | Test worker    | INFO : 
27-4-17 11:00:30.275 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
27-4-17 11:00:30.275 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.275 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:00:30.275 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@1b43ebef) ...
27-4-17 11:00:30.276 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-30518-client-B ...
27-4-17 11:00:30.276 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:00:30.277 | 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
27-4-17 11:00:30.277 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@7a7b0001) ...
27-4-17 11:00:30.277 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:30.277 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-B' ...
27-4-17 11:00:30.277 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:30.277 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:30.277 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:30.277 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:30.277 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:30.277 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:30.277 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:30.277 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:30.278 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-B' ...
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:00:30.278 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:30.278 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:30.278 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:30.278 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:30.278 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:30.278 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:00:30.278 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:00:30.279 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.279 | UpOperation     | Test worker    | INFO : 
27-4-17 11:00:30.279 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
27-4-17 11:00:30.279 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.279 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@37852650) ...
27-4-17 11:00:30.280 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.280 | StatusOperation | Test worker    | INFO : 
27-4-17 11:00:30.280 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
27-4-17 11:00:30.280 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.280 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:00:30.280 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@4f086d8c) ...
27-4-17 11:00:30.281 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110011148-30518-client-B ...
27-4-17 11:00:30.281 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:00:30.281 | 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
27-4-17 11:00:30.282 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@25c97e3a) ...
27-4-17 11:00:30.282 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:00:30.282 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.282 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:00:30.282 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:00:30.282 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.282 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@72f2d1cd) ...
27-4-17 11:00:30.283 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:00:30.283 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
27-4-17 11:00:30.283 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@39f7cc57) ...
27-4-17 11:00:30.283 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:00:30.283 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1493290830278] ...
27-4-17 11:00:30.283 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1493290830278]
27-4-17 11:00:30.283 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1493290830278] ...
27-4-17 11:00:30.284 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.285 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:00:30.285 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:00:30.285 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@6ff419f7) ...
27-4-17 11:00:30.286 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:00:30.286 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110011148-30518-client-B/file1.jpg
27-4-17 11:00:30.286 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170427110011148-30518-client-B/file1.jpg
27-4-17 11:00:30.287 | Indexer         | AsyncI/syncany | FINE : - Chunk exists: 69ec3ffd19a6cad78af43d10c1d37643eab16657
27-4-17 11:00:30.287 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 69ec3ffd19a6cad78af43d10c1d37643eab16657 > /tmp/syncanytest/syncany-170427110011148-30518-client-B/file1.jpg
27-4-17 11:00:30.287 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 69ec3ffd19a6cad78af43d10c1d37643eab16657)
27-4-17 11:00:30.292 | Indexer         | AsyncI/syncany | FINE :    * Found old file history a7a200f467c1279c3db49f02e131a834e99d9f5e (by path: file1.jpg), appending new version.
27-4-17 11:00:30.292 | 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
27-4-17 11:00:30.292 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:00:30.292 | Indexer         | AsyncI/syncany | INFO :      based on file version: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:00:30.293 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@5f3f67b7) ...
27-4-17 11:00:30.293 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@60b4ffa6) ...
27-4-17 11:00:30.293 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290830285, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:00:30.293 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:00:30.294 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
27-4-17 11:00:30.294 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:00:30.294 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1493290830294, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:00:30.295 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1493290830294 to file /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-B-0000000001 ... 
27-4-17 11:00:30.295 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-B-0000000001 ...
27-4-17 11:00:30.295 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:00:30.295 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
27-4-17 11:00:30.296 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-GXQtZ-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
27-4-17 11:00:30.296 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:00:30.296 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:00:30.298 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/temp-transaction-495736244711206308.tmp
27-4-17 11:00:30.299 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@3e2a5b7) ...
27-4-17 11:00:30.299 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-2511eba8] ...
27-4-17 11:00:30.299 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:00:30.299 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@7c58911d) ...
27-4-17 11:00:30.299 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110011148-30518-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-GXQtZ-database-B-0000000001] ...
27-4-17 11:00:30.299 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-GXQtZ-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
27-4-17 11:00:30.300 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-2511eba8] ...
27-4-17 11:00:30.300 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:00:30.300 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:00:30.300 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1493290830294) ...
27-4-17 11:00:30.304 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@2c94a434) ...
27-4-17 11:00:30.305 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:00:30.308 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:00:30.311 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1493290830294, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:00:30.311 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:00:30.311 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:00:30.311 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290830308, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:00:30.311 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:00:30.313 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1493290830278] ...
27-4-17 11:00:30.315 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1493290830278]
27-4-17 11:00:30.315 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:00:30.315 | Cache           | Test worker    | INFO : Cache size okay (52 KB), no need to clean (keep size is 500 MB)
27-4-17 11:00:30.315 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@7dd7ecba) ...
27-4-17 11:00:30.317 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.319 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.319 | 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
27-4-17 11:00:30.321 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-A' ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:30.322 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110011148-30518-client-A' ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:00:30.322 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:00:30.322 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:00:30.323 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:00:30.323 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:00:30.323 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:00:30.323 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:00:30.323 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:00:30.323 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:00:30.324 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.324 | DownOperation   | Test worker    | INFO : 
27-4-17 11:00:30.324 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
27-4-17 11:00:30.324 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.324 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@463fb8c6) ...
27-4-17 11:00:30.324 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:00:30.325 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.325 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:00:30.325 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:00:30.325 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:00:30.325 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@7aea4876) ...
27-4-17 11:00:30.325 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:00:30.325 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
27-4-17 11:00:30.325 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
27-4-17 11:00:30.325 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@2b09417b) ...
27-4-17 11:00:30.325 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@18dfe5a6) ...
27-4-17 11:00:30.325 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1493290830323] ...
27-4-17 11:00:30.325 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1493290830323]
27-4-17 11:00:30.326 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1493290830323] ...
27-4-17 11:00:30.326 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:00:30.326 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-B-0000000001
27-4-17 11:00:30.326 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@182e2d0d) ...
27-4-17 11:00:30.327 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:00:30.327 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-B-0000000001 ...
27-4-17 11:00:30.330 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1493290830294
27-4-17 11:00:30.330 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-30518-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:00:30.330 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110011148-30518-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:00:30.330 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290830113], B=[B/(A1,B1)/T=1493290830294]}
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290830113
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1493290830294
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290830113
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1493290830294
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1493290830113]
27-4-17 11:00:30.331 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290830113, B/(A1,B1)/T=1493290830294]
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1493290830294]
27-4-17 11:00:30.331 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:00:30.331 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110011148-30518-client-A/.syncany/cache/database-B-0000000001 ...
27-4-17 11:00:30.333 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1493290830294
27-4-17 11:00:30.334 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:00:30.335 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.336 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:00:30.336 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:00:30.336 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:00:30.336 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:00:30.336 | 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
27-4-17 11:00:30.337 | FileSystemActio | Test worker    | INFO :      -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = /tmp/syncanytest/syncany-170427110011148-30518-client-A/file1.jpg, local version = FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]
27-4-17 11:00:30.337 | FileSystemActio | Test worker    | INFO :      -> RenameFileSystemAction [file1=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:00:30.337 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:00:30.337 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:00:30.337 | FileSystemActio | Test worker    | INFO :    + RenameFileSystemAction [file1=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:00:30.337 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:00:30.337 | DownOperation   | Test worker    | FINE :    +  RenameFileSystemAction [file1=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=file1.jpg, type=FILE, status=CHANGED, size=51200, lastModified=Thu Apr 27 11:00:29 UTC 2017, linkTarget=null, checksum=69ec3ffd19a6cad78af43d10c1d37643eab16657, updated=Thu Apr 27 11:00:30 UTC 2017, posixPermissions=rwxrwxrwx, dosAttributes=--a-]]
27-4-17 11:00:30.337 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rwxrwxrwx ...
27-4-17 11:00:30.339 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:00:30.339 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
27-4-17 11:00:30.339 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1493290830294, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
27-4-17 11:00:30.346 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1493290830323] ...
27-4-17 11:00:30.348 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1493290830323]
27-4-17 11:00:30.348 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:00:30.349 | Cache           | Test worker    | INFO : Cache size okay (52 KB), no need to clean (keep size is 500 MB)
27-4-17 11:00:30.349 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@6b95243f) ...
27-4-17 11:00:30.349 | DownOperation   | Test worker    | INFO : Sync down done.
27-4-17 11:00:30.355 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170427110011148-30518-client-A/file1.jpg, but actual PATH = tmp/syncanytest/syncany-170427110011148-30518-client-B/file1.jpg, for file tmp/syncanytest/syncany-170427110011148-30518-client-B/file1.jpg
27-4-17 11:00:30.356 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.357 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:00:30.377 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
27-4-17 11:00:30.379 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
27-4-17 11:00:30.381 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
27-4-17 11:00:30.382 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
27-4-17 11:00:30.383 | 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
27-4-17 11:00:30.387 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
27-4-17 11:00:30.388 | 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
27-4-17 11:00:30.393 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
27-4-17 11:00:30.394 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc