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

Re: [HTCondor-users] Migrating to htcondor2 -> pypi LTS supported version?



Hi Cole,

Thank you for the prompt reply! Do you have an estimated release date for version 25.0.3?

Best regards,
Kenyi

On Thu, Sep 25, 2025 at 1:06âPM Cole Bollig <cabollig@xxxxxxxx> wrote:
Hi Kenyi,

I believe the fix will be released in the following versions:
V24.0.14Â
V24.14.0
V25.0.3
V25.3.0

Cheers,
Cole Bollig

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Kenyi Hurtado Anampa via HTCondor-users <htcondor-users@xxxxxxxxxxx>
Sent: Thursday, September 25, 2025 12:01 PM
To: Todd L Miller <tlmiller@xxxxxxxxxxx>
Cc: Kenyi Hurtado Anampa <khurtado@xxxxxx>; Alan Malta Rodrigues <amaltar2@xxxxxx>; Kenyi Hurtado Anampa via HTCondor-users <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Migrating to htcondor2 -> pypi LTS supported version?
Â
Hi Todd,

I just installed 25.0.1 and tested this same example, with the same results. Is it possible the fix did not make it to this version?

[1]
(WMAgent-2.4.3) [cmst1@vocms0263:simple]$ python3 submit.py
HTCondor2 version: $CondorVersion: 25.0.1 2025-09-24 BuildID: UW_Python_Wheel_Build RC $
Traceback (most recent call last):
 File "/tmp/condor-gpus/simple/submit.py", line 28, in <module>
  result = htcondor.Schedd().submit(submit, itemdata=iter(jobAds))
      Â^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/local/lib/python3.12/site-packages/htcondor2/_schedd.py", line 646, in submit
  return _schedd_submit(self._addr, real._handle, count, spool)
     Â^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
htcondor2_impl.HTCondorException: Failed to create job ad, errmsg=Submit:-1:Parse error in _expression_:
Rank = 2 38

(WMAgent-2.4.3) [cmst1@vocms0263:simple]$ cat submit.py
#!/usr/bin/env python3
import htcondor2 as htcondor
import classad2 as classad

print(f"HTCondor2 version: {htcondor.version()}")

# Create a job description. It _must_ set `log` to create a job event log.
logFileName = "sleep.log"
submit = htcondor.Submit(
  f"""
  executable = /bin/sleep
  transfer_executable = false

  log = {logFileName}
  """
)

jobAds = []
for name in range(2):
  name = str(name)
  ad = {}
  ad['My.MyJobName'] = classad.quote(name)
  ad['Arguments'] = '1 2 3'
  ad['Rank'] = '8'
  jobAds.append(ad)

# Submit the job description, creating the job.
result = htcondor.Schedd().submit(submit, itemdata=iter(jobAds))
clusterID = result.cluster()

On Tue, Sep 16, 2025 at 3:41âPM Todd L Miller <tlmiller@xxxxxxxxxxx> wrote:
>Â Â Â ÂYou're correct; this is a bug, most likely introduced when we added
> support for the TABLE keyword.

    Also: thanks for filing all these bug reports and putting up with
these problems during this transition! It's very helpful to us and to our
other customers to find these as early as possible.

-- ToddM