Bugzilla – Bug 6700
GSIUtilTest fails on linux
Last modified: 2009-06-09 07:53:40
You need to log in before you can comment on or make changes to this bug.
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)
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.
(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.
*** Bug 6759 has been marked as a duplicate of this bug. ***
(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.
(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.