Project

General

Profile

Bug #23040

random error on jobsub_q --better-analyze

Added by Dennis Box about 2 months ago.

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

0%

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

Description

Reported by Vito. I can reproduce this ~50% of the time while the job is idle, the other 50% of the time the command completes normally.

$ jobsub_q -G fermilab --jobid --better-analyze
local variable 'resp' referenced before assignment
Traceback (most recent call last):
File "/cvmfs/fermilab.opensciencegrid.org/products/common/db/../prd/jobsub_client/v1_3_rc9/NULL/jobsub_q", line 259, in main
options.outFormat)
File "/cvmfs/fermilab.opensciencegrid.org/products/common/prd/jobsub_client/v1_3_rc9/NULL/jobsubClient.py", line 1492, in listJobs
connect_timeout=constants.JOBSUB_BETTER_ANALYZE_CONNECTTIMEOUT)
File "/cvmfs/fermilab.opensciencegrid.org/products/common/prd/jobsub_client/v1_3_rc9/NULL/jobsubClient.py", line 822, in changeJobState
ssl_verifyhost, connect_timeout)
File "/cvmfs/fermilab.opensciencegrid.org/products/common/prd/jobsub_client/v1_3_rc9/NULL/jobsubClient.py", line 905, in perform_
connect_timeout)
File "/cvmfs/fermilab.opensciencegrid.org/products/common/prd/jobsub_client/v1_3_rc9/NULL/jobsubClient.py", line 1004, in perform_request
return {'resp': resp, 'session': ses, 'error': error}
UnboundLocalError: local variable 'resp' referenced before assignment



Also available in: Atom PDF