From 5c1506c3750df28aa7a10abac791bcfedfc82504 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Mon, 24 Oct 2022 21:21:59 +0200 Subject: [PATCH] WORKAROUND - testsuite issues Dissable running the testuite in memory to workaround OOM problem. Disable testsuite parallelization to allow tests to pass on ppc64le too. These issues are believed to originate in Koji build system and are present mainly in the Rawhide (F38) buildroot. F36 buildroot seems to be most stable out of the current ones. --- community-mysql.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community-mysql.spec b/community-mysql.spec index 5e8066b..a099244 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -636,14 +636,14 @@ export MTR_BUILD_THREAD=$(( $(date +%s) % 2200 )) set -ex cd %{buildroot}%{_datadir}/mysql-test - export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --max-test-fail=5 --report-unstable-tests --clean-vardir " + export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=1 --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --max-test-fail=5 --report-unstable-tests --clean-vardir " # If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]] then # in further rebuilds only run the basic "main" suite (~800 tests) echo "running only base testsuite" - perl ./mysql-test-run.pl $common_testsuite_arguments --suite=main --mem --skip-test-list=%{skiplist} + perl ./mysql-test-run.pl $common_testsuite_arguments --suite=main --skip-test-list=%{skiplist} fi # If either this version wasn't marked as tested yet or I explicitly want to run the testsuite, run everything we have (~4000 test)