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

4

tests

0

failures

1

ignored

0.156s

duration

100%

successful

Tests

Test Duration Result
testConnectOperationFailureInvalidRepo - ignored
testConnectOperationFailureNoConnection 0.013s passed
testConnectOperationSuccess 0.020s passed
testConnectOperationWithLink 0.122s passed

Standard error

29-5-19 15:03:51.573 | AbstractInitOpe | Test worker    | INFO : 
29-5-19 15:03:51.573 | AbstractInitOpe | Test worker    | INFO : Running 'Init'
29-5-19 15:03:51.573 | AbstractInitOpe | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.573 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.585 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
29-5-19 15:03:51.586 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
29-5-19 15:03:51.586 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
29-5-19 15:03:51.586 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
29-5-19 15:03:51.586 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
29-5-19 15:03:51.586 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
29-5-19 15:03:51.586 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
29-5-19 15:03:51.587 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
29-5-19 15:03:51.587 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.589 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
29-5-19 15:03:51.589 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
29-5-19 15:03:51.589 | AbstractInitOpe | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=false]
29-5-19 15:03:51.589 | AbstractInitOpe | Test worker    | INFO : --> OKAY: Target exists and is writable, but repo doesn't exist. We're good to go!
29-5-19 15:03:51.589 | AbstractInitOpe | Test worker    | INFO : - Connecting to the repo was successful
29-5-19 15:03:51.608 | AbstractInitOpe | Test worker    | INFO : Uploading local repository ...
29-5-19 15:03:51.608 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.610 | AbstractInitOpe | Test worker    | INFO : Creating default .syignore file at /tmp/syncanytest/syncany-190529150340085-10065-client-A/.syignore ...
29-5-19 15:03:51.613 | GenlinkOperatio | Test worker    | INFO : 
29-5-19 15:03:51.613 | GenlinkOperatio | Test worker    | INFO : Running 'GenLink'
29-5-19 15:03:51.613 | GenlinkOperatio | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.662 | ConnectOperatio | Test worker    | INFO : 
29-5-19 15:03:51.662 | ConnectOperatio | Test worker    | INFO : Running 'Connect'
29-5-19 15:03:51.662 | ConnectOperatio | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.662 | ConnectOperatio | Test worker    | INFO : Creating config TO from link: syncany://2/not-encrypted/1113Ep2HrQ66tAi4UNuR4W9fyLd321Nhv3VGTXpzvmAks5kSTdyEuYr3ZDwc5GJEnU1fGxKsknpwnmDwaJwfJ75CjXtUv1ibePm27ZRJuPz66tHtXEYKGy5cEjnYEkD5SAW6qdfw4fSCJUWFwY1NwVfUbWXBYkPW4xuu ...
29-5-19 15:03:51.663 | ConnectOperatio | Test worker    | INFO :  - Link is NOT encrypted. No password needed.
29-5-19 15:03:51.679 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.679 | ApplicationLink | Test worker    | INFO : (Decrypted) link contains: local -- <localTransferSettings type="local"><path>/tmp/syncanytest/syncany-190529150340085-10065-repo</path></localTransferSettings>
29-5-19 15:03:51.679 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.679 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
29-5-19 15:03:51.679 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
29-5-19 15:03:51.680 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
29-5-19 15:03:51.680 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
29-5-19 15:03:51.680 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
29-5-19 15:03:51.680 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
29-5-19 15:03:51.680 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
29-5-19 15:03:51.680 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
29-5-19 15:03:51.680 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.680 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
29-5-19 15:03:51.680 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file exists, list(syncany) returned one result.
29-5-19 15:03:51.680 | ConnectOperatio | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=true]
29-5-19 15:03:51.681 | ConnectOperatio | Test worker    | INFO : --> OKAY: Repo file exists. We're good to go!
29-5-19 15:03:51.681 | ConnectOperatio | Test worker    | INFO : - Connecting to the repo was successful; now downloading repo file ...
29-5-19 15:03:51.689 | AbstractInitOpe | Test worker    | INFO : 
29-5-19 15:03:51.689 | AbstractInitOpe | Test worker    | INFO : Running 'Init'
29-5-19 15:03:51.689 | AbstractInitOpe | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.689 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.690 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
29-5-19 15:03:51.690 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
29-5-19 15:03:51.690 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
29-5-19 15:03:51.690 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
29-5-19 15:03:51.690 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
29-5-19 15:03:51.690 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
29-5-19 15:03:51.690 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
29-5-19 15:03:51.690 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
29-5-19 15:03:51.690 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.690 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
29-5-19 15:03:51.690 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
29-5-19 15:03:51.690 | AbstractInitOpe | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=false]
29-5-19 15:03:51.690 | AbstractInitOpe | Test worker    | INFO : --> OKAY: Target exists and is writable, but repo doesn't exist. We're good to go!
29-5-19 15:03:51.690 | AbstractInitOpe | Test worker    | INFO : - Connecting to the repo was successful
29-5-19 15:03:51.695 | AbstractInitOpe | Test worker    | INFO : Uploading local repository ...
29-5-19 15:03:51.695 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.697 | AbstractInitOpe | Test worker    | INFO : Creating default .syignore file at /tmp/syncanytest/syncany-190529150340085-10065-client-A/.syignore ...
29-5-19 15:03:51.698 | GenlinkOperatio | Test worker    | INFO : 
29-5-19 15:03:51.698 | GenlinkOperatio | Test worker    | INFO : Running 'GenLink'
29-5-19 15:03:51.698 | GenlinkOperatio | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.699 | ConnectOperatio | Test worker    | INFO : 
29-5-19 15:03:51.699 | ConnectOperatio | Test worker    | INFO : Running 'Connect'
29-5-19 15:03:51.699 | ConnectOperatio | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.700 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.700 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
29-5-19 15:03:51.700 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
29-5-19 15:03:51.700 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
29-5-19 15:03:51.700 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
29-5-19 15:03:51.700 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
29-5-19 15:03:51.700 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
29-5-19 15:03:51.700 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
29-5-19 15:03:51.700 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
29-5-19 15:03:51.700 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.701 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
29-5-19 15:03:51.701 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file exists, list(syncany) returned one result.
29-5-19 15:03:51.701 | ConnectOperatio | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=true]
29-5-19 15:03:51.701 | ConnectOperatio | Test worker    | INFO : --> OKAY: Repo file exists. We're good to go!
29-5-19 15:03:51.701 | ConnectOperatio | Test worker    | INFO : - Connecting to the repo was successful; now downloading repo file ...
29-5-19 15:03:51.709 | AbstractInitOpe | Test worker    | INFO : 
29-5-19 15:03:51.709 | AbstractInitOpe | Test worker    | INFO : Running 'Init'
29-5-19 15:03:51.709 | AbstractInitOpe | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.709 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.710 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
29-5-19 15:03:51.710 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
29-5-19 15:03:51.710 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
29-5-19 15:03:51.710 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
29-5-19 15:03:51.710 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
29-5-19 15:03:51.710 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
29-5-19 15:03:51.710 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
29-5-19 15:03:51.710 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
29-5-19 15:03:51.710 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.711 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can write, test file created/deleted successfully.
29-5-19 15:03:51.711 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
29-5-19 15:03:51.711 | AbstractInitOpe | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=true, targetCanConnect=true, targetCanCreate=true, targetCanWrite=true, repoFileExists=false]
29-5-19 15:03:51.711 | AbstractInitOpe | Test worker    | INFO : --> OKAY: Target exists and is writable, but repo doesn't exist. We're good to go!
29-5-19 15:03:51.711 | AbstractInitOpe | Test worker    | INFO : - Connecting to the repo was successful
29-5-19 15:03:51.715 | AbstractInitOpe | Test worker    | INFO : Uploading local repository ...
29-5-19 15:03:51.715 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
29-5-19 15:03:51.718 | AbstractInitOpe | Test worker    | INFO : Creating default .syignore file at /tmp/syncanytest/syncany-190529150340085-10065-client-A/.syignore ...
29-5-19 15:03:51.718 | GenlinkOperatio | Test worker    | INFO : 
29-5-19 15:03:51.718 | GenlinkOperatio | Test worker    | INFO : Running 'GenLink'
29-5-19 15:03:51.718 | GenlinkOperatio | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.719 | ConnectOperatio | Test worker    | INFO : 
29-5-19 15:03:51.719 | ConnectOperatio | Test worker    | INFO : Running 'Connect'
29-5-19 15:03:51.720 | ConnectOperatio | Test worker    | INFO : --------------------------------------------
29-5-19 15:03:51.720 | org.syncany.plu | Test worker    | FINE : Validating required fields
29-5-19 15:03:51.720 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
29-5-19 15:03:51.720 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
29-5-19 15:03:51.720 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
29-5-19 15:03:51.720 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
29-5-19 15:03:51.720 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
29-5-19 15:03:51.720 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
29-5-19 15:03:51.720 | AbstractTransfe | Test worker    | INFO : Performing storage test TM.test() ...
29-5-19 15:03:51.720 | AbstractTransfe | Test worker    | INFO : - Running connect() ...
29-5-19 15:03:51.720 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target does NOT exist.
29-5-19 15:03:51.721 | LocalTransferMa | Test worker    | INFO : testTargetCanWrite: Can NOT write, target does not exist.
29-5-19 15:03:51.721 | LocalTransferMa | Test worker    | INFO : testRepoFileExists: Repo file DOES NOT exist.
29-5-19 15:03:51.721 | ConnectOperatio | Test worker    | INFO : Storage test result ist StorageTestResult [targetExists=false, targetCanConnect=true, targetCanCreate=false, targetCanWrite=false, repoFileExists=false]
29-5-19 15:03:51.721 | ConnectOperatio | Test worker    | INFO : --> NOT OKAY: Invalid target/repo state. Operation cannot be continued.
29-5-19 15:03:51.721 | ConnectOperatio | Test worker    | INFO : - Connecting to the repo failed, repo already exists or cannot be created: NOK_TEST_FAILED