It works: https://buildbot.mariadb.org/#/builders/221/builds/24081
for commit https://github.com/MariaDB/server/commit/0ae05d7d37e39ecd782299f2c0cc00c1a61cf504
In build properties tab:
spider_changed "YES"
in compile[1]:
sh -c 'cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=g++ -DPLUGIN_TOKUDB=NO -DPLUGIN_MROONGA=NO -DPLUGIN_SPIDER=YES -DPLUGIN_OQGRAPH=NO -DPLUGIN_PERFSCHEMA=YES -DPLUGIN_SPHINX=NO && make -j7 package'
[1] https://buildbot.mariadb.org/#/builders/221/builds/24081/steps/6/logs/stdio
In test[2]:
argv: [b'sh', b'-c', b'\n cd mysql-test &&\n exec perl mysql-test-run.pl --verbose-restart --force --retry=3 --max-save-core=1 --max-save-datadir=1 --max-test-fail=20 --mem --parallel=$(expr 7 \\* 2) --suite=main,spider,spider/bg,spider/bugfix,spider/feature,spider/regression/e1121,spider/regression/e112122 --skip-test="^stack_crash$|^float$|^derived_split_innodb$|^mysql_client_test$|^kill$|^processlist_not_embedded$|^sp-big$"\n ']
[2] https://buildbot.mariadb.org/#/builders/221/builds/24081/steps/7/logs/stdio
I think we can close this ticket now.
Thanks for sorting this out vladbogo danblack
https://buildbot.mariadb.org/#/builders/amd64-ubuntu-2004-fulltest has been running all spider tests reliably for a while according to cross-reference. Failures where the WIP branches from ycp.
Valgrind was also running spider tests reliably for a while (until non-spider related failure).
Testing main suite only and calling it protected is too much of a fudge.
Nice idea of codebase triggered protected branches - no idea how that would be implemented. Feedback from code touch by storage engine/plugin to where the tests are run would be useful.
Spider tests seems about ~2 minutes locally, so added https://github.com/MariaDB/buildbot/pull/101