-
Notifications
You must be signed in to change notification settings - Fork 604
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
Flaky TimerStartEventTest (multiple cases) #10272
Comments
The following test cases are currently flaky:
|
TimerStartEventTest.shouldUpdateProcess assertion failure(run) [2022-09-06T00:13:39.475Z] [ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.086 s <<< FAILURE! - in io.camunda.zeebe.engine.processing.timer.TimerStartEventTest [2022-09-06T00:13:39.475Z] [ERROR] io.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldUpdateProcess Time elapsed: 5.283 s <<< FAILURE! [2022-09-06T00:13:39.475Z] org.opentest4j.AssertionFailedError: [2022-09-06T00:13:39.475Z] [2022-09-06T00:13:39.475Z] Expecting value to be true but was false [2022-09-06T00:13:39.475Z] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2022-09-06T00:13:39.475Z] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) [2022-09-06T00:13:39.475Z] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2022-09-06T00:13:39.476Z] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [2022-09-06T00:13:39.476Z] at io.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldUpdateProcess(TimerStartEventTest.java:533) [2022-09-06T00:13:39.476Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2022-09-06T00:13:39.476Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2022-09-06T00:13:39.476Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2022-09-06T00:13:39.476Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568) [2022-09-06T00:13:39.476Z] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) [2022-09-06T00:13:39.476Z] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [2022-09-06T00:13:39.476Z] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) [2022-09-06T00:13:39.476Z] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [2022-09-06T00:13:39.476Z] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [2022-09-06T00:13:39.476Z] at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) [2022-09-06T00:13:39.476Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-06T00:13:39.476Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-06T00:13:39.476Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-06T00:13:39.476Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-06T00:13:39.476Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-06T00:13:39.476Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-06T00:13:39.476Z] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [2022-09-06T00:13:39.476Z] at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) [2022-09-06T00:13:39.476Z] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) [2022-09-06T00:13:39.476Z] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [2022-09-06T00:13:39.476Z] at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [2022-09-06T00:13:39.476Z] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [2022-09-06T00:13:39.476Z] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [2022-09-06T00:13:39.476Z] at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) [2022-09-06T00:13:39.476Z] at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) [2022-09-06T00:13:39.476Z] at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) [2022-09-06T00:13:39.476Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) [2022-09-06T00:13:39.476Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) [2022-09-06T00:13:39.476Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) [2022-09-06T00:13:39.477Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) [2022-09-06T00:13:39.477Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) [2022-09-06T00:13:39.477Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) [2022-09-06T00:13:39.477Z] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) [2022-09-06T00:13:39.477Z] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) [2022-09-06T00:13:39.477Z] at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:234) [2022-09-06T00:13:39.477Z] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:228) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:131) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) [2022-09-06T00:13:39.477Z] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) |
TimerStartEventTest.shouldUpdateProcess assertion failure(run) 2022-09-07T09:40:15.843Z] [ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.267 s <<< FAILURE! - in io.camunda.zeebe.engine.processing.timer.TimerStartEventTest [2022-09-07T09:40:15.843Z] [ERROR] io.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldUpdateProcess Time elapsed: 5.344 s <<< FAILURE! [2022-09-07T09:40:15.843Z] org.opentest4j.AssertionFailedError: [2022-09-07T09:40:15.843Z] [2022-09-07T09:40:15.843Z] Expecting value to be true but was false [2022-09-07T09:40:15.843Z] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2022-09-07T09:40:15.843Z] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) [2022-09-07T09:40:15.844Z] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2022-09-07T09:40:15.844Z] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [2022-09-07T09:40:15.844Z] at io.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldUpdateProcess(TimerStartEventTest.java:533) [2022-09-07T09:40:15.844Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2022-09-07T09:40:15.844Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2022-09-07T09:40:15.844Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2022-09-07T09:40:15.844Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568) [2022-09-07T09:40:15.844Z] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) [2022-09-07T09:40:15.844Z] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [2022-09-07T09:40:15.844Z] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) [2022-09-07T09:40:15.844Z] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [2022-09-07T09:40:15.844Z] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [2022-09-07T09:40:15.844Z] at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) [2022-09-07T09:40:15.844Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-07T09:40:15.844Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-07T09:40:15.844Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-07T09:40:15.844Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-07T09:40:15.844Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-07T09:40:15.844Z] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [2022-09-07T09:40:15.844Z] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [2022-09-07T09:40:15.844Z] at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) [2022-09-07T09:40:15.844Z] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) [2022-09-07T09:40:15.844Z] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [2022-09-07T09:40:15.844Z] at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [2022-09-07T09:40:15.844Z] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [2022-09-07T09:40:15.844Z] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [2022-09-07T09:40:15.844Z] at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) [2022-09-07T09:40:15.844Z] at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) [2022-09-07T09:40:15.844Z] at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) [2022-09-07T09:40:15.844Z] at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) [2022-09-07T09:40:15.844Z] at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55) [2022-09-07T09:40:15.844Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:234) [2022-09-07T09:40:15.844Z] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2022-09-07T09:40:15.844Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:228) [2022-09-07T09:40:15.844Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175) [2022-09-07T09:40:15.844Z] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:131) [2022-09-07T09:40:15.845Z] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) [2022-09-07T09:40:15.845Z] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) [2022-09-07T09:40:15.845Z] at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) [2022-09-07T09:40:15.845Z] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [2022-09-07T09:40:15.845Z] 09:40:17.609 [Broker-0-LogStream-1] DEBUG io.camunda.zeebe.logstreams - Configured log appender back pressure at partition 1 as AppenderVegasCfg{initialLimit=1024, maxConcurrency=32768, alphaLimit=0.7, betaLimit=0.95}. Window limiting is disabled 09:40:17.682 [Broker-0-StreamProcessor-1] DEBUG io.camunda.zeebe.logstreams - Recovering state of partition 1 from snapshot 09:40:17.682 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@6393bc21)), function-provider: io.camunda.zeebe.feel.impl.FeelFunctionProvider@2c194307, clock: io.camunda.zeebe.el.impl.ZeebeFeelEngineClock@32ee7ccf, configuration: Configuration(false)] 09:40:17.683 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.logstreams - Recovered state of partition 1 from snapshot at position -1 09:40:17.684 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@56e11e73)), function-provider: io.camunda.zeebe.feel.impl.FeelFunctionProvider@353274f2, clock: io.camunda.zeebe.el.impl.ZeebeFeelEngineClock@4a4b2004, configuration: Configuration(false)] 09:40:17.685 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@6f0ea696)), function-provider: io.camunda.zeebe.feel.impl.FeelFunctionProvider@101d650e, clock: io.camunda.zeebe.el.impl.ZeebeFeelEngineClock@37a994f7, configuration: Configuration(false)] 09:40:17.686 [Broker-0-StreamProcessor-1] INFO org.camunda.dmn.DmnEngine - DMN-Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@257b88b7)), function-provider: org.camunda.feel.context.FunctionProvider$EmptyFunctionProvider$@2aa69c73, audit-loggers: List(), configuration: Configuration(false,false,false)] 09:40:17.686 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(org.camunda.dmn.NoUnpackValueMapper@54bccc84)), function-provider: org.camunda.feel.context.FunctionProvider$EmptyFunctionProvider$@2aa69c73, clock: SystemClock, configuration: Configuration(false)] 09:40:17.687 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@c561538)), function-provider: io.camunda.zeebe.feel.impl.FeelFunctionProvider@63037349, clock: io.camunda.zeebe.el.impl.ZeebeFeelEngineClock@31ecfbd3, configuration: Configuration(false)] 09:40:17.687 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@1a2d30e6)), function-provider: io.camunda.zeebe.feel.impl.FeelFunctionProvider@26ee094e, clock: io.camunda.zeebe.el.impl.ZeebeFeelEngineClock@5e0fbfe1, configuration: Configuration(false)] 09:40:17.689 [Broker-0-StreamProcessor-1] INFO org.camunda.dmn.DmnEngine - DMN-Engine created. [value-mapper: CompositeValueMapper(List(io.camunda.zeebe.feel.impl.MessagePackValueMapper@30aba1ae)), function-provider: org.camunda.feel.context.FunctionProvider$EmptyFunctionProvider$@2aa69c73, audit-loggers: List(), configuration: Configuration(false,false,false)] 09:40:17.689 [Broker-0-StreamProcessor-1] INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(org.camunda.dmn.NoUnpackValueMapper@19a35a5d)), function-provider: org.camunda.feel.context.FunctionProvider$EmptyFunctionProvider$@2aa69c73, clock: SystemClock, configuration: Configuration(false)] 09:40:17.690 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.processor - Processor starts replay of events. [snapshot-position: -1, replay-mode: PROCESSING] 09:40:17.690 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.processor - Processor finished replay, with [lastProcessedPosition: -1, lastWrittenPosition: -1] 09:40:17.690 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.engine.state.migration - Starting processing of migration tasks (use LogLevel.DEBUG for more details) ... 09:40:17.690 [Broker-0-StreamProcessor-1] DEBUG io.camunda.zeebe.engine.state.migration - Found 3 migration tasks: ProcessMessageSubscriptionSentTimeMigration, MessageSubscriptionSentTimeMigration, TemporaryVariableMigration 09:40:17.691 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.engine.state.migration - Skipping ProcessMessageSubscriptionSentTimeMigration migration (1/3). It was determined it does not need to run right now. 09:40:17.691 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.engine.state.migration - Skipping MessageSubscriptionSentTimeMigration migration (2/3). It was determined it does not need to run right now. 09:40:17.691 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.engine.state.migration - Skipping TemporaryVariableMigration migration (3/3). It was determined it does not need to run right now. 09:40:17.691 [Broker-0-StreamProcessor-1] INFO io.camunda.zeebe.engine.state.migration - Completed processing of migration tasks (use LogLevel.DEBUG for more details) ... 09:40:17.691 [Broker-0-StreamProcessor-1] DEBUG io.camunda.zeebe.engine.state.migration - Executed 0 migration tasks: 09:40:17.736 [] DEBUG io.camunda.zeebe.broker.logstreams - Close stream processor 09:40:17.736 [Broker-0-StreamProcessor-1] DEBUG io.camunda.zeebe.scheduler.ActorTask - Discard job io.camunda.zeebe.scheduler.future.FutureContinuationRunnable QUEUED from fastLane of Actor Broker-0-StreamProcessor-1. 09:40:17.736 [Broker-0-StreamProcessor-1] DEBUG io.camunda.zeebe.logstreams - Closed stream processor controller Broker-0-StreamProcessor-1. 09:40:17.775 [Broker-0-LogStream-1] INFO io.camunda.zeebe.logstreams - Close appender for log stream stream-1 09:40:17.775 [stream-1-write-buffer] DEBUG io.camunda.zeebe.dispatcher - Dispatcher closed 09:40:17.775 [Broker-0-LogStream-1] INFO io.camunda.zeebe.logstreams - On closing logstream stream-1 close 2 readers 09:40:17.776 [] DEBUG io.camunda.zeebe.broker.test - Clean up test files on path /tmp/junit9104157836144718197 09:40:17.778 [] DEBUG io.camunda.zeebe.util.actor - Closing actor thread ground '-zb-fs-workers' 09:40:17.778 [] DEBUG io.camunda.zeebe.util.actor - Closing actor thread ground '-zb-actors' 09:40:17.779 [] DEBUG io.camunda.zeebe.util.actor - Closing actor thread ground '-zb-fs-workers': closed successfully 09:40:17.779 [] DEBUG io.camunda.zeebe.util.actor - Closing actor thread ground '-zb-actors': closed successfully |
I think if we remove the complexity in the ScheduleService as described here #9723 (comment) we might overcome this (at least I think it is related). |
10300: test(engine): stabilize the timer start event test r=korthout a=saig0 ## Description * we assume that pinning the time causes more test cases to be unstable * so, first we try to stabilize the test by avoiding pinning the time ## Related issues contributes to #10272 Co-authored-by: Philipp Ossler <philipp.ossler@gmail.com>
10352: PI Modification: Reject direct termination of child process r=remcowesterhoud a=remcowesterhoud ## Description <!-- Please explain the changes you made here. --> It is possible to terminate a process instance using a modification command. This is done by adding terminate instructions for all of the active element instances of the process. When this happens the process will be fully terminated. However, it could be the case that a process is started with a call activity. This causes a complex situation. Terminating the child process would mean the parent process is "stuck". There is a few ways around this. 1. We could terminate the parent process. This could have unintended consequence for the user. 2. An incident is created on the parent process. The problem here is that the current incident logic makes it impossible to resolve these incidents. These could be worked around by doing another modification. That leaves the question why the user wouldn't modify the parent process in the first place. 3. We reject the command and advice the user to modify the parent process if the child process needs to be terminated. The option we are going for is option 3. When we detect that we are trying to terminate a process which is called by a parent process, the command will be rejected. The user received a message with the advice to modify the parent process instead. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #10347 10355: Run ScheduledTasks during processing r=Zelldon a=Zelldon ## Description Removes the guarantee that scheduled Tasks are only executed after commit and only if no inProcessing is going on. This is not necessary, since all actions we want to execute after a commit are executed via PostcommitTasks which are added to the ProcessingResult. See related comment and discussion #9723 (comment) Future improvements: * We can create our own actor for the SchedulingService this would decouple better than scheduling and processing * We can remove the multiple scheduling in the SchedulingService #10291 <!-- Please explain the changes you made here. --> ## Related issues <!-- Which issues are closed by this PR or are related --> closes #9723 related #10272 Co-authored-by: Remco Westerhoud <remco@westerhoud.nl> Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
TimerStartEventTest.shouldCreateCronTimer stack trace(run) io.camunda.zeebe.test.util.stream.StreamWrapperException: No event found matching the criteria at java.base/java.util.Optional.orElseThrow(Optional.java:403) at io.camunda.zeebe.test.util.stream.StreamWrapper.getFirst(StreamWrapper.java:77) at io.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldCreateCronTimer(TimerStartEventTest.java:1249) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:234) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:228) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:131) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) |
TimerStartEventTest.shouldTriggerAndCreateProcessInstance stack trace(run) Expecting actual: [TRIGGER, TRIGGER] to contain exactly (and in same order): [TRIGGER, TRIGGERED] but some elements were not found: [TRIGGERED] and others were not expected: [TRIGGER] |
I guess related #10058 |
TimerStartEventTest.shouldAvoidTimeShiftingio.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldAvoidTimeShifting Time elapsed: 5.479 s <<< ERROR! io.camunda.zeebe.test.util.stream.StreamWrapperException: No event found matching the criteria at java.base/java.util.Optional.orElseThrow(Optional.java:403) at io.camunda.zeebe.test.util.stream.StreamWrapper.getFirst(StreamWrapper.java:77) at io.camunda.zeebe.engine.processing.timer.TimerStartEventTest.shouldAvoidTimeShifting(TimerStartEventTest.java:1169) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:234) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:228) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:131) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) |
|
|
|
10867: Unflake timer start event test r=remcowesterhoud a=korthout ## Description <!-- Please explain the changes you made here. --> Most cases in the timer start event test were suffering from flakiness. This stabilizes these tests again. The cause of the flakiness was a race condition between time traveling and scheduling an upcoming timer: - the time would be increased after the deployment is completed - that includes writing all the deployment events (up to and including fully_distributed) - it does not await post-commit task execution - upcoming timers are scheduled in a post-commit task - this post-commit task could be executed after the time traveling - in that case the timer does not trigger after the time travel, as it is scheduled in the future This changes the time travel to guarantee that the post-commit tasks have been executed. It does that by awaiting that the engine reaches the end of the log. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #10272 Co-authored-by: Nico Korthout <nico.korthout@camunda.com>
10893: [Backport stable/8.0] Unflake timer start event test r=remcowesterhoud a=korthout # Description Backport of #10867 to `stable/8.0`. relates to #10272 --- Reviewer, I had to resolve a few conflicts: - some import changes - new tests in TimerStartEventTest were changed, but these tests don't exist in 8.0 Co-authored-by: Nico Korthout <nico.korthout@camunda.com> Co-authored-by: Remco Westerhoud <remco@westerhoud.nl>
TimerStartEventTest.shouldTriggerAndCreateProcessInstance flaked in |
@lzgabel the commit on which that action was run does not yet contain the fix (f784cc5). After a rebase on (or merge with)
|
Observed this in https://github.com/camunda/zeebe/actions/runs/3436982198/jobs/5731160232
|
@deepthidevaki Thanks for reporting. This run contained the fix (f93a7e1 is an ancestor of 640074b). Let's re-open this issue.
|
I just got another case https://github.com/camunda/zeebe/actions/runs/3437675187/jobs/5732753249 |
Summary
Failures
Example assertion failure
Hypotheses
Logs
Logs
The text was updated successfully, but these errors were encountered: