PANTHEONtech / lighty

Lightweight OpenDaylight runtime library
https://lighty.io
Eclipse Public License 1.0
131 stars 75 forks source link

Spring Boot Netconf example broken. #1916

Open aronbergurj99 opened 1 month ago

aronbergurj99 commented 1 month ago

Describe the bug 2024-07-24T16:46:47.642Z ERROR 95816 --- [t-dispatcher-42] akka.actor.SupervisorStrategy : Ask timed out on [Actor[akka://opendaylight-cluster-data/system/typedDdataReplicator#-62872494]] after [20000 ms]. Message of type [akka.cluster.ddata.typed.javadsl.Replicator$Update]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.

java.util.concurrent.TimeoutException: Ask timed out on [Actor[akka://opendaylight-cluster-data/system/typedDdataReplicator#-62872494]] after [20000 ms]. Message of type [akka.cluster.ddata.typed.javadsl.Replicator$Update]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply. at akka.actor.typed.scaladsl.AskPattern$.$anonfun$onTimeout$1(AskPattern.scala:131) ~[repackaged-akka-9.0.4.jar:na] at akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:730) ~[akka-actor_2.13-2.6.21.jar:2.6.21] at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:479) ~[akka-actor_2.13-2.6.21.jar:2.6.21] at scala.concurrent.ExecutionContext$parasitic$.execute(ExecutionContext.scala:222) ~[scala-library-2.13.14.jar:na] at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:365) ~[akka-actor_2.13-2.6.21.jar:2.6.21] at akka.actor.LightArrayRevolverScheduler$$anon$3.executeBucket$1(LightArrayRevolverScheduler.scala:314) ~[akka-actor_2.13-2.6.21.jar:2.6.21] at akka.actor.LightArrayRevolverScheduler$$anon$3.nextTick(LightArrayRevolverScheduler.scala:318) ~[akka-actor_2.13-2.6.21.jar:2.6.21] at akka.actor.LightArrayRevolverScheduler$$anon$3.run(LightArrayRevolverScheduler.scala:270) ~[akka-actor_2.13-2.6.21.jar:2.6.21] at java.base/java.lang.Thread.run(Thread.java:1623) ~[na:na]

Branch lighty.io branch [eg. 20.x]

To Reproduce Steps to reproduce the behavior:

  1. unzip release 20.1.0 and cd into it
  2. mvn clean install
  3. cd lighty-examples/lighty-controller-springboot-netconf
  4. mvn clean install
  5. mvn spring-boot:run

Expected behavior I would expect no errors in example.

Thank you for creating your report! We will get back to you, as soon as possible. Please note, that our support on GitHub is based on a non-guaranteed best effort. As soon as we are able, we will get back to you.

If you are in a hurry and have an inquiry regarding commercial support, please via this contact form: https://pantheon.tech/contact-us

aronbergurj99 commented 1 month ago

This also happens in release 19 but not in 18.4

ihrasko commented 1 month ago

Hello,

currently we know about some AskTimeoutExceptions which occur during component initialization spotted in tests.

I assume this happens randomly - not all the time and thus is not blocking you, right?

Anyway, we are working towards fix this issue as soon possible.

aronbergurj commented 1 month ago

I assume this happens randomly - not all the time and thus is not blocking you, right?

On lighty 20.1 (I haven't tested thoroughly on 19 but in my only test it happened) this happens all the time without exception. I am using 18.4 without problems though.

maurizio-lazzarini commented 6 days ago

This morning I experiences the same exception on 20.1 and it is present each time the application is started.