GUI acceptance tests using environment deployed from packages.
Build: #2403 failed
Job: Transfers cancel failed
user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]: Test case result
The below summarizes the result of the test " user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]" in build 2,403 of Onedata Products - gui acceptance pkg - Chrome transfers cancel.
- Description
- user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]
- Test class
- gui.scenarios.test_oneprovider_transfers_cancel
- Method
- test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]
- Duration
- 16 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: Transfer status is cancelled instead of completed in ended request = <FixtureRequest for <Function 'test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-721>:2: in assert_ended_transfer ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/gui/steps/oneprovider/transfers.py:60: in assert_ended_transfer _assert_transfer(transfer, item_type, desc, 'ended', hosts) tests/gui/steps/oneprovider/transfers.py:51: in _assert_transfer raise e _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7f03ea15a5b0> item_type = 'file' desc = {'name': '0', 'replicated': '<= 18.6 GB', 'status': 'completed', 'type': 'replication'} sufix = 'ended' hosts = {'oneprovider-1': {'container-id': '951287ce9341862b7b28ed151d016949c16f9c4dfad13f5625b9608a4069f323', 'hostname': 'de...f471a22c2084338', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.7', 'name': 'dev-onezone', ...}} def _assert_transfer(transfer, item_type, desc, sufix, hosts): assert getattr(transfer, 'is_{}'.format(item_type))(), \ 'Transferred item is not {} in {}'.format(item_type, sufix) desc = yaml.load(desc) for key, val in desc.items(): if key == 'destination': val = hosts[val]['name'] transfer_val = getattr(transfer, key.replace(' ', '_')) try: > assert transfer_val == str(val), (f'Transfer {key} is ' f'{transfer_val} instead of ' f'{val} in {sufix}') E AssertionError: Transfer status is cancelled instead of completed in ended tests/gui/steps/oneprovider/transfers.py:34: AssertionError