Загрузка данных


[INFO] 2026-06-26 15:33:09.716000 websocket_client.py Websocket connected
[INFO] 2026-06-26 15:33:09.716000 websocket_client.py Сообщение подготовлено к отправке: [1, {}, '1', 'GetBasicInfoAdminRequest', [[]]]
[INFO] 2026-06-26 15:33:11.258000 websocket_client.py Обработанное сообщение от api-gateway: [3, {}, '1', 3, {'replyStatus': 200, 'replyErrors': None, 'replyContent': {'basicInfo': {'tus': [{'tuId': 231, 'tuName': 'Лопатино-Клин', 'mnId': 118, 'mnName': '', 'ostId': 0, 'ostName': '', 'configurationVersion': 1, 'status': 1}, {'tuId': 213, 'tuName': 'СИКН', 'mnId': 103, 'mnName': '', 'ostId': 0, 'ostName': '', 'configurationVersion': 1, 'status': 1}, {'tuId': 236, 'tuName': 'ЛТ-3', 'mnId': 121, 'mnName': '', 'ostId': 0, 'ostName': '', 'configurationVersion': 1, 'status': 1}, {'tuId': 226, полное сообщение в attach
[INFO] 2026-06-26 15:33:11.260000 websocket_client.py Сообщение подготовлено к отправке: [1, {}, '2', 'LaunchLdsRequest', [{'tuId': 238}]]
[INFO] 2026-06-26 15:33:11.667000 websocket_client.py Обработанное сообщение от api-gateway: [3, {}, '2', 3, {'replyStatus': 200, 'replyErrors': None}] полное сообщение в attach
[WARNING] 2026-06-26 15:33:11.995000 websocket_client.py WebSocket соединение разорвано: sent 1000 (OK); then received 1000 (OK)
---------------------------- live log sessionfinish ----------------------------
[INFO] 2026-06-26 15:33:12.781000 keycloak_clients.py Успешно получен access token
[INFO] 2026-06-26 15:33:12.782000 websocket_client.py Попытка подключения по wss: wss://web-app.lds-test1.tn.tngrp.ru/hubs/ldsClientHub/?access_token=...
[INFO] 2026-06-26 15:33:12.846000 websocket_client.py Websocket connected
[INFO] 2026-06-26 15:33:12.847000 websocket_client.py Сообщение подготовлено к отправке: [1, {}, '1', 'GetBasicInfoAdminRequest', [[]]]
[INFO] 2026-06-26 15:33:13.860000 websocket_client.py Обработанное сообщение от api-gateway: [3, {}, '1', 3, {'replyStatus': 200, 'replyErrors': None, 'replyContent': {'basicInfo': {'tus': [{'tuId': 231, 'tuName': 'Лопатино-Клин', 'mnId': 118, 'mnName': '', 'ostId': 0, 'ostName': '', 'configurationVersion': 1, 'status': 1}, {'tuId': 213, 'tuName': 'СИКН', 'mnId': 103, 'mnName': '', 'ostId': 0, 'ostName': '', 'configurationVersion': 1, 'status': 1}, {'tuId': 236, 'tuName': 'ЛТ-3', 'mnId': 121, 'mnName': '', 'ostId': 0, 'ostName': '', 'configurationVersion': 1, 'status': 1}, {'tuId': 226, полное сообщение в attach
[ERROR] 2026-06-26 15:33:22.929000 conftest.py [TEARDOWN] [ERROR] Ошибка LDS Configurator teardown для tuId=238
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/asyncio/queues.py", line 159, in get
    await getter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/builds/lds/lds-autotests/clients/websocket_client.py", line 254, in _receive_by
    msg = await asyncio.wait_for(self.recv_queue.get(), timeout=remaining)
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/builds/lds/lds-autotests/utils/helpers/ws_test_utils.py", line 1094, in connect_and_get_msg
    payload = await ws_client.receive_by_invocation_id(invocation_id)
  File "/builds/lds/lds-autotests/clients/websocket_client.py", line 233, in receive_by_invocation_id
    return await self._receive_by(
  File "/builds/lds/lds-autotests/clients/websocket_client.py", line 257, in _receive_by
    raise asyncio.TimeoutError(f"Timeout при фильтрации сообщений {timeout:.1f} секунд")
asyncio.exceptions.TimeoutError: Timeout при фильтрации сообщений 10.0 секунд
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/builds/lds/lds-autotests/conftest.py", line 591, in _teardown
    await lds_configurator_scenarios.lds_configurator_teardown(client, tu_id, tu_name)
  File "/builds/lds/lds-autotests/test_scenarios/lds_configurator_scenarios.py", line 151, in lds_configurator_teardown
    admin_reply = await lds_utils.get_basic_info_admin(ws_client, parser)
  File "/builds/lds/lds-autotests/utils/helpers/lds_configurator_utils.py", line 41, in get_basic_info_admin
    payload = await t_utils.connect_and_get_msg(ws_client, LdsCfgConst.GET_BASIC_INFO_ADMIN_REQUEST, [])
  File "/builds/lds/lds-autotests/utils/helpers/ws_test_utils.py", line 1097, in connect_and_get_msg
    fail(f"Не удалось получить сообщение типа: {ws_invoke_type}. Ошибка: {error}")
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/_pytest/outcomes.py", line 177, in fail
    raise Failed(msg=reason, pytrace=pytrace)
Failed: Не удалось получить сообщение типа: GetBasicInfoAdminRequest. Ошибка: Timeout при фильтрации сообщений 10.0 секунд
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/builds/lds/lds-autotests/conftest.py", line 594, in _run_lds_configurator_teardown_if_needed
    asyncio.run(_teardown())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/builds/lds/lds-autotests/conftest.py", line 590, in _teardown
    async with WebSocketClient(ws_host, token) as client:
  File "/builds/lds/lds-autotests/clients/websocket_client.py", line 71, in __aexit__
    await self._recv_task
  File "/builds/lds/lds-autotests/clients/websocket_client.py", line 159, in _recv_loop
    attach(
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/allure_commons/_allure.py", line 200, in __call__
    plugin_manager.hook.attach_data(body=body, name=name, attachment_type=attachment_type, extension=extension)
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
    raise exception
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
    res = hook_impl.function(*args)
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/allure_pytest/listener.py", line 252, in attach_data
    self.allure_logger.attach_data(uuid4(), body, name=name, attachment_type=attachment_type, extension=extension)
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/allure_commons/reporter.py", line 163, in attach_data
    file_name = self._attach(uuid, name=name, attachment_type=attachment_type,
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/allure_commons/reporter.py", line 153, in _attach
    self._items[last_uuid].attachments.append(attachment)
  File "/builds/lds/lds-autotests/.venv/lib/python3.10/site-packages/allure_commons/reporter.py", line 33, in __getitem__
    return self.thread_context.__getitem__(item)
KeyError: None
[INFO] 2026-06-26 15:33:22.930000 stand_setup_manager.py [TEARDOWN] [SKIP] Имитатор не был запущен
[INFO] 2026-06-26 15:33:22.930000 signal_unit_conversion_manager.py [TEARDOWN] [SKIP] signal_unit_conversion_rules.json не изменялся
[INFO] 2026-06-26 15:33:22.930000 subprocess_client.py [RUN] Выполняю команду: ssh [MASKED]@10.7.49.206 "rm -rf /data/imitator/autotest_data/test_case_id_219_20260626T152947"
[INFO] 2026-06-26 15:33:23.672000 subprocess_client.py [RUN] [OK] Команда выполнена успешно: rm -rf /data/imitator/autotest_data/test_case_id_219_20260626T152947
[INFO] 2026-06-26 15:33:23.672000 subprocess_client.py [RUN] Выполняю команду: ssh [MASKED]@10.7.49.206 "if [ -d '/data/imitator/autotest_data/test_case_id_219_20260626T152947/data' ] && [ -f '/data/imitator/autotest_data/test_case_id_219_20260626T152947/rules.txt' ] && [ -f
[INFO] 2026-06-26 15:33:24.297000 subprocess_client.py [RUN] [OK] Команда выполнена успешно: if [ -d '/data/imitator/autotest_data/test_case_id_219_20260626T152947/data' ] && [ -f '/data/imitator/autotest_data/test_case_id_219_20260626T152947/rules.txt' ] && [ -f '/data/imitator/autotest_data
[INFO] 2026-06-26 15:33:24.297000 imitator_data_uploader.py [DATA UPLOADER] [OK] Тестовые данные успешно удалены с удаленного сервера: 10.7.49.206
[INFO] 2026-06-26 15:33:24.297000 testops_client.py [TEARDOWN] [OK] Создан файл environment.properties в <_io.TextIOWrapper name='/builds/lds/lds-autotests/allure-results/environment.properties' mode='w' encoding='utf-8'>
[INFO] 2026-06-26 15:33:24.299000 testops_client.py [TEARDOWN] [OK] Allure-results архивирован в /builds/lds/lds-autotests/allure-results.tar.gz
[INFO] 2026-06-26 15:33:24.299000 conftest.py [INFO] [TEARDOWN] Uploading Allure results to TestOps
[INFO] 2026-06-26 15:33:40.101000 testops_client.py [TEARDOWN] [OK] UPLOAD MESSAGE: Файлы успешно загружены
! _pytest.outcomes.Exit: [SETUP] [ERROR] LDS Configurator admin setup: int() argument must be a string, a bytes-like object or a real number, not 'SouAdminStatus' !
===================== 943 deselected in 232.67s (0:03:52) ======================