Jinwoo Hwang created GEODE-10556:
------------------------------------

             Summary: PulseSecurityWithSSLTest fails intermittently on GitHub 
Actions with authentication errors
                 Key: GEODE-10556
                 URL: https://issues.apache.org/jira/browse/GEODE-10556
             Project: Geode
          Issue Type: Improvement
            Reporter: Jinwoo Hwang


h2. Environment
 * GitHub Actions CI/CD pipeline
 * Tests pass consistently on local developer machines
 * Affects: {{geode-assembly:integrationTest}}

h2. Description

Two integration tests in {{PulseSecurityWithSSLTest}} fail consistently on 
GitHub Actions but pass on local machines:
 * {{loginWithIncorrectAndThenCorrectPassword}}
 * {{loginWithDeprecatedSSLOptions}}

Both tests fail during the login phase with valid credentials, returning 
authentication error redirects instead of successful login redirects.
h2. Steps to Reproduce
 # Run {{./gradlew :geode-assembly:integrationTest --tests 
"org.apache.geode.tools.pulse.PulseSecurityWithSSLTest"}} on GitHub Actions
 # Observe test failures

h2. Expected Result
{code:java}
client.loginToPulseAndVerify("cluster", "cluster")
{code}
Should redirect to {{/pulse/clusterDetail.html}} (successful login)
h2. Actual Result
{noformat}
Expecting actual:
  "/pulse/login.html?error=BAD_CREDS"
to contain:
  "/pulse/clusterDetail.html"
{noformat}
Login with correct credentials returns authentication failure redirect
h2. Additional Context
 * Tests pass 100% of the time on local development machines
 * Tests fail 100% of the time on slower GitHub Actions runners
 * Other similar Pulse security tests (e.g., 
{{{}PulseSecurityIntegrationTest{}}}) do not exhibit this behavior
 * Suggests a timing or initialization issue dependent on machine performance

h2. Impact
 * Blocks CI/CD pipeline
 * 2 out of 118 integration tests fail in geode-assembly module
 * Prevents confident merging of PRs

h2. Affected Tests
{code:java}
> Task :geode-assembly:integrationTest
PulseSecurityWithSSLTest > loginWithIncorrectAndThenCorrectPassword FAILED
    java.lang.AssertionError: 
    Expecting actual:
      "/pulse/login.html?error=BAD_CREDS"
    to contain:
      "/pulse/clusterDetail.html" 

PulseSecurityWithSSLTest > loginWithDeprecatedSSLOptions FAILED
    java.lang.AssertionError: 
    Expecting actual:
      "/pulse/login.html?error=BAD_CREDS"
    to contain:
      "/pulse/clusterDetail.html"

118 tests completed, 2 failed
{code}



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

Reply via email to