GUI acceptance tests using environment deployed from packages.

Build: #2915 failed

Job: Onezone data discovery failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

metadata changes of file in harvested space are visible in data discovery page[1oz 1op elasticsearch]: Test case result

The below summarizes the result of the test " metadata changes of file in harvested space are visible in data discovery page[1oz 1op elasticsearch]" in build 2,915 of Onedata Products - gui acceptance pkg - Onezone data discovery.
Description
metadata changes of file in harvested space are visible in data discovery page[1oz 1op elasticsearch]
Test class
gui.scenarios.test_onezone_data_discovery
Method
test_metadata_changes_of_file_in_harvested_space_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]
Duration
4 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: year: {__value: 2020} not in __onedata: {fileName: "file_xattrs", jsonMetadataExists: false, rdfMetadataExists: false, spaceId: "3220a7b2c7fa7bef7e864ce446e0b9bdche3d7", xattrs: {year: {__value: "2020"}}, xattrsMetadataExists: true}
fixturefunc = <function assert_data_discovery_files at 0x7f6aa3480f40>
request = <FixtureRequest for <Function test_metadata_changes_of_file_in_harvested_space_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]>>
kwargs = {'browser_id': 'browser', 'config': 'dir1_1:\n  jsonMetadataExists: false\n  rdfMetadataExists: false\n  xattrsMetadat...ion test_metadata_changes_of_file_in_harvested_space_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]>>}, ...}

    def call_fixture_func(
        fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs
    ) -> FixtureValue:
        if is_generator(fixturefunc):
            fixturefunc = cast(
                Callable[..., Generator[FixtureValue, None, None]], fixturefunc
            )
            generator = fixturefunc(**kwargs)
            try:
                fixture_result = next(generator)
            except StopIteration:
                raise ValueError(f"{request.fixturename} did not yield a value") from None
            finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
            request.addfinalizer(finalizer)
        else:
            fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
>           fixture_result = fixturefunc(**kwargs)

/usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
/usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
tests/utils/utils.py:93: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/onezone/data_discovery.py:39: in assert_data_discovery_files
    assert_files(selenium, browser_id, data_discovery, config, spaces)
tests/gui/meta_steps/onezone/data_discovery.py:50: in assert_files
    _assert_data_discovery_files(expected_data[file],
tests/gui/meta_steps/onezone/data_discovery.py:89: in _assert_data_discovery_files
    _assert_expected_xattr(sub_item, actual)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

sub_item = ('year', 2020)
actual = '__onedata: {fileName: "file_xattrs", jsonMetadataExists: false, rdfMetadataExists: false, spaceId: "3220a7b2c7fa7bef7e864ce446e0b9bdche3d7", xattrs: {year: {__value: "2020"}}, xattrsMetadataExists: true}'

    def _assert_expected_xattr(sub_item, actual):
        regex = f'{sub_item[0]}: {{__value: {sub_item[1]}}}'
>       assert regex in actual, f'{regex} not in {actual}'
E       AssertionError: year: {__value: 2020} not in __onedata: {fileName: "file_xattrs", jsonMetadataExists: false, rdfMetadataExists: false, spaceId: "3220a7b2c7fa7bef7e864ce446e0b9bdche3d7", xattrs: {year: {__value: "2020"}}, xattrsMetadataExists: true}

tests/gui/meta_steps/onezone/data_discovery.py:102: AssertionError