Skip to content

Commit eb8ce6f

Browse files
committed
fix: pilot stamps with 32-digits
1 parent 1bded21 commit eb8ce6f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/DIRAC/Resources/Computing/ARCComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def _writeXRSL(self, executableFile, inputs, outputs):
188188
:param list inputs: path of the dependencies to include along with the executable
189189
:param list outputs: path of the outputs that we want to get at the end of the execution
190190
"""
191-
diracStamp = makeGuid()[:8]
191+
diracStamp = makeGuid()[:32]
192192
# Evaluate the number of processors to allocate
193193
nProcessors = self.ceParameters.get("NumberOfProcessors", 1)
194194

src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def submitJob(self, executableFile, proxy, numberOfJobs=1):
302302
jobStamps = []
303303
commonJobStampPart = makeGuid()[:3]
304304
for _i in range(numberOfJobs):
305-
jobStamp = commonJobStampPart + makeGuid()[:5]
305+
jobStamp = commonJobStampPart + makeGuid()[:29]
306306
jobStamps.append(jobStamp)
307307

308308
# We randomize the location of the pilot output and log, because there are just too many of them

src/DIRAC/Resources/Computing/LocalComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def submitJob(self, executableFile, proxy=None, numberOfJobs=1):
170170

171171
jobStamps = []
172172
for _i in range(numberOfJobs):
173-
jobStamps.append(makeGuid()[:8])
173+
jobStamps.append(makeGuid()[:32])
174174

175175
batchDict = {
176176
"Executable": submitFile,

src/DIRAC/Resources/Computing/SSHComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def _submitJobToHost(self, executableFile, numberOfJobs, host=None):
563563

564564
jobStamps = []
565565
for _i in range(numberOfJobs):
566-
jobStamps.append(makeGuid()[:8])
566+
jobStamps.append(makeGuid()[:32])
567567

568568
numberOfProcessors = self.ceParameters.get("NumberOfProcessors", 1)
569569
wholeNode = self.ceParameters.get("WholeNode", False)

src/DIRAC/Resources/Computing/test/Test_HTCondorCEComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test__writeSub(mocker, localSchedd, optionsNotExpected, optionsExpected):
129129
jobStamps = []
130130
commonJobStampPart = makeGuid()[:3]
131131
for _i in range(42):
132-
jobStamp = commonJobStampPart + makeGuid()[:5]
132+
jobStamp = commonJobStampPart + makeGuid()[:29]
133133
jobStamps.append(jobStamp)
134134

135135
htce._HTCondorCEComputingElement__writeSub("dirac-install", 42, "", 1, jobStamps) # pylint: disable=E1101

0 commit comments

Comments
 (0)