Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #3058 failed
Job: Permission POSIX failed
using client3 user sees change of posix permissions an statuschange time after changing permissions using client2 for file created with client1[1oz 1op 1oc-RESt-web GUi-RESt]: Test case result
The below summarizes the result of the test " using client3 user sees change of posix permissions an statuschange time after changing permissions using client2 for file created with client1[1oz 1op 1oc-RESt-web GUi-RESt]" in build 3,058 of Onedata Products - mixed acceptance pkg - Permission POSIX.
- Description
- using client3 user sees change of posix permissions an statuschange time after changing permissions using client2 for file created with client1[1oz 1op 1oc-RESt-web GUi-RESt]
- Test class
- mixed.scenarios.test_permission_posix
- Method
- test_using_client3_user_sees_change_of_posix_permissions_an_statuschange_time_after_changing_permissions_using_client2_for_file_created_with_client1[1oz_1op_1oc-REST-web GUI-REST]
- Duration
- 1 min
- Status
- Failed (New Failure)
Error Log
TypeError: Got an unexpected keyword argument 'attribute' to method get_attrs request = <FixtureRequest for <Function 'test_using_client3_user_sees_change_of_posix_permissions_an_statuschange_time_after_changing_permissions_using_client2_for_file_created_with_client1[1oz_1op_1oc-REST-web GUI-REST]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/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-939>:2: in assert_posix_permissions_in_op ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/mixed/steps/data_permissions.py:106: in assert_posix_permissions_in_op assert_posix_permissions_in_op_rest(full_path, mode, user, users, tests/mixed/steps/rest/oneprovider/data.py:259: in assert_posix_permissions_in_op_rest file_attrs = file_api.get_attrs(file_id, attribute='mode') tests/mixed/oneprovider_client/api/basic_file_operations_api.py:525: in get_attrs (data) = self.get_attrs_with_http_info(id, **kwargs) # noqa: E501 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <oneprovider_client.api.basic_file_operations_api.BasicFileOperationsApi object at 0x7f15e99d03a0> id = '000000000052B46D67756964233737316362383461313362663236353230646231356635633035653030643461636833633237236463656365656362303436383664363561333936633835656537363237303434636833633237' kwargs = {'_return_http_data_only': True, 'attribute': 'mode'} all_params = ['id', 'data', 'legacy_options', 'async_req', '_return_http_data_only', '_preload_content', ...] params = {'all_params': ['id', 'data', 'legacy_options', 'async_req', '_return_http_data_only', '_preload_content', ...], 'id':...537363237303434636833633237', 'key': 'attribute', 'kwargs': {'_return_http_data_only': True, 'attribute': 'mode'}, ...} key = 'attribute', val = 'mode' def get_attrs_with_http_info(self, id, **kwargs): # noqa: E501 """Get file attributes # noqa: E501 This method returns attributes of a file specified by [$FILE_ID](#operation/lookup_file_id). By default, all attributes are returned, except for extended attributes. The list of requested attributes can be optionally narrowed down, and extended attributes can be retrieved using the `xattr.*` attribute(s) (where * is an extended attribute key). **NOTE**: since version **21.02.5**, this endpoint accepts **options as JSON body** rather than in the query string. Moreover, some of the attributes have been renamed and the list of available ones has been extended. The old behaviour of the endpoint has been retained but is **DEPRECATED** and scheduled for deletion in the future major release. The following changes in attribute names were introduced: * `file_id` -> `fileId` * `mode` -> `posixPermissions` * `parent_id` -> `parentFileId` * `storage_group_id` -> `displayGid` * `storage_user_id` -> `displayUid` * `is_fully_replicated` -> `isFullyReplicatedLocally` * `provider_id` -> `originProviderId` * `shares` -> `directShareIds` * `owner_id` -> `ownerUserId` * `hardlinks_count` -> `hardlinkCount` ***Example cURL requests*** **Get selected file attributes** ```bash curl -H \"X-Auth-Token: $TOKEN\" -H 'Content-type: application/json' \\ -X GET \"https://$PROVIDER_HOST/api/v3/oneprovider/data/$FILE_ID\" -d '{ \"attributes\": [\"name\", \"size\", \"xattr.key\"] }' { \"name\": \"File1.txt\", \"size\": 100, \"xattr.key\": \"extended_attribute_value\" } ``` # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_attrs_with_http_info(id, async_req=True) >>> result = thread.get() :param async_req bool :param str id: File, directory or space Id. (required) :param Data data: :param str legacy_options: The old behaviour of the endpoint has been retained but is **DEPRECATED** and scheduled for deletion in the future major release. You may refer to the [docs for 21.02.4](https://onedata.org/#/home/api/21.02.3/oneprovider?anchor=operation/list_files_recursively), but it's recommended to use the new API with options as JSON body. :return: FileAttributes If the method is called asynchronously, returns the request thread. """ all_params = ['id', 'data', 'legacy_options'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: > raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_attrs" % key ) E TypeError: Got an unexpected keyword argument 'attribute' to method get_attrs tests/mixed/oneprovider_client/api/basic_file_operations_api.py:555: TypeError