Tests in security module fail the build
---------------------------------------
Key: JBAS-7643
URL:
https://jira.jboss.org/jira/browse/JBAS-7643
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security
Reporter: Brian Stansberry
Assignee: Anil Saldhana
Seems like if I run 'mvn install' twice without an intervening 'mvn
clean', the 2nd build fails as follows:
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/bes/dev/jboss/trunk/security/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.test.LoginContextTestCase
Tests run: 22, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 0.154 sec <<<
FAILURE!
Running org.jboss.test.ldap.LoginModulesTestCase
Installed TestConfig as JAAS Configuration
testLdapExample1
testLdapExample11
testLdapExample11Encrypt
testLdapExample2
testLdapExample21
testLdapExample21Encrypt
testLdapExample23
testLdapExample22
testLdapExample24
testJBAS3312
Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.891 sec <<<
FAILURE!
Running org.jboss.test.SunConfigParserTestCase
log4j:WARN No appenders could be found for logger
(org.jboss.security.auth.login.XMLLoginConfigImpl).
log4j:WARN Please initialize the log4j system properly.
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.023 sec <<<
FAILURE!
Results :
Failed tests:
testSunLoginConfig(org.jboss.test.SunConfigParserTestCase)
Tests in error:
testCase1(org.jboss.test.LoginContextTestCase)
testCase2(org.jboss.test.LoginContextTestCase)
testCase3(org.jboss.test.LoginContextTestCase)
testCase4(org.jboss.test.LoginContextTestCase)
testCase5(org.jboss.test.LoginContextTestCase)
testCase6(org.jboss.test.LoginContextTestCase)
testCase7(org.jboss.test.LoginContextTestCase)
testCase8(org.jboss.test.LoginContextTestCase)
testCase9(org.jboss.test.LoginContextTestCase)
testCase10(org.jboss.test.LoginContextTestCase)
testCase11(org.jboss.test.LoginContextTestCase)
testCase12(org.jboss.test.LoginContextTestCase)
testCase13(org.jboss.test.LoginContextTestCase)
testCase14(org.jboss.test.LoginContextTestCase)
testCase15(org.jboss.test.LoginContextTestCase)
testCase16(org.jboss.test.LoginContextTestCase)
testCase17(org.jboss.test.LoginContextTestCase)
testCase18(org.jboss.test.LoginContextTestCase)
testCase19(org.jboss.test.LoginContextTestCase)
testCase20(org.jboss.test.LoginContextTestCase)
testCase21(org.jboss.test.LoginContextTestCase)
testCase22(org.jboss.test.LoginContextTestCase)
testLdapExample1(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample11(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample11Encrypt(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample2(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample21(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample21Encrypt(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample23(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample22(org.jboss.test.ldap.LoginModulesTestCase)
testLdapExample24(org.jboss.test.ldap.LoginModulesTestCase)
testJBAS3312(org.jboss.test.ldap.LoginModulesTestCase)
testParser(org.jboss.test.SunConfigParserTestCase)
Tests run: 34, Failures: 1, Errors: 33, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira