Bug 692416 - jobserver reports: failed to create classad; bad expr
Summary: jobserver reports: failed to create classad; bad expr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-qmf
Version: Development
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: 2.0
: ---
Assignee: Matthew Farrellee
QA Contact: Martin Kudlej
URL:
Whiteboard:
Depends On: 712024
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 10:05 UTC by Martin Kudlej
Modified: 2012-03-06 14:18 UTC (History)
5 users (show)

Fixed In Version: condor-7.6.0-0.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-06 14:18:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.