Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 552407 - classad debug() function doesn't work with IfThenElse
classad debug() function doesn't work with IfThenElse
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor (Show other bugs)
1.1
All Linux
low Severity medium
: 1.3
: ---
Assigned To: Matthew Farrellee
Tomas Rusnak
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-04 17:04 EST by Matthew Farrellee
Modified: 2010-10-14 11:57 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-10-14 11:57:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 11:56:44 EDT

  None (edit)
Description Matthew Farrellee 2010-01-04 17:04:34 EST
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 17:05:29 EST
Fixed in 7.4.2-0.1
Comment 2 Tomas Rusnak 2010-03-15 09:34:52 EDT
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 11:57:43 EDT
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.