Skip to content

24.3 Mark failing tests #775

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

Open
wants to merge 8 commits into
base: customizations/24.3.18
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/create_workflow_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,15 +434,15 @@ def get_cves(pr_number, commit_sha):
def url_to_html_link(url: str) -> str:
if not url:
return ""
text = url.split("/")[-1]
text = url.split("/")[-1].replace("__", "_")
if not text:
text = "results"
return f'<a href="{url}">{text}</a>'


def format_test_name_for_linewrap(text: str) -> str:
"""Tweak the test name to improve line wrapping."""
return text.replace(".py::", "/")
return f'<span style="line-break: anywhere;">{text}</span>'


def format_test_status(text: str) -> str:
Expand Down
1 change: 1 addition & 0 deletions rust/prql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version = "0.1.0"
anstream = {version = "0.6.12"}
prqlc = {version = "0.11.3", default-features = false}
serde_json = "1.0"
backtrace = "=0.3.69"

[lib]
crate-type = ["staticlib"]
Expand Down
63 changes: 45 additions & 18 deletions tests/broken_tests.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,85 @@
{
"test_postgresql_replica_database_engine_2/test.py::test_quoting_publication": {
"message": "DB::Exception: Syntax error:",
"reason": "syntax error"
"reason": "NEEDSFIX syntax error"
},
"test_distributed_inter_server_secret/test.py::test_secure_cluster_distributed_over_distributed_different_users": {
"message": "DB::NetException: Connection reset by peer, while reading from socket",
"reason": "network issue"
"reason": "NEEDSFIX network issue"
},
"02920_alter_column_of_projections": {
"reason": "requires different settings"
"reason": "NEEDSFIX requires different settings"
},
"02888_system_tables_with_inaccsessible_table_function": {
"reason": "todo investigate"
"reason": "INVESTIGATE"
},
"02481_async_insert_dedup": {
"reason": "INVESTIGATE - fails in debug"
},
"02286_quantile_tdigest_infinity": {
"reason": "INVESTIGATE - fails in tsan"
},
"03094_grouparraysorted_memory": {
"reason": "flaky"
"reason": "KNOWN flaky"
},
"02700_s3_part_INT_MAX": {
"reason": "fails with asan"
"reason": "KNOWN fails with asan"
},
"02783_parsedatetimebesteffort_syslog": {
"reason": "NEEDSFIX - fixed upstream, needs backport"
},
"03145_non_loaded_projection_backup": {
"reason": "INVESTIGATE - fails in tsan"
},
"test_backward_compatibility/test_aggregate_function_state.py::test_backward_compatability_for_avg":{
"reason": "not run by upstream"
"reason": "KNOWN not run by upstream"
},
"test_backward_compatibility/test_aggregate_function_state.py::test_backward_compatability_for_uniq_exact[1000]":{
"reason": "not run by upstream"
"reason": "KNOWN not run by upstream"
},
"test_backward_compatibility/test_aggregate_function_state.py::test_backward_compatability_for_uniq_exact[500000] ":{
"reason": "not run by upstream"
"reason": "KNOWN not run by upstream"
},
"test_backward_compatibility/test_aggregate_function_state.py::test_backward_compatability_for_uniq_exact_variadic[1000]":{
"reason": "not run by upstream"
"reason": "KNOWN not run by upstream"
},
"test_backward_compatibility/test_aggregate_function_state.py::test_backward_compatability_for_uniq_exact_variadic[500000]":{
"reason": "not run by upstream"
"reason": "KNOWN not run by upstream"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[cache-True]": {
"reason": "errors upstream"
"reason": "KNOWN errors upstream"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[direct-True]":{
"reason": "errors upstream"
"reason": "KNOWN errors upstream"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[flat-True]":{
"reason": "errors upstream"
"reason": "KNOWN errors upstream"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[hashed-True]":{
"reason": "errors upstream"
"reason": "KNOWN errors upstream"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo_uri.py::test_simple_ssl[flat-True]":{
"reason": "errors upstream"
"reason": "KNOWN errors upstream"
},
"test_storage_mongodb/test.py::test_secure_connection[True]":{
"reason": "fails upstream"
"reason": "KNOWN fails upstream"
},
"test_table_function_mongodb/test.py::test_secure_connection[True]":{
"reason": "fails upstream"
"reason": "KNOWN fails upstream"
},
"test_reload_certificate/test.py::test_chain_reload": {
"reason": "NEEDSFIX - fixed upstream, needs backport"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[flat-True]": {
"reason": "INVESTIGATE"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[hashed-True]": {
"reason": "INVESTIGATE"
},
"test_dictionaries_all_layouts_separate_sources/test_mongo.py::test_simple_ssl[cache-True]": {
"reason": "INVESTIGATE"
},
"test_quorum_inserts/test.py::test_insert_quorum_with_keeper_loss_connection": {
"reason": "INVESTIGATE"
}
}
2 changes: 1 addition & 1 deletion tests/ci/integration_tests_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def run_impl(self, repo_path, build_path):
)

for fail_status in ("ERROR", "FAILED"):
for failed_test in group_counters[fail_status]:
for failed_test in group_counters[fail_status].copy():
if failed_test in known_broken_tests.keys():
fail_message = known_broken_tests[failed_test].get("message")
if not fail_message:
Expand Down
Loading