[PATCH 0/1] MR8777: winetest: Set winetest_mute_threshold to 4 when running tests.
Nightly test reports are failing to register to https://test.winehq.org/data/patterns.html because the whole report is getting larger than 2M. We need either to reduce the overall verbosity, or to increase the allowed upload size. This implements the former. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8777
From: Rémi Bernon <rbernon(a)codeweavers.com> --- include/wine/test.h | 1 + programs/winetest/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/wine/test.h b/include/wine/test.h index 8f3f3bb0d50..7a437fd8c78 100644 --- a/include/wine/test.h +++ b/include/wine/test.h @@ -862,6 +862,7 @@ int main( int argc, char **argv ) } if (GetEnvironmentVariableA( "WINETEST_DEBUG", p, sizeof(p) )) winetest_debug = atoi(p); if (GetEnvironmentVariableA( "WINETEST_INTERACTIVE", p, sizeof(p) )) winetest_interactive = atoi(p); + if (GetEnvironmentVariableA( "WINETEST_MUTE_THRESHOLD", p, sizeof(p) )) winetest_mute_threshold = atoi(p); if (GetEnvironmentVariableA( "WINETEST_REPORT_FLAKY", p, sizeof(p) )) winetest_report_flaky = atoi(p); if (GetEnvironmentVariableA( "WINETEST_REPORT_SUCCESS", p, sizeof(p) )) winetest_report_success = atoi(p); if (GetEnvironmentVariableA( "WINETEST_TIME", p, sizeof(p) )) winetest_time = atoi(p); diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 673bbc11504..8699ad5c50c 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -1701,6 +1701,7 @@ int __cdecl main( int argc, char *argv[] ) SetEnvironmentVariableA( "WINETEST_PLATFORM", running_under_wine () ? "wine" : "windows" ); SetEnvironmentVariableA( "WINETEST_DEBUG", "1" ); SetEnvironmentVariableA( "WINETEST_INTERACTIVE", "0" ); + SetEnvironmentVariableA( "WINETEST_MUTE_THRESHOLD", "4" ); SetEnvironmentVariableA( "WINETEST_REPORT_SUCCESS", "0" ); } if (junit) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8777
Do we collect full logs from CI runs somewhere? Just to see where most of the noise is coming from. Is it trace()'s or tons of failures, or something else. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8777#note_113065
It's a bit of everything, spread across many tests. There's a couple of heavy hitters but it's mostly that we have more and more tests and todo_wine. You can get the reports with the "raw report" link on the top of individual pages, or with the URL pattern `https://test.winehq.org/data/<commit>/<runner>/report`, where <runner> is the name of the machine/test flavor on https://test.winehq.org/data/patterns.html. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8777#note_113066
participants (2)
-
Nikolay Sivov (@nsivov) -
Rémi Bernon