From 000be913b94a14e37e9bd18645be9861c5c9a4a5 Mon Sep 17 00:00:00 2001 From: martynia Date: Mon, 6 Nov 2023 10:36:06 +0100 Subject: [PATCH] fix: set pilot stamp patters to allow test specific names --- .../Client/PilotLoggingPlugins/FileCacheLoggingPlugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DIRAC/WorkloadManagementSystem/Client/PilotLoggingPlugins/FileCacheLoggingPlugin.py b/src/DIRAC/WorkloadManagementSystem/Client/PilotLoggingPlugins/FileCacheLoggingPlugin.py index 91ea6d89a3a..e22c1b0b474 100644 --- a/src/DIRAC/WorkloadManagementSystem/Client/PilotLoggingPlugins/FileCacheLoggingPlugin.py +++ b/src/DIRAC/WorkloadManagementSystem/Client/PilotLoggingPlugins/FileCacheLoggingPlugin.py @@ -24,8 +24,8 @@ def __init__(self): """ # UUID pattern self.pattern = re.compile(r"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$") - # pilot stamp pattern - self.stamppattern = re.compile(r"^[0-9a-f]{32}$") + # pilot stamp pattern (relax to a-z to allow test specific names) + self.stamppattern = re.compile(r"^[0-9a-z]{32}$") self.meta = {} logPath = os.path.join(os.getcwd(), "pilotlogs") self.meta["LogPath"] = logPath