============================= test session starts ==============================
platform linux -- Python 3.12.12, pytest-8.0.2, pluggy-1.6.0
rootdir: /home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/test-results/py3test
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 16 items

test_http_api.py ......FFF

=================================== FAILURES ===================================
______________________ TestHttpApi.test_stop_idempotency _______________________
ydb/tests/fq/http_api/test_http_api.py:232: in test_stop_idempotency
    response2 = client.stop_query(query_id, idempotency_key="Z")
ydb/core/fq/libs/http_api_client/http_client.py:202: in stop_query
    self._validate_http_error(response, expected_code=expected_code)
ydb/core/fq/libs/http_api_client/http_client.py:111: in _validate_http_error
    raise YQHttpClientException(
E   ydb.core.fq.libs.http_api_client.http_client.YQHttpClientException: Error occurred. http code=400, status=400010, msg=BAD_REQUEST, details=[{'message': 'GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:16393: Failed to connect to remote host: Connection refused', 'severity': 'ERROR', 'issues': []}, {'message': 'Grpc error response on endpoint ghrun-fxjgiv2a5i.auto.internal:16393', 'severity': 'ERROR', 'issues': []}]
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 test_stop_idempotency
INFO     ya.test:ya.py:422 ####################################################################################################
INFO     ya.test:ya.py:423 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:436 Test call (class_name: test_http_api.py::TestHttpApi, test_name: test_stop_idempotency)
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:272 Stopped node localhost:14943/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27573
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18491
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23240
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14943
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8984
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9703
DEBUG    root:fq_client.py:170 Request: content {
  type: ANALYTICS
  name: "select1"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "select 1"
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "83f72e88-6681-4152-9266-8f0655fe420f"

DEBUG    root:fq_client.py:180 Result: query_id: "ptqudu2o8igj3p5buifl"

DEBUG    root:fq_client.py:284 Result: query {
  meta {
    common {
      id: "ptqudu2o8igj3p5buifl"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1761322850
        nanos: 562882000
      }
      modified_at {
        seconds: 1761322850
        nanos: 562882000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudu2o8igj3kpq3eoc-ptqudu2o8igj3p5buifl"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1761322850
      nanos: 562882000
    }
  }
  content {
    type: ANALYTICS
    name: "select1"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "select 1"
    syntax: YQL_V1
  }
}

DEBUG    root:http_client.py:104 Response: 204, 
DEBUG    root:http_client.py:104 Response: 400, {"status":400010,"message":"BAD_REQUEST","details":[{"message":"GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:16393: Failed to connect to remote host: Connection refused","severity":"ERROR","issues":[]},{"message":"Grpc error response on endpoint ghrun-fxjgiv2a5i.auto.internal:16393","severity":"ERROR","issues":[]}]}
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:431 Test teardown
_____________________ TestHttpApi.test_restart_idempotency _____________________
ydb/tests/fq/http_api/test_http_api.py:242: in test_restart_idempotency
    query_id = c.create_query("select1", "select 1").result.query_id
ydb/tests/tools/fq_runner/fq_client.py:188: in create_query
    return self.create_query_impl(name=name,
library/python/retry/__init__.py:214: in wrapped
    return _retry(obj.retry_conf, functools.partial(f, obj, *f_args, **f_kwargs))
library/python/retry/__init__.py:224: in _retry
    return f()
ydb/tests/tools/fq_runner/fq_client.py:172: in create_query_impl
    response = self.service.CreateQuery(
contrib/python/grpcio/py3/grpc/_channel.py:1181: in __call__
    return _end_unary_response_blocking(state, call, False, None)
contrib/python/grpcio/py3/grpc/_channel.py:1006: in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
E   grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E   	status = StatusCode.DEADLINE_EXCEEDED
E   	details = "Deadline Exceeded"
E   	debug_error_string = "UNKNOWN:Deadline Exceeded {grpc_status:4, created_time:"2025-10-24T16:22:01.248437339+00:00", file_line:90, file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/ext/filters/deadline/deadline_filter.cc"}"
E   >
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 test_restart_idempotency
INFO     ya.test:ya.py:422 ####################################################################################################
INFO     ya.test:ya.py:423 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:436 Test call (class_name: test_http_api.py::TestHttpApi, test_name: test_restart_idempotency)
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:272 Stopped node localhost:14943/1
DEBUG    root:fq_client.py:170 Request: content {
  type: ANALYTICS
  name: "select1"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "select 1"
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "7740a282-ee1a-4fcc-bbe3-07f37cc7ae58"

DEBUG    root:fq_client.py:170 Request: content {
  type: ANALYTICS
  name: "select1"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "select 1"
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "7740a282-ee1a-4fcc-bbe3-07f37cc7ae58"
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:431 Test teardown
___________________ TestHttpApi.test_simple_streaming_query ____________________
ydb/tests/fq/http_api/test_http_api.py:262: in test_simple_streaming_query
    self.init_topics("simple_streaming_query", create_output=False)
ydb/tests/tools/datastreams_helpers/test_yds_base.py:17: in init_topics
    create_stream(self.input_topic, partitions_count=partitions_count)
ydb/tests/tools/datastreams_helpers/control_plane.py:62: in create_stream
    response = stub.CreateStream(request, metadata=_build_request_metadata())
contrib/python/grpcio/py3/grpc/_channel.py:1181: in __call__
    return _end_unary_response_blocking(state, call, False, None)
contrib/python/grpcio/py3/grpc/_channel.py:1006: in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
E   grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E   	status = StatusCode.UNAVAILABLE
E   	details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:16393: Failed to connect to remote host: Connection refused"
E   	debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:16393: Failed to connect to remote host: Connection refused {file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/lib/transport/error_utils.cc", file_line:153, created_time:"2025-10-24T16:22:01.585625745+00:00", grpc_status:14}"
E   >
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 test_simple_streaming_query
INFO     ya.test:ya.py:422 ####################################################################################################
INFO     ya.test:ya.py:423 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:436 Test call (class_name: test_http_api.py::TestHttpApi, test_name: test_simple_streaming_query)
DEBUG    root:control_plane.py:61 Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/simple_streaming_query_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:431 Test teardown
============================== slowest durations ===============================
60.22s call     test_http_api.py::TestHttpApi::test_restart_idempotency
11.21s call     test_http_api.py::TestHttpApi::test_stop_idempotency
1.91s call     test_http_api.py::TestHttpApi::test_simple_analytics_query
1.73s setup    test_http_api.py::TestHttpApi::test_simple_analytics_query
0.63s call     test_http_api.py::TestHttpApi::test_create_idempotency
0.54s call     test_http_api.py::TestHttpApi::test_warning
0.02s setup    test_http_api.py::TestHttpApi::test_create_idempotency
0.02s call     test_http_api.py::TestHttpApi::test_empty_query
0.01s setup    test_http_api.py::TestHttpApi::test_empty_query
0.01s call     test_http_api.py::TestHttpApi::test_get_unknown_query
0.01s setup    test_http_api.py::TestHttpApi::test_simple_streaming_query
0.01s call     test_http_api.py::TestHttpApi::test_unauthenticated

(16 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED test_http_api.py::TestHttpApi::test_stop_idempotency - ydb.core.fq.libs.http_api_client.http_client.YQHttpClientException: Error occurred. http code=400, status=400010, msg=BAD_REQUEST, details=[{'message': 'GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:16393: Failed to connect to remote host: Connection refused', 'severity': 'ERROR', 'issues': []}, {'message': 'Grpc error response on endpoint ghrun-fxjgiv2a5i.auto.internal:16393', 'severity': 'ERROR', 'issues': []}]
FAILED test_http_api.py::TestHttpApi::test_restart_idempotency - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.DEADLINE_EXCEEDED
	details = "Deadline Exceeded"
	debug_error_string = "UNKNOWN:Deadline Exceeded {grpc_status:4, created_time:"2025-10-24T16:22:01.248437339+00:00", file_line:90, file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/ext/filters/deadline/deadline_filter.cc"}"
>
FAILED test_http_api.py::TestHttpApi::test_simple_streaming_query - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:16393: Failed to connect to remote host: Connection refused"
	debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:16393: Failed to connect to remote host: Connection refused {file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/lib/transport/error_utils.cc", file_line:153, created_time:"2025-10-24T16:22:01.585625745+00:00", grpc_status:14}"
>
!!!!!!!!!!!!!! _pytest.outcomes.Exit: Graceful shutdown requested !!!!!!!!!!!!!!
=================== 3 failed, 6 passed in 602.11s (0:10:02) ====================

Traceback (most recent call last):
  File "library/python/testing/yatest_common/yatest/common/process.py", line 384, in wait
    wait_for(
  File "library/python/testing/yatest_common/yatest/common/process.py", line 765, in wait_for
    raise TimeoutError(truncate(message, MAX_MESSAGE_LEN))
yatest.common.process.TimeoutError: 600 second(s) wait timeout has expired: Command '['/home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/ydb-tests-fq-http_api', '--basetemp', '/home/runner/.ya/build/build_root/t8x6/001498/tmp', '--capture', 'no', '-c', 'pkg:library.python.pytest:pytest.yatest.ini', '-p', 'no:factor', '--doctest-modules', '--ya-trace', '/home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/test-results/py3test/ytest.report.trace', '--build-root', '/home/runner/.ya/build/build_root/t8x6/001498', '--source-root', '/home/runner/.ya/build/build_root/t8x6/001498/environment/arcadia', '--output-dir', '/home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/test-results/py3test/testing_out_stuff', '--durations', '0', '--project-path', 'ydb/tests/fq/http_api', '--test-tool-bin', '/home/runner/.ya/tools/v4/9985353571/test_tool', '--ya-version', '2', '--collect-cores', '--build-type', 'relwithdebinfo', '--tb', 'short', '--dep-root', 'ydb/tests/fq/http_api', '--flags', 'APPLE_SDK_LOCAL=yes', '--flags', 'CFLAGS=-fno-omit-frame-pointer -Wno-unknown-argument', '--flags', 'DEBUGINFO_LINES_ONLY=yes', '--flags', 'DISABLE_FLAKE8_MIGRATIONS=yes', '--flags', 'OPENSOURCE=yes', '--flags', 'TESTS_REQUESTED=yes', '--flags', 'USE_AIO=static', '--flags', 'USE_CLANG_CL=yes', '--flags', 'USE_EAT_MY_DATA=yes', '--flags', 'USE_ICONV=static', '--flags', 'USE_IDN=static', '--flags', 'USE_PREBUILT_TOOLS=no']' stopped by 600 seconds timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "devtools/ya/test/programs/test_tool/run_test/run_test.py", line 1770, in main
    res.wait(check_exit_code=False, timeout=current_run_test_timeout, on_timeout=timeout_callback)
  File "library/python/testing/yatest_common/yatest/common/process.py", line 398, in wait
    raise ExecutionTimeoutError(self, str(e))
yatest.common.process.ExecutionTimeoutError: (("600 second(s) wait timeout has expired: Command '['/home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/ydb-tests-fq-http_api', '--basetemp', '/home/runner/.ya/build/build_root/t8x6/001498/tmp', '--capture', 'no', '-c', 'pkg:library.python.pytest:pytest.yatest.ini', '-p', 'no:factor', '--doctest-modules', '--ya-trace', '/home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/test-results/py3test/ytest.report.trace', '--build-root', '/home/runner/.ya/build/build_root/t8x6/001498', '--source-root', '/home/runner/.ya/build/build_root/t8x6/001498/environment/arcadia', '--output-dir', '/home/runner/.ya/build/build_root/t8x6/001498/ydb/tests/fq/http_api/test-results/py3test/testing_out_stuff', '--durations', '0', '--project-path', 'ydb/tests/fq/http_api', '--test-tool-bin', '/home/runner/.ya/tools/v4/9985353571/test_tool', '--ya-version', '2', '--collect-cores', '--build-type', 'relwithdebinfo', '--tb', 'short', '--dep-root', 'ydb/tests/fq/http_api', '--flags', 'APPLE_SDK_LOCAL=yes', '--flags', 'CFLAGS=-fno-omit-frame-pointer -Wno-unknown-argument', '--flags', 'DEBUGINFO_LINES_ONLY=yes', '--flags', 'DISABLE_FLAKE8_MIGRATIONS=yes', '--flags', 'OPENSOURCE=yes', '--flags', 'TESTS_REQUESTED=yes', '--flags', 'USE_AIO=static', '--flags', 'USE_CLANG_CL=yes', '--flags', 'USE_EAT_MY_DATA=yes', '--flags', 'USE_ICONV=static', '--flags', 'USE_IDN=static', '--flags', 'USE_PREBUILT_TOOLS=no']' stopped by 600 seconds timeout",), {})
