Enable the base test suite ('main')

Add "--mysqld=--skip-innodb-use-native-aio" option for running the testsuite in CentOS Stream / RHEL build system.

Remove the skipped auth_sec tests from the skipped tests list, they no longer exist.

Dependency 'perl(File::Compare)' added in order for the 'binlog.binlog_mysqlbinlog_linux' test to run.

Update the skipped tests lists regarding the 'main' suite.

Related: RHEL-63025
This commit is contained in:
Michal Schorm 2024-07-24 08:05:06 +02:00
parent 4e702e2ca3
commit b8c5c60961
4 changed files with 18 additions and 29 deletions

View File

@ -13,7 +13,7 @@ ExcludeArch: %{ix86}
# Regression tests may take a long time (many cores recommended), skip them by
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
# --nocheck is not possible (e.g. in koji build)
%{!?runselftest:%global runselftest 0}
%{!?runselftest:%global runselftest 1}
# Set this to 1 to see which tests fail, but 0 on production ready build
%global ignore_testsuite_result 0
@ -21,7 +21,7 @@ ExcludeArch: %{ix86}
# The last version on which the full testsuite has been run
# In case of further rebuilds of that version, don't require full testsuite to be run
# run only "main" suite
%global last_tested_version 8.0.37
%global last_tested_version 8.4.3
# Set to 1 to force run the testsuite even if it was already tested in current version
%global force_run_testsuite 0
@ -202,6 +202,7 @@ BuildRequires: perl(Errno)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Compare)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
@ -470,6 +471,7 @@ Requires: perl(Socket)
Requires: perl(Sys::Hostname)
Requires: perl(Test::More)
Requires: perl(Time::HiRes)
Requires: perl(File::Compare)
%{?with_conflicts_mariadb:Conflicts: mariadb-test}
%{?with_provides_community_mysql:Provides: community-mysql-test = %community_mysql_version}
@ -768,7 +770,8 @@ cp ../../mysql-test/%{skiplist} .
export common_testsuite_arguments=" %{?with_debug:--debug-server} \
--force --skip-combinations --report-unstable-tests --clean-vardir --nocheck-testcases \
--suite-timeout=900 --testcase-timeout=30 --port-base=$(( $(date +%s) % 20000 + 10000 )) \
--parallel=auto --retry=3 --max-test-fail=30 "
--parallel=auto --retry=3 --max-test-fail=30 \
--mysqld=--skip-innodb-use-native-aio "
# 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 ]]

View File

@ -1,6 +1,4 @@
auth_sec.keyring_file_data_qa : BUG#0 failing on F32+
innodb.alter_kill : BUG#0 failing on F34+
main.mtr_unit_tests : BUG#0 failing on F35+
# Expected to fail in Fedora 33+
# TLS 1.1 and older has been disabled by system-wide crypto-policies setting
@ -14,18 +12,8 @@ x.connection_tls_version : BUG#0 Expected to fail on F33+
# Cmake option: -DENABLED_LOCAL_INFILE=ON
main.mysql_load_data_local_dir : BUG#0 Intentional divergence from the upstream compiled-in default
# Failing since MySQL 8.0.29
main.mysqlpump_bugs : BUG#0
# Failing since 8.0.34
binlog.binlog_mysqlbinlog_linux : BUG#0
# Failing since 8.0.37
auth_sec.wl15800_ciphers_tlsv13 : BUG#0
binlog.binlog_mysqlbinlog_linux : BUG#0
main.archive : BUG#0
main.mysqlpump_basic_lz4 : BUG#0
clone.local_dml_auto_tune : BUG#0
clone.remote_dml_auto_tune : BUG#0
@ -35,3 +23,12 @@ innodb.check_ibd_filesize_16k : BUG#0
rpl_gtid.mysqldump_bug33630199 : BUG#0
rpl.rpl_eventlog_psi_memory : BUG#0
rpl.rpl_tlsv13 : BUG#0
# Failing on 8.4.0
main.subquery_sj_all_bka_nobnl : BUG#0
main.subquery_sj_mat_bka_nobnl : BUG#0
# Failing on 8.4.3 on x86_64
gis.spatial_analysis_functions_centroid : BUG#0
perfschema.transaction_nested_events : BUG#0
rpl_gtid.rpl_perfschema_applier_status_by_worker_gtid_skipped_transaction_mts : BUG#0

View File

@ -2,9 +2,6 @@
federated.federated_server : BUG#0
rpl.rpl_innodb_bug28430 : BUG#0
# Fails since 8.0.31
main.lock_multi_bug38691 : BUG#0
# Fails since 8.0.34
rpl_gtid.rpl_gtid_row_event_max_size : BUG#0
rpl.rpl_channel_creation_under_replica_load : BUG#0
@ -23,9 +20,6 @@ innodb.lob_recovery : BUG#0
innodb.multi_value_basic : BUG#0
innodb_undo.undo_settings : BUG#0
main.mysql_client_test : BUG#0
main.mysqlslap : BUG#0
parts.partition_reverse_scan_icp : BUG#0
rpl_gtid.rpl_perfschema_applier_status_by_worker_gtid_skipped_transaction_mts : BUG#0
@ -39,11 +33,3 @@ rpl.rpl_priv_checks_user_start_info : BUG#0
sys_vars.myisam_data_pointer_size_func : BUG#0
x.upgrade : BUG#0
# Unstable in 8.0.37
main.component-upgrade : BUG#0
main.count_distinct2 : BUG#0
main.dd_upgrade_non_debug : BUG#0
main.dd_upgrade_partition : BUG#0
main.disabled_storage_engines : BUG#0
main.partition : BUG#0
main.multi_update : BUG#0

View File

@ -5,3 +5,6 @@ rpl_gtid.rpl_perfschema_applier_status_by_worker_gtid_skipped_transaction_mts :
# Fails since 8.0.37
innodb.lob_recovery : BUG#0
sys_vars.myisam_data_pointer_size_func : BUG#0
# Fails since 8.4.3
test_services.test_event_tracking_consumer : BUG#0