Bug 692416

Summary: jobserver reports: failed to create classad; bad expr
Product: Red Hat Enterprise MRG Reporter: Martin Kudlej <mkudlej>
Component: condor-qmfAssignee: Matthew Farrellee <matt>
Status: CLOSED ERRATA QA Contact: Martin Kudlej <mkudlej>
Severity: medium Docs Contact:
Priority: medium    
Version: DevelopmentCC: iboverma, jneedle, ltrilety, matt, tstclair
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: condor-7.6.0-0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-06 14:18:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 712024    
Bug Blocks:    

Description Martin Kudlej 2011-03-31 10:05:12 UTC
Description of problem:
There are error messages in jobserver log file, for example:
failed to create classad; bad expr = Iwd = "C:\"
failed to create classad; bad expr = Iwd = "C:\Documents and Settings\user\git\mrg_grid_test_infrastructure\"

I think they should not be there.

Version-Release number of selected component (if applicable):
condor-qmf-7.6.0-0.4.el5

How reproducible:
100%

Steps to Reproduce:
1. install jobserver
2. run job with "\" at the end, for example Iwd = "C:\"
3. watch jobserver log
  
Actual results:
there are error messages in jobserver log file

Expected results:
there will not be any message like these and it will be possible to get properly information about job which contains this kind of classads.

Additional info:

Comment 1 Martin Kudlej 2011-03-31 10:15:35 UTC
I can see similar issue in condor_history output(-l jobid; without parameters):
 *** Warning: Bad history file; skipping malformed ad(s)

Comment 3 Matthew Farrellee 2011-04-04 19:02:34 UTC
This boiled down to a broken parser in compat_classad. It was fixed upstream on V7_6-branch by at least b735044f.

Comment 5 Martin Kudlej 2011-06-09 10:22:02 UTC
Testing of this bug depends on bug 712024 because I cannot be sure that it is OK.

Comment 6 Matthew Farrellee 2011-06-09 11:37:31 UTC
This should be testable with the job_queue.log/history files present when the bug was discovered.

Comment 7 Martin Kudlej 2012-03-06 14:18:30 UTC
Tested with condor-7.6.5-0.12 and there is no error. -->CLOSED ERRATA