Build: #4 failed
Job: File details API failed
user reads file metadata using the command from command name from api section in share file details modal[1oz 1op 1oc-xattrs-attr=val-get extended attributes (xattrs)-{"attr":"val"}]: Test case result
The below summarizes the result of the test " user reads file metadata using the command from command name from api section in share file details modal[1oz 1op 1oc-xattrs-attr=val-get extended attributes (xattrs)-{"attr":"val"}]" in build 4 of Onedata Products - mixed acceptance pkg - feature-VFS-9425-mixed-tests-test-api-for-share-from-file-details-modal - File details API.
- Description
- user reads file metadata using the command from command name from api section in share file details modal[1oz 1op 1oc-xattrs-attr=val-get extended attributes (xattrs)-{"attr":"val"}]
- Test class
- mixed.scenarios.test_file_details_api
- Method
- test_user_reads_file_metadata_using_the_command_from_command_name_from_api_section_in_share_file_details_modal[1oz_1op_1oc-xattrs-attr=val-Get extended attributes (xattrs)-{"attr":"val"}]
- Duration
- 31 secs
- Status
- Failed (New Failure)
Error Log
tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"posix","details":{"errno":"eperm"},"description":"Operation failed with POSIX error: eperm."}} fixturefunc = <function set_metadata_in_op at 0x7ff4735f0d60> request = <FixtureRequest for <Function test_user_reads_file_metadata_using_the_command_from_command_name_from_api_section_in_share_file_details_modal[1oz_1op_1oc-xattrs-attr=val-Get extended attributes (xattrs)-]>> kwargs = {'cdmi': <class 'tests.gui.utils.oneservices.cdmi.CDMIClient'>, 'client': 'REST', 'host': 'oneprovider-1', 'hosts': {'...4bb0685', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.24.61', 'name': 'dev-onezone', ...}}, ...} 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/mixed/steps/data_basic.py:1286: in set_metadata_in_op set_metadata_in_op_rest( tests/mixed/steps/rest/oneprovider/metadata.py:47: in set_metadata_in_op_rest client.write_metadata(path, {attr: val}) tests/gui/utils/oneservices/cdmi.py:124: in write_metadata return http_put( tests/utils/rest_utils.py:53: in http_put return http_request(requests.put, ip, port, path, use_ssl, headers, tests/utils/rest_utils.py:89: in http_request raise_http_exception(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response [400]> def raise_http_exception(response): ex_cls = _exceptions.get(response.status_code, HTTPError) > raise ex_cls(response) E tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"posix","details":{"errno":"eperm"},"description":"Operation failed with POSIX error: eperm."}} tests/utils/http_exceptions.py:15: HTTPBadRequest