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

[Failure] TransactionsSpec: must complete with messages filtered out and transient failure causing an abort with restartable source #826

Open
ennru opened this issue Jun 12, 2019 · 8 comments
Labels
Milestone

Comments

@ennru
Copy link
Member

ennru commented Jun 12, 2019

[info] TransactionsSpec:
[info] A consume-transform-produce cycle
[info] - must complete with messages filtered out and transient failure causing an abort with restartable source *** FAILED *** (14 seconds, 419 milliseconds)
[info]   java.lang.AssertionError: assertion failed: timeout (10 seconds) during expectMsg while waiting for OnNext(51)
[info]   at scala.Predef$.assert(Predef.scala:223)
[info]   at akka.testkit.TestKitBase.expectMsg_internal(TestKit.scala:418)
[info]   at akka.testkit.TestKitBase.expectMsg(TestKit.scala:395)
[info]   at akka.testkit.TestKitBase.expectMsg$(TestKit.scala:395)
[info]   at akka.testkit.TestKit.expectMsg(TestKit.scala:923)
[info]   at akka.stream.testkit.TestSubscriber$ManualProbe.$anonfun$expectNextN$1(StreamTestKit.scala:411)
[info]   at scala.collection.Iterator.foreach(Iterator.scala:941)
[info]   at scala.collection.Iterator.foreach$(Iterator.scala:941)
[info]   at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
[info]   at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[info]   at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[info]   at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[info]   at akka.stream.testkit.TestSubscriber$ManualProbe.expectNextN(StreamTestKit.scala:411)
[info]   at akka.kafka.scaladsl.TransactionsSpec.$anonfun$new$17(TransactionsSpec.scala:199)
[info]   at akka.stream.testkit.scaladsl.StreamTestKit$.assertAllStagesStopped(StreamTestKit.scala:32)
[info]   at akka.kafka.scaladsl.TransactionsSpec.$anonfun$new$16(TransactionsSpec.scala:148)

https://travis-ci.org/akka/alpakka-kafka/jobs/544581914#L1823

@seglo
Copy link
Contributor

seglo commented Oct 23, 2019

@seglo
Copy link
Contributor

seglo commented Nov 22, 2019

@seglo
Copy link
Contributor

seglo commented Dec 16, 2019

Still happening with increased timefactor

https://travis-ci.org/akka/alpakka-kafka/jobs/625749137#L476

@seglo
Copy link
Contributor

seglo commented Jan 22, 2020

@ennru
Copy link
Member Author

ennru commented Jan 23, 2020

@ennru
Copy link
Member Author

ennru commented Feb 10, 2020

@seglo
Copy link
Contributor

seglo commented Feb 11, 2020

Hopefully resolved with #1048

@seglo seglo closed this as completed Feb 11, 2020
@ennru ennru added this to the 2.0.2 milestone Feb 13, 2020
@seglo
Copy link
Contributor

seglo commented May 11, 2020

Observed a timeout with this test again, at a new point.

[info]   java.lang.AssertionError: assertion failed: timeout (100 seconds) during expectMsg while waiting for OnNext(1)
[info]   at scala.Predef$.assert(Predef.scala:170)
[info]   at akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:418)
[info]   at akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:395)
[info]   at akka.testkit.TestKit.expectMsg(TestKit.scala:923)
[info]   at akka.stream.testkit.TestSubscriber$ManualProbe$$anonfun$expectNextN$1.apply(StreamTestKit.scala:411)
[info]   at akka.stream.testkit.TestSubscriber$ManualProbe$$anonfun$expectNextN$1.apply(StreamTestKit.scala:411)
[info]   at scala.collection.Iterator$class.foreach(Iterator.scala:891)
[info]   at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
[info]   at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[info]   at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[info]   at akka.stream.testkit.TestSubscriber$ManualProbe.expectNextN(StreamTestKit.scala:411)
[info]   at akka.kafka.scaladsl.TransactionsSpec$$anonfun$1$$anonfun$apply$mcV$sp$4$$anonfun$apply$16.apply(TransactionsSpec.scala:197)
[info]   at akka.kafka.scaladsl.TransactionsSpec$$anonfun$1$$anonfun$apply$mcV$sp$4$$anonfun$apply$16.apply(TransactionsSpec.scala:146)
[info]   at akka.stream.testkit.scaladsl.StreamTestKit$.assertAllStagesStopped(StreamTestKit.scala:32)
[info]   at akka.kafka.scaladsl.TransactionsSpec$$anonfun$1$$anonfun$apply$mcV$sp$4.apply(TransactionsSpec.scala:146)
[info]   at akka.kafka.scaladsl.TransactionsSpec$$anonfun$1$$anonfun$apply$mcV$sp$4.apply(TransactionsSpec.scala:146)
[info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
[info]   at org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:1075)
[info]   at akka.kafka.tests.scaladsl.LogCapturing$class.withFixture(LogCapturing.scala:57)
[info]   at akka.kafka.scaladsl.SpecBase.withFixture(SpecBase.scala:15)
[info]   at org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:1072)
[info]   at org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1085)
[info]   at org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1085)
[info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:286)
[info]   at org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:1085)
[info]   at akka.kafka.scaladsl.SpecBase.akka$kafka$Repeated$$super$runTest(SpecBase.scala:15)
[info]   at akka.kafka.Repeated$class.run0$1(Repeated.scala:25)

https://travis-ci.org/github/akka/alpakka-kafka/jobs/685724245#L1069

@seglo seglo reopened this May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants