I have a UWP project with a test project. Locally test passes. I configured Azure DevOps pipeline for these projects. The test passes on azure DevOps as well! But the Test Task fails with next error:
DEP7100: Failed to activate app '748f39e5-19db-43a2-ba4a-fb4b137bdbf3_4r2k005x7atxw!vstest.executionengine.universal.App' with parameters '--port 50037 --endpoint 127.0.0.1:050037 --role client --parentprocessid 5044 --telemetryoptedin false'. The app didn't start.
The app didn't start.
DEP7100: Failed to activate app '748f39e5-19db-43a2-ba4a-fb4b137bdbf3_4r2k005x7atxw!vstest.executionengine.universal.App' with parameters '--port 50037 --endpoint 127.0.0.1:050037 --role client --parentprocessid 5044 --telemetryoptedin false'. The app didn't start.
The app didn't start.
App activation failed.
Failed to initialize client proxy: could not connect to test process.
DEP7100: Failed to activate app '748f39e5-19db-43a2-ba4a-fb4b137bdbf3_4r2k005x7atxw!vstest.executionengine.universal.App' with parameters '--port 50040 --endpoint 127.0.0.1:050040 --role client --parentprocessid 5044 --telemetryoptedin false'. The app didn't start.
The app didn't start.
DEP7100: Failed to activate app '748f39e5-19db-43a2-ba4a-fb4b137bdbf3_4r2k005x7atxw!vstest.executionengine.universal.App' with parameters '--port 50040 --endpoint 127.0.0.1:050040 --role client --parentprocessid 5044 --telemetryoptedin false'. The app didn't start.
The app didn't start.
Here you can find repo with UWP project and test project: https://dev.azure.com/melashkina0755/UWP_App_With_Tests
Here is the last build and you can see, that there were 2 tests and they passed (1 for x84 1 for x64): https://dev.azure.com/melashkina0755/UWP_App_With_Tests/_build/results?buildId=3&view=ms.vss-test-web.build-test-results-tab
And here is build itself: https://dev.azure.com/melashkina0755/UWP_App_With_Tests/_build/results?buildId=3&view=logs
Not sure what is wrong in my configuration?
UPDATE
I tried new things:
1) I created another brach with a self-hosted agent, it's called with_self_hosted_agent
. The last build for this is here. As self-hosted agent I used my laptop. Build succeded, but tests didn't even run (no luck): https://dev.azure.com/melashkina0755/UWP_App_With_Tests/_build/results?buildId=10
2) I changed to only x86 architecture. Build for the only x86 is here (no luck): https://dev.azure.com/melashkina0755/UWP_App_With_Tests/_build/results?buildId=9
3) Tried version 1.3.1 on another branch called with_1.3.1_version. The same result as for master branch: tests are running, but the build is failed. (no luck): https://dev.azure.com/melashkina0755/UWP_App_With_Tests/_build/results?buildId=11