Skip to content
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

MDBF-598 Remove checks for spider changes #180

Merged
merged 1 commit into from Oct 5, 2023

Conversation

mariadb-YuchenPei
Copy link
Contributor

MDBF-535 enables conditional spider tests for protected branches in Buildbot when the commit has touched spider code. It is time to remove this condition as the trial shows these spider test runs have generally not been a problem for development.

MDBF-535 enables conditional spider tests for protected branches in
Buildbot when the commit has touched spider code. It is time to remove
this condition as the trial shows these spider test runs have
generally not been a problem for development.
@vladbogo
Copy link
Collaborator

@mariadb-YuchenPei I think it looks good. Only one question: this and MDBF-535 enables spider only for the branch protection builders. Should we also extend to all other builders?

@mariadb-YuchenPei
Copy link
Contributor Author

mariadb-YuchenPei commented Sep 28, 2023 via email

@vladbogo
Copy link
Collaborator

vladbogo commented Sep 28, 2023

I am not that sure about the nonstandard builders. As you said, they are notorious for failing in various circumstances, so I need to double check this with others.

I was more referring to the f_quick_build builders. Only the branch protection use the protected_branches_mtr_additional_args, so that implies that all the non branch protection f_quick_build builders will run without having to --suite specified

f_asan_build.addStep(steps.MTR(
logfiles={"mysqld*": "/buildbot/mysql_logs.html", "syslog": "/var/log/syslog"},
command=["sh", "-c", util.Interpolate('cd mysql-test && MTR_FEEDBACK_PLUGIN=1 ASAN_OPTIONS="abort_on_error=1" LSAN_OPTIONS="print_suppressions=0,suppressions=`pwd`/lsan.supp" perl mysql-test-run.pl --verbose-restart --force --retry=3 --max-save-core=1 --max-save-datadir=10 --max-test-fail=20 --mem --parallel=$(expr %(kw:jobs)s \* 2)', jobs=util.Property('jobs', default='$(getconf _NPROCESSORS_ONLN)'))],
command=["sh", "-c", util.Interpolate('cd mysql-test && MTR_FEEDBACK_PLUGIN=1 ASAN_OPTIONS="abort_on_error=1" LSAN_OPTIONS="print_suppressions=0,suppressions=`pwd`/lsan.supp" perl mysql-test-run.pl --verbose-restart --force --retry=3 --max-save-core=1 --max-save-datadir=10 --max-test-fail=20 --mem --parallel=$(expr %(kw:jobs)s \* 2) --suite=main,spider,spider/bg,spider/bugfix,spider/feature,spider/regression/e1121,spider/regression/e112122', jobs=util.Property('jobs', default='$(getconf _NPROCESSORS_ONLN)'))],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good and enables spider. However, doesn't it have the potential to disable other tests? By not having --suite specified I assume that some default value is used, and in the new form now it only enables main and spider.

Copy link
Collaborator

@vladbogo vladbogo Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on what I found online the default is

Comma separated list of suite names to run. The default, as of MariaDB 10.4.5, is:
"main-, archive-, binlog-, binlog_encryption-, csv-, compat/oracle-, encryption-, federated-, funcs_1-, funcs_2-, gcol-, handler-, heap-, innodb-, innodb_fts-, innodb_gis-, innodb_zip-, json-, maria-, mariabackup-, multi_source-, optimizer_unfixed_bugs-, parts-, perfschema-, plugins-, roles-, rpl-, sys_vars-, sql_sequence-, unit-, vcol-, versioning-,period-".

https://mariadb.com/kb/en/mariadb-test-run-pl-options/

So that would also turn off some tests

@mariadb-YuchenPei
Copy link
Contributor Author

mariadb-YuchenPei commented Oct 3, 2023 via email

@vladbogo
Copy link
Collaborator

vladbogo commented Oct 3, 2023

By nonstandard I refer to the builders from master-docker-nonstandard.

I agree that there probably isn't a clean way to achieve this. Then I propose for now to enable it for the branch protection builders as you originally proposed in the first commit and further discuss for the other builders.

@mariadb-YuchenPei
Copy link
Contributor Author

mariadb-YuchenPei commented Oct 3, 2023 via email

@mariadb-YuchenPei
Copy link
Contributor Author

mariadb-YuchenPei commented Oct 3, 2023 via email

@vladbogo
Copy link
Collaborator

vladbogo commented Oct 4, 2023

Hi,

Most of the builders use f_quick_build. These builders usually have the name - such as amd64-debian-10. However, for these builders we have a different setup where parts of the master configuration is automatically generated. So, the builder is defined in os_info.yaml and then using python define_masters.py, the corresponding master.cfg files are generated based on the master.cfg template from the repository root directory (https://github.com/MariaDB/buildbot/blob/main/master.cfg).

Related to the builders that you mentioned, if they don't define mtr_additional_args then the property is not used.
Hope that now it's more clear.

Best,
Vlad

@mariadb-YuchenPei
Copy link
Contributor Author

mariadb-YuchenPei commented Oct 5, 2023 via email

@vladbogo vladbogo merged commit 60d9414 into MariaDB:main Oct 5, 2023
4 checks passed
@vladbogo
Copy link
Collaborator

vladbogo commented Oct 5, 2023

Thanks. That's good to know. I merged the PR. It will not go live instantly though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants