Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

disable voGroup test in CCV suite #8889

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 21 additions & 16 deletions test/makeTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,27 @@
writeValidationScript(testName=name, validationScript=validationScript)

# voGroup
name = 'voGroup'
changeDict = {'param': name, 'value': '"itcms"', 'section': 'User'}
confChangesList = [changeDict]
testSubmitScript = dummyTestScript
validationScript = """
checkStatus ${taskName} COMPLETED
crabCommand getlog "--short --jobids=1 --proxy=$PROXY"
lookFor "Retrieved job_out.1.*.txt" commandLog.txt
lookFor "JOB AD: CRAB_UserGroup = \\"itcms\\"" "${workDir}/results/job_out.1.*.txt"
lookFor "attribute : /cms/itcms/Role=NULL/Capability=NULL" "${workDir}/results/job_out.1.*.txt"
# now that condor does not fill x509UserProxyFirstFQAN anymore we lack a good way to check the FirstFQAN
#lookFor "JOB AD: x509UserProxyFirstFQAN = \\"/cms/itcms/Role=NULL/Capability=NULL\\"" "${workDir}/results/job_out.1.*.txt"
"""
writeConfigFile(testName=name, listOfDicts=confChangesList)
writeTestSubmitScript(testName=name, testSubmitScript=testSubmitScript)
writeValidationScript(testName=name, validationScript=validationScript)
# this test is currently disabled since we now run tests in the crabint1 account
# and its DN it is not visible in cms-auth page so Stefano has no way to
# make it possible for it to be in cms:itcms group or any other group
#name = 'voGroup'
#changeDict = {'param': name, 'value': '"itcms"', 'section': 'User'}
#confChangesList = [changeDict]
#testSubmitScript = dummyTestScript
#validationScript = """
#checkStatus ${taskName} COMPLETED
#crabCommand getlog "--short --jobids=1 --proxy=$PROXY"
#lookFor "Retrieved job_out.1.*.txt" commandLog.txt
#lookFor "JOB AD: CRAB_UserGroup = \\"itcms\\"" "${workDir}/results/job_out.1.*.txt"
#lookFor "attribute : /cms/itcms/Role=NULL/Capability=NULL" "${workDir}/results/job_out.1.*.txt"
## now that condor does not fill x509UserProxyFirstFQAN anymore we lack a good way to check the FirstFQAN
##lookFor "JOB AD: x509UserProxyFirstFQAN = \\"/cms/itcms/Role=NULL/Capability=NULL\\"" "${workDir}/results/job_out.1.*.txt"
#"""
#writeConfigFile(testName=name, listOfDicts=confChangesList)
#writeTestSubmitScript(testName=name, testSubmitScript=testSubmitScript)
#writeValidationScript(testName=name, validationScript=validationScript)
# end of commented-out voGroup test

#=============================
# SECTION DEBUG
#=============================
Expand Down