Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #195

Closed
wants to merge 1 commit into from

test

e538d7a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

test #195

test
e538d7a
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Dec 26, 2023 in 0s

1 errors, 5 fail, 286 skipped, 2 326 pass in 4h 57m 37s

     90 files       90 suites   4h 57m 37s ⏱️
2 618 tests 2 326 ✔️ 286 💤 5  1 🔥
5 248 runs  4 666 ✔️ 573 💤 8  1 🔥

Results for commit e538d7a.

Annotations

Check failure on line 0 in dl_connector_mssql_tests.db.api.test_dashsql.TestMSSQLDashSQL

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_result (dl_connector_mssql_tests.db.api.test_dashsql.TestMSSQLDashSQL)

./report/pytest_reports_dl_connector_mssql_235370647/_src_lib_dl_connector_mssql_dl_connector_mssql_tests-db-9bfa4eeb54054dec97f17ef69fffc93d.xml [took 5s]
Raw output
AssertionError: assert ['int', 'int'... 'float', ...] == ['int', 'int'... 'float', ...]
  At index 16 diff: 'date' != 'str'
  Full diff:
    [
     'int',
     'int',
     'int',
     'int',
     'int',
     'float',
     'float',
     'decimal',
     'decimal',
     'bool',
     'str',
     'str',
     'str',
     'str',
     'str',
     'str',
  -  'str',
  +  'date',
     'datetime',
  -  'str',
  +  'datetime',
     'datetime',
     'str',
     'str',
    ]
self = <dl_connector_mssql_tests.db.api.test_dashsql.TestMSSQLDashSQL object at 0x7fee2a67abc0>
data_api_lowlevel_aiohttp_client = <aiohttp.test_utils.TestClient object at 0x7fee181a6da0>
saved_connection_id = 'vkomj83ft3myj'

    @pytest.mark.asyncio
    async def test_result(self, data_api_lowlevel_aiohttp_client: TestClient, saved_connection_id: str):
        resp = await self.get_dashsql_response(
            data_api_aio=data_api_lowlevel_aiohttp_client,
            conn_id=saved_connection_id,
            query=SUBSELECT_QUERY_FULL,
        )
    
        resp_data = await resp.json()
        assert resp_data[0]["event"] == "metadata", resp_data
        assert resp_data[0]["data"]["names"] == [
            "number",
            "num_tinyint",
            "num_smallint",
            "num_integer",
            "num_bigint",
            "num_float",
            "num_real",
            "num_numeric",
            "num_decimal",
            "num_bit",
            "num_char",
            "num_varchar",
            "num_text",
            "num_nchar",
            "num_nvarchar",
            "num_ntext",
            "num_date",
            "num_datetime",
            "num_datetime2",
            "num_smalldatetime",
            "num_datetimeoffset",
            "uuid",
        ]
>       assert resp_data[0]["data"]["driver_types"] == [
            "int",
            "int",
            "int",
            "int",
            "int",
            "float",
            "float",
            "decimal",
            "decimal",
            "bool",
            "str",
            "str",
            "str",
            "str",
            "str",
            "str",
            "str",
            "datetime",
            "str",
            "datetime",
            "str",
            "str",
        ]
E       AssertionError: assert ['int', 'int'... 'float', ...] == ['int', 'int'... 'float', ...]
E         At index 16 diff: 'date' != 'str'
E         Full diff:
E           [
E            'int',
E            'int',
E            'int',
E            'int',
E            'int',
E            'float',
E            'float',
E            'decimal',
E            'decimal',
E            'bool',
E            'str',
E            'str',
E            'str',
E            'str',
E            'str',
E            'str',
E         -  'str',
E         +  'date',
E            'datetime',
E         -  'str',
E         +  'datetime',
E            'datetime',
E            'str',
E            'str',
E           ]

db/api/test_dashsql.py:45: AssertionError

Check failure on line 0 in dl_connector_mssql_tests.db.api.test_dashsql.TestMSSQLDashSQL

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_result (dl_connector_mssql_tests.db.api.test_dashsql.TestMSSQLDashSQL)

./report/pytest_reports_dl_connector_mssql_114933710/_src_lib_dl_connector_mssql_dl_connector_mssql_tests-db-843ba648b2974fb1b8c939a59bce7db5.xml [took 4s]
Raw output
AssertionError: assert ['int', 'int'... 'float', ...] == ['int', 'int'... 'float', ...]
  At index 16 diff: 'date' != 'str'
  Full diff:
    [
     'int',
     'int',
     'int',
     'int',
     'int',
     'float',
     'float',
     'decimal',
     'decimal',
     'bool',
     'str',
     'str',
     'str',
     'str',
     'str',
     'str',
  -  'str',
  +  'date',
     'datetime',
  -  'str',
  +  'datetime',
     'datetime',
     'str',
     'str',
    ]
self = <dl_connector_mssql_tests.db.api.test_dashsql.TestMSSQLDashSQL object at 0x7f191125b370>
data_api_lowlevel_aiohttp_client = <aiohttp.test_utils.TestClient object at 0x7f190c37e2c0>
saved_connection_id = 'zorrq0kyttwan'

    @pytest.mark.asyncio
    async def test_result(self, data_api_lowlevel_aiohttp_client: TestClient, saved_connection_id: str):
        resp = await self.get_dashsql_response(
            data_api_aio=data_api_lowlevel_aiohttp_client,
            conn_id=saved_connection_id,
            query=SUBSELECT_QUERY_FULL,
        )
    
        resp_data = await resp.json()
        assert resp_data[0]["event"] == "metadata", resp_data
        assert resp_data[0]["data"]["names"] == [
            "number",
            "num_tinyint",
            "num_smallint",
            "num_integer",
            "num_bigint",
            "num_float",
            "num_real",
            "num_numeric",
            "num_decimal",
            "num_bit",
            "num_char",
            "num_varchar",
            "num_text",
            "num_nchar",
            "num_nvarchar",
            "num_ntext",
            "num_date",
            "num_datetime",
            "num_datetime2",
            "num_smalldatetime",
            "num_datetimeoffset",
            "uuid",
        ]
>       assert resp_data[0]["data"]["driver_types"] == [
            "int",
            "int",
            "int",
            "int",
            "int",
            "float",
            "float",
            "decimal",
            "decimal",
            "bool",
            "str",
            "str",
            "str",
            "str",
            "str",
            "str",
            "str",
            "datetime",
            "str",
            "datetime",
            "str",
            "str",
        ]
E       AssertionError: assert ['int', 'int'... 'float', ...] == ['int', 'int'... 'float', ...]
E         At index 16 diff: 'date' != 'str'
E         Full diff:
E           [
E            'int',
E            'int',
E            'int',
E            'int',
E            'int',
E            'float',
E            'float',
E            'decimal',
E            'decimal',
E            'bool',
E            'str',
E            'str',
E            'str',
E            'str',
E            'str',
E            'str',
E         -  'str',
E         +  'date',
E            'datetime',
E         -  'str',
E         +  'datetime',
E            'datetime',
E            'str',
E            'str',
E           ]

db/api/test_dashsql.py:45: AssertionError

Check failure on line 0 in dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectDataSource

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_get_raw_schema (dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectDataSource)

./report/pytest_reports_dl_connector_mssql_235370647/_src_lib_dl_connector_mssql_dl_connector_mssql_tests-db-9bfa4eeb54054dec97f17ef69fffc93d.xml [took 0s]
Raw output
AssertionError: expected=('order_date', <UserDataType.string: 1>) actual=('order_date', <UserDataType.date: 4>)
self = <dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectDataSource object at 0x7fee2a561300>
data_source = MSSQLSubselectDataSource(_id='82c82cc3d57946f785aed666fba6cea7', _us_entry_buffer=USEntryBuffer(_data={}), _spec=Subse...or_mssql.core.us_connection.ConnectionMSSQL object at 0x7fee29d80280>, _cache_enabled=True, _exists=None, _subsql=None)
sync_conn_executor_factory = <function BaseConnectionTestClass.sync_conn_executor_factory.<locals>.factory at 0x7fee288a17e0>

    def test_get_raw_schema(
        self,
        data_source: _DSRC_TV,
        sync_conn_executor_factory: Callable[[], SyncConnExecutorBase],
    ) -> None:
        raw_schema = data_source.get_schema_info(conn_executor_factory=sync_conn_executor_factory).schema
        simplified_schema = [(col.title, col.user_type) for col in raw_schema]
        expected_schema = self.get_expected_simplified_schema()
        print("schema:")
        for col in simplified_schema:
            print(col)
        assert len(simplified_schema) == len(expected_schema)
        for actual, expected in zip(simplified_schema, expected_schema):
>           assert actual == expected, f"{expected=} {actual=}"
E           AssertionError: expected=('order_date', <UserDataType.string: 1>) actual=('order_date', <UserDataType.date: 4>)

/venv/lib/python3.10/site-packages/dl_core_testing/testcases/data_source.py:108: AssertionError

Check failure on line 0 in dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectDataSource

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_get_raw_schema (dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectDataSource)

./report/pytest_reports_dl_connector_mssql_114933710/_src_lib_dl_connector_mssql_dl_connector_mssql_tests-db-843ba648b2974fb1b8c939a59bce7db5.xml [took 0s]
Raw output
AssertionError: expected=('order_date', <UserDataType.string: 1>) actual=('order_date', <UserDataType.date: 4>)
self = <dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectDataSource object at 0x7f1910fdb670>
data_source = MSSQLSubselectDataSource(_id='1a5d560d39804e6abad0e80264967767', _us_entry_buffer=USEntryBuffer(_data={}), _spec=Subse...or_mssql.core.us_connection.ConnectionMSSQL object at 0x7f190ce9fd00>, _cache_enabled=True, _exists=None, _subsql=None)
sync_conn_executor_factory = <function BaseConnectionTestClass.sync_conn_executor_factory.<locals>.factory at 0x7f190e91fd00>

    def test_get_raw_schema(
        self,
        data_source: _DSRC_TV,
        sync_conn_executor_factory: Callable[[], SyncConnExecutorBase],
    ) -> None:
        raw_schema = data_source.get_schema_info(conn_executor_factory=sync_conn_executor_factory).schema
        simplified_schema = [(col.title, col.user_type) for col in raw_schema]
        expected_schema = self.get_expected_simplified_schema()
        print("schema:")
        for col in simplified_schema:
            print(col)
        assert len(simplified_schema) == len(expected_schema)
        for actual, expected in zip(simplified_schema, expected_schema):
>           assert actual == expected, f"{expected=} {actual=}"
E           AssertionError: expected=('order_date', <UserDataType.string: 1>) actual=('order_date', <UserDataType.date: 4>)

/venv/lib/python3.10/site-packages/dl_core_testing/testcases/data_source.py:108: AssertionError

Check failure on line 0 in dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectByView

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_view_from_subselect (dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectByView)

./report/pytest_reports_dl_connector_mssql_235370647/_src_lib_dl_connector_mssql_dl_connector_mssql_tests-db-9bfa4eeb54054dec97f17ef69fffc93d.xml [took 0s]
Raw output
AssertionError
self = <dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectByView object at 0x7fee2a7409d0>
data_source = MSSQLSubselectDataSource(_id='7f2f7a79b0824b5490021be00b4a7d43', _us_entry_buffer=USEntryBuffer(_data={}), _spec=Subse...or_mssql.core.us_connection.ConnectionMSSQL object at 0x7fee1815dd50>, _cache_enabled=True, _exists=None, _subsql=None)
db = Db(_engine_wrapper=MSSQLEngineWrapper(_engine=Engine(mssql+pyodbc:///?odbc_connect=DRIVER%3D%7BFreeTDS%7D%3BServer%3Dd...s%3BPWD%3DqweRTY123%3BTDS_Version%3D8.0', engine_params=frozendict.frozendict({})), conn_type=ConnectionType('mssql')))
sync_conn_executor_factory = <function BaseConnectionTestClass.sync_conn_executor_factory.<locals>.factory at 0x7fee288a3490>
subselect_view = 'test_view_from_subselect_iscwruenmytkp5zqnra8yz'

    def test_view_from_subselect(
        self,
        data_source: _SUBSELECT_DSRC_TV,
        db: Db,
        sync_conn_executor_factory: Callable[[], SyncConnExecutorBase],
        subselect_view: str,
    ) -> None:
        """Compare the subselect schema to a view-based schema"""
        dsrc = data_source
        conn_executor = sync_conn_executor_factory()
        schema = dsrc.get_schema_info(conn_executor_factory=sync_conn_executor_factory).schema
    
        # A bit of a hack, for easier inter-db testing:
        view_schema_info = conn_executor.get_table_schema_info(
            TableIdent(db_name=None, schema_name=None, table_name=subselect_view),
        )
        view_schema = dsrc._postprocess_raw_schema_from_db(view_schema_info).schema
        view_schema = self.postprocess_view_schema(view_schema, cursor_schema=schema)
    
        # for a more readable diff:
        if len(schema) == len(view_schema):
            sc_mismatch = [sc for sc, vsc in zip(schema, view_schema) if sc != vsc]
            vsc_mismatch = [vsc for sc, vsc in zip(schema, view_schema) if sc != vsc]
>           assert sc_mismatch == vsc_mismatch
E           AssertionError

/venv/lib/python3.10/site-packages/dl_core_testing/testcases/data_source.py:199: AssertionError

Check failure on line 0 in dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectByView

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_view_from_subselect (dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectByView)

./report/pytest_reports_dl_connector_mssql_114933710/_src_lib_dl_connector_mssql_dl_connector_mssql_tests-db-843ba648b2974fb1b8c939a59bce7db5.xml [took 0s]
Raw output
AssertionError
self = <dl_connector_mssql_tests.db.core.test_data_source.TestMSSQLSubselectByView object at 0x7f1911000670>
data_source = MSSQLSubselectDataSource(_id='8baf342682ad4c90a62dd8bc49f2ea2b', _us_entry_buffer=USEntryBuffer(_data={}), _spec=Subse...or_mssql.core.us_connection.ConnectionMSSQL object at 0x7f190e8d2b60>, _cache_enabled=True, _exists=None, _subsql=None)
db = Db(_engine_wrapper=MSSQLEngineWrapper(_engine=Engine(mssql+pyodbc:///?odbc_connect=DRIVER%3D%7BFreeTDS%7D%3BServer%3Dd...s%3BPWD%3DqweRTY123%3BTDS_Version%3D8.0', engine_params=frozendict.frozendict({})), conn_type=ConnectionType('mssql')))
sync_conn_executor_factory = <function BaseConnectionTestClass.sync_conn_executor_factory.<locals>.factory at 0x7f190ce3ab00>
subselect_view = 'test_view_from_subselect_nhcgcvgt2cyufbjobhpz77'

    def test_view_from_subselect(
        self,
        data_source: _SUBSELECT_DSRC_TV,
        db: Db,
        sync_conn_executor_factory: Callable[[], SyncConnExecutorBase],
        subselect_view: str,
    ) -> None:
        """Compare the subselect schema to a view-based schema"""
        dsrc = data_source
        conn_executor = sync_conn_executor_factory()
        schema = dsrc.get_schema_info(conn_executor_factory=sync_conn_executor_factory).schema
    
        # A bit of a hack, for easier inter-db testing:
        view_schema_info = conn_executor.get_table_schema_info(
            TableIdent(db_name=None, schema_name=None, table_name=subselect_view),
        )
        view_schema = dsrc._postprocess_raw_schema_from_db(view_schema_info).schema
        view_schema = self.postprocess_view_schema(view_schema, cursor_schema=schema)
    
        # for a more readable diff:
        if len(schema) == len(view_schema):
            sc_mismatch = [sc for sc, vsc in zip(schema, view_schema) if sc != vsc]
            vsc_mismatch = [vsc for sc, vsc in zip(schema, view_schema) if sc != vsc]
>           assert sc_mismatch == vsc_mismatch
E           AssertionError

/venv/lib/python3.10/site-packages/dl_core_testing/testcases/data_source.py:199: AssertionError

Check failure on line 0 in dl_file_uploader_worker_lib_tests.ext.test_gsheets

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs with error: test_download_and_parse_big_gsheets[local-MoscowShopsV8_full] (dl_file_uploader_worker_lib_tests.ext.test_gsheets)

./report/pytest_reports_dl_file_uploader_worker_lib_422519249/_src_lib_dl_file_uploader_worker_lib_dl_file_uploader_worker_lib_tests-ext-fd33996f50d149a1b4d7c55d086bbb01.xml [took 1s]
Raw output
failed on setup with "redis.exceptions.TimeoutError: Timed out closing connection after 1"
request = <FixtureRequest for <Function test_download_and_parse_big_gsheets[local-MoscowShopsV8_full]>>

    def fill(request):
        item = request._pyfuncitem
        fixturenames = getattr(item, "fixturenames", None)
        if fixturenames is None:
            fixturenames = request.fixturenames
    
        if hasattr(item, 'callspec'):
            for param, val in sorted_by_dependency(item.callspec.params, fixturenames):
                if val is not None and is_lazy_fixture(val):
                    item.callspec.params[param] = request.getfixturevalue(val.name)
                elif param not in item.funcargs:
>                   item.funcargs[param] = request.getfixturevalue(param)

/venv/lib/python3.10/site-packages/pytest_lazyfixture.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py:107: in wrapper
    return _loop.run_until_complete(gen.__anext__())
/usr/lib/python3.10/asyncio/base_events.py:649: in run_until_complete
    return future.result()
conftest.py:240: in task_processor_arq_worker
    yield await wrapper.start()
/venv/lib/python3.10/site-packages/dl_task_processor/worker.py:136: in start
    await checker.wait_for_ok(20)
/venv/lib/python3.10/site-packages/dl_task_processor/worker.py:120: in wait_for_ok
    result = await self._worker.check_health()
/venv/lib/python3.10/site-packages/dl_task_processor/worker.py:75: in check_health
    return bool(not await async_check_health(self._redis_settings, health_check_key=self.health_check_key))
/venv/lib/python3.10/site-packages/arq/worker.py:887: in async_check_health
    await redis.close(close_connection_pool=True)
/venv/lib/python3.10/site-packages/redis/asyncio/client.py:481: in close
    await self.connection_pool.disconnect()
/venv/lib/python3.10/site-packages/redis/asyncio/connection.py:1487: in disconnect
    raise exc
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Connection<host=redis,port=6379,db=11>, nowait = False

    async def disconnect(self, nowait: bool = False) -> None:
        """Disconnects from the Redis server"""
        try:
            async with async_timeout(self.socket_connect_timeout):
                self._parser.on_disconnect()
                if not self.is_connected:
                    return
                try:
                    if os.getpid() == self.pid:
                        self._writer.close()  # type: ignore[union-attr]
                        # wait for close to finish, except when handling errors and
                        # forcefully disconnecting.
                        if not nowait:
                            await self._writer.wait_closed()  # type: ignore[union-attr]
                except OSError:
                    pass
                finally:
                    self._reader = None
                    self._writer = None
        except asyncio.TimeoutError:
>           raise TimeoutError(
                f"Timed out closing connection after {self.socket_connect_timeout}"
            ) from None
E           redis.exceptions.TimeoutError: Timed out closing connection after 1

/venv/lib/python3.10/site-packages/redis/asyncio/connection.py:747: TimeoutError

Check failure on line 0 in dl_connector_oracle_tests.db.api.test_complex_queries.TestOracleBasicComplexQueries

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_month_ago_for_shorter_month (dl_connector_oracle_tests.db.api.test_complex_queries.TestOracleBasicComplexQueries)

./report/pytest_reports_dl_connector_oracle_551886940/_src_lib_dl_connector_oracle_dl_connector_oracle_tests-db-6114645d9dd44171af7f4d94b388cf06.xml [took 28s]
Raw output
AssertionError: {'message': 'Database error.', 'details': {'db_message': 'ORA-01839: date not valid for month specified', 'query': '-'}, 'code': 'ERR.DS_API.DB', 'debug': {'db_message': 'ORA-01839: date not valid for month specified', 'query': '-'}}
self = <dl_connector_oracle_tests.db.api.test_complex_queries.TestOracleBasicComplexQueries object at 0x7f6bedf17970>
request = <FixtureRequest for <Function test_month_ago_for_shorter_month>>
db = Db(_engine_wrapper=OracleEngineWrapper(_engine=Engine(oracle://datalens:***@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=...)(CONNECT_DATA=(SERVICE_NAME=XEPDB1)))', engine_params=frozendict.frozendict({})), conn_type=ConnectionType('oracle')))
saved_connection_id = 'd263g5zmt5sa1'
control_api = SyncHttpDatasetApiV1(client=FlaskSyncApiClient(_int_wclient=<TestClient <Flask 'dl_api_lib.app.control_api.app'>>), headers={}, _created_dataset_id_list=['zosp4ylztbuen'], serial_adapter=DatasetApiV1SerializationAdapter())
data_api = SyncHttpDataApiV2(client=WrappedAioSyncApiClient(_int_wrapped_client=TestClientConverterAiohttpToFlask(_loop=<_UnixSel...t at 0x7f6be7e97a30>, _extra_headers=None, _cookies=None)), headers={}, serial_adapter=DataApiV2SerializationAdapter())

    def test_month_ago_for_shorter_month(self, request, db, saved_connection_id, control_api, data_api):
        any_db_table_200 = make_table(db, rows=200)
        request.addfinalizer(functools.partial(db.drop_table, any_db_table_200.table))
    
        # FIXME
        # if any_db.conn_type == CONNECTION_TYPE_ORACLE:
        #     # Oracle cannot add a month to 2021-01-31 (2021-02-31 doesn't exist)
        #     pytest.skip()
    
        ds = create_basic_dataset(
            api_v1=control_api,
            connection_id=saved_connection_id,
            data_source_settings=data_source_settings_from_table(table=any_db_table_200),
            formulas={
                "new_date_value": "#2021-01-01# + [int_value]",
                "sum": "SUM([int_value])",
                "ago": 'AGO([sum], [new_date_value], "month", 1)',
            },
        )
    
        result_resp = data_api.get_result(
            dataset=ds,
            fields=[
                ds.find_field(title="new_date_value"),
                ds.find_field(title="sum"),
                ds.find_field(title="ago"),
            ],
            filters=[
                ds.find_field(title="new_date_value").filter(op=WhereClauseOperation.EQ, values=["2021-02-28"]),
            ],
            fail_ok=True,
        )
>       assert result_resp.status_code == HTTPStatus.OK, result_resp.json
E       AssertionError: {'message': 'Database error.', 'details': {'db_message': 'ORA-01839: date not valid for month specified', 'query': '-'}, 'code': 'ERR.DS_API.DB', 'debug': {'db_message': 'ORA-01839: date not valid for month specified', 'query': '-'}}

/venv/lib/python3.10/site-packages/dl_api_lib_testing/connector/complex_queries.py:460: AssertionError

Check failure on line 0 in dl_connector_oracle_tests.db.formula.test_functions_string.TestStringFunctionOracle

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test_oracle_unicode (dl_connector_oracle_tests.db.formula.test_functions_string.TestStringFunctionOracle)

./report/pytest_reports_dl_connector_oracle_551886940/_src_lib_dl_connector_oracle_dl_connector_oracle_tests-db-6114645d9dd44171af7f4d94b388cf06.xml [took 0s]
Raw output
AssertionError: assert None == '.AL32UTF8'
 +  where None = <bound method Mapping.get of environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands...', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'})>('NLS_LANG')
 +    where <bound method Mapping.get of environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands...', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'})> = environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands/save_state_58186c79-9b7d-43e...l', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'}).get
 +      where environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands/save_state_58186c79-9b7d-43e...l', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'}) = os.environ
self = <dl_connector_oracle_tests.db.formula.test_functions_string.TestStringFunctionOracle object at 0x7f6bedd549a0>
dbe = DbEvaluator(db=Db(_engine_wrapper=OracleEngineWrapper(_engine=Engine(oracle://datalens:***@(DESCRIPTION=(ADDRESS=(PROT...it(name=DialectName('ORACLE'), version=(12, 0))})), _tzinfo=<UTC>)), attempts=1, retry_on_exceptions=(), retry_delay=5)

    def test_oracle_unicode(self, dbe: DbEvaluator) -> None:
>       assert os.environ.get("NLS_LANG") == ".AL32UTF8"
E       AssertionError: assert None == '.AL32UTF8'
E        +  where None = <bound method Mapping.get of environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands...', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'})>('NLS_LANG')
E        +    where <bound method Mapping.get of environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands...', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'})> = environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands/save_state_58186c79-9b7d-43e...l', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'}).get
E        +      where environ({'TEST_CONTAINER_HOST': 'from_compose', 'PYTHONUNBUFFERED': '1', 'GITHUB_WORKSPACE': '/__w/datalens-backend/datalens-backend', 'HOSTNAME': 'aea098acdf9e', 'GITHUB_PATH': '/__w/_temp/_runner_file_commands/add_path_58186c79-9b7d-43e9-abbb-75dc3e607568', 'GITHUB_ACTION': '__run_6', 'GITHUB_RUN_NUMBER': '541', 'RUNNER_NAME': 'shr_rdft-runner-1_light_08', 'GITHUB_REPOSITORY_OWNER_ID': '134070780', 'COMPOSE_PROJECT_NAME': 'dl_connector_oracle_551886940', 'GITHUB_TRIGGERING_ACTOR': 'KonstantAnxiety', 'GITHUB_REF_TYPE': 'branch', 'PWD': '/src/lib/dl_connector_oracle', 'GITHUB_REPOSITORY_ID': '696307530', 'GITHUB_ACTIONS': 'true', 'GITHUB_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_WORKFLOW_REF': 'datalens-tech/datalens-backend/.github/workflows/main.yml@refs/pull/195/merge', 'compose_prj': 'dl_connector_oracle_551886940', 'RUNNER_ENVIRONMENT': 'self-hosted', 'GITHUB_REF': 'refs/pull/195/merge', 'RUNNER_OS': 'Linux', 'GITHUB_REF_PROTECTED': 'false', 'HOME': '/github/home', 'GITHUB_API_URL': 'https://api.github.com', 'RUNNER_ARCH': 'X64', 'VIRTUAL_ENV': '/venv', 'RUNNER_TEMP': '/__w/_temp', 'GITHUB_STATE': '/__w/_temp/_runner_file_commands/save_state_58186c79-9b7d-43e...l', 'GITHUB_SERVER_URL': 'https://github.com', 'SHLVL': '1', 'GITHUB_ACTOR_ID': '58992437', 'RUNNER_TOOL_CACHE': '/__w/_tool', 'VIRTUAL_ENV_PROMPT': '(venv) ', 'GITHUB_WORKFLOW_SHA': '57255cdd99571345cd2c42763c3bf7bc9b76a882', 'GITHUB_REF_NAME': '195/merge', 'GITHUB_JOB': 'run_tests_base', 'LD_LIBRARY_PATH': ':/usr/lib/x86_64-linux-gnu/odbc', 'PS1': '(venv) ', 'GITHUB_REPOSITORY': 'datalens-tech/datalens-backend', 'GITHUB_RETENTION_DAYS': '90', 'RUNNER_WORKSPACE': '/__w/datalens-backend', 'GITHUB_ACTION_REPOSITORY': '', 'PATH': '/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'GITHUB_BASE_REF': 'main', 'CI': 'true', 'GITHUB_REPOSITORY_OWNER': 'datalens-tech', 'GITHUB_HEAD_REF': 'tmp-test', 'GITHUB_ACTION_REF': '', 'GITHUB_WORKFLOW': 'main', 'GITHUB_OUTPUT': '/__w/_temp/_runner_file_commands/set_output_58186c79-9b7d-43e9-abbb-75dc3e607568', 'OLDPWD': '/__w/datalens-backend/datalens-backend', 'NET_NAME': 'github_network_3d03be0204f140c09cbcf85346c78404', '_': '/usr/bin/env', 'WE_ARE_IN_CI': '1', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_CURRENT_TEST': 'dl_connector_oracle_tests/db/formula/test_functions_string.py::TestStringFunctionOracle::test_oracle_unicode (call)'}) = os.environ

db/formula/test_functions_string.py:15: AssertionError