Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KubernetesApiSpec flaky #216

Open
raboof opened this issue Apr 28, 2024 · 2 comments
Open

KubernetesApiSpec flaky #216

raboof opened this issue Apr 28, 2024 · 2 comments

Comments

@raboof
Copy link
Member

raboof commented Apr 28, 2024

[info] KubernetesApiSpec:
[info] Kubernetes lease resource
[info] - should be able to be created *** FAILED *** (1 second, 466 milliseconds)
[info]   The future returned an exception of type: org.apache.pekko.coordination.lease.LeaseTimeoutException, with message: Timed out removing lease [lease-1]. It is not known if the remove happened. Is the API server up?. (KubernetesApiSpec.scala:104)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:333)
[info]   at org.scalatest.concurrent.Futures$FutureConcept.futureValue(Futures.scala:476)
[info]   at org.scalatest.concurrent.Futures$FutureConcept.futureValue$(Futures.scala:259)
[info]   at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValue(ScalaFutures.scala:281)
[info]   at org.apache.pekko.coordination.lease.kubernetes.KubernetesApiSpec.f$proxy1$1(KubernetesApiSpec.scala:104)
[info]   at org.apache.pekko.coordination.lease.kubernetes.KubernetesApiSpec.$init$$$anonfun$1$$anonfun$1(KubernetesApiSpec.scala:82)

... perhaps we could just give it some more time?

@Roiocam
Copy link
Member

Roiocam commented May 28, 2024

@raboof
Copy link
Member Author

raboof commented Oct 3, 2024

despite #314 we still saw this again in https://github.com/apache/pekko-management/actions/runs/11159872817/job/31019175982?pr=324 , within 1.5s. I wonder if the timeout is being picked up correctly?

should be able to be created *** FAILED *** (1 second, 430 milliseconds)
[info]   The future returned an exception of type: org.apache.pekko.coordination.lease.LeaseTimeoutException, with message: Timed out removing lease [lease-1]. It is not known if the remove happened. Is the API server up?. (KubernetesApiSpec.scala:105)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:333)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants