Closed sam-byng closed 1 year ago
Class package seems wrong. org.apache missing
Issue fixed: downing-provider-class updated
successful local test:
$ kubectl logs appka-85f68c9bf4-g64zc | grep MemberUp
[2023-04-25 15:18:39,874] [INFO] [org.apache.pekko.sample.cluster.kubernetes.DemoApp$] [] [appka-pekko.actor.default-dispatcher-11] - MemberEvent: MemberUp(Member(pekko://appka@10.244.0.109:17355, Up)) MDC: {sourceActorSystem=appka, pekkoAddress=pekko://appka@10.244.0.109:17355, pekkoSource=pekko://appka/user/listener}
[2023-04-25 15:18:43,974] [INFO] [org.apache.pekko.sample.cluster.kubernetes.DemoApp$] [] [appka-pekko.actor.default-dispatcher-14] - MemberEvent: MemberUp(Member(pekko://appka@10.244.0.110:17355, Up)) MDC: {sourceActorSystem=appka, pekkoAddress=pekko://appka@10.244.0.109:17355, pekkoSource=pekko://appka/user/listener}
[2023-04-25 15:18:43,975] [INFO] [org.apache.pekko.sample.cluster.kubernetes.DemoApp$] [] [appka-pekko.actor.default-dispatcher-14] - MemberEvent: MemberUp(Member(pekko://appka@10.244.0.111:17355, Up)) MDC: {sourceActorSystem=appka, pekkoAddress=pekko://appka@10.244.0.109:17355, pekkoSource=pekko://appka/user/listener}
Issue: Timeout error in CI test on a non-changed directory: pekko-sample-distributed-data-scala
FIXED:I've made us more resilient to this by increasing the timers
((error:
[JVM-3] [WARN] [04/25/2023 15:53:24.407] [ReplicatedMetricsSpec-pekko.actor.default-dispatcher-23] [pekko://ReplicatedMetricsSpec/system/ddataReplicator] received dead letter from Actor[pekko://ReplicatedMetricsSpec@localhost:34399/system/ddataReplicator#94638895]: DeltaPropagation(UniqueAddress(pekko://ReplicatedMetricsSpec@localhost:34399,8611969283667454892),false,Map(usedHeap -> Delta(DataEnvelope(PutDeltaOp(AddDeltaOp(ORSet(localhost:34399)),(localhost:34399,LWWRegister(27707792)),LWWMapTag),Map(),VersionVector(UniqueAddress(pekko://ReplicatedMetricsSpec@localhost:34399,8611969283667454892) -> 6, UniqueAddress(pekko://ReplicatedMetricsSpec@localhost:42099,-3404745728445011216) -> 2, UniqueAddress(pekko://ReplicatedMetricsSpec@localhost:42271,-473137233004359005) -> 6)),6,6)))
[JVM-3] [INFO] [pekkoDeadLetter][04/25/2023 15:53:24.405] [ReplicatedMetricsSpec-pekko.actor.default-dispatcher-11] [pekko://ReplicatedMetricsSpec/system/ddataReplicator] Message [org.apache.pekko.cluster.ddata.Replicator$Internal$DeltaPropagation] from Actor[pekko://ReplicatedMetricsSpec@localhost:34399/system/ddataReplicator#94638895] to Actor[pekko://ReplicatedMetricsSpec/system/ddataReplicator] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://ReplicatedMetricsSpec/system/ddataReplicator] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'.
[JVM-2] [2023-04-25 15:53:24,584] [INFO] [org.apache.pekko.cluster.Cluster] [pekkoMemberChanged] [ReplicatedMetricsSpec-pekko.actor.default-dispatcher-12] - Cluster Node [pekko://ReplicatedMetricsSpec@localhost:34399] - Leader is removing confirmed Exiting node [pekko://ReplicatedMetricsSpec@localhost:42099]
[JVM-2] [INFO] [pekkoMemberChanged][04/25/2023 15:53:24.[583](https://github.com/apache/incubator-pekko-samples/pull/39/checks#step:10:584)] [ReplicatedMetricsSpec-pekko.actor.internal-dispatcher-3] [Cluster(pekko://ReplicatedMetricsSpec)] Cluster Node [pekko://ReplicatedMetricsSpec@localhost:34399] - Leader is removing confirmed Exiting node [pekko://ReplicatedMetricsSpec@localhost:42099]
[JVM-3] - must replicate metrics *** FAILED ***
[JVM-3] java.lang.AssertionError: Timeout (3 seconds) during expectMessageClass waiting for class sample.distributeddata.ReplicatedMetrics$UsedHeap
[JVM-3] at org.apache.pekko.actor.testkit.typed.internal.TestProbeImpl.assertFail(TestProbeImpl.scala:410)
[JVM-3] at org.apache.pekko.actor.testkit.typed.internal.TestProbeImpl.expectMessageClass_internal(TestProbeImpl.scala:250)
[JVM-3] at org.apache.pekko.actor.testkit.typed.internal.TestProbeImpl.expectMessageType(TestProbeImpl.scala:229)
[JVM-3] at sample.distributeddata.ReplicatedMetricsSpec.$anonfun$new$6(ReplicatedMetricsSpec.scala:72)
[JVM-3] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
[JVM-3] at org.apache.pekko.testkit.TestKitBase.within(TestKit.scala:429)
[JVM-3] at org.apache.pekko.testkit.TestKitBase.within$(TestKit.scala:416)
[JVM-3] at org.apache.pekko.testkit.TestKit.within(TestKit.scala:984)
[JVM-3] at org.apache.pekko.testkit.TestKitBase.within(TestKit.scala:444)
[JVM-3] at org.apache.pekko.testkit.TestKitBase.within$(TestKit.scala:444)
[JVM-3] ...
)))
See description for related PR: https://github.com/apache/incubator-pekko-samples/pull/38
FIXED: The same failure is happening here: