MHatcherEzp
2 years agoNew Contributor
TestExec running via Jenkins agent throws a permissions error despite all programs running as admin
I am about at my wits end. I am attempting to use Jenkins to kick off test automation that utilizes TestExecute and I keep getting this error despite literally every file, folder, etc. is set to run in full admin mode. Highlighted the error in RED and bolded the text. I am at a loss right now, NOTHING I do seems to make a diff for that error. I have tried running as a service, tried running TE and everything else with admin privileges, tried using the System user, tried using and Admin user. Nothing seems to be elevated enough for this process on WIN 10. Some context, I am updating our test automation VMs from Win 7 (Does NOT exhibit this error) to Win 10 (DOES exhibit this error).
[TestComplete] The test execution started (MasterTests). [TestComplete] Found TestComplete/TestExecute installations: Type: TE, Version: 15.40.421.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TE, Version: 15.40.421.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe" [TestComplete] [WARNING] The node is connected via Java Web Start (JNLP). In this mode, the "Run interactive user session" property of the TestComplete Test step is ignored. TestComplete (or TestExecute) will work in the current user session. [TestComplete] Launching the test runner. $ "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe" "c:\jenkins\workspace\test MasterTests\MasterTests.pjs" /run /SilentMode /ForceConversion /ns /exit "/ExportLog:c:\jenkins\workspace\test MasterTests\1265255.tclogx" "/ExportLog:c:\jenkins\workspace\test MasterTests\1265255.htmlx" "/ErrorLog:c:\jenkins\workspace\test MasterTests\1265255.txt" "/ExportLog:c:\jenkins\workspace\test MasterTests\1265255.mht" /DoNotShowLog /ForceConversion /SQL=false /Run [TestComplete] [ERROR] An exception occurred: java.io.IOException: CreateProcess error=740, The requested operation requires elevation. [TestComplete] Marking the build as FAILED. [TestComplete] [WARNING] Unable to publish test results (xml data is empty). [TestComplete] The test execution finished (MasterTests). Build step 'Conditional step (single)' changed build result to FAILURE Strings match run condition: string 1=[All], string 2=[All] Run condition [Not] preventing perform for step [TestComplete Test] Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 3 second [Office365connector] No webhooks to notify Finished: FAILURE