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

Change visibility of fields in EvaluableLazyParameter and SpelExpression to allow ast ops in Service #7125

Closed
wants to merge 4 commits into from

wip api approach with parameter creator

8a33110
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Change visibility of fields in EvaluableLazyParameter and SpelExpression to allow ast ops in Service #7125

wip api approach with parameter creator
8a33110
Select commit
Loading
Failed to load commit list.
GitHub Actions / REPORT-BackendTests-2.12 failed Nov 12, 2024 in 1s

2655 passed, 2 failed and 6 skipped

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

Annotations

Check failure on line 28 in designer/server/src/test/scala/pl/touk/nussknacker/ui/api/DeploymentApiHttpServiceBusinessSpec.scala

See this annotation in the file changed.

@github-actions github-actions / REPORT-BackendTests-2.12

pl.touk.nussknacker.ui.api.DeploymentApiHttpServiceBusinessSpec ► (It is not a test it is a sbt.testing.SuiteSelector)

Failed test found in:
  designer/server/target/test-reports/TEST-pl.touk.nussknacker.ui.api.DeploymentApiHttpServiceBusinessSpec.xml
Error:
  org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/rwrrrasuayxsxeyg:latest
Raw output
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/rwrrrasuayxsxeyg:latest
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
	at com.dimafeng.testcontainers.SingleContainer.start(Container.scala:48)
	at com.dimafeng.testcontainers.LazyContainer.start(MultipleContainers.scala:97)
	at com.dimafeng.testcontainers.MultipleContainers.$anonfun$start$1(MultipleContainers.scala:31)
	at com.dimafeng.testcontainers.MultipleContainers.$anonfun$start$1$adapted(MultipleContainers.scala:31)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at com.dimafeng.testcontainers.MultipleContainers.start(MultipleContainers.scala:31)
	at com.dimafeng.testcontainers.ForAllTestContainer.run(ForAllTestContainer.scala:17)
	at com.dimafeng.testcontainers.ForAllTestContainer.run$(ForAllTestContainer.scala:13)
	at pl.touk.nussknacker.ui.api.DeploymentApiHttpServiceBusinessSpec.run(DeploymentApiHttpServiceBusinessSpec.scala:28)
	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)
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=<resolving>, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@11e36041)
	at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1364)
	at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:671)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:341)
	... 35 more
Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not build image: Head "https://registry-1.docker.io/v2/library/flink/manifests/1.19.1-scala_2.12-java11": Get "https://auth.docker.io/token?account=githubactions&scope=repository%3Alibrary%2Fflink%3Apull&service=registry.docker.io": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
	at com.github.dockerjava.api.command.BuildImageResultCallback.getImageId(BuildImageResultCallback.java:71)
	at com.github.dockerjava.api.command.BuildImageResultCallback.awaitImageId(BuildImageResultCallback.java:50)
	at org.testcontainers.images.builder.ImageFromDockerfile.resolve(ImageFromDockerfile.java:165)
	at org.testcontainers.images.builder.ImageFromDockerfile.resolve(ImageFromDockerfile.java:43)
	at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
	at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
	at org.testcontainers.shaded.com.google.common.util.concurrent.Futures$1.get(Futures.java:538)
	at org.testcontainers.images.RemoteDockerImage.getImageName(RemoteDockerImage.java:168)
	at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:72)
	at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:33)
	at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
	at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
	at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1362)
	... 37 more

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.12

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(2979b216-7745-424b-bcaf-e8a4eb5f5c81)), 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(2979b216-7745-424b-bcaf-e8a4eb5f5c81)), 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(2979b216-7745-424b-bcaf-e8a4eb5f5c81)), 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(2979b216-7745-424b-bcaf-e8a4eb5f5c81)), 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.java:23)
	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:392)
	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)