Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1154 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 1,154 of Onedata Products - mixed acceptance pkg - Chrome permission POSIX tests.
- 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
- 20 secs
- Status
- Failed (Existing Failure)
Error Log
pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: When "user1 waits 2 seconds". Line 47 in scenario "Using <client3> user sees change of POSIX permissions an status-change time after changing permissions using <client2> for file created with <client1>" in the feature "/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-MAOPT-CPPT/onedata/tests/mixed/features/oneprovider/permission_posix.feature self = <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]'>> argname = 'pytestbdd_when_user1 waits 2 seconds' def _get_active_fixturedef(self, argname): try: > return self._fixture_defs[argname] E KeyError: 'pytestbdd_when_user1 waits 2 seconds' /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:441: KeyError During handling of the above exception, another exception occurred: 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]'>> step = <pytest_bdd.feature.Step object at 0x7f7fcffc1d68> scenario = <pytest_bdd.feature.Scenario object at 0x7f7fcffc1a58> encoding = 'utf-8' def _find_step_function(request, step, scenario, encoding): """Match the step defined by the regular expression pattern. :param request: PyTest request object. :param step: Step. :param scenario: Scenario. :return: Function of the step. :rtype: function """ name = step.name try: # Simple case where no parser is used for the step > return request.getfixturevalue(get_step_fixture_name(name, step.type, encoding)) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <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]'>> argname = 'pytestbdd_when_user1 waits 2 seconds' def getfixturevalue(self, argname): """ Dynamically run a named fixture function. Declaring fixtures via function argument is recommended where possible. But if you can only decide whether to use another fixture at test setup time, you may use this function to retrieve it inside a fixture or test function body. """ > return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <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]'>> argname = 'pytestbdd_when_user1 waits 2 seconds' def _get_active_fixturedef(self, argname): try: return self._fixture_defs[argname] except KeyError: try: > fixturedef = self._getnextfixturedef(argname) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:444: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <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]'>> argname = 'pytestbdd_when_user1 waits 2 seconds' def _getnextfixturedef(self, argname): fixturedefs = self._arg2fixturedefs.get(argname, None) if fixturedefs is None: # we arrive here because of a dynamic call to # getfixturevalue(argname) usage which was naturally # not known at parsing/collection time parentid = self._pyfuncitem.parent.nodeid fixturedefs = self._fixturemanager.getfixturedefs(argname, parentid) self._arg2fixturedefs[argname] = fixturedefs # fixturedefs list is immutable so we maintain a decreasing index index = self._arg2index.get(argname, 0) - 1 if fixturedefs is None or (-index > len(fixturedefs)): > raise FixtureLookupError(argname, self) E _pytest.fixtures.FixtureLookupError: ('pytestbdd_when_user1 waits 2 seconds', <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]'>>) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:303: FixtureLookupError During handling of the above exception, another exception occurred: 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.6/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:156: in _execute_scenario step_func = _find_step_function(request, step, scenario, encoding=encoding) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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]'>> step = <pytest_bdd.feature.Step object at 0x7f7fcffc1d68> scenario = <pytest_bdd.feature.Scenario object at 0x7f7fcffc1a58> encoding = 'utf-8' def _find_step_function(request, step, scenario, encoding): """Match the step defined by the regular expression pattern. :param request: PyTest request object. :param step: Step. :param scenario: Scenario. :return: Function of the step. :rtype: function """ name = step.name try: # Simple case where no parser is used for the step return request.getfixturevalue(get_step_fixture_name(name, step.type, encoding)) except pytest_fixtures.FixtureLookupError: try: # Could not find a fixture with the same name, let's see if there is a parser involved name = find_argumented_step_fixture_name(name, step.type, request._fixturemanager, request) if name: return request.getfixturevalue(name) raise except pytest_fixtures.FixtureLookupError: raise exceptions.StepDefinitionNotFoundError( u"""Step definition is not found: {step}.""" """ Line {step.line_number} in scenario "{scenario.name}" in the feature "{feature.filename}""".format( step=step, scenario=scenario, > feature=scenario.feature, ) ) E pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: When "user1 waits 2 seconds". Line 47 in scenario "Using <client3> user sees change of POSIX permissions an status-change time after changing permissions using <client2> for file created with <client1>" in the feature "/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-MAOPT-CPPT/onedata/tests/mixed/features/oneprovider/permission_posix.feature /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:98: StepDefinitionNotFoundError