GUI acceptance tests using environment deployed from packages.
Build: #2893 failed
Job: Storage sync charts failed
user configures storage sync and sees storage synchronization statistics[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user configures storage sync and sees storage synchronization statistics[1oz 1op deployed]" in build 2,893 of Onedata Products - gui acceptance pkg - Storage sync charts.
- Description
- user configures storage sync and sees storage synchronization statistics[1oz 1op deployed]
- Test class
- gui.scenarios.test_storage_sync_charts
- Method
- test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]
- Jira Issue
-
- Duration
- 4 mins
- Status
- Failed (Existing Failure)
Error Log
pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: Given "there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration: storage type: POSIX mount point: /volumes/posix imported storage: true". Line 20 in scenario "User configures storage sync and sees storage synchronization statistics" in the feature "/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CSSC/onedata-acceptance/tests/gui/features/onepanel/storage_sync_charts.feature self = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> argname = 'pytestbdd_given_there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration:\nstorage type: POSIX\nmount point: /volumes/posix\nimported storage: true' def _get_active_fixturedef(self, argname): try: > return self._fixture_defs[argname] E KeyError: 'pytestbdd_given_there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration:\nstorage type: POSIX\nmount point: /volumes/posix\nimported storage: true' /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:441: KeyError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> step = <pytest_bdd.feature.Step object at 0x7ff51ca49100> scenario = <pytest_bdd.feature.Scenario object at 0x7ff51ca49850> 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.8/dist-packages/pytest_bdd/scenario.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> argname = 'pytestbdd_given_there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration:\nstorage type: POSIX\nmount point: /volumes/posix\nimported storage: true' 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.8/dist-packages/_pytest/fixtures.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> argname = 'pytestbdd_given_there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration:\nstorage type: POSIX\nmount point: /volumes/posix\nimported storage: true' def _get_active_fixturedef(self, argname): try: return self._fixture_defs[argname] except KeyError: try: > fixturedef = self._getnextfixturedef(argname) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:444: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> argname = 'pytestbdd_given_there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration:\nstorage type: POSIX\nmount point: /volumes/posix\nimported storage: true' 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_given_there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration:\nstorage type: POSIX\nmount point: /volumes/posix\nimported storage: true', <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>>) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:303: FixtureLookupError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> @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:156: in _execute_scenario step_func = _find_step_function(request, step, scenario, encoding=encoding) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ request = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]'>> step = <pytest_bdd.feature.Step object at 0x7ff51ca49100> scenario = <pytest_bdd.feature.Scenario object at 0x7ff51ca49850> 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: Given "there is "new_storage" storage in "oneprovider-1" Oneprovider panel service used by user of browser1 with following configuration: E storage type: POSIX E mount point: /volumes/posix E imported storage: true". Line 20 in scenario "User configures storage sync and sees storage synchronization statistics" in the feature "/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CSSC/onedata-acceptance/tests/gui/features/onepanel/storage_sync_charts.feature /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:93: StepDefinitionNotFoundError