============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/vnm9/000484/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 ..F.............

=================================== FAILURES ===================================
___________________________ TestHttpApi.test_warning ___________________________
ydb/tests/fq/http_api/test_http_api.py:126: in test_warning
    assert normalize_json(query_json) == {
E   AssertionError: assert {'description...SOTIME'}, ...} == {'description...SOTIME'}, ...}
E     Omitting 8 identical items, use -vv to show
E     Differing items:
E     {'issues': {'details': [{'issue_code': 1030, 'issues': [{'end_position': {...}, 'issues': [...], 'message': 'At functi...t function: + subissue: { <main>:1:28: Warning: Integral type implicit bitcast: Uint64 and Int32, code: 1107 } } } }'}} != {'issues': {'details': [{'issue_code': 1030, 'issues': [{'end_position': {...}, 'issues': [...], 'message': 'At functi...t function: + subissue: { <main>:1:28: Warning: Integral type implicit bitcast: Uint64 and Int32, code: 1107 } } } }'}}
E     Full diff:
E       {
E        'description': '',
E        'id': 'xxxxxxxxxxxxxxxxxxxx',
E        'issues': {'details': [{'issue_code': 1030,
E                                'issues': [{'end_position': {'column': 1,
E                                                             'row': 1},
E                                            'issues': [{'end_position': {'column': 28,
E                                                                         'row': 1},
E                                                        'issues': [{'end_position': {'column': 28,
E                                                                                     'row': 1},
E                                                                    'issue_code': 1107,
E                                                                    'issues': [],
E                                                                    'message': 'Integral '
E                                                                               'type '
E                                                                               'implicit '
E                                                                               'bitcast: '
E                                                                               'Uint64 '
E                                                                               'and '
E                                                                               'Int32',
E                                                                    'position': {'column': 28,
E                                                                                 'row': 1},
E                                                                    'severity': 'WARNING'}],
E                                                        'message': 'At function: +',
E                                                        'position': {'column': 28,
E                                                                     'row': 1},
E                                                        'severity': 'WARNING'}],
E                                            'message': 'At function: '
E                                                       'RemovePrefixMembers, At '
E                                                       'function: Unordered, At '
E                                                       'function: PersistableRepr, At '
E                                                       'function: OrderedSqlProject, '
E     +                                                 'At tuple, At function: '
E     -                                                 'At function: SqlProjectItem',
E     ?                                                  -------------
E     +                                                 'SqlProjectItem, At lambda',
E     ?                                                                +++++++++++
E                                            'position': {'column': 1,
E                                                         'row': 1},
E                                            'severity': 'WARNING'}],
E                                'message': 'Type annotation',
E                                'severity': 'WARNING'}],
E                   'message': '{ <main>: Warning: Type annotation, code: 1030 '
E                              'subissue: { <main>:1:1: Warning: At function: '
E                              'RemovePrefixMembers, At function: Unordered, At '
E                              'function: PersistableRepr, At function: '
E     -                        'OrderedSqlProject, At function: SqlProjectItem '
E     ?                                                         ---------------
E     +                        'OrderedSqlProject, At tuple, At function: '
E     ?                                              ++++++++++
E     -                        'subissue: { <main>:1:28: Warning: At function: + '
E     -                        'subissue: { <main>:1:28: Warning: Integral type '
E     +                        'SqlProjectItem, At lambda subissue: { <main>:1:28: '
E     +                        'Warning: At function: + subissue: { <main>:1:28: '
E     +                        'Warning: Integral type implicit bitcast: Uint64 and '
E     -                        'implicit bitcast: Uint64 and Int32, code: 1107 } } } '
E     ?                         -----------------------------
E     +                        'Int32, code: 1107 } } } }'},
E     ?                                                 + ++
E     -                        '}'},
E        'meta': {'finished_at': 'ISOTIME',
E                 'started_at': 'ISOTIME'},
E        'name': '',
E        'result_sets': [{'rows_count': 1,
E                         'truncated': False}],
E        'status': 'COMPLETED',
E        'text': 'select 10000000000000000000+1',
E        'type': 'ANALYTICS',
E       }
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_warning
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_http_api.py::TestHttpApi, test_name: test_warning)
DEBUG    root:http_client.py:104 Response: 200, {"id":"ptqudtvoibmtciarsc7d"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"RUNNING"}
DEBUG    root:http_client.py:104 Response: 200, {"status":"COMPLETED"}
DEBUG    root:http_client.py:104 Response: 200, {"id":"ptqudtvoibmtciarsc7d","type":"ANALYTICS","name":"","description":"","status":"COMPLETED","text":"select 10000000000000000000+1","meta":{"started_at":"2025-10-25T20:53:21.366437Z","finished_at":"2025-10-25T20:53:22.019Z"},"issues":{"message":"{ <main>: Warning: Type annotation, code: 1030 subissue: { <main>:1:1: Warning: At function: RemovePrefixMembers, At function: Unordered, At function: PersistableRepr, At function: OrderedSqlProject, At tuple, At function: SqlProjectItem, At lambda subissue: { <main>:1:28: Warning: At function: + subissue: { <main>:1:28: Warning: Integral type implicit bitcast: Uint64 and Int32, code: 1107 } } } }","details":[{"message":"Type annotation","issue_code":1030,"severity":"WARNING","issues":[{"position":{"row":1,"column":1},"message":"At function: RemovePrefixMembers, At function: Unordered, At function: PersistableRepr, At function: OrderedSqlProject, At tuple, At function: SqlProjectItem, At lambda","end_position":{"row":1,"column":1},"severity":"WARNING","issues":[{"position":{"row":1,"column":28},"message":"At function: +","end_position":{"row":1,"column":28},"severity":"WARNING","issues":[{"position":{"row":1,"column":28},"message":"Integral type implicit bitcast: Uint64 and Int32","end_position":{"row":1,"column":28},"issue_code":1107,"severity":"WARNING","issues":[]}]}]}]}]},"result_sets":[{"rows_count":1,"truncated":false}]}
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
============================== slowest durations ===============================
14.16s call     test_http_api.py::TestHttpApi::test_simple_analytics_query
13.73s call     test_http_api.py::TestHttpApi::test_restart_idempotency
10.71s call     test_http_api.py::TestHttpApi::test_stop_idempotency
6.02s teardown test_http_api.py::TestHttpApi::test_openapi_spec
4.80s call     test_http_api.py::TestHttpApi::test_create_idempotency
2.73s call     test_http_api.py::TestHttpApi::test_complex_results
2.05s call     test_http_api.py::TestHttpApi::test_optional_results
2.02s call     test_http_api.py::TestHttpApi::test_pg_results
1.79s call     test_http_api.py::TestHttpApi::test_set_result
1.61s call     test_http_api.py::TestHttpApi::test_integral_results
1.29s setup    test_http_api.py::TestHttpApi::test_simple_analytics_query
1.28s call     test_http_api.py::TestHttpApi::test_result_offset_limit
1.05s call     test_http_api.py::TestHttpApi::test_warning
0.97s call     test_http_api.py::TestHttpApi::test_simple_streaming_query
0.25s call     test_http_api.py::TestHttpApi::test_openapi_spec
0.07s setup    test_http_api.py::TestHttpApi::test_stop_idempotency
0.03s setup    test_http_api.py::TestHttpApi::test_restart_idempotency
0.02s call     test_http_api.py::TestHttpApi::test_unauthenticated
0.02s setup    test_http_api.py::TestHttpApi::test_integral_results
0.02s call     test_http_api.py::TestHttpApi::test_get_unknown_query
0.02s setup    test_http_api.py::TestHttpApi::test_set_result
0.01s teardown test_http_api.py::TestHttpApi::test_warning
0.01s call     test_http_api.py::TestHttpApi::test_empty_query
0.01s teardown test_http_api.py::TestHttpApi::test_set_result
0.01s setup    test_http_api.py::TestHttpApi::test_get_unknown_query
0.01s setup    test_http_api.py::TestHttpApi::test_simple_streaming_query
0.01s setup    test_http_api.py::TestHttpApi::test_result_offset_limit
0.01s setup    test_http_api.py::TestHttpApi::test_openapi_spec
0.01s setup    test_http_api.py::TestHttpApi::test_complex_results
0.01s setup    test_http_api.py::TestHttpApi::test_optional_results

(18 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED test_http_api.py::TestHttpApi::test_warning - AssertionError: assert {'description...SOTIME'}, ...} == {'description...SOTIME'}, ...}
  Omitting 8 identical items, use -vv to show
  Differing items:
  {'issues': {'details': [{'issue_code': 1030, 'issues': [{'end_position': {...}, 'issues': [...], 'message': 'At functi...t function: + subissue: { <main>:1:28: Warning: Integral type implicit bitcast: Uint64 and Int32, code: 1107 } } } }'}} != {'issues': {'details': [{'issue_code': 1030, 'issues': [{'end_position': {...}, 'issues': [...], 'message': 'At functi...t function: + subissue: { <main>:1:28: Warning: Integral type implicit bitcast: Uint64 and Int32, code: 1107 } } } }'}}
  Full diff:
    {
     'description': '',
     'id': 'xxxxxxxxxxxxxxxxxxxx',
     'issues': {'details': [{'issue_code': 1030,
                             'issues': [{'end_position': {'column': 1,
                                                          'row': 1},
                                         'issues': [{'end_position': {'column': 28,
                                                                      'row': 1},
                                                     'issues': [{'end_position': {'column': 28,
                                                                                  'row': 1},
                                                                 'issue_code': 1107,
                                                                 'issues': [],
                                                                 'message': 'Integral '
                                                                            'type '
                                                                            'implicit '
                                                                            'bitcast: '
                                                                            'Uint64 '
                                                                            'and '
                                                                            'Int32',
                                                                 'position': {'column': 28,
                                                                              'row': 1},
                                                                 'severity': 'WARNING'}],
                                                     'message': 'At function: +',
                                                     'position': {'column': 28,
                                                                  'row': 1},
                                                     'severity': 'WARNING'}],
                                         'message': 'At function: '
                                                    'RemovePrefixMembers, At '
                                                    'function: Unordered, At '
                                                    'function: PersistableRepr, At '
                                                    'function: OrderedSqlProject, '
  +                                                 'At tuple, At function: '
  -                                                 'At function: SqlProjectItem',
  ?                                                  -------------
  +                                                 'SqlProjectItem, At lambda',
  ?                                                                +++++++++++
                                         'position': {'column': 1,
                                                      'row': 1},
                                         'severity': 'WARNING'}],
                             'message': 'Type annotation',
                             'severity': 'WARNING'}],
                'message': '{ <main>: Warning: Type annotation, code: 1030 '
                           'subissue: { <main>:1:1: Warning: At function: '
                           'RemovePrefixMembers, At function: Unordered, At '
                           'function: PersistableRepr, At function: '
  -                        'OrderedSqlProject, At function: SqlProjectItem '
  ?                                                         ---------------
  +                        'OrderedSqlProject, At tuple, At function: '
  ?                                              ++++++++++
  -                        'subissue: { <main>:1:28: Warning: At function: + '
  -                        'subissue: { <main>:1:28: Warning: Integral type '
  +                        'SqlProjectItem, At lambda subissue: { <main>:1:28: '
  +                        'Warning: At function: + subissue: { <main>:1:28: '
  +                        'Warning: Integral type implicit bitcast: Uint64 and '
  -                        'implicit bitcast: Uint64 and Int32, code: 1107 } } } '
  ?                         -----------------------------
  +                        'Int32, code: 1107 } } } }'},
  ?                                                 + ++
  -                        '}'},
     'meta': {'finished_at': 'ISOTIME',
              'started_at': 'ISOTIME'},
     'name': '',
     'result_sets': [{'rows_count': 1,
                      'truncated': False}],
     'status': 'COMPLETED',
     'text': 'select 10000000000000000000+1',
     'type': 'ANALYTICS',
    }
=================== 1 failed, 15 passed in 66.99s (0:01:06) ====================
