Lenny Primak created SHIRO-901:
----------------------------------

             Summary: [Test Failure] (intermittent) 
org.apache.shiro.samples.guice.ContainerIntegrationIT fails
                 Key: SHIRO-901
                 URL: https://issues.apache.org/jira/browse/SHIRO-901
             Project: Shiro
          Issue Type: Bug
          Components: Integration Tests
    Affects Versions: 2.0.0
         Environment: Any
            Reporter: Lenny Primak


Guice IT tests fail:
h3. Error Message
{code:java}
503 Service Unavailable for http://localhost:55150/{code}
h3. Stacktrace

 
{code:java}
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 503 Service 
Unavailable for http://localhost:55150/ at 
com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:616)
 at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:430) at 
com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:337) at 
com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:489) at 
com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:470) at 
org.apache.shiro.samples.guice.ContainerIntegrationIT.logOut(ContainerIntegrationIT.java:41)
 at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
 at java.base/java.lang.reflect.Method.invoke(Method.java:578) at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
 at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
 at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
 at 
org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
 at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) 
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at 
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
 at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
 at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at 
org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) 
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at 
org.junit.runners.ParentRunner.run(ParentRunner.java:413) at 
org.junit.runner.JUnitCore.run(JUnitCore.java:137) at 
org.junit.runner.JUnitCore.run(JUnitCore.java:115) at 
org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
 at 
org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
 at 
org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) 
at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
 at 
org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
 at 
org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
 at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
 at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
 at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
 at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
 at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
 at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
 at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

 {code}
h3. Standard Output
{code:java}
22:55:53.977 [main] WARN org.apache.shiro.realm.text.IniRealm - Users or Roles 
are already populated. Configured Ini instance will be ignored. 22:55:54.743 
[main] ERROR com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet - 
Exception loading 
http://localhost:55144/style.css;jsessionid=node0k7xh8alsz9ij1mipaopivzcra0.node0
 com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 400 Bad Request 
for 
http://localhost:55144/style.css;jsessionid=node0k7xh8alsz9ij1mipaopivzcra0.node0
 ...[truncated 15532 bytes]... 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
 ~[surefire-booter-2.22.2.jar:2.22.2] at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
 ~[surefire-booter-2.22.2.jar:2.22.2] at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 
~[surefire-booter-2.22.2.jar:2.22.2] at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 
~[surefire-booter-2.22.2.jar:2.22.2]{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to