PR #19239
1 errors, 2 fail, 1 skipped, 64 pass in 44m 26s
394 files 394 suites 44m 26s ⏱️
68 tests 64 ✅ 1 💤 2 ❌ 1 🔥
247 runs 198 ✅ 45 💤 2 ❌ 2 🔥
Results for commit 61a4810.
Annotations
Check warning on line 0 in sqlserver.tests.test_activity
github-actions / Test Results
1 out of 3 runs failed: test_activity_nested_blocking_transactions (sqlserver.tests.test_activity)
test-results/SQL Server on Linux/test-unit-py3.12-linux-2017-single.xml [took 30s]
Raw output
pyodbc.OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')
#x1B[1m#x1B[31mtests/test_activity.py#x1B[0m:250: in test_activity_nested_blocking_transactions
#x1B[0mconn1 = _get_conn_for_user(instance_docker, #x1B[33m"#x1B[39;49;00m#x1B[33mfred#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, _autocommit=#x1B[94mFalse#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mtests/test_activity.py#x1B[0m:752: in _get_conn_for_user
#x1B[0mconn = pyodbc.connect(conn_str, timeout=DEFAULT_TIMEOUT, autocommit=_autocommit)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m../../../../.local/share/hatch/env/virtual/datadog-sqlserver/qm2RHZGc/py3.12-linux-2017-single/lib/python3.12/site-packages/ddtrace/contrib/pyodbc/patch.py#x1B[0m:46: in _connect
#x1B[0mconn = func(*args, **kwargs)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE pyodbc.OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')#x1B[0m
Check failure on line 0 in sqlserver.tests.test_agent_jobs
github-actions / Test Results
2 out of 4 runs with error: test_agent_jobs_integration (sqlserver.tests.test_agent_jobs)
test-results/SQL Server on Linux/test-unit-py3.12-linux-2017-single.xml [took 30s]
test-results/SQL Server on Windows/test-unit-py3.12-windows-SQLOLEDB-2019-single.xml [took 31s]
Raw output
failed on setup with "pyodbc.OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')"
#x1B[1m#x1B[31m../../../../.local/share/hatch/env/virtual/datadog-sqlserver/qm2RHZGc/py3.12-linux-2017-single/lib/python3.12/site-packages/flaky/flaky_pytest_plugin.py#x1B[0m:146: in <lambda>
#x1B[0m#x1B[94mlambda#x1B[39;49;00m: ihook(item=item, **kwds), when=when, reraise=reraise#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:222: in sa_conn
#x1B[0mconn = _common_pyodbc_connect(conn_str)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:122: in _common_pyodbc_connect
#x1B[0mconn = pyodbc.connect(conn_str, timeout=DEFAULT_TIMEOUT, autocommit=#x1B[94mTrue#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m../../../../.local/share/hatch/env/virtual/datadog-sqlserver/qm2RHZGc/py3.12-linux-2017-single/lib/python3.12/site-packages/ddtrace/contrib/pyodbc/patch.py#x1B[0m:46: in _connect
#x1B[0mconn = func(*args, **kwargs)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE pyodbc.OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')#x1B[0m
Check warning on line 0 in sqlserver.tests.test_metadata
github-actions / Test Results
1 out of 3 runs failed: test_schemas_collection_truncated (sqlserver.tests.test_metadata)
test-results/SQL Server on Windows/test-unit-py3.12-windows-SQLOLEDB-2019-single.xml [took 12s]
Raw output
Exception:
Traceback (most recent call last):
File "D:\a\integrations-core\integrations-core\datadog_checks_base\datadog_checks\base\checks\base.py", line 1276, in run
initialization()
File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\sqlserver.py", line 292, in load_static_information
with self.connection.open_managed_default_connection():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\connection.py", line 230, in open_managed_default_connection
with self._open_managed_db_connections(self.DEFAULT_DB_KEY, key_prefix=key_prefix):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\connection.py", line 235, in _open_managed_db_connections
self.open_db_connections(db_key, db_name, key_prefix=key_prefix)
File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\connection.py", line 316, in open_db_connections
raise SQLConnectionError(check_err_message) from None
datadog_checks.sqlserver.connection_errors.SQLConnectionError: Unable to connect to SQL Server, see https://docs.datadoghq.com/database_monitoring/setup_sql_server/troubleshooting#tcp-connection-error for more details on how to debug this issue. TCP-connection(ERROR: No connection could be made because the target machine actively refused it), Exception: unable to connect: could not open database requested by login
code=tcp-connection-error connection_host=localhost,1433 connector=adodbapi database=master driver={ODBC Driver 18 for SQL Server} host=localhost,1433
#x1B[1m#x1B[31mtests\test_metadata.py#x1B[0m:384: in test_schemas_collection_truncated
dd_run_check(check)
#x1B[1m#x1B[31m..\datadog_checks_dev\datadog_checks\dev\plugin\pytest.py#x1B[0m:257: in run_check
raise Exception('\n'.join(exc_lines))
#x1B[1m#x1B[31mE Exception: #x1B[0m
#x1B[1m#x1B[31mE Traceback (most recent call last):#x1B[0m
#x1B[1m#x1B[31mE File "D:\a\integrations-core\integrations-core\datadog_checks_base\datadog_checks\base\checks\base.py", line 1276, in run#x1B[0m
#x1B[1m#x1B[31mE initialization()#x1B[0m
#x1B[1m#x1B[31mE File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\sqlserver.py", line 292, in load_static_information#x1B[0m
#x1B[1m#x1B[31mE with self.connection.open_managed_default_connection():#x1B[0m
#x1B[1m#x1B[31mE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE File "C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\contextlib.py", line 137, in __enter__#x1B[0m
#x1B[1m#x1B[31mE return next(self.gen)#x1B[0m
#x1B[1m#x1B[31mE ^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\connection.py", line 230, in open_managed_default_connection#x1B[0m
#x1B[1m#x1B[31mE with self._open_managed_db_connections(self.DEFAULT_DB_KEY, key_prefix=key_prefix):#x1B[0m
#x1B[1m#x1B[31mE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE File "C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\contextlib.py", line 137, in __enter__#x1B[0m
#x1B[1m#x1B[31mE return next(self.gen)#x1B[0m
#x1B[1m#x1B[31mE ^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\connection.py", line 235, in _open_managed_db_connections#x1B[0m
#x1B[1m#x1B[31mE self.open_db_connections(db_key, db_name, key_prefix=key_prefix)#x1B[0m
#x1B[1m#x1B[31mE File "D:\a\integrations-core\integrations-core\sqlserver\datadog_checks\sqlserver\connection.py", line 316, in open_db_connections#x1B[0m
#x1B[1m#x1B[31mE raise SQLConnectionError(check_err_message) from None#x1B[0m
#x1B[1m#x1B[31mE datadog_checks.sqlserver.connection_errors.SQLConnectionError: Unable to connect to SQL Server, see https://docs.datadoghq.com/database_monitoring/setup_sql_server/troubleshooting#tcp-connection-error for more details on how to debug this issue. TCP-connection(ERROR: No connection could be made because the target machine actively refused it), Exception: unable to connect: could not open database requested by login#x1B[0m
#x1B[1m#x1B[31mE code=tcp-connection-error connection_host=localhost,1433 connector=adodbapi database=master driver={ODBC Driver 18 for SQL Server} host=localhost,1433#x1B[0m
Check notice on line 0 in .github
github-actions / Test Results
1 skipped test found
There is 1 skipped test, see "Raw output" for the name of the skipped test.
Raw output
network ‑ tests.test_windows
Check notice on line 0 in .github
github-actions / Test Results
68 tests found
There are 68 tests, see "Raw output" for the full list of tests.
Raw output
calico.tests.test_e2e ‑ test_check_ok
datadog_checks_base.tests.base.utils.http.test_http.TestUnixDomainSocket ‑ test_uds_request
datadog_checks_base.tests.base.utils.http.test_kerberos_int ‑ test_kerberos_auth_noconf
datadog_checks_base.tests.base.utils.http.test_kerberos_int ‑ test_kerberos_auth_principal_incache_nokeytab
datadog_checks_base.tests.base.utils.http.test_kerberos_int ‑ test_kerberos_auth_principal_inexistent
datadog_checks_base.tests.base.utils.http.test_kerberos_int ‑ test_kerberos_auth_principal_inkeytab_nocache
datadog_checks_downloader.tests.test_downloader ‑ test_download[False]
datadog_checks_downloader.tests.test_downloader ‑ test_download[True]
dotnetclr.tests.e2e_test ‑ test
envoy.tests.legacy.test_integration ‑ test_metadata_integration
envoy.tests.legacy.test_integration ‑ test_success
envoy.tests.test_integration ‑ test_check
envoy.tests.test_integration ‑ test_metadata_integration
gitlab.tests.test_e2e ‑ test_e2e[False]
gitlab.tests.test_e2e ‑ test_e2e[True]
gitlab.tests.test_e2e ‑ test_e2e_legacy
ibm_ace.tests.test_e2e ‑ test
ibm_mq.tests.test_utils ‑ test_calculate_elapsed_time_valid_dst[DST: America/Anchorage]
ibm_mq.tests.test_utils ‑ test_calculate_elapsed_time_valid_dst[DST: America/Denver]
ibm_mq.tests.test_utils ‑ test_calculate_elapsed_time_valid_dst[DST: America/New_York]
ibm_mq.tests.test_utils ‑ test_calculate_elapsed_time_valid_dst[Not DST: America/Chicago]
ibm_mq.tests.test_utils ‑ test_calculate_elapsed_time_valid_dst[Not DST: America/Los_Angeles]
ibm_mq.tests.test_utils ‑ test_calculate_elapsed_time_valid_dst[Not DST: Pacific/Honolulu]
kafka_consumer.tests.test_integration ‑ test_config[Empty consumer_groups and monitor_unlisted_consumer_groups true]
kafka_consumer.tests.test_integration ‑ test_config[Empty consumer_groups]
kafka_consumer.tests.test_integration ‑ test_config[Invalid Non-string kafka_connect_str]
kafka_consumer.tests.test_integration ‑ test_config[Nonexistent consumer group, resulting in no metrics]
kafka_consumer.tests.test_integration ‑ test_config[One consumer group and one unconsumed topic for that consumer]
kafka_consumer.tests.test_integration ‑ test_config[One consumer group, all topics and partitions]
kafka_consumer.tests.test_integration ‑ test_config[One consumer group, one topic, all partitions]
kafka_consumer.tests.test_integration ‑ test_config[One consumer group, one topic, one partition]
kafka_consumer.tests.test_integration ‑ test_config[Valid list kafka_connect_str]
kafka_consumer.tests.test_integration ‑ test_config[Valid str kafka_connect_str]
mapreduce.tests.test_e2e ‑ test_e2e
marklogic.tests.test_marklogic ‑ test_check_with_filters
network ‑ tests.test_windows
postgres.tests.test_cursor ‑ test_integration_connection_with_commenter_cursor[False]
postgres.tests.test_cursor ‑ test_integration_connection_with_commenter_cursor[True]
postgres.tests.test_deadlock ‑ test_deadlock
postgres.tests.test_logical_replication ‑ test_common_logical_replica_metrics
postgres.tests.test_logical_replication ‑ test_stat_subscription
postgres.tests.test_pg_integration ‑ test_backend_transaction_age
postgres.tests.test_pg_integration ‑ test_wal_stats[False]
postgres.tests.test_pg_integration ‑ test_wal_stats[True]
postgres.tests.test_pg_replication ‑ test_conflicts_snapshot
postgres.tests.test_relations ‑ test_vacuum_age
postgres.tests.test_statements ‑ test_activity_collection_rate_limit
sqlserver.tests.test_activity ‑ test_activity_nested_blocking_transactions
sqlserver.tests.test_agent_jobs ‑ test_agent_jobs_integration
sqlserver.tests.test_connection ‑ test_query_timeout
sqlserver.tests.test_metadata ‑ test_schemas_collection_truncated
sqlserver.tests.test_statements ‑ test_statement_with_metrics_azure_sql_filtered_to_configured_database[configured_database_datadog_test-1_azure_sql]
sqlserver.tests.test_statements ‑ test_statement_with_metrics_azure_sql_filtered_to_configured_database[configured_database_datadog_test-1_not_azure_sql]
sqlserver.tests.test_statements ‑ test_statement_with_metrics_azure_sql_filtered_to_configured_database[configured_database_master_not_azure_sql]
sqlserver.tests.test_statements ‑ test_statement_with_metrics_azure_sql_filtered_to_configured_database[no_database_configured_not_azure_sql]
sqlserver.tests.test_stored_procedures ‑ test_procedure_metrics[datadog_test-1-EXEC bobProc-param_groups3-1-expected_objects3]
sqlserver.tests.test_stored_procedures ‑ test_procedure_metrics[datadog_test-1-EXEC bobProc-param_groups4-10-expected_objects4]
sqlserver.tests.test_stored_procedures ‑ test_procedure_metrics[datadog_test-1-EXEC bobProcParams @P1 = ?, @P2 = ?-param_groups5-1-expected_objects5]
sqlserver.tests.test_stored_procedures ‑ test_procedure_metrics[master-EXEC encryptedProc-param_groups2-3-expected_objects2]
sqlserver.tests.test_stored_procedures ‑ test_procedure_metrics[master-EXEC multiQueryProc-param_groups0-1-expected_objects0]
sqlserver.tests.test_stored_procedures ‑ test_procedure_metrics[master-EXEC multiQueryProc-param_groups1-5-expected_objects1]
strimzi.tests.test_e2e ‑ test_check
vault.tests.test_integration ‑ test_integration[False-False]
vault.tests.test_integration ‑ test_integration[False-True]
vault.tests.test_integration ‑ test_integration[True-False]
vault.tests.test_integration ‑ test_integration[True-True]
vault.tests.test_integration ‑ test_integration_noauth[False]
vault.tests.test_integration ‑ test_integration_noauth[True]