Skip to content

Merge remote-tracking branch 'origin/preview/NU-1778-activities' into… #21149

Merge remote-tracking branch 'origin/preview/NU-1778-activities' into…

Merge remote-tracking branch 'origin/preview/NU-1778-activities' into… #21149

GitHub Actions / REPORT-BackendTests-2.13 failed Oct 24, 2024 in 1s

2630 passed, 1 failed and 6 skipped

Tests failed
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 376 in engine/flink/management/periodic/src/test/scala/pl/touk/nussknacker/engine/management/periodic/PeriodicProcessServiceIntegrationTest.scala

See this annotation in the file changed.

@github-actions github-actions / REPORT-BackendTests-2.13

pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest ► should wait until other schedule finishes, before deploying next schedule

Failed test found in:
  engine/flink/management/periodic/target/test-reports/TEST-pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.xml
Error:
  org.scalatest.exceptions.TestFailedException: Vector(PeriodicProcessDeployment(2, PeriodicProcess(PeriodicProcessId(1), DeploymentWithJarData(ProcessVersion(1, test, 1, List(), "", None), CanonicalProcess(MetaData("test", ProcessAdditionalFields(None, Map("parallelism" -> "", "spillStateToDisk" -> "true", "useAsyncInterpretation" -> "", "checkpointIntervalInSeconds" -> ""), "StreamMetaData", false)), List(), List()), "", ""), MultipleScheduleProperty(Map("schedule1" -> CronScheduleProperty("0 5 * * * ?"), "schedule2" -> CronScheduleProperty("0 5 * * * ?"))), true, 2021-04-06T13:18, Some(4f222c37-6dae-4a58-8ead-7cf249f196de)), 2021-04-06T13:18, 2021-04-06T14:05, ScheduleName(Some("schedule2")), 0, None, PeriodicProcessDeploymentState(None, None, Scheduled)), PeriodicProcessDeployment(1, PeriodicProcess(PeriodicProcessId(1), DeploymentWithJarData(ProcessVersion(1, test, 1, List(), "", None), CanonicalProcess(MetaData("test", ProcessAdditionalFields(None, Map("parallelism" -> "", "spillStateToDisk" -> "true", "useAsyncInterpretation" -> "", "checkpointIntervalInSeconds" -> ""), "StreamMetaData", false)), List(), List()), "", ""), MultipleScheduleProperty(Map("schedule1" -> CronScheduleProperty("0 5 * * * ?"), "schedule2" -> CronScheduleProperty("0 5 * * * ?"))), true, 2021-04-06T13:18, Some(4f222c37-6dae-4a58-8ead-7cf249f196de)), 2021-04-06T13:18, 2021-04-06T14:05, ScheduleName(Some("schedule1")), 0, None, PeriodicProcessDeploymentState(None, None, Scheduled))) had length 2 instead of expected length 1
Raw output
org.scalatest.exceptions.TestFailedException: Vector(PeriodicProcessDeployment(2, PeriodicProcess(PeriodicProcessId(1), DeploymentWithJarData(ProcessVersion(1, test, 1, List(), "", None), CanonicalProcess(MetaData("test", ProcessAdditionalFields(None, Map("parallelism" -> "", "spillStateToDisk" -> "true", "useAsyncInterpretation" -> "", "checkpointIntervalInSeconds" -> ""), "StreamMetaData", false)), List(), List()), "", ""), MultipleScheduleProperty(Map("schedule1" -> CronScheduleProperty("0 5 * * * ?"), "schedule2" -> CronScheduleProperty("0 5 * * * ?"))), true, 2021-04-06T13:18, Some(4f222c37-6dae-4a58-8ead-7cf249f196de)), 2021-04-06T13:18, 2021-04-06T14:05, ScheduleName(Some("schedule2")), 0, None, PeriodicProcessDeploymentState(None, None, Scheduled)), PeriodicProcessDeployment(1, PeriodicProcess(PeriodicProcessId(1), DeploymentWithJarData(ProcessVersion(1, test, 1, List(), "", None), CanonicalProcess(MetaData("test", ProcessAdditionalFields(None, Map("parallelism" -> "", "spillStateToDisk" -> "true", "useAsyncInterpretation" -> "", "checkpointIntervalInSeconds" -> ""), "StreamMetaData", false)), List(), List()), "", ""), MultipleScheduleProperty(Map("schedule1" -> CronScheduleProperty("0 5 * * * ?"), "schedule2" -> CronScheduleProperty("0 5 * * * ?"))), true, 2021-04-06T13:18, Some(4f222c37-6dae-4a58-8ead-7cf249f196de)), 2021-04-06T13:18, 2021-04-06T14:05, ScheduleName(Some("schedule1")), 0, None, PeriodicProcessDeploymentState(None, None, Scheduled))) had length 2 instead of expected length 1
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$ResultOfHaveWordForExtent.length(Matchers.scala:2780)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.$anonfun$new$19(PeriodicProcessServiceIntegrationTest.scala:376)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.runTestCodeWithDbConfig$1(PeriodicProcessServiceIntegrationTest.scala:95)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.withFixture(PeriodicProcessServiceIntegrationTest.scala:103)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.$anonfun$new$18(PeriodicProcessServiceIntegrationTest.scala:337)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
	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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
	at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
	at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.com$dimafeng$testcontainers$ForAllTestContainer$$super$runTest(PeriodicProcessServiceIntegrationTest.scala:39)
	at com.dimafeng.testcontainers.ForAllTestContainer.runTest(ForAllTestContainer.scala:40)
	at com.dimafeng.testcontainers.ForAllTestContainer.runTest$(ForAllTestContainer.scala:32)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.runTest(PeriodicProcessServiceIntegrationTest.scala:39)
	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
	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.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
	at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
	at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
	at org.scalatest.Suite.run(Suite.scala:1114)
	at org.scalatest.Suite.run$(Suite.scala:1096)
	at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
	at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
	at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.com$dimafeng$testcontainers$ForAllTestContainer$$super$run(PeriodicProcessServiceIntegrationTest.scala:39)
	at com.dimafeng.testcontainers.ForAllTestContainer.run(ForAllTestContainer.scala:20)
	at com.dimafeng.testcontainers.ForAllTestContainer.run$(ForAllTestContainer.scala:13)
	at pl.touk.nussknacker.engine.management.periodic.PeriodicProcessServiceIntegrationTest.run(PeriodicProcessServiceIntegrationTest.scala:39)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
	at sbt.TestRunner.runTest$1(TestFramework.scala:153)
	at sbt.TestRunner.run(TestFramework.scala:168)
	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
	at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
	at sbt.TestFunction.apply(TestFramework.scala:348)
	at sbt.Tests$.processRunnable$1(Tests.scala:475)
	at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
	at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
	at sbt.Execute.work(Execute.scala:292)
	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)