Created attachment 929029 [details] DomainClusteredSSOTestCase Description of problem: testSso() fails quite often if testsuite run is properly configured (don't use localhost for node0 and node1). Version-Release number of selected component (if applicable): 6.3.0 How reproducible: Always Steps to Reproduce: 1. unzip jboss-eap-6.3.0-testsuite-local-repository.zip into $REPO directory 2. ./build.sh -Dmaven.repo.local=$REPO -DskipTests 3. ./integration-tests.sh -Dts.noSmoke -Dmaven.repo.local=$REPO -Dts.domain -Dtest=org.jboss.as.test.integration.domain.web.DomainClusteredSSOTestCase -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2 Actual results: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.jboss.as.test.integration.domain.web.DomainClusteredSSOTestCase Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 42.365 sec <<< FAILURE! Results : Failed tests: testSso(org.jboss.as.test.integration.domain.web.DomainClusteredSSOTestCase): Server-Two Unexpected HTTP response status code. expected:<200> but was:<401> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 Expected results: Test always pass. Additional info:
Test sometimes fails also on different places: ava.lang.AssertionError: Server-One Unexpected HTTP response status code. expected:<401> but was:<400> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.jboss.as.test.integration.domain.web.DomainClusteredSSOTestCase.testSso(DomainClusteredSSOTestCase.java:161) ... https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6.3.x-testsuite-nodes-RHEL/jdk=java17_default,label_exp=vmg19-rhel5-x86/5/testReport/org.jboss.as.test.integration.domain.web/DomainClusteredSSOTestCase/testSso/
PR affects only testsuite, no changes in EAP codebase. https://github.com/jbossas/jboss-eap/pull/2471
Verified on EAP 6.4.3.CP.CR1
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.