service-fabric
service-fabric copied to clipboard
[BUG] Service Fabric Explorer reporting UnexpectedTermination for SetupEntryPoint bat script
Describe the bug When using the SetupEntryPoint to call a batch script at startup the script will exit with status code 0 to indicate it successfully completed, however SFX is still showing these process exited events and Unexpected and marking them as errors. this makes it hard to track when the scripts are actually failing.
Area/Component: Monitoring?
To Reproduce Steps to reproduce the behavior:
- follow the steps outlined here to run a setup script: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-run-script-at-service-startup
- Navigate to SFX
- Note that the Setup.bat script is exiting with 0 and no std error output and is still shown as error:
Expected behavior I would expect the startup script to exit with status 0 to indicate a success and there should be no error events.
Observed behavior:
Screenshots
Service Fabric Runtime Version: 9.0.*
Environment: Standalone but also on azure clusters
- OS: Windows 11
- Version 9.0.1048
If this is a regression, which version did it regress from? no
Assignees: /cc @microsoft/service-fabric-triage
We are having the same issue.
Azure Cluster version: 9.1.1390.9590
Anyone at MS seeing this?