Skip to content

Instantly share code, notes, and snippets.

@robgha01
Created June 21, 2016 12:31
Show Gist options
  • Save robgha01/9261fcfccf8201b2d03532866ae6ce1c to your computer and use it in GitHub Desktop.
Save robgha01/9261fcfccf8201b2d03532866ae6ce1c to your computer and use it in GitHub Desktop.
2016-06-21T11:31:15.1296266Z Checking if artifacts directory exists: C:\a\1\a
2016-06-21T11:31:15.1306400Z Creating artifacts directory.
2016-06-21T11:31:15.1316301Z Checking if test results directory exists: C:\a\1\TestResults
2016-06-21T11:31:15.1316301Z Creating test results directory.
2016-06-21T11:31:15.1326293Z Creating binaries directory.
2016-06-21T11:31:15.1766288Z Starting: Get sources
2016-06-21T11:31:15.1866281Z Entering GitSourceProvider.PrepareRepositoryAsync
2016-06-21T11:31:15.1876298Z Repository type=TfsGit
2016-06-21T11:31:15.1876298Z localPath=C:\a\1\s
2016-06-21T11:31:15.1876298Z clean=False
2016-06-21T11:31:15.1876298Z sourceBranch=refs/heads/master
2016-06-21T11:31:15.1876298Z sourceVersion=c44f5c8ccfec18b10ff9ed68cd9e73326bdd57ee
2016-06-21T11:31:15.1876298Z Syncing repository: BlueLeet.Common (Git)
2016-06-21T11:31:15.1886345Z repository url=https://blueleet.visualstudio.com/Main/_git/BlueLeet.Common
2016-06-21T11:31:15.1916303Z checkoutSubmodules=False
2016-06-21T11:31:15.3906285Z Starting clone
2016-06-21T11:31:16.7866600Z Checking out c44f5c8ccfec18b10ff9ed68cd9e73326bdd57ee to C:\a\1\s
2016-06-21T11:31:16.8816586Z Checked out branch refs/heads/master for repository BlueLeet.Common at commit c44f5c8ccfec18b10ff9ed68cd9e73326bdd57ee
2016-06-21T11:31:16.8816586Z Leaving GitSourceProvider.PrepareRepositoryAsync
2016-06-21T11:31:17.0826588Z Running tasks
2016-06-21T11:31:17.1216589Z Starting task: Download latest nuget.exe
2016-06-21T11:31:17.1696582Z . 'C:\Users\buildguest\AppData\Local\Temp\01ff63e1-f994-474e-8058-d5ca98e9a707.ps1'
2016-06-21T11:31:17.2036587Z C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$env:PSModulePath= $env:PSModulePath + ';' + $([system.io.path]::combine($env:AGENT_HOMEDIRECTORY, 'agent\worker\modules')); try { [System.Security.Cryptography.ProtectedData] | Out-Null } catch { Write-Verbose 'Adding assemly: System.Security' ; Add-Type -AssemblyName 'System.Security' ; [System.Security.Cryptography.ProtectedData] | Out-Null } ; Invoke-Expression -Command ([System.Text.Encoding]::UTF8.GetString([System.Security.Cryptography.ProtectedData]::Unprotect([System.Convert]::FromBase64String('AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAHMPBIXut+Uavv4npXAvxwgAAAAACAAAAAAAQZgAAAAEAACAAAABemYVAqWD1lKNIxu3DjYF+9Xpijiue67OkbhbynAgurwAAAAAOgAAAAAIAACAAAACV6fIfJEb2suYBp78xjAlQlf2AakbMl8Xm0svTE02vNWAAAAD/e1CD0LEmfI6uyOyVBydho7ufSfUSYm/8zg1Qign0LiD55oXrajrSgGQ1lmb314WD3Vmxo7FeCDVXFBf+NuIPUu5yhwUyfDjNQeha3Y3xzlTNroIfuFJ6g32K7H2pVutAAAAAS4Ih1PWGR2wi2/R6QYxMP10HkW+hC1+cuFa2/zJyfxxTpgc2mHcZ7B1tytvYfm709StOxXqoGbB/daJb4cPkQA=='), [System.Convert]::FromBase64String('X9ZpDvw+LQc8H+97KYxJbQ=='), [System.Security.Cryptography.DataProtectionScope]::CurrentUser))) ; if (!(Test-Path -LiteralPath variable:\LastExitCode)) { Write-Verbose 'Last exit code is not set.' } else { Write-Verbose ('$LastExitCode: {0}' -f $LastExitCode) ; exit $LastExitCode }"
2016-06-21T11:31:17.2046584Z Executing the following powershell script. (workingFolder = C:\a\1\s)
2016-06-21T11:31:17.2056598Z C:\Users\buildguest\AppData\Local\Temp\01ff63e1-f994-474e-8058-d5ca98e9a707.ps1
2016-06-21T11:31:29.7438865Z Finishing task: PowerShell
2016-06-21T11:31:29.7628881Z Starting task: Cake
2016-06-21T11:31:29.9068862Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.101.2\tasks\Cake\0.1.6\Cake.ps1
2016-06-21T11:31:30.3003882Z Creating tools directory...
2016-06-21T11:31:31.5556238Z Installing Cake...
2016-06-21T11:31:33.6594754Z Installing 'Cake 0.13.0'.
2016-06-21T11:31:34.0572132Z Successfully installed 'Cake 0.13.0'.
2016-06-21T11:31:34.0822110Z C:\a\1\s\tools\Cake\Cake.exe "C:\a\1\s\Build\build.module.cake" -target="Build-Nuget" -verbosity="Diagnostic" -Experimental -targetOutput="C:\a\1\a" -projectName="BlueLeet.Common"
2016-06-21T11:31:34.3968389Z Module directory does not exist.
2016-06-21T11:31:34.4648383Z Analyzing build script...
2016-06-21T11:31:34.4758401Z Analyzing C:/a/1/s/Build/build.module.cake...
2016-06-21T11:31:34.4948387Z Processing build script...
2016-06-21T11:31:34.4968387Z Installing tools...
2016-06-21T11:31:34.5008386Z Creating directory C:/a/1/s/Build/tools
2016-06-21T11:31:34.5028384Z Installing NuGet package NUnit.ConsoleRunner...
2016-06-21T11:31:34.5688371Z ##[error]Error: Cake.Core.CakeException: Could not locate nuget.exe.
2016-06-21T11:31:34.5698380Z ##[error] at Cake.Core.IO.NuGet.NuGetToolResolver.ResolvePath()
2016-06-21T11:31:34.5698380Z ##[error] at Cake.NuGet.NuGetPackageInstaller.GetNuGetPath()
2016-06-21T11:31:34.5708386Z ##[error] at Cake.NuGet.NuGetPackageInstaller.Install(PackageReference package, PackageType type, DirectoryPath path)
2016-06-21T11:31:34.5718392Z ##[error] at Cake.Core.Scripting.ScriptProcessor.InstallTools(ScriptAnalyzerResult analyzerResult, DirectoryPath installPath)
2016-06-21T11:31:34.5730269Z ##[error] at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments)
2016-06-21T11:31:34.5738390Z ##[error] at Cake.Commands.BuildCommand.Execute(CakeOptions options)
2016-06-21T11:31:34.5748386Z ##[error] at Cake.CakeApplication.Run(CakeOptions options)
2016-06-21T11:31:34.5758383Z ##[error] at Cake.Program.Main()
2016-06-21T11:31:34.5928380Z ##[error]System.Exception: Unexpected exit code 1 returned from tool Cake.exe
2016-06-21T11:31:34.5938392Z ##[error] at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeToolCmdlet.ProcessRecord()
2016-06-21T11:31:34.5948393Z ##[error] at System.Management.Automation.CommandProcessor.ProcessRecord()
2016-06-21T11:31:34.6288404Z Finishing task: Cake
2016-06-21T11:31:34.6298401Z ##[error]System.Exception: Task Cake failed. This caused the job to fail. Look at the logs for the task for more details.
2016-06-21T11:31:34.6308391Z ##[error] at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.Run(IJobContext jobContext, IJobRequest job, IJobExtension jobExtension, CancellationTokenSource tokenSource)
2016-06-21T11:31:15.1886345Z Syncing repository: BlueLeet.Common (Git)
2016-06-21T11:31:15.3906285Z Starting clone
2016-06-21T11:31:16.7866600Z Checking out c44f5c8ccfec18b10ff9ed68cd9e73326bdd57ee to C:\a\1\s
2016-06-21T11:31:16.8816586Z Checked out branch refs/heads/master for repository BlueLeet.Common at commit c44f5c8ccfec18b10ff9ed68cd9e73326bdd57ee
2016-06-21T11:31:17.1696582Z . 'C:\Users\buildguest\AppData\Local\Temp\01ff63e1-f994-474e-8058-d5ca98e9a707.ps1'
2016-06-21T11:31:17.2046584Z Executing the following powershell script. (workingFolder = C:\a\1\s)
2016-06-21T11:31:17.2056598Z C:\Users\buildguest\AppData\Local\Temp\01ff63e1-f994-474e-8058-d5ca98e9a707.ps1
2016-06-21T11:31:29.9068862Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.101.2\tasks\Cake\0.1.6\Cake.ps1
2016-06-21T11:31:30.3003882Z Creating tools directory...
2016-06-21T11:31:31.5556238Z Installing Cake...
2016-06-21T11:31:33.6594754Z Installing 'Cake 0.13.0'.
2016-06-21T11:31:34.0572132Z Successfully installed 'Cake 0.13.0'.
2016-06-21T11:31:34.0822110Z C:\a\1\s\tools\Cake\Cake.exe "C:\a\1\s\Build\build.module.cake" -target="Build-Nuget" -verbosity="Diagnostic" -Experimental -targetOutput="C:\a\1\a" -projectName="BlueLeet.Common"
2016-06-21T11:31:34.3968389Z Module directory does not exist.
2016-06-21T11:31:34.4648383Z Analyzing build script...
2016-06-21T11:31:34.4758401Z Analyzing C:/a/1/s/Build/build.module.cake...
2016-06-21T11:31:34.4948387Z Processing build script...
2016-06-21T11:31:34.4968387Z Installing tools...
2016-06-21T11:31:34.5008386Z Creating directory C:/a/1/s/Build/tools
2016-06-21T11:31:34.5028384Z Installing NuGet package NUnit.ConsoleRunner...
2016-06-21T11:31:34.5688371Z ##[error]Error: Cake.Core.CakeException: Could not locate nuget.exe.
2016-06-21T11:31:34.5698380Z ##[error] at Cake.Core.IO.NuGet.NuGetToolResolver.ResolvePath()
2016-06-21T11:31:34.5698380Z ##[error] at Cake.NuGet.NuGetPackageInstaller.GetNuGetPath()
2016-06-21T11:31:34.5708386Z ##[error] at Cake.NuGet.NuGetPackageInstaller.Install(PackageReference package, PackageType type, DirectoryPath path)
2016-06-21T11:31:34.5718392Z ##[error] at Cake.Core.Scripting.ScriptProcessor.InstallTools(ScriptAnalyzerResult analyzerResult, DirectoryPath installPath)
2016-06-21T11:31:34.5730269Z ##[error] at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments)
2016-06-21T11:31:34.5738390Z ##[error] at Cake.Commands.BuildCommand.Execute(CakeOptions options)
2016-06-21T11:31:34.5748386Z ##[error] at Cake.CakeApplication.Run(CakeOptions options)
2016-06-21T11:31:34.5758383Z ##[error] at Cake.Program.Main()
2016-06-21T11:31:34.5928380Z ##[error]System.Exception: Unexpected exit code 1 returned from tool Cake.exe
2016-06-21T11:31:34.5938392Z ##[error] at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeToolCmdlet.ProcessRecord()
2016-06-21T11:31:34.5948393Z ##[error] at System.Management.Automation.CommandProcessor.ProcessRecord()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment