diff --git a/master-libvirt/master.cfg b/master-libvirt/master.cfg index 2ef8fd16..a1264a24 100644 --- a/master-libvirt/master.cfg +++ b/master-libvirt/master.cfg @@ -119,6 +119,49 @@ def getRpmInstallStep(): command=["./rpm-install.sh"], ) +def getDebGaleraStep(port): + def if_run_galera_test(step): + if step.getProperty("sst_mode") == "off": + return False + return True + + return Test( + name="galera", + warningPattern="Test warning:.*", + description=["testing", "galera", "SST"], + descriptionDone=["galera", "SST"], + timeout=300, + lazylogfiles=True, + logfiles={ + "daemon": "/home/buildbot/logs/daemon.log", + "syslog": "/home/buildbot/logs/syslog", + "node1": "/home/buildbot/logs/node1.err", + "node2": "/home/buildbot/logs/node2.err", + "node3": "/home/buildbot/logs/node3.err", + "node1.mariabackup.prepare": "/home/buildbot/logs/node1.mariabackup.prepare.log", + "node2.mariabackup.prepare": "/home/buildbot/logs/node2.mariabackup.prepare.log", + "node3.mariabackup.prepare": "/home/buildbot/logs/node3.mariabackup.prepare.log", + "node1.mariabackup.move": "/home/buildbot/logs/node1.mariabackup.move.log", + "node2.mariabackup.move": "/home/buildbot/logs/node2.mariabackup.move.log", + "node3.mariabackup.move": "/home/buildbot/logs/node3.mariabackup.move.log", + "node1.mariabackup.backup": "/home/buildbot/logs/node1.mariabackup.backup.log", + "node2.mariabackup.backup": "/home/buildbot/logs/node2.mariabackup.backup.log", + "node4.mariabackup.backup": "/home/buildbot/logs/node4.mariabackup.backup.log", + }, + doStepIf=if_run_galera_test, + env=envFromProperties( + [ + "BB_CI", + "arch", + "artifactsURL", + "master_branch", + "sst_mode", + "version_name", + ] + ), + command=["./deb-galera.sh"], + ) + def getDebUpgradeStep(): return Test(