Commit 38754906 authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Enabled xrootd debug mode

parent 4b6bae3e
......@@ -352,7 +352,7 @@ def main():
if exitCode:
return print_summary("Failure when setting up scramv1 runtime (CMSSW %s, SCRAM_ARCH=%s)" % (cmssw_version, scram_arch), returnCode)
stdout, exitCode = runCommand("xrdcp", ["-d 1", "-f", "root://cms-xrd-global.cern.ch//tmp/xrootd-testfile.global", "/dev/null"], opts, combineStd=True)
stdout, exitCode = runCommand("xrdcp", ["-d 3", "-f", "root://cms-xrd-global.cern.ch//tmp/xrootd-testfile.global", "/dev/null"], opts, combineStd=True)
if exitCode:
print stdout
return print_summary("Global redirector error", NAG_OK)
......
......@@ -390,6 +390,9 @@ def main():
fd.write(cms_file % (xrootd_file, level))
fd.close()
if True:
os.environ["XRD_LOGLEVEL"] = "Debug"
stdout, exitCode = runCommand("cmsRun", ["test_xrootd.py"], opts, 150, combineStd=True)
no_trial += 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment