Bug 552407 - classad debug() function doesn't work with IfThenElse
Summary: classad debug() function doesn't work with IfThenElse
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor
Version: 1.1
Hardware: All
OS: Linux
low
medium
Target Milestone: 1.3
: ---
Assignee: Matthew Farrellee
QA Contact: Tomas Rusnak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-04 22:04 UTC by Matthew Farrellee
Modified: 2010-10-14 15:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-14 15:57:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 15:56:44 UTC

Description Matthew Farrellee 2010-01-04 22:04:34 UTC
See http://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=1037

Version-Release number of selected component (if applicable):

condor through 7.4.1-0.7.1


Actual results:

$ condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED, bar, baz))" 2>&1 | grep debug
Classad debug: bar --> UNDEFINED
Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED


Expected results:

Something closer to:

$ ./release_dir/bin/condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED, bar, baz))" 2>&1 | grep debug
Classad debug: foo --> UNDEFINED
Classad debug: bar --> UNDEFINED
Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED

Comment 1 Matthew Farrellee 2010-01-04 22:05:29 UTC
Fixed in 7.4.2-0.1

Comment 2 Tomas Rusnak 2010-03-15 13:34:52 UTC
Tested on:
Arch       : i386
Version    : 7.4.1
Release    : 0.7.1.el5

[root@ibm-x3200m2-01 ~]# condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED, bar, baz))" 2>&1 | grep debug
03/12 08:23:35 Classad debug: bar --> UNDEFINED
03/12 08:23:35 Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED

Fixed version tests:

X86-64, RHEL4:

[root@ibm-ls21-7972-01 ~]# condor -v
$CondorVersion: 7.4.3 Mar  4 2010 BuildID: RH-7.4.3-0.4.el4 PRE-RELEASE $
$CondorPlatform: X86_64-LINUX_RHEL4 $

[root@ibm-ls21-7972-01 ~]# condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED,bar, baz))" 2>&1 | grep debug
03/15 05:20:23 Classad debug: foo --> UNDEFINED
03/15 05:20:23 Classad debug: bar --> UNDEFINED
03/15 05:20:23 Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED
[root@ibm-ls21-7972-01 ~]# 

X86-64, RHEL5

root@hp-ml370g6-01 ~]# condor -v
$CondorVersion: 7.4.3 Mar  4 2010 BuildID: RH-7.4.3-0.4.el5 PRE-RELEASE $
$CondorPlatform: X86_64-LINUX_RHEL5 $

[root@hp-ml370g6-01 ~]# condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED,bar, baz))" 2>&1 | grep debug
03/15 05:25:56 Classad debug: foo --> UNDEFINED
03/15 05:25:56 Classad debug: bar --> UNDEFINED
03/15 05:25:56 Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED

i386, RHEL4

[root@pogolinux-1 ~]# condor -v
$CondorVersion: 7.4.3 Mar  4 2010 BuildID: RH-7.4.3-0.4.el4 PRE-RELEASE $
$CondorPlatform: I386-LINUX_RHEL4 $
[root@pogolinux-1 ~]# condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED,bar, baz))" 2>&1 | grep debug
03/15 09:28:27 Classad debug: foo --> UNDEFINED
03/15 09:28:27 Classad debug: bar --> UNDEFINED
03/15 09:28:27 Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED

i386, RHEL5

[root@ibm-x3200m2-01 ~]# condor -v
$CondorVersion: 7.4.3 Mar  4 2010 BuildID: RH-7.4.3-0.4.el5 PRE-RELEASE $
$CondorPlatform: I386-LINUX_RHEL5 $

[root@ibm-x3200m2-01 ~]# condor_status -debug -neg -format "%e\n" "debug(ifThenElse(foo =?= UNDEFINED,bar, baz))" 2>&1 | grep debug
03/15 05:26:09 Classad debug: foo --> UNDEFINED
03/15 05:26:09 Classad debug: bar --> UNDEFINED
03/15 05:26:09 Classad debug: debug(ifThenElse(foo =?= UNDEFINED, bar, baz)) --> UNDEFINED

--> VERIFIED

Comment 4 errata-xmlrpc 2010-10-14 15:57:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0773.html


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