Azure / azure-functions-durable-extension

Durable Task Framework extension for Azure Functions
MIT License
717 stars 271 forks source link

Orchestration failed without ExecutionId. #574

Open arturohernandez10 opened 5 years ago

arturohernandez10 commented 5 years ago

Describe the bug An orchestration fails without a log entry

Investigative information

Expected behavior The orchestrator is supposed to launch an activity and it does not. It has in the past.

Actual behavior The orchestrator failed. And it does not even have an execution id. What leads me to think it didn't execute user code.

Additional context

This is a simple issue, I just need to either know what happened. Or be able to find the cause. I did recently updated dlls:

-    <PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.2" />
-    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.DurableTask" Version="1.6.2" />
-    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="3.0.1" />
+    <PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.3" />
+    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.DurableTask" Version="1.7.0" />
+    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="3.0.2" />

And I believe I upgraded the taskshub a few days ago as well. It's not automated with a release.

cgillum commented 5 years ago

I'm afraid there isn't enough information here to figure out what might be going on. I see several calls to RecreateScorecardOrchestration, but I don't see any failures. I also do not see any orchestrations in the system with an ID: 02ece9eb4fc5437fa1e7fc6067914d47. Is there any additional information you can provide which might help figure out what the problem is?

arturohernandez10 commented 5 years ago

C:\Projects****>func durable get-runtime-status --id 3e5fbc835c274524841830f6e01ae30e instances --task-hub-name v0743 { "CompletedTime": "0001-01-01T00:00:00", "CompressedSize": 0, "CreatedTime": "2019-01-15T14:57:34.6535491Z", "Input": null, "LastUpdatedTime": "2019-01-15T14:57:34.7121466Z", "Name": "RecreateScorecardOrchestration", "OrchestrationInstance": { "InstanceId": "3e5fbc835c274524841830f6e01ae30e", "ExecutionId": null }, "OrchestrationStatus": 6, "Output": null, "ParentInstance": null, "Size": 0, "Status": null, "Tags": null, "Version": "" }

C:\Projects****>func durable get-runtime-status --id 02ece9eb4fc5437fa1e7fc6067914d47 instances --task-hub-name v0743 Could not find an orchestration instance with id '02ece9eb4fc5437fa1e7fc6067914d47'

C:\Projects***>func durable get-runtime-status --id 02ece9eb4fc5437fa1e7fc6067914d47 instances --task-hub-name v0742 { "CompletedTime": "0001-01-01T00:00:00", "CompressedSize": 0, "CreatedTime": "2019-01-09T18:58:05.4936482Z", "Input": null, "LastUpdatedTime": "2019-01-09T18:58:12.5621876Z", "Name": "RecreateScorecardOrchestration", "OrchestrationInstance": { "InstanceId": "02ece9eb4fc5437fa1e7fc6067914d47", "ExecutionId": "93427c111d33442bbb9f4b5699747c82" }, "OrchestrationStatus": 1, "Output": null, "ParentInstance": null, "Size": 0, "Status": null, "Tags": null, "Version": "" }

C:\Projects****>func durable get-history --id 3e5fbc835c274524841830f6e01ae30e instances --task-hub-name v0743 []

arturohernandez10 commented 5 years ago

My mistake it was 3e5fbc835c274524841830f6e01ae30e.