Project

General

Profile

Bug #23176

Feature #22846: Increase use of HTCondor Python bindings and add them as requirement

unit test failures after changing to python htcondor bindings

Added by Dennis Box 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
08/27/2019
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

Unit tests for branch review20190820 are failing for both SL6 and SL7 when using the htcondor python bindings in test_frontend.py and test_frontend_element.py

A typical stack trace is here:

======================================================================
ERROR [0.020s]: test_getCondorStatus (main.FETestCaseCondorStatus)
----------------------------------------------------------------------

Traceback (most recent call last):
File "./test_frontend.py", line 83, in setUp
self.prepare_condorq_dict()
File "./test_frontend.py", line 109, in prepare_condorq_dict
cq.load()
File "/cloud/login/dbox/glideinwms/lib/condorMonitor.py", line 547, in load
self.stored_data = self.fetch(constraint, format_list)
File "/cloud/login/dbox/glideinwms/lib/condorMonitor.py", line 587, in fetch
format_list=format_list)
File "/cloud/login/dbox/glideinwms/lib/condorMonitor.py", line 474, in fetch
return self.fetch_using_bindings(constraint=constraint, format_list=format_list)
File "/cloud/login/dbox/glideinwms/lib/condorMonitor.py", line 612, in fetch_using_bindings
self.schedd_name)
glideinwms.lib.condorMonitor.QueryError: Error executing htcondor query to pool pool1 with constraint None and format_list None: Error querying schedd sched1 in pool pool1 using python bindings: Failed communication with collector..

History

#1 Updated by Dennis Box 3 months ago

A first course of action would be to see if this branch runs correctly in an installed frontend/factory to see if the problems are with the unit tests or with changing to the htcondor bindings in condorMonitor.py and friends

#2 Updated by Dennis Box 3 months ago

  • Tracker changed from Feature to Bug

#3 Updated by Marco Mambelli 3 months ago

  • Target version changed from v3_6_1 to v3_6_2


Also available in: Atom PDF