GUI acceptance tests using environment deployed from packages.

Build: #2238 was successful

Job: Multiprovider basic was successful

Stages & jobs

  1. Acceptance Test

user uploads file sees its distribution writes to it beyond the end of file using cdmi and sees its distribution again[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user uploads file sees its distribution writes to it beyond the end of file using cdmi and sees its distribution again[1oz 2op deployed]" in build 2,238 of Onedata Products - gui acceptance pkg - Chrome multiprovider basic tests.
Description
user uploads file sees its distribution writes to it beyond the end of file using cdmi and sees its distribution again[1oz 2op deployed]
Test class
gui.scenarios.test_multiprovider_basic
Method
test_user_uploads_file_sees_its_distribution_writes_to_it_beyond_the_end_of_file_using_cdmi_and_sees_its_distribution_again[1oz_2op_deployed]
Jira Issue
Duration
4 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: displayed chunk (0.0, 10.95) instead of expected (0, 20)
request = <FixtureRequest for <Function 'test_user_uploads_file_sees_its_distribution_writes_to_it_beyond_the_end_of_file_using_cdmi_and_sees_its_distribution_again[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="5e555319848ddcaaa0c12ae56fb848dc")>}
browser_id = 'browser', chunks = '[(0, 20), (40, 44)]'
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, 10.95) instead of expected (0, 20)

tests/gui/steps/oneprovider/data_tab.py:496: AssertionError