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

FDN-2106: Run db maintenance actor #739

Merged
merged 1 commit into from
Mar 8, 2024

Run db maintenance actor

985e299
Select commit
Loading
Failed to load commit list.
Merged

FDN-2106: Run db maintenance actor #739

Run db maintenance actor
985e299
Select commit
Loading
Failed to load commit list.
Flow-Jenkins / Tests / All in parallel / SBT Test failed Mar 8, 2024 in 0s

failed: 2, passed: 272

Send us feedback

Details

db.BinariesDaoSpec.findAll by projectId

org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 109 times over 15.105493344000001 seconds. Last failure message: List() was not equal to List("bin-dfbe4f1c8071405bb9a162592c966283").
Stack trace
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 109 times over 15.105493344000001 seconds. Last failure message: List() was not equal to List("bin-dfbe4f1c8071405bb9a162592c966283").
	at org.scalatest.enablers.Retrying$$anon$4.tryTryAgain$2(Retrying.scala:185)
	at org.scalatest.enablers.Retrying$$anon$4.retry(Retrying.scala:192)
	at org.scalatest.concurrent.Eventually.eventually(Eventually.scala:402)
	at org.scalatest.concurrent.Eventually.eventually$(Eventually.scala:401)
	at db.BinariesDaoSpec.eventually(BinariesDaoSpec.scala:9)
	at db.BinariesDaoSpec.$anonfun$new$11(BinariesDaoSpec.scala:55)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1076)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1879)
	at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1074)
	at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1086)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1086)
	at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1068)
	at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1879)
	at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1145)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
	at scala.collection.immutable.List.foreach(List.scala:333)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
	at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1145)
	at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1144)
	at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1879)
	at org.scalatest.Suite.run(Suite.scala:1112)
	at org.scalatest.Suite.run$(Suite.scala:1094)
	at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1879)
	at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1190)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
	at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1190)
	at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1188)
	at db.BinariesDaoSpec.org$scalatestplus$play$BaseOneServerPerSuite$$super$run(BinariesDaoSpec.scala:9)
	at org.scalatestplus.play.BaseOneServerPerSuite.run(BaseOneServerPerSuite.scala:163)
	at org.scalatestplus.play.BaseOneServerPerSuite.run$(BaseOneServerPerSuite.scala:159)
	at db.BinariesDaoSpec.run(BinariesDaoSpec.scala:9)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:318)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:513)
	at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: List() was not equal to List("bin-dfbe4f1c8071405bb9a162592c966283")
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:344)
	at org.scalatest.matchers.must.Matchers$MustMethodHelperClass.mustMatcher(Matchers.scala:6778)
	at org.scalatest.matchers.must.Matchers$AnyMustWrapper.must(Matchers.scala:6822)
	at db.BinariesDaoSpec.$anonfun$new$12(BinariesDaoSpec.scala:57)
	at org.scalatest.enablers.Retrying$$anon$4.makeAValiantAttempt$1(Retrying.scala:150)
	at org.scalatest.enablers.Retrying$$anon$4.tryTryAgain$2(Retrying.scala:162)
	... 47 more

db.RecommendationsDaoSpec.Prefers latest production release even when more recent beta release is available

org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 250 times over 1.0033829967 minutes. Last failure message: List() was not equal to List(LibraryRecommendation(Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.0,LibraryVersion(liv-d9a2d8806cb04ee2802092495112fe1e,Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.1,None),LibraryVersion(liv-9876c5c8d9d044718fd1605a7f7a4b42,Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.2-RC1,None))).
Stack trace
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 250 times over 1.0033829967 minutes. Last failure message: List() was not equal to List(LibraryRecommendation(Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.0,LibraryVersion(liv-d9a2d8806cb04ee2802092495112fe1e,Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.1,None),LibraryVersion(liv-9876c5c8d9d044718fd1605a7f7a4b42,Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.2-RC1,None))).
	at org.scalatest.enablers.Retrying$$anon$4.tryTryAgain$2(Retrying.scala:185)
	at org.scalatest.enablers.Retrying$$anon$4.retry(Retrying.scala:192)
	at org.scalatest.concurrent.Eventually.eventually(Eventually.scala:402)
	at org.scalatest.concurrent.Eventually.eventually$(Eventually.scala:401)
	at db.RecommendationsDaoSpec.eventually(RecommendationsDaoSpec.scala:8)
	at db.RecommendationsDaoSpec.$anonfun$new$8(RecommendationsDaoSpec.scala:104)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1076)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1879)
	at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1074)
	at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1086)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1086)
	at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1068)
	at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1879)
	at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1145)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
	at scala.collection.immutable.List.foreach(List.scala:333)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
	at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1145)
	at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1144)
	at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1879)
	at org.scalatest.Suite.run(Suite.scala:1112)
	at org.scalatest.Suite.run$(Suite.scala:1094)
	at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1879)
	at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1190)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
	at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1190)
	at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1188)
	at db.RecommendationsDaoSpec.org$scalatestplus$play$BaseOneServerPerSuite$$super$run(RecommendationsDaoSpec.scala:8)
	at org.scalatestplus.play.BaseOneServerPerSuite.run(BaseOneServerPerSuite.scala:163)
	at org.scalatestplus.play.BaseOneServerPerSuite.run$(BaseOneServerPerSuite.scala:159)
	at db.RecommendationsDaoSpec.run(RecommendationsDaoSpec.scala:8)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:318)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:513)
	at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: List() was not equal to List(LibraryRecommendation(Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.0,LibraryVersion(liv-d9a2d8806cb04ee2802092495112fe1e,Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.1,None),LibraryVersion(liv-9876c5c8d9d044718fd1605a7f7a4b42,Library(lib-ab87d19d8d4743d9821879c29d881063,OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e),z-test.de6e825b-0040-468b-bb90-5daae2700ee1,z-test-27fa8b7d-c83b-4b4e-b9f4-5ec46251f61d,ResolverSummary(res-61f63cdffacd4ff7a713061a3455ba64,Some(OrganizationSummary(org-20736c30e6a2419398b0e83dcd879611,z-test-27b4f20b-a1a5-4ca6-a072-d90a3af2c53e)),private,http://ebe0ed4e-e16d-44b9-b69f-97020802ae4d.z-test.flow.io)),1.0.2-RC1,None)))
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:344)
	at org.scalatest.matchers.must.Matchers$MustMethodHelperClass.mustMatcher(Matchers.scala:6778)
	at org.scalatest.matchers.must.Matchers$AnyMustWrapper.must(Matchers.scala:6822)
	at db.RecommendationsDaoSpec.$anonfun$new$9(RecommendationsDaoSpec.scala:111)
	at org.scalatest.enablers.Retrying$$anon$4.makeAValiantAttempt$1(Retrying.scala:150)
	at org.scalatest.enablers.Retrying$$anon$4.tryTryAgain$2(Retrying.scala:162)
	... 47 more