Untitled
unknown
plain_text
a year ago
14 kB
2
Indexable
Never
(venv) allezov@mbp-allezov-OZON-FVFGN2HFQ05N ex_backend_autotests % pytest tests/selection/test_robot_selection.py Будет использован следующий конфиг для сервисов {'auth_token': None, 'auth_headers': {'x-claims-username': 'autotests_user'}, 's2s_secret': None, 'express-eposting-service': {'url': 'http://express-eposting-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'warehouse-bff': {'url': 'http://warehouse-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'eams-docs-api': {'url': 'http://eams-docs-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'express-user-api': {'url': 'http://express-user-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'express-map-generator': {'url': 'http://express-map-generator.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'express-mp-auction-bff': {'url': 'http://express-mp-auction-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'express-mp-supply-service': {'url': 'http://express-mp-supply-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'express-mp-sc-facade': {'url': 'http://express-mp-sc-facade.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'express-widgets-api': {'mesh': None, 'url': 'http://express-widgets-api.stg.a.o3.ru', 's2s_auth_enabled': True}, 'recipe-api': {'url': 'http://recipe-api-release-2-0-0.stg.a.o3.ru', 'mesh': 'recipe-service.express:release-2-0-0,recipe-service:release-2-0-0', 'auth_headers': {'x-claims-roles': 'express_recipe', 'x-claims-username': 'autotests_user'}, 's2s_auth_enabled': False}, 'capacity-service': {'url': 'http://capacity-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'cart-go-api': {'url': 'http://cart-go-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'dvs-api': {'url': 'http://dvs-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'dvs-timeslot-templates-api': {'url': 'http://dvs-timeslot-templates-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'supplier-service': {'url': 'http://supplier-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'lms-geo-api': {'url': 'http://lms-geo-api.stg.a.o3.ru', 'auth_headers': {'x-o3-app-name': 'oe_qa_team'}, 'mesh': None, 's2s_auth_enabled': False}, 'address-api': {'url': 'http://address-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oms-go-api-web': {'url': 'http://oms-go-api-web.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oms-go-api-seller-center': {'url': 'http://oms-go-api-seller-center.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'whc-go-api-warehouse': {'url': 'http://whc-go-api-warehouse-latest.stg.a.o3.ru:80', 'mesh': None, 's2s_auth_enabled': False}, 'oms-order-kraken': {'url': 'http://oms-js-service-orderkraken.oms.stg.s.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'recipe-bff': {'url': 'http://recipe-bff-release-2-0-0.stg.a.o3.ru', 'mesh': 'recipe-api.express:release-2-0-0,recipe-service.express:release-2-0-0,recipe-api:release-2-0-0,recipe-service:release-2-0-0', 'auth_headers': {'x-claims-roles': 'express_recipe', 'x-claims-username': 'autotests_user'}, 's2s_auth_enabled': False}, 'providers-api': {'url': 'http://providers-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'providers-bff': {'url': 'http://providers-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'forecast-crud': {'url': 'http://forecast-crud.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'forecast-bff': {'url': 'http://forecast-bff.stg.a.o3.ru', 'mesh': None, 'auth_headers': {'x-claims-roles': 'eams_admin', 'x-claims-username': 'autotests_user'}, 's2s_auth_enabled': True}, 'ams-api-category': {'url': 'http://ams-api-category.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'geo-service': {'url': 'http://express-geo-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'delivery-service': {'url': 'http://delivery-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'delivery-crud': {'url': 'http://delivery-crud-release-1-7-0.express.svc.stg.k8s.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'auction-service': {'url': 'http://express-mp-auction-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'supply-service': {'url': 'http://express-mp-supply-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'master-delivery-service': {'url': 'http://master-delivery-service-release-1-9-0.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'galya': {'url': 'http://galya.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'min-price': {'url': 'http://min-price.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'seller-service': {'url': 'http://ex-rfbs-seller-storage.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'delivery-method-service': {'url': 'http://delivery-method-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'logistic-service': {'url': 'http://logistic-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'eams-pricing': {'url': 'http://eams-pricing.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'eams-pricing-bff': {'url': 'http://eams-pricing-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'rbac-bff': {'url': 'http://rbac-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'express-open-api': {'url': 'http://express-open-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'warehouse-configuration-api': {'url': 'http://warehouse-configuration-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'tsa': {'url': 'http://tsa.lms.stg.s.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-checkbox-service': {'url': 'http://oe-checkbox-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'delivery-route-api': {'url': 'http://express-couriers-delivery-route-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'metatarifficator': {'url': 'http://metatarifficator.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'delivery-location': {'url': 'http://delivery-location-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'delivery-location-service': {'url': 'http://delivery-location-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'contractor-assortment': {'url': 'http://contractor-assortment.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'delivery-problems': {'url': 'http://delivery-problems.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'express-dynamic-map-api': {'url': 'http://express-dynamic-map-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'eams-product-service': {'url': 'http://eams-product-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': True}, 'eams-product-bff': {'url': 'http://eams-product-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'eams-promo-service': {'url': 'http://eams-promo-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'tss': {'url': 'http://tss.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'qa-api': {'url': 'http://qa-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'warehouse-api': {'url': 'warehouse-api-release-ewms-3244.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'warehouse-service': {'url': 'http://warehouse-service.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-etms-api': {'url': 'http://oe-etms-api.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-etms-bff': {'url': 'http://oe-etms-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-etms-counterparty-bff': {'url': 'http://oe-etms-counterparty-bff.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'maps-geoproxy': {'mesh': None, 'url': 'http://maps-geoproxy.stg.a.o3.ru', 's2s_auth_enabled': False}, 'lms-srt-employee': {'url': 'http://lms-srt-employee.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'lms-qa-admin': {'url': 'http://lms-qa-admin.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-tpl-partner-service-template': {'url': 'http://oe-tpl-partner-service-template.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'avail-api-stock': {'url': 'http://avail-api-stock.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'express-shipping': {'url': 'http://express-shipping-latest.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'pvz-api-courier': {'url': 'http://pvz-api-courier.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-return-api': {'url': 'http://oe-return-api-release-elo-2224.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}, 'oe-return-bff': {'url': 'http://oe-return-bff-release-elo-2228.stg.a.o3.ru', 'mesh': None, 's2s_auth_enabled': False}} ========================================================================= test session starts ========================================================================= platform darwin -- Python 3.8.18, pytest-7.4.2, pluggy-1.3.0 tested service: service url: rootdir: /Users/allezov/Projects/ex_backend_autotests configfile: pytest.ini plugins: html-4.0.2, rerunfailures-12.0, metadata-3.0.0, dependency-0.5.1, xdist-3.3.1, Faker-19.9.0, ozon-ex-pytest-plugin-2.25.0, allure-pytest-2.13.2 collected 1 item tests/selection/test_robot_selection.py . [100%] 'TestReport' object has no attribute 'item_index' Traceback (most recent call last): File "/Users/allezov/Projects/ex_backend_autotests/venv/bin/pytest", line 8, in <module> sys.exit(console_main()) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/_pytest/config/__init__.py", line 192, in console_main code = main() File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/_pytest/config/__init__.py", line 169, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_callers.py", line 113, in _multicall raise exception.with_traceback(exception.__traceback__) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/_pytest/main.py", line 318, in pytest_cmdline_main return wrap_session(config, _main) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/_pytest/main.py", line 306, in wrap_session config.hook.pytest_sessionfinish( File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_callers.py", line 130, in _multicall teardown[0].send(outcome) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/_pytest/terminal.py", line 867, in pytest_sessionfinish self.config.hook.pytest_terminal_summary( File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_callers.py", line 152, in _multicall return outcome.get_result() File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pytest_ex_plugin/pytest_ex_plugin.py", line 334, in pytest_terminal_summary report_url = upload_allure_report(config) if not local_launch else upload_allure_local_report(config) File "/Users/allezov/Projects/ex_backend_autotests/venv/lib/python3.8/site-packages/pytest_ex_plugin/pytest_ex_plugin.py", line 497, in upload_allure_report make_archive("./allure_results/ar", "zip", 'allure_results') File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 1038, in make_archive os.chdir(root_dir) FileNotFoundError: [Errno 2] No such file or directory: 'allure_results' (venv) allezov@mbp-allezov-OZON-FVFGN2HFQ05N ex_backend_autotests %