Skip to content

Flaky-test: ProxyAuthenticationTest.authenticatedSocketTest #18683

Closed

Description

@labuladong

Search before asking

  • I searched in the issues and found nothing similar.

Example failure

https://github.com/apache/pulsar/actions/runs/3581022993/jobs/6023785454#step:10:703

Exception stacktrace

Full exception stacktrace

Error:  Tests run: 27, Failures: 1, Errors: 0, Skipped: 25, Time elapsed: 46.332 s <<< FAILURE! - in org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest
  Error:  authenticatedSocketTest(org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest)  Time elapsed: 10.037 s  <<< FAILURE!
  org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest.authenticatedSocketTest() didn't finish within the time-out 10000
  	at [email protected]/java.lang.Thread.sleep(Native Method)
  	at [email protected]/java.lang.Thread.sleep(Thread.java:337)
  	at [email protected]/java.util.concurrent.TimeUnit.sleep(TimeUnit.java:446)
  	at app//org.awaitility.core.Uninterruptibles.sleepUninterruptibly(Uninterruptibles.java:35)
  	at app//org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:117)
  	at app//org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
  	at app//org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
  	at app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
  	at app//org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
  	at app//org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest.checkSocket(ProxyAuthenticationTest.java:133)
  	at app//org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest.authenticatedSocketTest(ProxyAuthenticationTest.java:144)
  	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
  	at app//org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
  	at app//org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
  	at app//org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
  	at app//org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
  	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  	at [email protected]/java.lang.Thread.run(Thread.java:833)

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. codelipenghui commented on Dec 21, 2022

    @codelipenghui
    Contributor
  2. github-actions commented on Jan 21, 2023

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  3. merlimat commented on Oct 24, 2026

    @merlimat
    Contributor

    Thanks @labuladong for reporting this. ProxyAuthenticationTest.authenticatedSocketTest has run 896 times in Pulsar CI over the last 180 days with no failures and no flaky retries (Develocity test history). Closing this as no longer flaky. Please reopen it, with a link to the failing run, if it fails again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions