Class org.syncany.tests.integration.scenarios.ChangedModifiedDateScenarioTest

1

tests

0

failures

0

ignored

0.253s

duration

100%

successful

Tests

Test Duration Result
testChangeModifiedDate 0.253s passed

Standard error

16-2-17 8:20:27.111 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:27.111 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:20:27.116 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:27.116 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-96735-client-A' ...
16-2-17 8:20:27.116 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:27.116 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:27.116 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:27.116 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:27.116 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:27.116 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:27.116 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:27.116 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:27.116 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:27.116 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-96735-client-A' ...
16-2-17 8:20:27.116 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:27.117 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:27.117 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:20:27.117 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:20:27.117 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:27.117 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:27.117 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:27.117 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:27.117 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:27.117 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:27.117 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:20:27.117 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:20:27.128 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:20:27.128 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:20:27.137 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:20:27.140 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:20:27.140 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:20:27.145 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:20:27.145 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:20:27.145 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:20:27.145 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
16-2-17 8:20:27.148 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.150 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.152 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.154 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.156 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.158 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.161 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.163 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.165 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
16-2-17 8:20:27.167 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
16-2-17 8:20:27.169 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
16-2-17 8:20:27.171 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:20:27.171 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:20:27.172 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:20:27.174 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:20:27.176 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:20:27.178 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:20:27.180 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:20:27.182 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:20:27.183 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:20:27.183 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
16-2-17 8:20:27.186 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
16-2-17 8:20:27.188 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
16-2-17 8:20:27.190 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
16-2-17 8:20:27.193 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:20:27.193 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
16-2-17 8:20:27.195 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
16-2-17 8:20:27.197 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:20:27.197 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:20:27.197 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
16-2-17 8:20:27.199 | UpOperation     | Test worker    | INFO : 
16-2-17 8:20:27.199 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:20:27.199 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:27.199 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@20765013) ...
16-2-17 8:20:27.200 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.200 | StatusOperation | Test worker    | INFO : 
16-2-17 8:20:27.200 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:20:27.200 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:27.200 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
16-2-17 8:20:27.200 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:20:27.200 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@3d71befc) ...
16-2-17 8:20:27.201 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081829395-96735-client-A ...
16-2-17 8:20:27.201 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:20:27.201 | StatusOperation | Test worker    | FINE : - New file: file1.jpg
16-2-17 8:20:27.201 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@77e4d07b) ...
16-2-17 8:20:27.201 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:20:27.202 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.202 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:20:27.202 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:20:27.202 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:27.202 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@69e19664) ...
16-2-17 8:20:27.202 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:20:27.202 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@75614fda) ...
16-2-17 8:20:27.202 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:20:27.202 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233227117] ...
16-2-17 8:20:27.202 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233227117]
16-2-17 8:20:27.203 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233227117] ...
16-2-17 8:20:27.203 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.204 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:20:27.204 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:20:27.204 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@6ef38ef) ...
16-2-17 8:20:27.204 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:20:27.204 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-96735-client-A/file1.jpg
16-2-17 8:20:27.204 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-96735-client-A/file1.jpg
16-2-17 8:20:27.206 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 17e45a6931de56445fb4f8cba341f7d0a7bac513
16-2-17 8:20:27.206 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb
16-2-17 8:20:27.207 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 17e45a6931de56445fb4f8cba341f7d0a7bac513 > 1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb
16-2-17 8:20:27.207 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 17e45a6931de56445fb4f8cba341f7d0a7bac513 > /tmp/syncanytest/syncany-170216081829395-96735-client-A/file1.jpg
16-2-17 8:20:27.207 | Indexer         | AsyncI/syncany | FINE : - /File: file1.jpg (checksum 17e45a6931de56445fb4f8cba341f7d0a7bac513)
16-2-17 8:20:27.207 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: file1.jpg, checksum: 17e45a6931de56445fb4f8cba341f7d0a7bac513)
16-2-17 8:20:27.207 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file file1.jpg
16-2-17 8:20:27.207 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:27 UTC 2017, linkTarget=null, checksum=17e45a6931de56445fb4f8cba341f7d0a7bac513, updated=Thu Feb 16 08:20:27 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:27.207 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:27.208 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@4215b0e4) ...
16-2-17 8:20:27.208 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb
16-2-17 8:20:27.208 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@673b84ba) ...
16-2-17 8:20:27.208 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233227204, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:20:27.208 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:20:27.208 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:20:27.209 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:20:27.209 | UpOperation     | Test worker    | INFO : - Uploading multichunk 1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb from /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb to RemoteFile[name=multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb] ...
16-2-17 8:20:27.209 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb -> Temp. remote file: RemoteFile[name=temp-lqeDm-multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb], final location: RemoteFile[name=multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb]
16-2-17 8:20:27.209 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233227209, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:20:27.209 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233227209 to file /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:20:27.209 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:27.210 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:20:27.210 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:20:27.210 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-iJbCD-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:20:27.210 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:20:27.210 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:20:27.211 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/temp-transaction-2566823944432911725.tmp
16-2-17 8:20:27.211 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@5bba98cb) ...
16-2-17 8:20:27.211 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-484ffffb] ...
16-2-17 8:20:27.211 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:20:27.212 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@3f28396d) ...
16-2-17 8:20:27.212 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb to temp. file RemoteFile[name=temp-lqeDm-multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb] ...
16-2-17 8:20:27.212 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@66fa1a6f) ...
16-2-17 8:20:27.212 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-96735-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-iJbCD-database-A-0000000001] ...
16-2-17 8:20:27.212 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-lqeDm-multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb] to final location RemoteFile[name=multichunk-1a4b3de0a1b8f7e670ad0d9c8d86f8493a67fcdb] ...
16-2-17 8:20:27.212 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-iJbCD-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:20:27.212 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-484ffffb] ...
16-2-17 8:20:27.213 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:20:27.213 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:20:27.213 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233227209) ...
16-2-17 8:20:27.214 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:20:27.215 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@dfde2a6) ...
16-2-17 8:20:27.218 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233227209, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:20:27.218 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:20:27.218 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:20:27.220 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:20:27.220 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233227220, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:20:27.220 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:20:27.222 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233227117] ...
16-2-17 8:20:27.222 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233227117]
16-2-17 8:20:27.223 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:20:27.223 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
16-2-17 8:20:27.223 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@71708d1d) ...
16-2-17 8:20:27.223 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:27.223 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-96735-client-B' ...
16-2-17 8:20:27.223 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:27.223 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:27.223 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:27.223 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:27.223 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:27.223 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:27.223 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:27.223 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:27.223 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-96735-client-B' ...
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:20:27.224 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:27.224 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:27.224 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:27.224 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:27.224 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:27.224 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:20:27.224 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:20:27.234 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:20:27.234 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:20:27.240 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:20:27.242 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:20:27.243 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:20:27.247 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:20:27.247 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:20:27.248 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:20:27.248 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
16-2-17 8:20:27.250 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.252 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.254 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.256 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.258 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.260 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.263 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.265 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
16-2-17 8:20:27.267 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
16-2-17 8:20:27.268 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
16-2-17 8:20:27.271 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
16-2-17 8:20:27.272 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:20:27.272 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:20:27.273 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:20:27.275 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:20:27.277 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:20:27.279 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:20:27.281 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:20:27.283 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:20:27.285 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:20:27.285 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
16-2-17 8:20:27.288 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
16-2-17 8:20:27.290 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
16-2-17 8:20:27.292 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
16-2-17 8:20:27.294 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:20:27.294 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
16-2-17 8:20:27.297 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
16-2-17 8:20:27.299 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:20:27.299 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:20:27.299 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
16-2-17 8:20:27.303 | DownOperation   | Test worker    | INFO : 
16-2-17 8:20:27.303 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:20:27.303 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:27.303 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@4f6e9772) ...
16-2-17 8:20:27.304 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:20:27.305 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.305 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:20:27.305 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:20:27.305 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:27.305 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@76c2eaef) ...
16-2-17 8:20:27.305 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:20:27.305 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:20:27.305 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@2f05bf1a) ...
16-2-17 8:20:27.305 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@dc7ba2e) ...
16-2-17 8:20:27.306 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233227224] ...
16-2-17 8:20:27.306 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233227224]
16-2-17 8:20:27.306 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233227224] ...
16-2-17 8:20:27.306 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:20:27.306 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081829395-96735-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:20:27.307 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@2197dc78) ...
16-2-17 8:20:27.307 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:20:27.307 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081829395-96735-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:27.308 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233227209
16-2-17 8:20:27.309 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081829395-96735-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:20:27.309 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:20:27.309 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233227209], B=[]}
16-2-17 8:20:27.309 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:20:27.309 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233227209
16-2-17 8:20:27.309 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:20:27.310 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233227209
16-2-17 8:20:27.310 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:20:27.310 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:20:27.310 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:20:27.310 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:20:27.310 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233227209]
16-2-17 8:20:27.310 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:20:27.310 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233227209]
16-2-17 8:20:27.310 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:20:27.310 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081829395-96735-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:27.311 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233227209
16-2-17 8:20:27.311 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:20:27.312 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.313 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:20:27.313 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:20:27.313 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:27.313 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:27 UTC 2017, linkTarget=null, checksum=17e45a6931de56445fb4f8cba341f7d0a7bac513, updated=Thu Feb 16 08:20:27 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:27.314 | FileVersionComp | Test worker    | INFO :      - [CHANGED_LAST_MOD_DATE]: Local file DIFFERS from file version, expected MOD. DATE = 2/16/17 8:20 AM (1,487,233,227,111), but actual MOD. DATE = 1/2/70 10:17 AM (123,456,789), for file file1.jpg
16-2-17 8:20:27.315 | FileSystemActio | Test worker    | INFO :      -> (5) Changed file attributes: winning file has different file attributes: FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:27 UTC 2017, linkTarget=null, checksum=17e45a6931de56445fb4f8cba341f7d0a7bac513, updated=Thu Feb 16 08:20:27 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-96735-client-B/file1.jpg
16-2-17 8:20:27.315 | FileSystemActio | Test worker    | INFO :      -> SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:27 UTC 2017, linkTarget=null, checksum=17e45a6931de56445fb4f8cba341f7d0a7bac513, updated=Thu Feb 16 08:20:27 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:27.315 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:20:27.315 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:20:27.315 | FileSystemActio | Test worker    | INFO :    + SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:27 UTC 2017, linkTarget=null, checksum=17e45a6931de56445fb4f8cba341f7d0a7bac513, updated=Thu Feb 16 08:20:27 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:27.316 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:20:27.316 | DownOperation   | Test worker    | FINE :    +  SetAttributesFileSystemAction [file1=null, file2=FileVersion [version=1, path=file1.jpg, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:27 UTC 2017, linkTarget=null, checksum=17e45a6931de56445fb4f8cba341f7d0a7bac513, updated=Thu Feb 16 08:20:27 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:27.316 | FileVersionComp | Test worker    | INFO :      - [CHANGED_LAST_MOD_DATE]: Local file DIFFERS from file version, expected MOD. DATE = 2/16/17 8:20 AM (1,487,233,227,111), but actual MOD. DATE = 1/2/70 10:17 AM (123,456,789), for file file1.jpg
16-2-17 8:20:27.317 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:27.317 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:20:27.317 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:20:27.317 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233227209, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
16-2-17 8:20:27.324 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233227224] ...
16-2-17 8:20:27.324 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233227224]
16-2-17 8:20:27.324 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:20:27.324 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
16-2-17 8:20:27.324 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@d129dd4) ...
16-2-17 8:20:27.324 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:20:27.328 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-96735-client-A/file1.jpg, but actual PATH = tmp/syncanytest/syncany-170216081829395-96735-client-B/file1.jpg, for file tmp/syncanytest/syncany-170216081829395-96735-client-B/file1.jpg
16-2-17 8:20:27.329 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.330 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:27.351 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
16-2-17 8:20:27.351 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
16-2-17 8:20:27.356 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
16-2-17 8:20:27.357 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
16-2-17 8:20:27.357 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
16-2-17 8:20:27.359 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
16-2-17 8:20:27.360 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
16-2-17 8:20:27.360 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
16-2-17 8:20:27.361 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc