Bug 4216 - Empty submit_test/submitxxx.err causes FAILure in Local tests
: Empty submit_test/submitxxx.err causes FAILure in Local tests
Status: RESOLVED FIXED
: GRAM
wsrf tests
: 4.0.1
: All All
: P3 minor
: 4.0.2
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2006-02-14 10:32 by
Modified: 2008-04-30 16:22 (History)


Attachments


Note

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


Description From 2006-02-14 10:32:39
Running ./TESTS.pl -s=Loadleveler against a local (same machine) LoadLeveler
fails for some tests - for example submit004.  If I delete
submit_test/submit004.err (which is empty) then the test passes.  I noticed this
"file not found" error in the log:

TestName:        Test multiple arguments (Local)
Output:        Local
RSL Name:        submit004
-------------------------------
Executing RSL:  ./submit_test/submit004.xml
-------------------------------
-------------------------------
Run String: "globusrun-ws -submit -factory https://plex.pok.ibm.com:35015
-factory-type Loadleveler -f
/opt/UNIVA/uge4/tmp/gram_scheduler_test_BXHIwg/submit004.xml -S -subject
"/C=US/O=Globus Alliance/OU=User/CN=108bf88cbb3.e03fc136" -dbg -pft
1>/opt/UNIVA/uge4/tmp/gram_scheduler_test_BXHIwg/submit004.Local.cout
2>/opt/UNIVA/uge4/tmp/gram_scheduler_test_BXHIwg/submit004.Local.cerr"
-------------------------------
-------------------------------
*** stdout follows ***
hello, world
-------------------------------
*** stderr follows ***
ERROR: Unable To Open
/opt/UNIVA/uge4/tmp/gram_scheduler_test_BXHIwg/submit004.Local.err

It seems that this diff in run-test-script.pl will compare submit004.xml to a
non-existent file and fail the testcase:
# Diff stderr (Returns 0 On Success)
            if ($Output ne 'Streaming' && -r "$testdatadir/$RslName.err")
            {
                $rc = $rc || File::Compare::compare("$testdatadir/$RslName.err",
$testerr);                
            }
------- Comment #1 From 2008-04-30 16:22:28 -------
Apparently fixed in 4.0.2