Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- Stored Workflows:
- ExecutionId{domain='unit-test', execution=WorkflowExecution(workflowId:46aee950-6e8c-4664-a05e-24a0786764e9, runId:cc1ad3fc-a0c3-492d-bae8-d5eb06a45819)}
- {
- 1: WorkflowExecutionStarted [0 ms] {
- WorkflowType = FileProcessingWorkflow::processFile;
- ExecutionStartToCloseTimeoutSeconds = 30;
- TaskStartToCloseTimeoutSeconds = 10;
- TaskList = FileProcessing;
- Attempt = 0;
- ParentInitiatedEventId = 0;
- ExpirationTimestamp = 0;
- Input = ["http://www.google.com/","http://dummy"]
- },
- 2: DecisionTaskScheduled [0 ms] {
- TaskList = FileProcessing;
- Attempt = 0;
- StartToCloseTimeoutSeconds = 10
- },
- 3: DecisionTaskStarted [11 ms] {
- ScheduledEventId = 1;
- Identity = 93767@joe-cabezas
- },
- 4: DecisionTaskCompleted [191 ms] {
- ScheduledEventId = 1;
- StartedEventId = 0;
- Identity = 93767@joe-cabezas
- },
- 5: MarkerRecorded [191 ms] {
- Details = {
- "id": "c661391c-feaa-3148-bcb8-a2c401953b50",
- "eventId": 5,
- "data": [
- 123,
- 34,
- 105,
- 110,
- 105,
- 116,
- 105,
- 97,
- 108,
- 73,
- 110,
- 116,
- 101,
- 114,
- 118,
- 97,
- 108,
- 34,
- 58,
- 123,
- 34,
- 115,
- 101,
- 99,
- 111,
- 110,
- 100,
- 115,
- 34,
- 58,
- 49,
- 44,
- 34,
- 110,
- 97,
- 110,
- 111,
- 115,
- 34,
- 58,
- 48,
- 125,
- 44,
- 34,
- 98,
- 97,
- 99,
- 107,
- 111,
- 102,
- 102,
- 67,
- 111,
- 101,
- 102,
- 102,
- 105,
- 99,
- 105,
- 101,
- 110,
- 116,
- 34,
- 58,
- 50,
- 46,
- 48,
- 44,
- 34,
- 101,
- 120,
- 112,
- 105,
- 114,
- 97,
- 116,
- 105,
- 111,
- 110,
- 34,
- 58,
- 123,
- 34,
- 115,
- 101,
- 99,
- 111,
- 110,
- 100,
- 115,
- 34,
- 58,
- 49,
- 48,
- 44,
- 34,
- 110,
- 97,
- 110,
- 111,
- 115,
- 34,
- 58,
- 48,
- 125,
- 44,
- 34,
- 109,
- 97,
- 120,
- 105,
- 109,
- 117,
- 109,
- 65,
- 116,
- 116,
- 101,
- 109,
- 112,
- 116,
- 115,
- 34,
- 58,
- 48,
- 44,
- 34,
- 109,
- 97,
- 120,
- 105,
- 109,
- 117,
- 109,
- 73,
- 110,
- 116,
- 101,
- 114,
- 118,
- 97,
- 108,
- 34,
- 58,
- 110,
- 117,
- 108,
- 108,
- 44,
- 34,
- 100,
- 111,
- 78,
- 111,
- 116,
- 82,
- 101,
- 116,
- 114,
- 121,
- 34,
- 58,
- 110,
- 117,
- 108,
- 108,
- 125
- ],
- "accessCount": 0
- };
- DecisionTaskCompletedEventId = 3;
- MarkerName = MutableSideEffect
- },
- 6: ActivityTaskScheduled [191 ms] {
- TaskList = FileProcessing;
- ActivityType = StoreActivities::download;
- ActivityId = 1;
- Domain = unit-test;
- DecisionTaskCompletedEventId = 3;
- ScheduleToCloseTimeoutSeconds = 10;
- ScheduleToStartTimeoutSeconds = 10;
- StartToCloseTimeoutSeconds = 10;
- HeartbeatTimeoutSeconds = 10;
- Input = "http://www.google.com/"
- },
- 7: ActivityTaskStarted [194 ms] {
- ScheduledEventId = 6;
- Identity = 93767@joe-cabezas;
- Attempt = 0
- },
- 8: ActivityTaskCompleted [206 ms] {
- Result = {"hostTaskList":"host1","fileName":"input_file"};
- ScheduledEventId = 6;
- StartedEventId = 7;
- Identity = 93767@joe-cabezas
- },
- 9: DecisionTaskScheduled [206 ms] {
- TaskList = FileProcessing;
- Attempt = 0;
- StartToCloseTimeoutSeconds = 10
- },
- 10: DecisionTaskStarted [206 ms] {
- ScheduledEventId = 9;
- Identity = 9bc9e2e5-ea39-4764-89cb-37ee22422436
- },
- 11: DecisionTaskCompleted [218 ms] {
- ScheduledEventId = 9;
- StartedEventId = 0;
- Identity = 93767@joe-cabezas
- },
- 12: ActivityTaskScheduled [218 ms] {
- TaskList = host1;
- ActivityType = StoreActivities::process;
- ActivityId = 2;
- Domain = unit-test;
- DecisionTaskCompletedEventId = 10;
- ScheduleToCloseTimeoutSeconds = 10;
- ScheduleToStartTimeoutSeconds = 10;
- StartToCloseTimeoutSeconds = 10;
- HeartbeatTimeoutSeconds = 10;
- Input = "input_file"
- },
- 13: ActivityTaskStarted [218 ms] {
- ScheduledEventId = 12;
- Identity = 93767@joe-cabezas;
- Attempt = 0
- },
- 14: ActivityTaskCompleted [219 ms] {
- Result = "output_file";
- ScheduledEventId = 12;
- StartedEventId = 13;
- Identity = 93767@joe-cabezas
- },
- 15: DecisionTaskScheduled [219 ms] {
- TaskList = FileProcessing;
- Attempt = 0;
- StartToCloseTimeoutSeconds = 10
- },
- 16: DecisionTaskStarted [219 ms] {
- ScheduledEventId = 15;
- Identity = 9bc9e2e5-ea39-4764-89cb-37ee22422436
- },
- 17: DecisionTaskCompleted [221 ms] {
- ScheduledEventId = 15;
- StartedEventId = 0;
- Identity = 93767@joe-cabezas
- },
- 18: ActivityTaskScheduled [221 ms] {
- TaskList = host1;
- ActivityType = StoreActivities::upload;
- ActivityId = 3;
- Domain = unit-test;
- DecisionTaskCompletedEventId = 16;
- ScheduleToCloseTimeoutSeconds = 10;
- ScheduleToStartTimeoutSeconds = 10;
- StartToCloseTimeoutSeconds = 10;
- HeartbeatTimeoutSeconds = 10;
- Input = ["output_file","http://dummy"]
- },
- 19: ActivityTaskStarted [221 ms] {
- ScheduledEventId = 18;
- Identity = 93767@joe-cabezas;
- Attempt = 0
- },
- 20: ActivityTaskCompleted [222 ms] {
- ScheduledEventId = 18;
- StartedEventId = 19;
- Identity = 93767@joe-cabezas
- },
- 21: DecisionTaskScheduled [222 ms] {
- TaskList = FileProcessing;
- Attempt = 0;
- StartToCloseTimeoutSeconds = 10
- },
- 22: DecisionTaskStarted [222 ms] {
- ScheduledEventId = 21;
- Identity = 9bc9e2e5-ea39-4764-89cb-37ee22422436
- },
- 23: DecisionTaskCompleted [227 ms] {
- ScheduledEventId = 21;
- StartedEventId = 0;
- Identity = 93767@joe-cabezas
- },
- 24: WorkflowExecutionCompleted [227 ms] {
- Result = ;
- DecisionTaskCompletedEventId = 22
- }
- }
- Self Advancing Timer Lock Events:
- 2019-05-24 11:11:45.048 L 1 SelfAdvancingTimerImpl constructor
- 2019-05-24 11:11:45.049 L 2 TestWorkflowStoreImpl constructor
- 2019-05-24 11:11:45.052 L 3 TestWorkflowEnvironmentInternal constructor
- 2019-05-24 11:11:45.544 L 4 updateLocks TestWorkflowStoreImpl save
- 2019-05-24 11:11:45.544 U 3 TestWorkflowStoreImpl save
- 2019-05-24 11:11:45.544 U 2 schedule task for workflow execution timeout
- 2019-05-24 11:11:45.55 U 1 TimeLockingWorkflowStub getResult
- 2019-05-24 11:11:45.771 U 0 updateLocks TestWorkflowStoreImpl save
- 2019-05-24 11:11:45.772 L 1 TimeLockingWorkflowStub getResult
- test timed out after 2 seconds
- org.junit.runners.model.TestTimedOutException: test timed out after 2 seconds
- at sun.misc.Unsafe.park(Native Method)
- at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
- at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
- at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
- at com.uber.cadence.internal.common.InternalUtils.lambda$awaitTermination$1(InternalUtils.java:105)
- at com.uber.cadence.internal.common.InternalUtils$$Lambda$95/2146679321.run(Unknown Source)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:113)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:101)
- at com.uber.cadence.internal.worker.PollTaskExecutor.awaitTermination(PollTaskExecutor.java:106)
- at com.uber.cadence.internal.common.InternalUtils.lambda$awaitTermination$0(InternalUtils.java:93)
- at com.uber.cadence.internal.common.InternalUtils$$Lambda$96/1239634588.run(Unknown Source)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:113)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:90)
- at com.uber.cadence.internal.worker.WorkflowWorker.awaitTermination(WorkflowWorker.java:198)
- at com.uber.cadence.internal.sync.SyncWorkflowWorker.awaitTermination(SyncWorkflowWorker.java:121)
- at com.uber.cadence.internal.common.InternalUtils.lambda$awaitTermination$0(InternalUtils.java:93)
- at com.uber.cadence.internal.common.InternalUtils$$Lambda$96/1239634588.run(Unknown Source)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:113)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:90)
- at com.uber.cadence.worker.Worker.awaitTermination(Worker.java:298)
- at com.uber.cadence.worker.Worker.access$1200(Worker.java:66)
- at com.uber.cadence.worker.Worker$Factory.lambda$awaitTermination$2(Worker.java:665)
- at com.uber.cadence.worker.Worker$Factory$$Lambda$97/663884348.run(Unknown Source)
- at com.uber.cadence.internal.common.InternalUtils.awaitTermination(InternalUtils.java:113)
- at com.uber.cadence.worker.Worker$Factory.awaitTermination(Worker.java:664)
- at com.uber.cadence.internal.sync.TestWorkflowEnvironmentInternal.close(TestWorkflowEnvironmentInternal.java:201)
- at com.uber.cadence.samples.fileprocessing.FileProcessingTest.tearDown(FileProcessingTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
- at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
- at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.lang.Thread.run(Thread.java:748)
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement