Skip to content

Commit

Permalink
SST mode tests were removed in old-bb
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Nov 5, 2024
1 parent 10fb44b commit 305949e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 394 deletions.
45 changes: 0 additions & 45 deletions master-libvirt/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,50 +119,6 @@ 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(
name="upgrade",
Expand Down Expand Up @@ -235,7 +191,6 @@ def getMajorVersionStep():
f_deb_install = util.BuildFactory()
f_deb_install.addStep(getScript("deb-install.sh"))
f_deb_install.addStep(getDebInstallStep())
f_deb_install.addStep(getScript("deb-galera.sh"))

## f_deb_upgrade
f_deb_upgrade = util.BuildFactory()
Expand Down
49 changes: 0 additions & 49 deletions master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -248,55 +248,6 @@ f_deb_autobake.addStep(
"mariadb_version": Property("mariadb_version"),
"master_branch": Property("master_branch"),
"parentbuildername": Property("buildername"),
"sst_mode": "off",
},
doStepIf=lambda step: hasInstall(step) and savePackage(step) and hasFiles(step),
)
)
f_deb_autobake.addStep(
steps.Trigger(
name="galera-sst-mariabackup",
schedulerNames=["s_install"],
waitForFinish=False,
updateSourceStamp=False,
set_properties={
"tarbuildnum": Property("tarbuildnum"),
"mariadb_version": Property("mariadb_version"),
"master_branch": Property("master_branch"),
"parentbuildername": Property("buildername"),
"sst_mode": "mariabackup",
},
doStepIf=lambda step: hasInstall(step) and savePackage(step) and hasFiles(step),
)
)
f_deb_autobake.addStep(
steps.Trigger(
name="galera-sst-mysqldump",
schedulerNames=["s_install"],
waitForFinish=False,
updateSourceStamp=False,
set_properties={
"tarbuildnum": Property("tarbuildnum"),
"mariadb_version": Property("mariadb_version"),
"master_branch": Property("master_branch"),
"parentbuildername": Property("buildername"),
"sst_mode": "mysqldump",
},
doStepIf=lambda step: hasInstall(step) and savePackage(step) and hasFiles(step),
)
)
f_deb_autobake.addStep(
steps.Trigger(
name="galera-sst-rsync",
schedulerNames=["s_install"],
waitForFinish=False,
updateSourceStamp=False,
set_properties={
"tarbuildnum": Property("tarbuildnum"),
"mariadb_version": Property("mariadb_version"),
"master_branch": Property("master_branch"),
"parentbuildername": Property("buildername"),
"sst_mode": "rsync",
},
doStepIf=lambda step: hasInstall(step) and savePackage(step) and hasFiles(step),
)
Expand Down
Loading

0 comments on commit 305949e

Please sign in to comment.