GUI acceptance tests using environment deployed from packages.
Build: #2914 failed
Job: Onezone data discovery failed
public harvester site is updated when file metadata is updated in space of original harvester[1oz 1op elasticsearch]: Test case result
The below summarizes the result of the test " public harvester site is updated when file metadata is updated in space of original harvester[1oz 1op elasticsearch]" in build 2,914 of Onedata Products - gui acceptance pkg - Onezone data discovery.
- Description
- public harvester site is updated when file metadata is updated in space of original harvester[1oz 1op elasticsearch]
- Test class
- gui.scenarios.test_onezone_data_discovery
- Method
- test_public_harvester_site_is_updated_when_file_metadata_is_updated_in_space_of_original_harvester[1oz_1op_elasticsearch]
- Duration
- 4 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: year: {__value: 2020} not in __onedata: {fileName: "file_with_xattrs", jsonMetadataExists: false, rdfMetadataExists: false, spaceId: "6b0be61537266be9079ce5e59a5c0b37ch7e1c", xattrs: {year: {__value: "2020"}}, xattrsMetadataExists: true} fixturefunc = <function assert_data_discovery_files at 0x7f32f553d300> request = <FixtureRequest for <Function test_public_harvester_site_is_updated_when_file_metadata_is_updated_in_space_of_original_harvester[1oz_1op_elasticsearch]>> kwargs = {'browser_id': 'browser_not_signed_in', 'config': 'dir1_1:\n jsonMetadataExists: false\n rdfMetadataExists: false\..._harvester_site_is_updated_when_file_metadata_is_updated_in_space_of_original_harvester[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) /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_with_xattrs", jsonMetadataExists: false, rdfMetadataExists: false, spaceId: "6b0be61537266be9079ce5e59a5c0b37ch7e1c", 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_with_xattrs", jsonMetadataExists: false, rdfMetadataExists: false, spaceId: "6b0be61537266be9079ce5e59a5c0b37ch7e1c", xattrs: {year: {__value: "2020"}}, xattrsMetadataExists: true} tests/gui/meta_steps/onezone/data_discovery.py:102: AssertionError