GUI acceptance tests using environment deployed from packages.
Build: #2238 was successful
Job: Multiprovider basic was successful
user uploads file on one provider sees its distribution writes to it using cdmi on other provider and sees its distribution[1oz 2op deployed]: Test case result
The below summarizes the result of the test " user uploads file on one provider sees its distribution writes to it using cdmi on other provider and sees its distribution[1oz 2op deployed]" in build 2,238 of Onedata Products - gui acceptance pkg - Chrome multiprovider basic tests.
- Description
- user uploads file on one provider sees its distribution writes to it using cdmi on other provider and sees its distribution[1oz 2op deployed]
- Test class
- gui.scenarios.test_multiprovider_basic
- Method
- test_user_uploads_file_on_one_provider_sees_its_distribution_writes_to_it_using_cdmi_on_other_provider_and_sees_its_distribution[1oz_2op_deployed]
- Jira Issue
-
- Duration
- 9 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: displayed chunk (0.0, 16.6875) instead of expected (0, 20) request = <FixtureRequest for <Function 'test_user_uploads_file_on_one_provider_sees_its_distribution_writes_to_it_using_cdmi_on_other_provider_and_sees_its_distribution[1oz_2op_deployed]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.6/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-743>:2: in assert_provider_chunks_in_data_distribution ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="423a9a3f9a14fc6a3e402d0320cfd08e")>} browser_id = 'browser', chunks = '(0, 20)', provider = 'dev-oneprovider-krakow' modals = <class 'tests.gui.utils.common.modals.Modals'> hosts = {'oneprovider-1': {'container-id': '9bb180404fd58e0678ec9973fbf5498f6e7f43145e4fdc87c9a38ee82da26e36', 'hostname': 'de...17ff04fe811d81', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.11', 'name': 'dev-onezone', ...}} @wt(parsers.parse('user of {browser_id} sees {chunks} chunk(s) for provider ' '"{provider}" in chunk bar')) @repeat_failed(timeout=WAIT_FRONTEND) def assert_provider_chunks_in_data_distribution(selenium, browser_id, chunks, provider, modals, hosts): driver = selenium[browser_id] provider = hosts[provider]['name'] data_distribution = modals(driver).data_distribution distribution = data_distribution.providers[provider].distribution size = data_distribution.size() displayed_chunks = distribution.chunks(size) expected_chunks = parse_seq(chunks, pattern=r'\(.+?\)') assert len(displayed_chunks) == len( expected_chunks), 'displayed {} chunks instead of expected {}'.format( len(displayed_chunks), len(expected_chunks)) for chunk1, chunk2 in zip(displayed_chunks, expected_chunks): assert all(round(x - z) == 0 for x, z in zip(chunk1, parse_seq(chunk2, pattern='\d+', default=int))), 'displayed chunk {} instead of expected {}'.format( > chunk1, chunk2) E AssertionError: displayed chunk (0.0, 16.6875) instead of expected (0, 20) tests/gui/steps/oneprovider/data_tab.py:496: AssertionError