Diagnostics and fix for pipeline test failures#5975
Diagnostics and fix for pipeline test failures#5975JohnMcPMS merged 5 commits intomicrosoft:masterfrom
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
Examining the trace shows that OS deployment is requesting that the package be terminated after we have started trying to use it. This ends up killing the COM server out from under the PowerShell usage. Added the provider for deployment to understand why it is requesting that since our Repair should no longer be running at that point. |
|
The tracing shows that the issue is coming from AppReadiness registering the package due to our provisioning call. Moving to install only for the current user removes that asynchronous behavior (there does not appear to be a good reason for the provisioning in the original PR). I'm not currently aware of any method for us to wait for the AppReadiness registration to complete so that we can prevent the caller from proceeding to use the package. |
florelis
left a comment
There was a problem hiding this comment.
Nit: Update title to say you're also fixing the failures?
Change
Add more data to try and get to the bottom of the test failures in the pipeline.
Most importantly adds an extensive tracing that wraps the failing task to hopefully get more details.
Also adds the PID to the startup logging and a message to indicate that the server is exiting due to its event being signaled. These won't actually be used in the pipeline right now, as the failure is happening the in GA PS/COM interaction. But they are helpful for diagnosing issues anyway.
Microsoft Reviewers: Open in CodeFlow