Class org.syncany.tests.integration.scenarios.FilenameCapitalizationWindowsScenarioTest

2

tests

0

failures

0

ignored

0.844s

duration

100%

successful

Tests

Test Duration Result
testFilenameCapitalizationWindows 0.406s passed
testFilenameNonASCII 0.438s passed

Standard error

16-2-17 8:20:03.034 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.034 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:20:03.041 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.041 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-46784-client-A' ...
16-2-17 8:20:03.041 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.042 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.042 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.042 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.042 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.042 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.042 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.042 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.042 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.043 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-46784-client-A' ...
16-2-17 8:20:03.043 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.043 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.043 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:20:03.043 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:20:03.043 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.043 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.043 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.043 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.043 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.044 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.044 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:20:03.044 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:20:03.060 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:20:03.060 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:20:03.069 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:20:03.072 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:20:03.073 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:20:03.077 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:20:03.078 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:20:03.078 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:20:03.078 | 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:03.080 | 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:03.082 | 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:03.084 | 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:03.087 | 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:03.089 | 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:03.091 | 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:03.094 | 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:03.096 | 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:03.098 | 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:03.100 | 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:03.103 | 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:03.105 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:20:03.105 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:20:03.105 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:20:03.107 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:20:03.110 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:20:03.113 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:20:03.116 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:20:03.118 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:20:03.120 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:20:03.120 | 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:03.122 | 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:03.125 | 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:03.127 | 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:03.129 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:20:03.129 | 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:03.131 | 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:03.133 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:20:03.133 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:20:03.133 | 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:03.136 | UpOperation     | Test worker    | INFO : 
16-2-17 8:20:03.136 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:20:03.136 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.136 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@78da5e94) ...
16-2-17 8:20:03.137 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.137 | StatusOperation | Test worker    | INFO : 
16-2-17 8:20:03.137 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:20:03.137 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.137 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
16-2-17 8:20:03.137 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:20:03.137 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@235e6a39) ...
16-2-17 8:20:03.137 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081829395-46784-client-A ...
16-2-17 8:20:03.137 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:20:03.141 | StatusOperation | Test worker    | FINE : - New file: 這是一個測試
16-2-17 8:20:03.141 | StatusOperation | Test worker    | FINE : - New file: Exposé
16-2-17 8:20:03.142 | StatusOperation | Test worker    | FINE : - New file: One&Two
16-2-17 8:20:03.142 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@2c9c1a03) ...
16-2-17 8:20:03.145 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:20:03.149 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.151 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:20:03.151 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:20:03.151 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.151 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@320bf944) ...
16-2-17 8:20:03.152 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:20:03.152 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@1878a86a) ...
16-2-17 8:20:03.152 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:20:03.153 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233203044] ...
16-2-17 8:20:03.153 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233203044]
16-2-17 8:20:03.154 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233203044] ...
16-2-17 8:20:03.161 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.167 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:20:03.168 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:20:03.169 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@1c515989) ...
16-2-17 8:20:03.169 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:20:03.169 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-46784-client-A/Exposé
16-2-17 8:20:03.170 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-46784-client-A/Exposé
16-2-17 8:20:03.177 | Indexer         | AsyncI/syncany | FINE : - Chunk new: beb853c3f8103be1ad5b804724643bc9c8f17a2e
16-2-17 8:20:03.177 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 654d6f5115b62186b6cdfda08312b0799c0331b8
16-2-17 8:20:03.179 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: beb853c3f8103be1ad5b804724643bc9c8f17a2e > 654d6f5115b62186b6cdfda08312b0799c0331b8
16-2-17 8:20:03.179 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: beb853c3f8103be1ad5b804724643bc9c8f17a2e > /tmp/syncanytest/syncany-170216081829395-46784-client-A/Exposé
16-2-17 8:20:03.180 | Indexer         | AsyncI/syncany | FINE : - /File: Exposé (checksum beb853c3f8103be1ad5b804724643bc9c8f17a2e)
16-2-17 8:20:03.183 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: Exposé, checksum: beb853c3f8103be1ad5b804724643bc9c8f17a2e)
16-2-17 8:20:03.183 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file Exposé
16-2-17 8:20:03.184 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.184 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:03.184 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@1d90d22b) ...
16-2-17 8:20:03.184 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-46784-client-A/One&Two
16-2-17 8:20:03.185 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-46784-client-A/One&Two
16-2-17 8:20:03.186 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 0654560fc8e36544ff4146ad663cc413d1027c5b
16-2-17 8:20:03.187 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 0654560fc8e36544ff4146ad663cc413d1027c5b > 654d6f5115b62186b6cdfda08312b0799c0331b8
16-2-17 8:20:03.187 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 0654560fc8e36544ff4146ad663cc413d1027c5b > /tmp/syncanytest/syncany-170216081829395-46784-client-A/One&Two
16-2-17 8:20:03.189 | Indexer         | AsyncI/syncany | FINE : - /File: One&Two (checksum 0654560fc8e36544ff4146ad663cc413d1027c5b)
16-2-17 8:20:03.190 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: One&Two, checksum: 0654560fc8e36544ff4146ad663cc413d1027c5b)
16-2-17 8:20:03.190 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file One&Two
16-2-17 8:20:03.191 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.191 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:03.191 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-46784-client-A/這是一個測試
16-2-17 8:20:03.191 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-46784-client-A/這是一個測試
16-2-17 8:20:03.192 | Indexer         | AsyncI/syncany | FINE : - Chunk new: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f
16-2-17 8:20:03.195 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f > 654d6f5115b62186b6cdfda08312b0799c0331b8
16-2-17 8:20:03.195 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f > /tmp/syncanytest/syncany-170216081829395-46784-client-A/這是一個測試
16-2-17 8:20:03.195 | Indexer         | AsyncI/syncany | FINE : - /File: 這是一個測試 (checksum bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f)
16-2-17 8:20:03.196 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: 這是一個測試, checksum: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f)
16-2-17 8:20:03.197 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file 這是一個測試
16-2-17 8:20:03.197 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.197 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:03.198 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 654d6f5115b62186b6cdfda08312b0799c0331b8
16-2-17 8:20:03.198 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@3eb66aba) ...
16-2-17 8:20:03.198 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233203169, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.198 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@63823235) ...
16-2-17 8:20:03.198 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:20:03.199 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:20:03.199 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:20:03.200 | UpOperation     | Test worker    | INFO : - Uploading multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 from /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8 to RemoteFile[name=multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8] ...
16-2-17 8:20:03.200 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8 -> Temp. remote file: RemoteFile[name=temp-khmLu-multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8], final location: RemoteFile[name=multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8]
16-2-17 8:20:03.200 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233203199, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.200 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233203199 to file /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:20:03.200 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:03.203 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:20:03.203 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:20:03.203 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:20:03.203 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-CYqyl-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:20:03.204 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:20:03.204 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:20:03.205 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/temp-transaction-2158586410481444393.tmp
16-2-17 8:20:03.205 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@4c76a055) ...
16-2-17 8:20:03.205 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-253f2a8f] ...
16-2-17 8:20:03.206 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:20:03.206 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@7230333c) ...
16-2-17 8:20:03.206 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8 to temp. file RemoteFile[name=temp-khmLu-multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8] ...
16-2-17 8:20:03.207 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@46e68fde) ...
16-2-17 8:20:03.207 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-46784-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-CYqyl-database-A-0000000001] ...
16-2-17 8:20:03.207 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-khmLu-multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8] to final location RemoteFile[name=multichunk-654d6f5115b62186b6cdfda08312b0799c0331b8] ...
16-2-17 8:20:03.207 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-CYqyl-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:20:03.207 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-253f2a8f] ...
16-2-17 8:20:03.207 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:20:03.208 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:20:03.208 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233203199) ...
16-2-17 8:20:03.214 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:20:03.247 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233203199, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.247 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:20:03.247 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:20:03.247 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233203203, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:20:03.247 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:20:03.254 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233203044] ...
16-2-17 8:20:03.256 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233203044]
16-2-17 8:20:03.256 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:20:03.256 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
16-2-17 8:20:03.256 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@d24b34a) ...
16-2-17 8:20:03.259 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-46784-client-B' ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.259 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-46784-client-B' ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:20:03.259 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.259 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.260 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.260 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.260 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:20:03.260 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:20:03.283 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:20:03.284 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:20:03.291 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:20:03.296 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:20:03.296 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:20:03.302 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:20:03.302 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:20:03.302 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:20:03.303 | 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:03.305 | 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:03.307 | 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:03.310 | 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:03.312 | 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:03.319 | 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:03.322 | 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:03.324 | 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:03.327 | 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:03.329 | 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:03.331 | 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:03.334 | 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:03.336 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:20:03.336 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:20:03.336 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:20:03.339 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:20:03.341 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:20:03.343 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:20:03.345 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:20:03.347 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:20:03.349 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:20:03.349 | 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:03.352 | 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:03.355 | 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:03.357 | 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:03.361 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:20:03.361 | 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:03.364 | 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:03.366 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:20:03.366 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:20:03.367 | 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:03.369 | DownOperation   | Test worker    | INFO : 
16-2-17 8:20:03.369 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:20:03.369 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.370 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@44daabb0) ...
16-2-17 8:20:03.370 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:20:03.371 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.371 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:20:03.371 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:20:03.371 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.371 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@29a6c7da) ...
16-2-17 8:20:03.371 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:20:03.372 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:20:03.372 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7f3aaa89) ...
16-2-17 8:20:03.372 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@24574fc3) ...
16-2-17 8:20:03.372 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233203260] ...
16-2-17 8:20:03.372 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233203260]
16-2-17 8:20:03.372 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233203260] ...
16-2-17 8:20:03.373 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:20:03.374 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081829395-46784-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:20:03.374 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@1f6898c4) ...
16-2-17 8:20:03.375 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:20:03.375 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081829395-46784-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:03.384 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233203199
16-2-17 8:20:03.385 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081829395-46784-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:20:03.385 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:20:03.385 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233203199], B=[]}
16-2-17 8:20:03.385 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:20:03.386 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233203199
16-2-17 8:20:03.386 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:20:03.386 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233203199
16-2-17 8:20:03.386 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:20:03.386 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:20:03.386 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:20:03.386 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:20:03.386 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233203199]
16-2-17 8:20:03.386 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:20:03.386 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233203199]
16-2-17 8:20:03.387 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:20:03.387 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081829395-46784-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:03.392 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233203199
16-2-17 8:20:03.392 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:20:03.393 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.394 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:20:03.394 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:20:03.395 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:03.395 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.395 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file One&Two
16-2-17 8:20:03.395 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-46784-client-B/One&Two
16-2-17 8:20:03.395 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.396 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:03.396 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.396 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file 這是一個測試
16-2-17 8:20:03.396 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-46784-client-B/這是一個測試
16-2-17 8:20:03.396 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.397 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:03.397 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.397 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file Exposé
16-2-17 8:20:03.397 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-46784-client-B/Exposé
16-2-17 8:20:03.397 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.398 | DownOperation   | Test worker    | INFO :   + Adding multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 to download list ...
16-2-17 8:20:03.399 | DownOperation   | Test worker    | INFO :   + Adding multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 to download list ...
16-2-17 8:20:03.400 | DownOperation   | Test worker    | INFO :   + Adding multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 to download list ...
16-2-17 8:20:03.400 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:20:03.400 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@4b8329ba) ...
16-2-17 8:20:03.400 | Downloader      | Test worker    | INFO :   + Downloading multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 ...
16-2-17 8:20:03.401 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 ...
16-2-17 8:20:03.401 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 654d6f5115b62186b6cdfda08312b0799c0331b8 ...
16-2-17 8:20:03.403 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:20:03.403 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.403 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.403 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.404 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:20:03.404 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.404 | Assembler       | Test worker    | INFO :      - Creating file Exposé to /tmp/syncanytest/syncany-170216081829395-46784-client-B/.syncany/cache/temp-reconstructedFileVersion-2669576134108239476.tmp ...
16-2-17 8:20:03.406 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:03.406 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.406 | Assembler       | Test worker    | INFO :      - Creating file One&Two to /tmp/syncanytest/syncany-170216081829395-46784-client-B/.syncany/cache/temp-reconstructedFileVersion-3671222094849271975.tmp ...
16-2-17 8:20:03.408 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:03.408 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.408 | Assembler       | Test worker    | INFO :      - Creating file 這是一個測試 to /tmp/syncanytest/syncany-170216081829395-46784-client-B/.syncany/cache/temp-reconstructedFileVersion-6902172841180368455.tmp ...
16-2-17 8:20:03.409 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:03.410 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:20:03.410 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:20:03.410 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233203199, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.422 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233203260] ...
16-2-17 8:20:03.422 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233203260]
16-2-17 8:20:03.422 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:20:03.423 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
16-2-17 8:20:03.423 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@df15b09) ...
16-2-17 8:20:03.423 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:20:03.430 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-46784-client-A/Exposé, but actual PATH = tmp/syncanytest/syncany-170216081829395-46784-client-B/Exposé, for file tmp/syncanytest/syncany-170216081829395-46784-client-B/Exposé
16-2-17 8:20:03.433 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-46784-client-A/這是一個測試, but actual PATH = tmp/syncanytest/syncany-170216081829395-46784-client-B/這是一個測試, for file tmp/syncanytest/syncany-170216081829395-46784-client-B/這是一個測試
16-2-17 8:20:03.435 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-46784-client-A/One&Two, but actual PATH = tmp/syncanytest/syncany-170216081829395-46784-client-B/One&Two, for file tmp/syncanytest/syncany-170216081829395-46784-client-B/One&Two
16-2-17 8:20:03.436 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.437 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.459 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
16-2-17 8:20:03.460 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
16-2-17 8:20:03.461 | 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:03.462 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
16-2-17 8:20:03.464 | 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:03.465 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
16-2-17 8:20:03.465 | 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:03.466 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
16-2-17 8:20:03.467 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc
16-2-17 8:20:03.473 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.474 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
16-2-17 8:20:03.482 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.483 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-89600-client-A' ...
16-2-17 8:20:03.483 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.483 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.492 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.492 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.492 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.493 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.493 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.494 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.494 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.494 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-89600-client-A' ...
16-2-17 8:20:03.495 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.495 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.495 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:20:03.495 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:20:03.495 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.495 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.495 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.495 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.495 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.496 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.496 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:20:03.496 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:20:03.516 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:20:03.516 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:20:03.525 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:20:03.527 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:20:03.528 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:20:03.533 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:20:03.533 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:20:03.533 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:20:03.534 | 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:03.536 | 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:03.538 | 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:03.549 | 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:03.552 | 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:03.554 | 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:03.557 | 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:03.559 | 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:03.561 | 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:03.565 | 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:03.568 | 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:03.570 | 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:03.572 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:20:03.572 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:20:03.573 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:20:03.575 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:20:03.577 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:20:03.579 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:20:03.581 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:20:03.583 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:20:03.586 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:20:03.586 | 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:03.592 | 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:03.595 | 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:03.598 | 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:03.602 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:20:03.602 | 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:03.605 | 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:03.607 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:20:03.608 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:20:03.608 | 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:03.613 | UpOperation     | Test worker    | INFO : 
16-2-17 8:20:03.613 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
16-2-17 8:20:03.613 | UpOperation     | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.613 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@7858c564) ...
16-2-17 8:20:03.614 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.614 | StatusOperation | Test worker    | INFO : 
16-2-17 8:20:03.614 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
16-2-17 8:20:03.614 | StatusOperation | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.615 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
16-2-17 8:20:03.615 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
16-2-17 8:20:03.615 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@22b00462) ...
16-2-17 8:20:03.616 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170216081829395-89600-client-A ...
16-2-17 8:20:03.616 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
16-2-17 8:20:03.616 | StatusOperation | Test worker    | FINE : - New file: filename-for-windows
16-2-17 8:20:03.617 | StatusOperation | Test worker    | FINE : - New file: FILENAME-FOR-WINDOWS
16-2-17 8:20:03.618 | StatusOperation | Test worker    | FINE : - New file: Filename-For-Windows
16-2-17 8:20:03.618 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@1af8b9ab) ...
16-2-17 8:20:03.618 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:20:03.619 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.619 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:20:03.619 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
16-2-17 8:20:03.619 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.619 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@5c126b7e) ...
16-2-17 8:20:03.619 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:20:03.620 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@26ddac3) ...
16-2-17 8:20:03.620 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
16-2-17 8:20:03.620 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1487233203496] ...
16-2-17 8:20:03.620 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1487233203496]
16-2-17 8:20:03.620 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1487233203496] ...
16-2-17 8:20:03.621 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.622 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
16-2-17 8:20:03.622 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
16-2-17 8:20:03.622 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@2f235c86) ...
16-2-17 8:20:03.622 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
16-2-17 8:20:03.622 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-89600-client-A/FILENAME-FOR-WINDOWS
16-2-17 8:20:03.622 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-89600-client-A/FILENAME-FOR-WINDOWS
16-2-17 8:20:03.624 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 150657286f28c801c6c39688d5d76905d8e40f39
16-2-17 8:20:03.624 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1
16-2-17 8:20:03.625 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 150657286f28c801c6c39688d5d76905d8e40f39 > 594ade90fb752edff6b8b72fa38ab3c09b42c8a1
16-2-17 8:20:03.625 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 150657286f28c801c6c39688d5d76905d8e40f39 > /tmp/syncanytest/syncany-170216081829395-89600-client-A/FILENAME-FOR-WINDOWS
16-2-17 8:20:03.626 | Indexer         | AsyncI/syncany | FINE : - /File: FILENAME-FOR-WINDOWS (checksum 150657286f28c801c6c39688d5d76905d8e40f39)
16-2-17 8:20:03.626 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: FILENAME-FOR-WINDOWS, checksum: 150657286f28c801c6c39688d5d76905d8e40f39)
16-2-17 8:20:03.627 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file FILENAME-FOR-WINDOWS
16-2-17 8:20:03.627 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.627 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:03.627 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@5217cbbb) ...
16-2-17 8:20:03.627 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-89600-client-A/Filename-For-Windows
16-2-17 8:20:03.628 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-89600-client-A/Filename-For-Windows
16-2-17 8:20:03.629 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 99889542260064122a7c46a71fd7721066528d5d
16-2-17 8:20:03.629 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 99889542260064122a7c46a71fd7721066528d5d > 594ade90fb752edff6b8b72fa38ab3c09b42c8a1
16-2-17 8:20:03.629 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 99889542260064122a7c46a71fd7721066528d5d > /tmp/syncanytest/syncany-170216081829395-89600-client-A/Filename-For-Windows
16-2-17 8:20:03.630 | Indexer         | AsyncI/syncany | FINE : - /File: Filename-For-Windows (checksum 99889542260064122a7c46a71fd7721066528d5d)
16-2-17 8:20:03.631 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: Filename-For-Windows, checksum: 99889542260064122a7c46a71fd7721066528d5d)
16-2-17 8:20:03.631 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file Filename-For-Windows
16-2-17 8:20:03.631 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.631 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:03.631 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170216081829395-89600-client-A/filename-for-windows
16-2-17 8:20:03.631 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170216081829395-89600-client-A/filename-for-windows
16-2-17 8:20:03.632 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 10b9f206a1c3d171fcf0405aef4e0e914131c30f
16-2-17 8:20:03.633 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 10b9f206a1c3d171fcf0405aef4e0e914131c30f > 594ade90fb752edff6b8b72fa38ab3c09b42c8a1
16-2-17 8:20:03.633 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 10b9f206a1c3d171fcf0405aef4e0e914131c30f > /tmp/syncanytest/syncany-170216081829395-89600-client-A/filename-for-windows
16-2-17 8:20:03.633 | Indexer         | AsyncI/syncany | FINE : - /File: filename-for-windows (checksum 10b9f206a1c3d171fcf0405aef4e0e914131c30f)
16-2-17 8:20:03.634 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: filename-for-windows, checksum: 10b9f206a1c3d171fcf0405aef4e0e914131c30f)
16-2-17 8:20:03.635 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file filename-for-windows
16-2-17 8:20:03.635 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.635 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
16-2-17 8:20:03.636 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1
16-2-17 8:20:03.636 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@4f6f7650) ...
16-2-17 8:20:03.636 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233203622, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.636 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
16-2-17 8:20:03.636 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
16-2-17 8:20:03.637 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
16-2-17 8:20:03.637 | UpOperation     | Test worker    | INFO : - Uploading multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 from /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1 to RemoteFile[name=multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1] ...
16-2-17 8:20:03.638 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1 -> Temp. remote file: RemoteFile[name=temp-BSWsu-multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1], final location: RemoteFile[name=multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1]
16-2-17 8:20:03.638 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1487233203637, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.638 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1487233203637 to file /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/database-A-0000000001 ... 
16-2-17 8:20:03.638 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:03.639 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
16-2-17 8:20:03.639 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
16-2-17 8:20:03.639 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-HGndz-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
16-2-17 8:20:03.642 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
16-2-17 8:20:03.642 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
16-2-17 8:20:03.643 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/temp-transaction-7319433568854205772.tmp
16-2-17 8:20:03.643 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@634a4c07) ...
16-2-17 8:20:03.644 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-3838bc04] ...
16-2-17 8:20:03.644 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
16-2-17 8:20:03.644 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@13f6d13c) ...
16-2-17 8:20:03.644 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1 to temp. file RemoteFile[name=temp-BSWsu-multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1] ...
16-2-17 8:20:03.645 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@37a01a7f) ...
16-2-17 8:20:03.645 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170216081829395-89600-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-HGndz-database-A-0000000001] ...
16-2-17 8:20:03.645 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-BSWsu-multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1] to final location RemoteFile[name=multichunk-594ade90fb752edff6b8b72fa38ab3c09b42c8a1] ...
16-2-17 8:20:03.646 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-HGndz-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
16-2-17 8:20:03.646 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-3838bc04] ...
16-2-17 8:20:03.646 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
16-2-17 8:20:03.646 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
16-2-17 8:20:03.647 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1487233203637) ...
16-2-17 8:20:03.646 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@5116c36e) ...
16-2-17 8:20:03.655 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
16-2-17 8:20:03.655 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
16-2-17 8:20:03.662 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1487233203637, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.662 | UpOperation     | Test worker    | INFO : Committing local database.
16-2-17 8:20:03.662 | UpOperation     | Test worker    | FINE : Waiting for new database version.
16-2-17 8:20:03.662 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1487233203655, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
16-2-17 8:20:03.663 | UpOperation     | Test worker    | INFO : Sync up done.
16-2-17 8:20:03.665 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1487233203496] ...
16-2-17 8:20:03.665 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1487233203496]
16-2-17 8:20:03.665 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:20:03.665 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
16-2-17 8:20:03.665 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@1c90380c) ...
16-2-17 8:20:03.667 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-89600-client-B' ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.667 | org.syncany.plu | Test worker    | FINE : Validating required fields
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170216081829395-89600-client-B' ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - With feature Retriable
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - With feature PathAware
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - With feature TransactionAware
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
16-2-17 8:20:03.667 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
16-2-17 8:20:03.667 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
16-2-17 8:20:03.668 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
16-2-17 8:20:03.686 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
16-2-17 8:20:03.687 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
16-2-17 8:20:03.694 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
16-2-17 8:20:03.697 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
16-2-17 8:20:03.697 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
16-2-17 8:20:03.702 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
16-2-17 8:20:03.703 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
16-2-17 8:20:03.703 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
16-2-17 8:20:03.703 | 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:03.706 | 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:03.708 | 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:03.710 | 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:03.712 | 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:03.715 | 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:03.717 | 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:03.719 | 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:03.722 | 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:03.724 | 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:03.726 | 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:03.728 | 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:03.730 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
16-2-17 8:20:03.730 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
16-2-17 8:20:03.731 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
16-2-17 8:20:03.733 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
16-2-17 8:20:03.736 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
16-2-17 8:20:03.738 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
16-2-17 8:20:03.739 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
16-2-17 8:20:03.741 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
16-2-17 8:20:03.743 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
16-2-17 8:20:03.743 | 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:03.746 | 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:03.748 | 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:03.752 | 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:03.756 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
16-2-17 8:20:03.756 | 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:03.759 | 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:03.762 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
16-2-17 8:20:03.762 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
16-2-17 8:20:03.762 | 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:03.764 | DownOperation   | Test worker    | INFO : 
16-2-17 8:20:03.765 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
16-2-17 8:20:03.765 | DownOperation   | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.765 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@39583d07) ...
16-2-17 8:20:03.765 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
16-2-17 8:20:03.766 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.766 | LsRemoteOperati | Test worker    | INFO : 
16-2-17 8:20:03.766 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
16-2-17 8:20:03.766 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
16-2-17 8:20:03.766 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@66a1d283) ...
16-2-17 8:20:03.767 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
16-2-17 8:20:03.767 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
16-2-17 8:20:03.767 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@76e6fabb) ...
16-2-17 8:20:03.767 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@3957b028) ...
16-2-17 8:20:03.767 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1487233203668] ...
16-2-17 8:20:03.767 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1487233203668]
16-2-17 8:20:03.768 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1487233203668] ...
16-2-17 8:20:03.768 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
16-2-17 8:20:03.768 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170216081829395-89600-client-B/.syncany/cache/database-A-0000000001
16-2-17 8:20:03.769 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@6cd9a584) ...
16-2-17 8:20:03.769 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
16-2-17 8:20:03.769 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170216081829395-89600-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:03.780 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233203637
16-2-17 8:20:03.781 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170216081829395-89600-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
16-2-17 8:20:03.781 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
16-2-17 8:20:03.781 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1487233203637], B=[]}
16-2-17 8:20:03.781 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
16-2-17 8:20:03.781 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1487233203637
16-2-17 8:20:03.782 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
16-2-17 8:20:03.782 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1487233203637
16-2-17 8:20:03.782 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
16-2-17 8:20:03.782 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
16-2-17 8:20:03.782 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
16-2-17 8:20:03.782 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
16-2-17 8:20:03.782 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1487233203637]
16-2-17 8:20:03.782 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
16-2-17 8:20:03.782 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1487233203637]
16-2-17 8:20:03.782 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
16-2-17 8:20:03.783 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170216081829395-89600-client-B/.syncany/cache/database-A-0000000001 ...
16-2-17 8:20:03.788 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1487233203637
16-2-17 8:20:03.788 | DownOperation   | Test worker    | INFO : Determine file system actions ...
16-2-17 8:20:03.789 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.790 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
16-2-17 8:20:03.791 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
16-2-17 8:20:03.792 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:03.792 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.792 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file filename-for-windows
16-2-17 8:20:03.792 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-89600-client-B/filename-for-windows
16-2-17 8:20:03.792 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.793 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:03.794 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.795 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file Filename-For-Windows
16-2-17 8:20:03.795 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-89600-client-B/Filename-For-Windows
16-2-17 8:20:03.795 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.795 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
16-2-17 8:20:03.795 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
16-2-17 8:20:03.796 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file FILENAME-FOR-WINDOWS
16-2-17 8:20:03.796 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170216081829395-89600-client-B/FILENAME-FOR-WINDOWS
16-2-17 8:20:03.796 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.797 | DownOperation   | Test worker    | INFO :   + Adding multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 to download list ...
16-2-17 8:20:03.799 | DownOperation   | Test worker    | INFO :   + Adding multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 to download list ...
16-2-17 8:20:03.800 | DownOperation   | Test worker    | INFO :   + Adding multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 to download list ...
16-2-17 8:20:03.800 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
16-2-17 8:20:03.803 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@3e490c7a) ...
16-2-17 8:20:03.803 | Downloader      | Test worker    | INFO :   + Downloading multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 ...
16-2-17 8:20:03.804 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 ...
16-2-17 8:20:03.804 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 594ade90fb752edff6b8b72fa38ab3c09b42c8a1 ...
16-2-17 8:20:03.805 | FileSystemActio | Test worker    | INFO :    Sorted actions:
16-2-17 8:20:03.805 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.805 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.806 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.806 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
16-2-17 8:20:03.806 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.806 | Assembler       | Test worker    | INFO :      - Creating file FILENAME-FOR-WINDOWS to /tmp/syncanytest/syncany-170216081829395-89600-client-B/.syncany/cache/temp-reconstructedFileVersion-6708081764029902488.tmp ...
16-2-17 8:20:03.807 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:03.808 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.808 | Assembler       | Test worker    | INFO :      - Creating file Filename-For-Windows to /tmp/syncanytest/syncany-170216081829395-89600-client-B/.syncany/cache/temp-reconstructedFileVersion-774704760081408697.tmp ...
16-2-17 8:20:03.809 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:03.809 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu Feb 16 08:20:03 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu Feb 16 08:20:03 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
16-2-17 8:20:03.811 | Assembler       | Test worker    | INFO :      - Creating file filename-for-windows to /tmp/syncanytest/syncany-170216081829395-89600-client-B/.syncany/cache/temp-reconstructedFileVersion-8812801441736768638.tmp ...
16-2-17 8:20:03.814 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
16-2-17 8:20:03.814 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
16-2-17 8:20:03.814 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
16-2-17 8:20:03.814 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1487233203637, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
16-2-17 8:20:03.824 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1487233203668] ...
16-2-17 8:20:03.825 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1487233203668]
16-2-17 8:20:03.825 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
16-2-17 8:20:03.825 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
16-2-17 8:20:03.825 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@603bcdf4) ...
16-2-17 8:20:03.825 | DownOperation   | Test worker    | INFO : Sync down done.
16-2-17 8:20:03.832 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-89600-client-A/filename-for-windows, but actual PATH = tmp/syncanytest/syncany-170216081829395-89600-client-B/filename-for-windows, for file tmp/syncanytest/syncany-170216081829395-89600-client-B/filename-for-windows
16-2-17 8:20:03.834 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-89600-client-A/Filename-For-Windows, but actual PATH = tmp/syncanytest/syncany-170216081829395-89600-client-B/Filename-For-Windows, for file tmp/syncanytest/syncany-170216081829395-89600-client-B/Filename-For-Windows
16-2-17 8:20:03.836 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170216081829395-89600-client-A/FILENAME-FOR-WINDOWS, but actual PATH = tmp/syncanytest/syncany-170216081829395-89600-client-B/FILENAME-FOR-WINDOWS, for file tmp/syncanytest/syncany-170216081829395-89600-client-B/FILENAME-FOR-WINDOWS
16-2-17 8:20:03.837 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.838 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
16-2-17 8:20:03.862 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
16-2-17 8:20:03.869 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
16-2-17 8:20:03.870 | 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:03.871 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
16-2-17 8:20:03.872 | 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:03.872 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
16-2-17 8:20:03.873 | 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:03.874 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
16-2-17 8:20:03.875 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc