[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Strange condor_chirp error



Hello!

I submit the following task from Linux node with python:
  with open("wrapper.bat", "w") as f:
    f.write("""
@echo RUNNING ON WINDOWS: %*
%*
""")

  sub = htcondor.Submit(
    {
      "executable": "wrapper.bat",
      "transfer_executable": "True",
      "should_transfer_files": "True",
      "universe": "parallel",
      "log": "par_job_win.log",
      "output": "par_job_win.stdout",
      "error": "par_job_win.stderr",
      "machine_count": "1",
      "+ParallelShutdownPolicy": classad.quote("WAIT_FOR_ALL"),
      "arguments": r"echo DEADBEEF | C:\condor\bin\condor_chirp.exe put -mode wa - /var/spool/condor/RemoteFile.txt",
      "requirements": 'Target.OpSys == "Windows"',
      "run_as_owner": "True",
      "+Owner": classad.quote("user"),
      "+NTDomain": classad.quote(f"{HTCONDOR_NTDOMAIN}"),
      "+WantIOProxy": classad.quote("True"),
    }
  )

And I have got the following information from the 'par_job_win.stderr' file:
Can't chirp_client_open /var/spool/condor/RemoteFile.txt:-1
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.

And the 'par_job_win.stdout' file contains one line:
ÂError: 22 (Invalid argument)

Please does anybody know what these errors mean? What is the 'Can't chirp_client_open'?

Thanks in advance!

P.S. /var/spool/condor/RemoteFile.txt file exists with 777 permissions.

--
Sincerely yours,
Ivan Ergunov                         mailto:hozblok@xxxxxxxxx