Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.1.0.DR12, 7.1.0.DR13, 7.1.0.DR14, 7.1.0.DR15, 7.1.0.DR16, 7.1.0.DR17, 7.1.0.DR18, 7.1.0.DR19, 7.1.0.ER1
    • Fix Version/s: 7.1.0.CR1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Many tests under org.jboss.as.test.integration.ejb.security package are failing when using "-Delytron" argument.

      cd testsuite/integration/basic
      mvn clean test -Dtest=org.jboss.as.test.integration.ejb.security.**.* -Delytron
      ...
      Failed tests: 
        https://issues.jboss.org/browse/JBEAP-9080#InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser1:71->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser2:76->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        InherritanceAnnSLSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        InherritanceAnnSLSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        InjectionAnnSFSBtoSFSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        InjectionAnnSFSBtoSFSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        InjectionAnnSFSBtoSLSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        InjectionAnnSFSBtoSLSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        InjectionAnnSLSBtoSFSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        InjectionAnnSLSBtoSFSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        InjectionAnnSLSBtoSLSBTestCase.testSingleMethodAnnotationsUser1:72->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        InjectionAnnSLSBtoSLSBTestCase.testSingleMethodAnnotationsUser2:77->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        SingleMethodsAnnSFSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        SingleMethodsAnnSFSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        SingleMethodsAnnSLSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected
        SingleMethodsAnnSLSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected
        RunAsTestCaseEJBMDB.testSendMessage:152 null
      Tests in error: 
        RunAsPrincipalTestCase.org.jboss.as.test.integration.ejb.security.RunAsPrincipalTestCase » Deployment
        MissingMethodPermissionsDefaultAllowedTestCase.testAllowAccessByDefaultForMethodsMissingPermissions:205 » EJBAccess
        MissingMethodPermissionsDefaultAllowedTestCase.testAllowAccessForMethodsMissingPermissions:164 » EJBAccess
        MissingMethodPermissionsDefaultAllowedTestCase.testDenyAccessForMethodsMissingPermissions:183 » EJBAccess
        MissingMethodPermissionsTestCase.testAllowAccessForMethodsMissingPermissions:116 » EJBAccess
        MissingMethodPermissionsTestCase.testDenyAccessByDefaultForMethodsMissingPermissions:157 » EJBAccess
        MissingMethodPermissionsTestCase.testDenyAccessForMethodsMissingPermissions:135 » EJBAccess
        RunAsTestCaseEJBMDB.testEjb » EJBAccess WFLYEJB0364: Invocation on method: pub...
        SingletonSecurityTestCase.testInvocationOnSecuredMethodWithCorrectRole:79 » EJBAccess
      
      Tests run: 91, Failures: 17, Errors: 9, Skipped: 1
      

      Sample stack trace of the failure:

      java.lang.AssertionError: EJBAccessException not expected
              at org.junit.Assert.fail(Assert.java:88)
              at org.jboss.as.test.integration.ejb.security.AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1(AnnSBTest.java:169)
              at org.wildfly.common.context.Contextual.runCallable(Contextual.java:127)
              at org.jboss.as.test.integration.ejb.security.AnnSBTest.testSingleMethodAnnotationsUser1Template(AnnSBTest.java:156)
              at org.jboss.as.test.integration.ejb.security.InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser1(InherritanceAnnSFSBTestCase.java:71)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mjurc Michal Jurc
                  Reporter:
                  jcacek Josef Cacek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: