Class org.syncany.tests.integration.operations.ConnectOperationTest

4

tests

0

failures

1

ignored

0.263s

duration

100%

successful

Tests

Test Duration Result
testConnectOperationFailureInvalidRepo - ignored
testConnectOperationFailureNoConnection 0.050s passed
testConnectOperationSuccess 0.158s passed
testConnectOperationWithLink 0.055s passed

Standard error

18-11-18 14:31:10.342 | AbstractInitOpe | Test worker    | INFO : 
18-11-18 14:31:10.342 | AbstractInitOpe | Test worker    | INFO : Running 'Init'
18-11-18 14:31:10.342 | AbstractInitOpe | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.342 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.349 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:31:10.349 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:31:10.349 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:31:10.349 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:31:10.349 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:31:10.349 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:31:10.349 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
18-11-18 14:31:10.350 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
18-11-18 14:31:10.350 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.365 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
18-11-18 14:31:10.366 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
18-11-18 14:31:10.366 | AbstractInitOpe | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=false]
18-11-18 14:31:10.366 | AbstractInitOpe | Test worker    | INFO : --> OKAY: Target exists and is writable, but repo doesn't exist. We're good to go!
18-11-18 14:31:10.366 | AbstractInitOpe | Test worker    | INFO : - Connecting to the repo was successful
18-11-18 14:31:10.386 | AbstractInitOpe | Test worker    | INFO : Uploading local repository ...
18-11-18 14:31:10.386 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.395 | AbstractInitOpe | Test worker    | INFO : Creating default .syignore file at /tmp/syncanytest/syncany-181118143101653-10065-client-A/.syignore ...
18-11-18 14:31:10.397 | GenlinkOperatio | Test worker    | INFO : 
18-11-18 14:31:10.397 | GenlinkOperatio | Test worker    | INFO : Running 'GenLink'
18-11-18 14:31:10.397 | GenlinkOperatio | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.443 | ConnectOperatio | Test worker    | INFO : 
18-11-18 14:31:10.443 | ConnectOperatio | Test worker    | INFO : Running 'Connect'
18-11-18 14:31:10.443 | ConnectOperatio | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.453 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.454 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:31:10.454 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:31:10.454 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:31:10.454 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:31:10.454 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:31:10.454 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:31:10.454 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
18-11-18 14:31:10.455 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
18-11-18 14:31:10.455 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.456 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
18-11-18 14:31:10.456 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file exists, list(syncany) returned one result.
18-11-18 14:31:10.456 | ConnectOperatio | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=true]
18-11-18 14:31:10.456 | ConnectOperatio | Test worker    | INFO : --> OKAY: Repo file exists. We're good to go!
18-11-18 14:31:10.456 | ConnectOperatio | Test worker    | INFO : - Connecting to the repo was successful; now downloading repo file ...
18-11-18 14:31:10.477 | AbstractInitOpe | Test worker    | INFO : 
18-11-18 14:31:10.477 | AbstractInitOpe | Test worker    | INFO : Running 'Init'
18-11-18 14:31:10.477 | AbstractInitOpe | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.477 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.477 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:31:10.478 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:31:10.478 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:31:10.478 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:31:10.478 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:31:10.478 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:31:10.478 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
18-11-18 14:31:10.478 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
18-11-18 14:31:10.478 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.478 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
18-11-18 14:31:10.478 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
18-11-18 14:31:10.478 | AbstractInitOpe | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=false]
18-11-18 14:31:10.478 | AbstractInitOpe | Test worker    | INFO : --> OKAY: Target exists and is writable, but repo doesn't exist. We're good to go!
18-11-18 14:31:10.478 | AbstractInitOpe | Test worker    | INFO : - Connecting to the repo was successful
18-11-18 14:31:10.501 | AbstractInitOpe | Test worker    | INFO : Uploading local repository ...
18-11-18 14:31:10.504 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.507 | AbstractInitOpe | Test worker    | INFO : Creating default .syignore file at /tmp/syncanytest/syncany-181118143101653-10065-client-A/.syignore ...
18-11-18 14:31:10.513 | GenlinkOperatio | Test worker    | INFO : 
18-11-18 14:31:10.513 | GenlinkOperatio | Test worker    | INFO : Running 'GenLink'
18-11-18 14:31:10.516 | GenlinkOperatio | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.518 | ConnectOperatio | Test worker    | INFO : 
18-11-18 14:31:10.518 | ConnectOperatio | Test worker    | INFO : Running 'Connect'
18-11-18 14:31:10.518 | ConnectOperatio | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.518 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.519 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:31:10.519 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:31:10.519 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:31:10.520 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:31:10.520 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:31:10.520 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:31:10.520 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
18-11-18 14:31:10.520 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
18-11-18 14:31:10.521 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target does NOT exist.
18-11-18 14:31:10.521 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can NOT write, target does not exist.
18-11-18 14:31:10.524 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
18-11-18 14:31:10.525 | ConnectOperatio | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=false, targetCanConnect=true, targetCanCreate=false, targetCanWrite=false, repoFileExists=false]
18-11-18 14:31:10.525 | ConnectOperatio | Test worker    | INFO : --> NOT OKAY: Invalid target/repo state. Operation cannot be continued.
18-11-18 14:31:10.525 | ConnectOperatio | Test worker    | INFO : - Connecting to the repo failed, repo already exists or cannot be created: NOK_TEST_FAILED
18-11-18 14:31:10.528 | AbstractInitOpe | Test worker    | INFO : 
18-11-18 14:31:10.528 | AbstractInitOpe | Test worker    | INFO : Running 'Init'
18-11-18 14:31:10.528 | AbstractInitOpe | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.528 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.529 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:31:10.529 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:31:10.529 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:31:10.529 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:31:10.529 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:31:10.529 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:31:10.530 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
18-11-18 14:31:10.530 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
18-11-18 14:31:10.530 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.530 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
18-11-18 14:31:10.532 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
18-11-18 14:31:10.532 | AbstractInitOpe | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=false]
18-11-18 14:31:10.532 | AbstractInitOpe | Test worker    | INFO : --> OKAY: Target exists and is writable, but repo doesn't exist. We're good to go!
18-11-18 14:31:10.533 | AbstractInitOpe | Test worker    | INFO : - Connecting to the repo was successful
18-11-18 14:31:10.546 | AbstractInitOpe | Test worker    | INFO : Uploading local repository ...
18-11-18 14:31:10.547 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.551 | AbstractInitOpe | Test worker    | INFO : Creating default .syignore file at /tmp/syncanytest/syncany-181118143101653-10065-client-A/.syignore ...
18-11-18 14:31:10.553 | GenlinkOperatio | Test worker    | INFO : 
18-11-18 14:31:10.556 | GenlinkOperatio | Test worker    | INFO : Running 'GenLink'
18-11-18 14:31:10.557 | GenlinkOperatio | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.558 | ConnectOperatio | Test worker    | INFO : 
18-11-18 14:31:10.558 | ConnectOperatio | Test worker    | INFO : Running 'Connect'
18-11-18 14:31:10.558 | ConnectOperatio | Test worker    | INFO : --------------------------------------------
18-11-18 14:31:10.559 | ConnectOperatio | Test worker    | INFO : Creating config TO from link: syncany://2/not-encrypted/111WQo4NAJvSe6E2DfcMjQGBFgWTzE6d9y3dKv1k33NrAdgZVBBxhNyrRcaYLWDwcjzzQ5QWBSpJpXx2VGQye8FfsU45c2NtSCXadKsV7nDG5o6znTt86sDE5GD3yd4npt5Ld3mDT7XKmDAwAsKwAukBLGdLbVDp8o ...
18-11-18 14:31:10.560 | ConnectOperatio | Test worker    | INFO :  - Link is NOT encrypted. No password needed.
18-11-18 14:31:10.562 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.566 | ApplicationLink | Test worker    | INFO : (Decrypted) link contains: local -- <localTransferSettings type="local"><path>/tmp/syncanytest/syncany-181118143101653-10065-repo</path></localTransferSettings>
18-11-18 14:31:10.567 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:31:10.568 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:31:10.568 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:31:10.568 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:31:10.569 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:31:10.569 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:31:10.569 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:31:10.570 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
18-11-18 14:31:10.570 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
18-11-18 14:31:10.570 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:31:10.570 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
18-11-18 14:31:10.571 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file exists, list(syncany) returned one result.
18-11-18 14:31:10.571 | ConnectOperatio | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=true]
18-11-18 14:31:10.571 | ConnectOperatio | Test worker    | INFO : --> OKAY: Repo file exists. We're good to go!
18-11-18 14:31:10.571 | ConnectOperatio | Test worker    | INFO : - Connecting to the repo was successful; now downloading repo file ...