In order to confirm that the test VM registry values had been correctly assigned (to enable auto logon, disable legal notice, screensaver etc) during my PowerShell script execution, I added a further PowerShell debug script to the build to output each relevant registry value to the build console (all are correctly assigned). One of the prerequisites for the DTA step to execute successfully is that AutoLogon is enabled on the test VM I had done this with a simple PowerShell script, executed prior to the DTA task. The logs offer no clue as to what the problem might be. Unfortunately, the DTA task only writes logs to the usual location on the test VM when the DTAExecutionHost.exe is manually closed on the server after the step has failed. If you are running test agent in interactive mode, please make sure that autologon is enabled and no legal notice is displayed on logon in test machines. System.Exception: Stopping test machine setup as it exceeded maximum number of reboots. Task 'SetupTestMachineForUiTests' for machine :5985's Error : Eventually (~20 minutes), the step crashed out with the following error: However, this time the step would not complete no matter how many times it executed. I had encountered this issue with this build task before albeit intermittently. Task 'SetupTestMachineForUiTests' on machine ':5985' is taking time. I initially ran into difficulty with the DTA task executing hanging: This build executed successfully in the past but spontaneously stopped working recently. The build includes execution of functional UI tests (Run Functional Tests) and the required accompanying preparatory test agent deployment step (Deploy Test Agent).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |