Bug 6700 - GSIUtilTest fails on linux
: GSIUtilTest fails on linux
Status: ASSIGNED
: GridShib
SAML/Binding Tools
: 0.5.4
: Other Linux
: P3 normal
: 0.5.5
Assigned To:
:
:
:
: 6760
  Show dependency treegraph
 
Reported: 2009-03-19 11:24 by
Modified: 2009-06-09 07:53 (History)


Attachments


Note

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


Description From 2009-03-19 11:24:43
Testing GridShib SAML Tools v0.5.4 on CentOS 4.7:

[root@gstest gridshib-saml-tools-0_5_4]# uname -a
Linux gstest.ncsa.uiuc.edu 2.6.9-67.0.22.EL #1 Wed Jul 23 17:16:51 EDT 2008
x86_64 x86_64 x86_64 GNU/Linux

[root@gstest gridshib-saml-tools-0_5_4]# $ANT_HOME/bin/ant run-all-tests
Buildfile: build.xml

create-log4j-props:
     [echo] Default log config: etc/log4j.properties

check-include-bootstrap-properties:

check-config-path:

echo-system-config-path:

echo-default-config-path:
     [echo] Using default config path:
/usr/local/gridshib-saml-tools-0_5_4/src/org/globus/gridshib/resource/gridshib-bootstrap.properties

echo-config-path-decision:

create-boot-props:
[propertyfile] Updating property file:
/usr/local/gridshib-saml-tools-0_5_4/src/org/globus/gridshib/resource/gridshib-bootstrap.properties

init:
     [echo] Default log file: logs/saml-tools.log

compile:
     [copy] Copying 1 file to
/usr/local/gridshib-saml-tools-0_5_4/build/classes

compile-tests:

create-keystore:

run-tests:

BUILD FAILED
/usr/local/gridshib-saml-tools-0_5_4/build.xml:523: Test
org.globus.gridshib.security.util.GSIUtilTest failed

Total time: 19 seconds

[root@gstest gridshib-saml-tools-0_5_4]# cat
TEST-org.globus.gridshib.security.util.GSIUtilTest.txt 
Testsuite: org.globus.gridshib.security.util.GSIUtilTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 1.411 sec

Testcase: testGetCredential took 0.093 sec
Testcase: testCreateCredential took 1.294 sec
        FAILED
The issue() method did not fail as expected
junit.framework.AssertionFailedError: The issue() method did not fail as
expected
        at
org.globus.gridshib.security.util.GSIUtilTest.testCreateCredential(GSIUtilTest.java:125)
------- Comment #1 From 2009-03-19 11:35:13 -------
FWIW, apparently this bug is not new since exactly the same thing happens with
GS-ST v0.5.3 and v0.5.0.  Note that the bug does not show itself on Windows,
however.
------- Comment #2 From 2009-06-07 11:08:28 -------
(In reply to comment #1)
> FWIW, apparently this bug is not new since exactly the same thing happens with
> GS-ST v0.5.3 and v0.5.0.  Note that the bug does not show itself on Windows,
> however.

I installed GS-ST (each of the versions mentioned above, as well as v0.5.4 and
v0.5.5) on a different Windows system and GSIUtilTest failed.  On the other
hand, buildbot successfully executes 'ant run-tests' against CVS HEAD.  So
there is some configuration problem, perhaps a library issue.
------- Comment #3 From 2009-06-07 11:13:13 -------
*** Bug 6759 has been marked as a duplicate of this bug. ***
------- Comment #4 From 2009-06-07 12:26:48 -------
(In reply to comment #1)
> Note that the bug does not show itself on Windows, however.

No, this is not a platform issue since:

- gstest.ncsa.uiuc.edu: fail
- buildbot.ncsa.uiuc.edu: pass
- Scavo's old WinXP laptop: pass
- Scavo's new WinXP laptop: fail

Curiously, the systems that pass the test are running Java 1.5 while the other
systems are running Java 1.6. Ugh.
------- Comment #5 From 2009-06-09 07:53:40 -------
(In reply to comment #4)
> 
> Curiously, the systems that pass the test are running Java 1.5 while the other
> systems are running Java 1.6.

No, I downgraded my new laptop to Java 1.5 and it still fails.  The cause is
still unknown.