Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7643

Tests in security module fail the build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • None
    • Security
    • None

      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.

              anil.saldhana Anil Saldanha (Inactive)
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: