Closed BlooDCrescent closed 4 years ago
I think this is a usage problem and independent of the operating system:
You should enter -t build
(you have build -t build
):
or use the Complete command line
Field:
I tried to use the same FAKE version and command line arguments, but with no success The error still persists
2020-02-08T05:08:08.2389599Z ##[debug]Evaluating condition for step: 'Execute the build.fsx FAKE 5 script'
2020-02-08T05:08:08.2390267Z ##[debug]Evaluating: succeeded()
2020-02-08T05:08:08.2390451Z ##[debug]Evaluating succeeded:
2020-02-08T05:08:08.2390667Z ##[debug]=> True
2020-02-08T05:08:08.2390999Z ##[debug]Result: True
2020-02-08T05:08:08.2391261Z ##[section]Starting: Execute the build.fsx FAKE 5 script
2020-02-08T05:08:08.2396156Z ==============================================================================
2020-02-08T05:08:08.2396223Z Task : FAKE 5 Runner
2020-02-08T05:08:08.2396260Z Description : Runs a FAKE 5 build script.
2020-02-08T05:08:08.2396365Z Version : 1.0.8
2020-02-08T05:08:08.2396406Z Author : Matthias Dittrich
2020-02-08T05:08:08.2396441Z Help : This task downloads and caches the FAKE runner and executes the FAKE 5 build script specified.
2020-02-08T05:08:08.2396538Z ==============================================================================
2020-02-08T05:08:08.4195330Z ##[debug]agent.TempDirectory=/opt/myagent/_work/_temp
2020-02-08T05:08:08.4234947Z ##[debug]loading inputs and endpoints
2020-02-08T05:08:08.4241254Z ##[debug]loading INPUT_FAKEVERSION
2020-02-08T05:08:08.4255837Z ##[debug]loading INPUT_FAKESCRIPT
2020-02-08T05:08:08.4261185Z ##[debug]loading INPUT_SCRIPTARGUMENTS
2020-02-08T05:08:08.4264598Z ##[debug]loading INPUT_WORKINGDIRECTORY
2020-02-08T05:08:08.4271714Z ##[debug]loading INPUT_PREVENTSECRETS
2020-02-08T05:08:08.4274996Z ##[debug]loading INPUT_FAILONSTDERROR
2020-02-08T05:08:08.4278505Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2020-02-08T05:08:08.4281977Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2020-02-08T05:08:08.4284908Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2020-02-08T05:08:08.4292794Z ##[debug]loaded 9
2020-02-08T05:08:08.4310762Z ##[debug]Agent.ProxyUrl=undefined
2020-02-08T05:08:08.4314264Z ##[debug]Agent.CAInfo=undefined
2020-02-08T05:08:08.4316795Z ##[debug]Agent.ClientCert=undefined
2020-02-08T05:08:08.4319000Z ##[debug]Agent.SkipCertValidation=undefined
2020-02-08T05:08:08.4745967Z ##[debug]Agent.ProxyUrl=undefined
2020-02-08T05:08:08.4753453Z ##[debug]check path : /opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-task-tool-lib/lib.json
2020-02-08T05:08:08.4757031Z ##[debug]adding resource file: /opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-task-tool-lib/lib.json
2020-02-08T05:08:08.4759582Z ##[debug]system.culture=en-US
2020-02-08T05:08:08.4807295Z setup paket credential manager
2020-02-08T05:08:08.4822145Z ##[debug]Adding '/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider' to 'NUGET_CREDENTIALPROVIDERS_PATH'
2020-02-08T05:08:08.4826217Z ##[debug]set NUGET_CREDENTIALPROVIDERS_PATH=/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-08T05:08:08.4856261Z ##[debug]Processed: ##vso[task.setvariable variable=NUGET_CREDENTIALPROVIDERS_PATH;issecret=false;]/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-08T05:08:08.4867505Z SYSTEMVSSCONNECTION exists true
2020-02-08T05:08:08.4870617Z ##[debug]SYSTEMVSSCONNECTION exists true
2020-02-08T05:08:08.4874110Z ##[debug]set PAKET_VSS_NUGET_ACCESSTOKEN=***
2020-02-08T05:08:08.4877950Z ##[debug]Processed: ##vso[task.setvariable variable=PAKET_VSS_NUGET_ACCESSTOKEN;issecret=false;]***
2020-02-08T05:08:08.4895085Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4897467Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4899693Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4901942Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4904099Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4907003Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4909414Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4911801Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4914148Z (node:16506) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T05:08:08.4925700Z ##[debug]FakeScript=/opt/myagent/_work/1/s/build.fsx
2020-02-08T05:08:08.4928047Z ##[debug]Using scriptPath '/opt/myagent/_work/1/s/build.fsx'.
2020-02-08T05:08:08.4932330Z ##[debug]WorkingDirectory=/opt/myagent/_work/1/s
2020-02-08T05:08:08.4935747Z ##[debug]ScriptArguments=--parallel 3 -t Build
2020-02-08T05:08:08.4937832Z ##[debug]FakeArguments=null
2020-02-08T05:08:08.4941055Z ##[debug]FakeVersion=5.18.3
2020-02-08T05:08:08.4945542Z ##[debug]PreventSecrets=false
2020-02-08T05:08:08.4948377Z ##[debug]FailOnStdError=false
2020-02-08T05:08:08.4956964Z ##[debug]which 'dotnet'
2020-02-08T05:08:08.4965448Z ##[debug]found: '/usr/bin/dotnet'
2020-02-08T05:08:08.4971096Z ##[debug]isExplicit: 5.18.3
2020-02-08T05:08:08.4973582Z ##[debug]explicit? true
2020-02-08T05:08:08.4976909Z ##[debug]Agent.Version=2.164.7
2020-02-08T05:08:08.4979204Z ##[debug]Agent.ToolsDirectory=/opt/myagent/_work/_tool
2020-02-08T05:08:08.4981330Z ##[debug]checking cache: /opt/myagent/_work/_tool/fake/5.18.3/x64
2020-02-08T05:08:08.5032363Z Found tool in cache: fake 5.18.3 x64
2020-02-08T05:08:08.5046124Z ##[debug]task.displayname=Execute the build.fsx FAKE 5 script
2020-02-08T05:08:08.5048303Z ##[debug]system.phaseName=Job_1
2020-02-08T05:08:08.5051234Z ##[debug]system.definitionName=The-Ego-CI
2020-02-08T05:08:08.5053168Z ##[debug]build.sourceVersionMessage=Removed some junk (not needed for now) and counter works
2020-02-08T05:08:08.5055531Z ##[debug]build.repository.uri=https://sergeysaleen@dev.azure.com/sergeysaleen/The-Ego/_git/The-Ego
2020-02-08T05:08:08.5057708Z ##[debug]build.sourcesdirectory=/opt/myagent/_work/1/s
2020-02-08T05:08:08.5059832Z ##[debug]system.jobAttempt=1
2020-02-08T05:08:08.5061986Z ##[debug]build.containerId=1794281
2020-02-08T05:08:08.5063908Z ##[debug]agent.workfolder=/opt/myagent/_work
2020-02-08T05:08:08.5065987Z ##[debug]system.teamProject=The-Ego
2020-02-08T05:08:08.5068222Z ##[debug]build.requestedForId=ee4b5751-a933-4d94-92a2-880370494fe1
2020-02-08T05:08:08.5072953Z ##[debug]system.culture=en-US
2020-02-08T05:08:08.5076630Z ##[debug]agent.acceptteeeula=True
2020-02-08T05:08:08.5080371Z ##[debug]agent.disablelogplugin.TestFilePublisherPlugin=true
2020-02-08T05:08:08.5084516Z ##[debug]GIT_TERMINAL_PROMPT=0
2020-02-08T05:08:08.5089003Z ##[debug]agent.osarchitecture=X64
2020-02-08T05:08:08.5097373Z ##[debug]system.servertype=Hosted
2020-02-08T05:08:08.5102175Z ##[debug]agent.machinename=ya
2020-02-08T05:08:08.5105977Z ##[debug]system.jobIdentifier=Job_1.__default
2020-02-08T05:08:08.5110505Z ##[debug]system.debug=True
2020-02-08T05:08:08.5113810Z ##[debug]build.repository.localpath=/opt/myagent/_work/1/s
2020-02-08T05:08:08.5117087Z ##[debug]system.definitionId=2
2020-02-08T05:08:08.5120474Z ##[debug]agent.id=10
2020-02-08T05:08:08.5123803Z ##[debug]build.stagingdirectory=/opt/myagent/_work/1/a
2020-02-08T05:08:08.5127080Z ##[debug]build.buildUri=vstfs:///Build/Build/25
2020-02-08T05:08:08.5129563Z ##[debug]agent.jobname=Build and run
2020-02-08T05:08:08.5132777Z ##[debug]system.collectionId=50a14eb7-3693-4421-8116-4581b1687e7f
2020-02-08T05:08:08.5136162Z ##[debug]agent.ToolsDirectory=/opt/myagent/_work/_tool
2020-02-08T05:08:08.5140133Z ##[debug]system.taskInstanceId=281fb954-634f-515e-8a6c-37ef435b970e
2020-02-08T05:08:08.5143645Z ##[debug]agent.TempDirectory=/opt/myagent/_work/_temp
2020-02-08T05:08:08.5146743Z ##[debug]agent.RootDirectory=/opt/myagent/_work
2020-02-08T05:08:08.5155280Z ##[debug]build.sourceBranch=refs/heads/dev
2020-02-08T05:08:08.5158994Z ##[debug]system.pipelineStartTime=2020-02-08 05:07:52+00:00
2020-02-08T05:08:08.5162192Z ##[debug]agent.readOnlyVariables=true
2020-02-08T05:08:08.5165160Z ##[debug]agent.builddirectory=/opt/myagent/_work/1
2020-02-08T05:08:08.5167369Z ##[debug]build.reason=Manual
2020-02-08T05:08:08.5170767Z ##[debug]system.timelineId=d86f7ac8-5fcf-456b-8bc6-0a22aa12aeb2
2020-02-08T05:08:08.5173347Z ##[debug]system.isScheduled=False
2020-02-08T05:08:08.5176058Z ##[debug]MSDEPLOY_HTTP_USER_AGENT=VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0
2020-02-08T05:08:08.5178322Z ##[debug]system.phaseDisplayName=Build and run
2020-02-08T05:08:08.5181383Z ##[debug]system.jobName=__default
2020-02-08T05:08:08.5183648Z ##[debug]system.jobDisplayName=Build and run
2020-02-08T05:08:08.5189608Z ##[debug]system.stageAttempt=1
2020-02-08T05:08:08.5192415Z ##[debug]system.artifactsdirectory=/opt/myagent/_work/1/a
2020-02-08T05:08:08.5195197Z ##[debug]build.requestedFor=Салин Сергей ÐлекÑандрович
2020-02-08T05:08:08.5198004Z ##[debug]build.binariesdirectory=/opt/myagent/_work/1/b
2020-02-08T05:08:08.5200501Z ##[debug]system.workfolder=/opt/myagent/_work
2020-02-08T05:08:08.5202976Z ##[debug]build.sourceVersionAuthor=Sergey
2020-02-08T05:08:08.5205216Z ##[debug]build.sourceBranchName=dev
2020-02-08T05:08:08.5207671Z ##[debug]agent.os=Linux
2020-02-08T05:08:08.5210631Z ##[debug]agent.version=2.164.7
2020-02-08T05:08:08.5213064Z ##[debug]system=build
2020-02-08T05:08:08.5215689Z ##[debug]build.Repository.name=The-Ego
2020-02-08T05:08:08.5218197Z ##[debug]build.buildNumber=25
2020-02-08T05:08:08.5221370Z ##[debug]system.stageId=96ac2280-8cb4-5df5-99de-dd2da759617d
2020-02-08T05:08:08.5223686Z ##[debug]system.taskInstanceName=FAKE5
2020-02-08T05:08:08.5226174Z ##[debug]System.JobPositionInPhase=1
2020-02-08T05:08:08.5228106Z ##[debug]build.sourceVersion=6369c19a50231c64815c7d6e4dee6347b4ddcf71
2020-02-08T05:08:08.5230700Z ##[debug]system.stageName=__default
2020-02-08T05:08:08.5233207Z ##[debug]agent.jobstatus=Succeeded
2020-02-08T05:08:08.5236555Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0
2020-02-08T05:08:08.5239639Z ##[debug]build.buildId=25
2020-02-08T05:08:08.5241585Z ##[debug]build.definitionVersion=24
2020-02-08T05:08:08.5243307Z ##[debug]build.queuedBy=Салин Сергей ÐлекÑандрович
2020-02-08T05:08:08.5246055Z ##[debug]system.hosttype=build
2020-02-08T05:08:08.5248804Z ##[debug]system.phaseId=2f97f1d8-943c-5cda-8782-cbcebf2b3d67
2020-02-08T05:08:08.5251673Z ##[debug]build.repository.id=60b64fae-1979-4bdd-9869-1125bdf2b50c
2020-02-08T05:08:08.5259948Z ##[debug]build.queuedById=ee4b5751-a933-4d94-92a2-880370494fe1
2020-02-08T05:08:08.5262631Z ##[debug]system.planId=d86f7ac8-5fcf-456b-8bc6-0a22aa12aeb2
2020-02-08T05:08:08.5264368Z ##[debug]System.TotalJobsInPhase=1
2020-02-08T05:08:08.5266060Z ##[debug]VSTS_PROCESS_LOOKUP_ID=vsts_91ca493d-7c01-4996-9b63-5afabaf88e7e
2020-02-08T05:08:08.5268194Z ##[debug]system.taskDisplayName=Execute the build.fsx FAKE 5 script
2020-02-08T05:08:08.5270433Z ##[debug]system.collectionUri=https://dev.azure.com/sergeysaleen/
2020-02-08T05:08:08.5272933Z ##[debug]agent.retainDefaultEncoding=false
2020-02-08T05:08:08.5274654Z ##[debug]build.artifactstagingdirectory=/opt/myagent/_work/1/a
2020-02-08T05:08:08.5278876Z ##[debug]system.pullRequest.isFork=False
2020-02-08T05:08:08.5282340Z ##[debug]system.jobParallelismTag=Private
2020-02-08T05:08:08.5286282Z ##[debug]system.jobId=275f1d19-1bd8-5591-b06b-07d489ea915a
2020-02-08T05:08:08.5303159Z ##[debug]agent.homedirectory=/opt/myagent
2020-02-08T05:08:08.5316523Z ##[debug]system.TeamFoundationServerUri=https://dev.azure.com/sergeysaleen/
2020-02-08T05:08:08.5320162Z ##[debug]system.taskDefinitionsUri=https://dev.azure.com/sergeysaleen/
2020-02-08T05:08:08.5323751Z ##[debug]build.repository.provider=TfsGit
2020-02-08T05:08:08.5327128Z ##[debug]system.stageDisplayName=__default
2020-02-08T05:08:08.5330832Z ##[debug]pipeline.workspace=/opt/myagent/_work/1
2020-02-08T05:08:08.5341038Z ##[debug]system.phaseAttempt=1
2020-02-08T05:08:08.5344557Z ##[debug]common.testresultsdirectory=/opt/myagent/_work/1/TestResults
2020-02-08T05:08:08.5347912Z ##[debug]system.defaultworkingdirectory=/opt/myagent/_work/1/s
2020-02-08T05:08:08.5351893Z ##[debug]build.requestedForEmail=sergeysaleen@outlook.com
2020-02-08T05:08:08.5355304Z ##[debug]system.teamFoundationCollectionUri=https://dev.azure.com/sergeysaleen/
2020-02-08T05:08:08.5358603Z ##[debug]agent.disablelogplugin.TestResultLogPlugin=true
2020-02-08T05:08:08.5362504Z ##[debug]build.definitionName=The-Ego-CI
2020-02-08T05:08:08.5366041Z ##[debug]system.teamProjectId=5cf371e1-400b-4778-9c9d-51e169b8d112
2020-02-08T05:08:08.5369243Z ##[debug]agent.name=agent
2020-02-08T05:08:08.5372564Z ##[debug]NUGET_CREDENTIALPROVIDERS_PATH=/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-08T05:08:08.5375082Z ##[debug]PAKET_VSS_NUGET_ACCESSTOKEN=***
2020-02-08T05:08:08.5389697Z ##[debug]FAKE_VSTS_VAULT_VARIABLES: {"keyFile":"/opt/myagent/_work/1/s/.fake/build.fsx/.secret","iv":"Mzg2JpompaxDFm6NFVXA1A==","values":[{"secret":false,"value":"Execute the build.fsx FAKE 5 script","name":"task.displayname"},{"secret":false,"value":"Job_1","name":"system.phaseName"},{"secret":false,"value":"The-Ego-CI","name":"system.definitionName"},{"secret":false,"value":"Removed some junk (not needed for now) and counter works","name":"build.sourceVersionMessage"},{"secret":false,"value":"https://sergeysaleen@dev.azure.com/sergeysaleen/The-Ego/_git/The-Ego","name":"build.repository.uri"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"build.sourcesdirectory"},{"secret":false,"value":"1","name":"system.jobAttempt"},{"secret":false,"value":"1794281","name":"build.containerId"},{"secret":false,"value":"/opt/myagent/_work","name":"agent.workfolder"},{"secret":false,"value":"The-Ego","name":"system.teamProject"},{"secret":false,"value":"ee4b5751-a933-4d94-92a2-880370494fe1","name":"build.requestedForId"},{"secret":false,"value":"en-US","name":"system.culture"},{"secret":false,"value":"True","name":"agent.acceptteeeula"},{"secret":false,"value":"true","name":"agent.disablelogplugin.TestFilePublisherPlugin"},{"secret":false,"value":"0","name":"GIT_TERMINAL_PROMPT"},{"secret":false,"value":"X64","name":"agent.osarchitecture"},{"secret":false,"value":"Hosted","name":"system.servertype"},{"secret":false,"value":"ya","name":"agent.machinename"},{"secret":false,"value":"Job_1.__default","name":"system.jobIdentifier"},{"secret":false,"value":"True","name":"system.debug"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"build.repository.localpath"},{"secret":false,"value":"2","name":"system.definitionId"},{"secret":false,"value":"10","name":"agent.id"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"build.stagingdirectory"},{"secret":false,"value":"vstfs:///Build/Build/25","name":"build.buildUri"},{"secret":false,"value":"Build and run","name":"agent.jobname"},{"secret":false,"value":"50a14eb7-3693-4421-8116-4581b1687e7f","name":"system.collectionId"},{"secret":false,"value":"/opt/myagent/_work/_tool","name":"agent.ToolsDirectory"},{"secret":false,"value":"281fb954-634f-515e-8a6c-37ef435b970e","name":"system.taskInstanceId"},{"secret":false,"value":"/opt/myagent/_work/_temp","name":"agent.TempDirectory"},{"secret":false,"value":"/opt/myagent/_work","name":"agent.RootDirectory"},{"secret":false,"value":"refs/heads/dev","name":"build.sourceBranch"},{"secret":false,"value":"2020-02-08 05:07:52+00:00","name":"system.pipelineStartTime"},{"secret":false,"value":"true","name":"agent.readOnlyVariables"},{"secret":false,"value":"/opt/myagent/_work/1","name":"agent.builddirectory"},{"secret":false,"value":"Manual","name":"build.reason"},{"secret":false,"value":"d86f7ac8-5fcf-456b-8bc6-0a22aa12aeb2","name":"system.timelineId"},{"secret":false,"value":"False","name":"system.isScheduled"},{"secret":false,"value":"VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0","name":"MSDEPLOY_HTTP_USER_AGENT"},{"secret":false,"value":"Build and run","name":"system.phaseDisplayName"},{"secret":false,"value":"__default","name":"system.jobName"},{"secret":false,"value":"Build and run","name":"system.jobDisplayName"},{"secret":false,"value":"1","name":"system.stageAttempt"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"system.artifactsdirectory"},{"secret":false,"value":"Салин Сергей ÐлекÑандрович","name":"build.requestedFor"},{"secret":false,"value":"/opt/myagent/_work/1/b","name":"build.binariesdirectory"},{"secret":false,"value":"/opt/myagent/_work","name":"system.workfolder"},{"secret":false,"value":"Sergey","name":"build.sourceVersionAuthor"},{"secret":false,"value":"dev","name":"build.sourceBranchName"},{"secret":false,"value":"Linux","name":"agent.os"},{"secret":false,"value":"2.164.7","name":"agent.version"},{"secret":false,"value":"build","name":"system"},{"secret":false,"value":"The-Ego","name":"build.Repository.name"},{"secret":false,"value":"25","name":"build.buildNumber"},{"secret":false,"value":"96ac2280-8cb4-5df5-99de-dd2da759617d","name":"system.stageId"},{"secret":false,"value":"FAKE5","name":"system.taskInstanceName"},{"secret":false,"value":"1","name":"System.JobPositionInPhase"},{"secret":false,"value":"6369c19a50231c64815c7d6e4dee6347b4ddcf71","name":"build.sourceVersion"},{"secret":false,"value":"__default","name":"system.stageName"},{"secret":false,"value":"Succeeded","name":"agent.jobstatus"},{"secret":false,"value":"VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0","name":"AZURE_HTTP_USER_AGENT"},{"secret":false,"value":"25","name":"build.buildId"},{"secret":false,"value":"24","name":"build.definitionVersion"},{"secret":false,"value":"Салин Сергей ÐлекÑандрович","name":"build.queuedBy"},{"secret":false,"value":"build","name":"system.hosttype"},{"secret":false,"value":"2f97f1d8-943c-5cda-8782-cbcebf2b3d67","name":"system.phaseId"},{"secret":false,"value":"60b64fae-1979-4bdd-9869-1125bdf2b50c","name":"build.repository.id"},{"secret":false,"value":"ee4b5751-a933-4d94-92a2-880370494fe1","name":"build.queuedById"},{"secret":false,"value":"d86f7ac8-5fcf-456b-8bc6-0a22aa12aeb2","name":"system.planId"},{"secret":false,"value":"1","name":"System.TotalJobsInPhase"},{"secret":false,"value":"vsts_91ca493d-7c01-4996-9b63-5afabaf88e7e","name":"VSTS_PROCESS_LOOKUP_ID"},{"secret":false,"value":"Execute the build.fsx FAKE 5 script","name":"system.taskDisplayName"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.collectionUri"},{"secret":false,"value":"false","name":"agent.retainDefaultEncoding"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"build.artifactstagingdirectory"},{"secret":false,"value":"False","name":"system.pullRequest.isFork"},{"secret":false,"value":"Private","name":"system.jobParallelismTag"},{"secret":false,"value":"275f1d19-1bd8-5591-b06b-07d489ea915a","name":"system.jobId"},{"secret":false,"value":"/opt/myagent","name":"agent.homedirectory"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.TeamFoundationServerUri"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.taskDefinitionsUri"},{"secret":false,"value":"TfsGit","name":"build.repository.provider"},{"secret":false,"value":"__default","name":"system.stageDisplayName"},{"secret":false,"value":"/opt/myagent/_work/1","name":"pipeline.workspace"},{"secret":false,"value":"1","name":"system.phaseAttempt"},{"secret":false,"value":"/opt/myagent/_work/1/TestResults","name":"common.testresultsdirectory"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"system.defaultworkingdirectory"},{"secret":false,"value":"sergeysaleen@outlook.com","name":"build.requestedForEmail"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.teamFoundationCollectionUri"},{"secret":false,"value":"true","name":"agent.disablelogplugin.TestResultLogPlugin"},{"secret":false,"value":"The-Ego-CI","name":"build.definitionName"},{"secret":false,"value":"5cf371e1-400b-4778-9c9d-51e169b8d112","name":"system.teamProjectId"},{"secret":false,"value":"agent","name":"agent.name"},{"secret":false,"value":"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider","name":"NUGET_CREDENTIALPROVIDERS_PATH"},{"secret":false,"value":***,"name":"PAKET_VSS_NUGET_ACCESSTOKEN"}]}
2020-02-08T05:08:08.5397881Z ##[debug]which '/usr/bin/dotnet'
2020-02-08T05:08:08.5400452Z ##[debug]found: '/usr/bin/dotnet'
2020-02-08T05:08:08.5402516Z ##[debug]which '/usr/bin/dotnet'
2020-02-08T05:08:08.5432232Z ##[debug]found: '/usr/bin/dotnet'
2020-02-08T05:08:08.5437406Z ##[debug]/usr/bin/dotnet arg: /opt/myagent/_work/_tool/fake/5.18.3/x64/fake.dll run "build.fsx" --parallel 3 -t Build
2020-02-08T05:08:08.5440091Z ##[debug]/usr/bin/dotnet arg: /opt/myagent/_work/_tool/fake/5.18.3/x64/fake.dll run "build.fsx" --parallel 3 -t Build
2020-02-08T05:08:08.5451916Z ##[debug]exec tool: /usr/bin/dotnet
2020-02-08T05:08:08.5453711Z ##[debug]exec tool: /usr/bin/dotnet
2020-02-08T05:08:08.5455536Z ##[debug]arguments:
2020-02-08T05:08:08.5457233Z ##[debug]arguments:
2020-02-08T05:08:08.5459665Z ##[debug] /opt/myagent/_work/_tool/fake/5.18.3/x64/fake.dll
2020-02-08T05:08:08.5461731Z ##[debug] /opt/myagent/_work/_tool/fake/5.18.3/x64/fake.dll
2020-02-08T05:08:08.5463688Z ##[debug] run
2020-02-08T05:08:08.5465360Z ##[debug] run
2020-02-08T05:08:08.5467116Z ##[debug] build.fsx
2020-02-08T05:08:08.5468994Z ##[debug] build.fsx
2020-02-08T05:08:08.5471283Z ##[debug] --parallel
2020-02-08T05:08:08.5474569Z ##[debug] --parallel
2020-02-08T05:08:08.5477413Z ##[debug] 3
2020-02-08T05:08:08.5480388Z ##[debug] 3
2020-02-08T05:08:08.5483460Z ##[debug] -t
2020-02-08T05:08:08.5486539Z ##[debug] -t
2020-02-08T05:08:08.5489468Z ##[debug] Build
2020-02-08T05:08:08.5492305Z ##[debug] Build
2020-02-08T05:08:08.5501337Z [command]/usr/bin/dotnet /opt/myagent/_work/_tool/fake/5.18.3/x64/fake.dll run build.fsx --parallel 3 -t Build
2020-02-08T05:08:09.5687058Z Error while parsing command line, usage is:
2020-02-08T05:08:09.5702176Z
2020-02-08T05:08:09.5702812Z General:
2020-02-08T05:08:09.5703187Z
2020-02-08T05:08:09.5703600Z Fake command line is devided into runtime and script arguments.
2020-02-08T05:08:09.5704434Z Runtime arguments control compilation and processing of the script,
2020-02-08T05:08:09.5704839Z while script arguments are specific for the script or provided by
2020-02-08T05:08:09.5705286Z a NuGet package.
2020-02-08T05:08:09.5708234Z In most use cases you use the "Fake.Core.Target"-Package and therefore
2020-02-08T05:08:09.5708707Z inherit the corresponding command line interface. While these arguments
2020-02-08T05:08:09.5709265Z are not strictly part of the runtime we still show both below to
2020-02-08T05:08:09.5709677Z make it easier for newcomers.
2020-02-08T05:08:09.5710005Z
2020-02-08T05:08:09.5713232Z -- RUNTIME ARGUMENTS SECTION --
2020-02-08T05:08:09.5713708Z
2020-02-08T05:08:09.5716488Z
2020-02-08T05:08:09.5716925Z Usage:
2020-02-08T05:08:09.5717725Z fake.exe [fake_opts] run [run_opts] [<script.fsx>] [--] [<scriptargs>...]
2020-02-08T05:08:09.5718492Z fake.exe [fake_opts] build [build_opts] [--] [<scriptargs>...]
2020-02-08T05:08:09.5719323Z fake.exe --version
2020-02-08T05:08:09.5720698Z fake.exe --help | -h
2020-02-08T05:08:09.5721229Z
2020-02-08T05:08:09.5721525Z Fake Options [fake_opts]:
2020-02-08T05:08:09.5726748Z -v, --verbose [*] Verbose (can be used multiple times)
2020-02-08T05:08:09.5727089Z Is ignored if -s is used.
2020-02-08T05:08:09.5727434Z * -v: Log verbose but only for FAKE
2020-02-08T05:08:09.5727763Z * -vv: Log verbose for Paket as well
2020-02-08T05:08:09.5785345Z -s, --silent Be silent, use this option if you need to pipe your output into another tool or need some additional processing.
2020-02-08T05:08:09.5785894Z
2020-02-08T05:08:09.5786217Z Fake Run Options [run_opts]:
2020-02-08T05:08:09.5786783Z -d, --debug Debug the script.
2020-02-08T05:08:09.5787454Z -n, --nocache Disable fake cache for this run.
2020-02-08T05:08:09.5788050Z -p, --partial-restore
2020-02-08T05:08:09.5788535Z Only restore the required group instead of a full restore,
2020-02-08T05:08:09.5789265Z can be set globally by setting the environment variable FAKE_PARTIAL_RESTORE to true.
2020-02-08T05:08:09.5789914Z --fsiargs <fsiargs> [*] Arguments passed to the f# interactive.
2020-02-08T05:08:09.5790187Z
2020-02-08T05:08:09.5790434Z Fake Build Options [build_opts]:
2020-02-08T05:08:09.5790993Z -d, --debug Debug the script.
2020-02-08T05:08:09.5791592Z -n, --nocache Disable fake cache for this run.
2020-02-08T05:08:09.5792160Z -p, --partial-restore
2020-02-08T05:08:09.5792533Z Only restore the required group instead of a full restore,
2020-02-08T05:08:09.5792774Z can be set globally by setting the environment variable FAKE_PARTIAL_RESTORE to true.
2020-02-08T05:08:09.5793330Z --fsiargs <fsiargs> [*] Arguments passed to the f# interactive.
2020-02-08T05:08:09.5793994Z -f, --script <script.fsx>
2020-02-08T05:08:09.5794375Z The script to execute (defaults to `build.fsx`).
2020-02-08T05:08:09.5794706Z
2020-02-08T05:08:09.5795000Z
2020-02-08T05:08:09.5795548Z -- SCRIPT ARGUMENTS SECTION --
2020-02-08T05:08:09.5795818Z
2020-02-08T05:08:09.5796378Z THIS SECTION ONLY APPLIES IF YOU USE THE 'Fake.Core.Target' PACKAGE!
2020-02-08T05:08:09.5796754Z You can use the following arguments in place of `<scriptargs>`:
2020-02-08T05:08:09.5796965Z
2020-02-08T05:08:09.5797198Z Usage:
2020-02-08T05:08:09.5797730Z fake-run --list
2020-02-08T05:08:09.5798944Z fake-run --write-info <file>
2020-02-08T05:08:09.5799359Z fake-run --version
2020-02-08T05:08:09.5799734Z fake-run --help | -h
2020-02-08T05:08:09.5800102Z fake-run [target_opts] [target <target>] [--] [<targetargs>...]
2020-02-08T05:08:09.5800146Z
2020-02-08T05:08:09.5800189Z Target Module Options [target_opts]:
2020-02-08T05:08:09.5800478Z -t, --target <target>
2020-02-08T05:08:09.5800749Z Run the given target (ignored if positional
2020-02-08T05:08:09.5801087Z argument 'target' is given)
2020-02-08T05:08:09.5801394Z -e, --environment-variable <keyval> [*]
2020-02-08T05:08:09.5801813Z Set an environment variable. Use 'key=val'.
2020-02-08T05:08:09.5802155Z Consider using regular arguments, see https://fake.build/core-targets.html
2020-02-08T05:08:09.5802485Z -s, --single-target Run only the specified target.
2020-02-08T05:08:09.5802859Z -p, --parallel <num> Run parallel with the given number of tasks.
2020-02-08T05:08:09.5802920Z
2020-02-08T05:08:09.5802961Z Example:
2020-02-08T05:08:09.5802986Z
2020-02-08T05:08:09.5803023Z To use verbose mode (from [fake_opts]) and print all
2020-02-08T05:08:09.5803408Z targets use "fake -v build -- --list". Because "--list"
2020-02-08T05:08:09.5803728Z doesn't conflict with any of the [build_opts], you can use
2020-02-08T05:08:09.5804012Z "fake -v build --list"
2020-02-08T05:08:09.6020501Z -> TypeInitializationException: The type initializer for '<StartupCode$Paket-Core>.$Paket.Utils' threw an exception.
2020-02-08T05:08:09.7384392Z -> ArgumentNullException: Value cannot be null.
2020-02-08T05:08:09.7384498Z Parameter name: path1
2020-02-08T05:08:09.7385214Z ##[debug]rc:1
2020-02-08T05:08:09.7385342Z ##[debug]rc:1
2020-02-08T05:08:09.7385511Z ##[debug]success:false
2020-02-08T05:08:09.7385604Z ##[debug]success:false
2020-02-08T05:08:09.7448685Z ##[error]/usr/bin/dotnet failed with return code: 1
2020-02-08T05:08:09.7459904Z ##[debug]Processed: ##vso[task.issue type=error;]/usr/bin/dotnet failed with return code: 1
2020-02-08T05:08:09.7460122Z ##[debug]task result: Failed
2020-02-08T05:08:09.7460636Z ##[error]/usr/bin/dotnet failed with return code: 1
2020-02-08T05:08:09.7462078Z ##[debug]Processed: ##vso[task.issue type=error;]/usr/bin/dotnet failed with return code: 1
2020-02-08T05:08:09.7462819Z ##[debug]Processed: ##vso[task.complete result=Failed;]/usr/bin/dotnet failed with return code: 1
2020-02-08T05:08:09.7686970Z ##[error]Exit code 1 returned from process: file name '/opt/myagent/externals/node/bin/node', arguments '"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/runFake5.js"'.
2020-02-08T05:08:09.7692194Z ##[debug]Microsoft.VisualStudio.Services.Agent.Util.ProcessExitCodeException: Exit code 1 returned from process: file name '/opt/myagent/externals/node/bin/node', arguments '"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/runFake5.js"'.
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
2020-02-08T05:08:09.7694264Z ##[section]Finishing: Execute the build.fsx FAKE 5 script
I found a problem: I ran build agent from root user. When I created dedicated user for build agent only error disappeared
Interesting, the relevant output looks to be:
2020-02-08T05:08:09.6020501Z -> TypeInitializationException: The type initializer for '<StartupCode$Paket-Core>.$Paket.Utils' threw an exception.
2020-02-08T05:08:09.7384392Z -> ArgumentNullException: Value cannot be null.
2020-02-08T05:08:09.7384498Z Parameter name: path1
Strange how an exception managed to print out the usage string. Can you please set the FAKE_DETAILED_ERRORS environment variable to 'true', to get more error details of what's happening?
I've switched back to root build agent with FAKE_DETAILED_ERRORS and got the following. Doesn't seem like much changed (at least, to me)
2020-02-08T17:12:31.3302597Z ##[debug]Evaluating condition for step: 'Execute the build.fsx FAKE 5 script'
2020-02-08T17:12:31.3303377Z ##[debug]Evaluating: succeeded()
2020-02-08T17:12:31.3303524Z ##[debug]Evaluating succeeded:
2020-02-08T17:12:31.3303869Z ##[debug]=> True
2020-02-08T17:12:31.3304166Z ##[debug]Result: True
2020-02-08T17:12:31.3304524Z ##[section]Starting: Execute the build.fsx FAKE 5 script
2020-02-08T17:12:31.3309300Z ==============================================================================
2020-02-08T17:12:31.3309375Z Task : FAKE 5 Runner
2020-02-08T17:12:31.3309411Z Description : Runs a FAKE 5 build script.
2020-02-08T17:12:31.3309450Z Version : 1.0.8
2020-02-08T17:12:31.3309663Z Author : Matthias Dittrich
2020-02-08T17:12:31.3309712Z Help : This task downloads and caches the FAKE runner and executes the FAKE 5 build script specified.
2020-02-08T17:12:31.3309748Z ==============================================================================
2020-02-08T17:12:31.4952863Z ##[debug]agent.TempDirectory=/opt/myagent/_work/_temp
2020-02-08T17:12:31.4987045Z ##[debug]loading inputs and endpoints
2020-02-08T17:12:31.4994370Z ##[debug]loading INPUT_FAKEVERSION
2020-02-08T17:12:31.5009914Z ##[debug]loading INPUT_FAKESCRIPT
2020-02-08T17:12:31.5015267Z ##[debug]loading INPUT_SCRIPTARGUMENTS
2020-02-08T17:12:31.5018828Z ##[debug]loading INPUT_WORKINGDIRECTORY
2020-02-08T17:12:31.5026835Z ##[debug]loading INPUT_PREVENTSECRETS
2020-02-08T17:12:31.5032620Z ##[debug]loading INPUT_FAILONSTDERROR
2020-02-08T17:12:31.5036583Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2020-02-08T17:12:31.5041478Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2020-02-08T17:12:31.5045285Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2020-02-08T17:12:31.5053172Z ##[debug]loaded 9
2020-02-08T17:12:31.5074177Z ##[debug]Agent.ProxyUrl=undefined
2020-02-08T17:12:31.5077659Z ##[debug]Agent.CAInfo=undefined
2020-02-08T17:12:31.5080006Z ##[debug]Agent.ClientCert=undefined
2020-02-08T17:12:31.5082319Z ##[debug]Agent.SkipCertValidation=undefined
2020-02-08T17:12:31.5544559Z ##[debug]Agent.ProxyUrl=undefined
2020-02-08T17:12:31.5552501Z ##[debug]check path : /opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-task-tool-lib/lib.json
2020-02-08T17:12:31.5556473Z ##[debug]adding resource file: /opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-task-tool-lib/lib.json
2020-02-08T17:12:31.5559765Z ##[debug]system.culture=en-US
2020-02-08T17:12:31.5615528Z setup paket credential manager
2020-02-08T17:12:31.5632952Z ##[debug]Adding '/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider' to 'NUGET_CREDENTIALPROVIDERS_PATH'
2020-02-08T17:12:31.5637553Z ##[debug]set NUGET_CREDENTIALPROVIDERS_PATH=/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-08T17:12:31.5672111Z ##[debug]Processed: ##vso[task.setvariable variable=NUGET_CREDENTIALPROVIDERS_PATH;issecret=false;]/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-08T17:12:31.5685237Z SYSTEMVSSCONNECTION exists true
2020-02-08T17:12:31.5688420Z ##[debug]SYSTEMVSSCONNECTION exists true
2020-02-08T17:12:31.5692293Z ##[debug]set PAKET_VSS_NUGET_ACCESSTOKEN=***
2020-02-08T17:12:31.5697586Z ##[debug]Processed: ##vso[task.setvariable variable=PAKET_VSS_NUGET_ACCESSTOKEN;issecret=false;]***
2020-02-08T17:12:31.5718709Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5721944Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5724362Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5726970Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5729193Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5732235Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5737792Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5741987Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5745636Z (node:7421) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-08T17:12:31.5759202Z ##[debug]FakeScript=/opt/myagent/_work/1/s/build.fsx
2020-02-08T17:12:31.5762370Z ##[debug]Using scriptPath '/opt/myagent/_work/1/s/build.fsx'.
2020-02-08T17:12:31.5766750Z ##[debug]WorkingDirectory=/opt/myagent/_work/1/s
2020-02-08T17:12:31.5770986Z ##[debug]ScriptArguments=--parallel 3 -t Build
2020-02-08T17:12:31.5773315Z ##[debug]FakeArguments=null
2020-02-08T17:12:31.5776561Z ##[debug]FakeVersion=5.19.0
2020-02-08T17:12:31.5781927Z ##[debug]PreventSecrets=false
2020-02-08T17:12:31.5785084Z ##[debug]FailOnStdError=false
2020-02-08T17:12:31.5795919Z ##[debug]which 'dotnet'
2020-02-08T17:12:31.5805544Z ##[debug]found: '/usr/bin/dotnet'
2020-02-08T17:12:31.5811806Z ##[debug]isExplicit: 5.19.0
2020-02-08T17:12:31.5814662Z ##[debug]explicit? true
2020-02-08T17:12:31.5818751Z ##[debug]Agent.Version=2.164.7
2020-02-08T17:12:31.5821232Z ##[debug]Agent.ToolsDirectory=/opt/myagent/_work/_tool
2020-02-08T17:12:31.5823428Z ##[debug]checking cache: /opt/myagent/_work/_tool/fake/5.19.0/x64
2020-02-08T17:12:31.5878927Z Found tool in cache: fake 5.19.0 x64
2020-02-08T17:12:31.5895123Z ##[debug]system.taskDisplayName=Execute the build.fsx FAKE 5 script
2020-02-08T17:12:31.5897533Z ##[debug]build.requestedForEmail=sergeysaleen@outlook.com
2020-02-08T17:12:31.5899920Z ##[debug]system.defaultworkingdirectory=/opt/myagent/_work/1/s
2020-02-08T17:12:31.5902117Z ##[debug]agent.builddirectory=/opt/myagent/_work/1
2020-02-08T17:12:31.5904182Z ##[debug]build.repository.localpath=/opt/myagent/_work/1/s
2020-02-08T17:12:31.5906605Z ##[debug]system.pipelineStartTime=2020-02-08 17:12:18+00:00
2020-02-08T17:12:31.5908686Z ##[debug]build.binariesdirectory=/opt/myagent/_work/1/b
2020-02-08T17:12:31.5911278Z ##[debug]build.sourcesdirectory=/opt/myagent/_work/1/s
2020-02-08T17:12:31.5913338Z ##[debug]agent.disablelogplugin.TestFilePublisherPlugin=true
2020-02-08T17:12:31.5915636Z ##[debug]system.phaseId=2f97f1d8-943c-5cda-8782-cbcebf2b3d67
2020-02-08T17:12:31.5917675Z ##[debug]system.definitionId=2
2020-02-08T17:12:31.5921974Z ##[debug]system=build
2020-02-08T17:12:31.5925970Z ##[debug]agent.RootDirectory=/opt/myagent/_work
2020-02-08T17:12:31.5929311Z ##[debug]agent.name=agent
2020-02-08T17:12:31.5932913Z ##[debug]system.definitionName=The-Ego-CI
2020-02-08T17:12:31.5939613Z ##[debug]system.isScheduled=False
2020-02-08T17:12:31.5943356Z ##[debug]system.phaseName=Job_1
2020-02-08T17:12:31.5947305Z ##[debug]build.Repository.name=The-Ego
2020-02-08T17:12:31.5951166Z ##[debug]build.repository.uri=https://sergeysaleen@dev.azure.com/sergeysaleen/The-Ego/_git/The-Ego
2020-02-08T17:12:31.5954909Z ##[debug]build.sourceVersionAuthor=Sergey
2020-02-08T17:12:31.5957309Z ##[debug]System.JobPositionInPhase=1
2020-02-08T17:12:31.5959905Z ##[debug]system.jobName=__default
2020-02-08T17:12:31.5962912Z ##[debug]system.stageName=__default
2020-02-08T17:12:31.5965403Z ##[debug]build.sourceVersionMessage=Removed some junk (not needed for now) and counter works
2020-02-08T17:12:31.5967816Z ##[debug]system.taskDefinitionsUri=https://dev.azure.com/sergeysaleen/
2020-02-08T17:12:31.5970413Z ##[debug]build.containerId=1794295
2020-02-08T17:12:31.5973257Z ##[debug]system.TeamFoundationServerUri=https://dev.azure.com/sergeysaleen/
2020-02-08T17:12:31.5975666Z ##[debug]system.pullRequest.isFork=False
2020-02-08T17:12:31.5978050Z ##[debug]system.jobAttempt=1
2020-02-08T17:12:31.5981177Z ##[debug]system.stageId=96ac2280-8cb4-5df5-99de-dd2da759617d
2020-02-08T17:12:31.5987841Z ##[debug]system.jobId=275f1d19-1bd8-5591-b06b-07d489ea915a
2020-02-08T17:12:31.5990659Z ##[debug]system.collectionUri=https://dev.azure.com/sergeysaleen/
2020-02-08T17:12:31.5993597Z ##[debug]build.definitionName=The-Ego-CI
2020-02-08T17:12:31.5996591Z ##[debug]system.culture=en-US
2020-02-08T17:12:31.5999406Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0
2020-02-08T17:12:31.6002082Z ##[debug]task.displayname=Execute the build.fsx FAKE 5 script
2020-02-08T17:12:31.6004708Z ##[debug]system.taskInstanceName=FAKE5
2020-02-08T17:12:31.6007266Z ##[debug]MSDEPLOY_HTTP_USER_AGENT=VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0
2020-02-08T17:12:31.6010157Z ##[debug]system.teamProjectId=5cf371e1-400b-4778-9c9d-51e169b8d112
2020-02-08T17:12:31.6012728Z ##[debug]build.queuedById=ee4b5751-a933-4d94-92a2-880370494fe1
2020-02-08T17:12:31.6015136Z ##[debug]agent.readOnlyVariables=true
2020-02-08T17:12:31.6017661Z ##[debug]agent.ToolsDirectory=/opt/myagent/_work/_tool
2020-02-08T17:12:31.6023881Z ##[debug]system.teamProject=The-Ego
2020-02-08T17:12:31.6026608Z ##[debug]system.hosttype=build
2020-02-08T17:12:31.6029219Z ##[debug]agent.retainDefaultEncoding=false
2020-02-08T17:12:31.6031771Z ##[debug]pipeline.workspace=/opt/myagent/_work/1
2020-02-08T17:12:31.6035126Z ##[debug]build.requestedForId=ee4b5751-a933-4d94-92a2-880370494fe1
2020-02-08T17:12:31.6037628Z ##[debug]system.stageDisplayName=__default
2020-02-08T17:12:31.6040551Z ##[debug]VSTS_PROCESS_LOOKUP_ID=vsts_03841931-0eb2-4589-877b-b964873ad573
2020-02-08T17:12:31.6044226Z ##[debug]build.artifactstagingdirectory=/opt/myagent/_work/1/a
2020-02-08T17:12:31.6047075Z ##[debug]build.repository.id=60b64fae-1979-4bdd-9869-1125bdf2b50c
2020-02-08T17:12:31.6049686Z ##[debug]system.phaseDisplayName=Build and run
2020-02-08T17:12:31.6052252Z ##[debug]agent.acceptteeeula=True
2020-02-08T17:12:31.6055088Z ##[debug]build.definitionVersion=28
2020-02-08T17:12:31.6058007Z ##[debug]agent.machinename=ya
2020-02-08T17:12:31.6060894Z ##[debug]agent.osarchitecture=X64
2020-02-08T17:12:31.6064140Z ##[debug]agent.jobstatus=Succeeded
2020-02-08T17:12:31.6066847Z ##[debug]build.buildNumber=30
2020-02-08T17:12:31.6069082Z ##[debug]build.sourceVersion=6369c19a50231c64815c7d6e4dee6347b4ddcf71
2020-02-08T17:12:31.6072113Z ##[debug]build.repository.provider=TfsGit
2020-02-08T17:12:31.6074332Z ##[debug]GIT_TERMINAL_PROMPT=0
2020-02-08T17:12:31.6077484Z ##[debug]build.requestedFor=Салин Сергей ÐлекÑандрович
2020-02-08T17:12:31.6081252Z ##[debug]agent.workfolder=/opt/myagent/_work
2020-02-08T17:12:31.6083266Z ##[debug]system.timelineId=c8387c8c-9749-4e6f-92c7-a7045f3a0db3
2020-02-08T17:12:31.6084919Z ##[debug]agent.jobname=Build and run
2020-02-08T17:12:31.6086543Z ##[debug]system.jobDisplayName=Build and run
2020-02-08T17:12:31.6088324Z ##[debug]build.buildId=30
2020-02-08T17:12:31.6090054Z ##[debug]system.jobParallelismTag=Private
2020-02-08T17:12:31.6091595Z ##[debug]build.sourceBranch=refs/heads/dev
2020-02-08T17:12:31.6093375Z ##[debug]agent.homedirectory=/opt/myagent
2020-02-08T17:12:31.6094994Z ##[debug]system.workfolder=/opt/myagent/_work
2020-02-08T17:12:31.6096865Z ##[debug]system.taskInstanceId=281fb954-634f-515e-8a6c-37ef435b970e
2020-02-08T17:12:31.6098479Z ##[debug]agent.os=Linux
2020-02-08T17:12:31.6100230Z ##[debug]build.reason=Manual
2020-02-08T17:12:31.6101724Z ##[debug]System.TotalJobsInPhase=1
2020-02-08T17:12:31.6103352Z ##[debug]agent.version=2.164.7
2020-02-08T17:12:31.6106910Z ##[debug]system.jobIdentifier=Job_1.__default
2020-02-08T17:12:31.6110867Z ##[debug]system.phaseAttempt=1
2020-02-08T17:12:31.6128446Z ##[debug]system.artifactsdirectory=/opt/myagent/_work/1/a
2020-02-08T17:12:31.6143486Z ##[debug]system.planId=c8387c8c-9749-4e6f-92c7-a7045f3a0db3
2020-02-08T17:12:31.6147518Z ##[debug]common.testresultsdirectory=/opt/myagent/_work/1/TestResults
2020-02-08T17:12:31.6151612Z ##[debug]FAKE_DETAILED_ERRORS=True
2020-02-08T17:12:31.6155471Z ##[debug]agent.TempDirectory=/opt/myagent/_work/_temp
2020-02-08T17:12:31.6167708Z ##[debug]build.stagingdirectory=/opt/myagent/_work/1/a
2020-02-08T17:12:31.6171632Z ##[debug]system.servertype=Hosted
2020-02-08T17:12:31.6176291Z ##[debug]build.sourceBranchName=dev
2020-02-08T17:12:31.6180379Z ##[debug]system.stageAttempt=1
2020-02-08T17:12:31.6184305Z ##[debug]agent.disablelogplugin.TestResultLogPlugin=true
2020-02-08T17:12:31.6188151Z ##[debug]build.buildUri=vstfs:///Build/Build/30
2020-02-08T17:12:31.6191997Z ##[debug]agent.id=10
2020-02-08T17:12:31.6195904Z ##[debug]system.teamFoundationCollectionUri=https://dev.azure.com/sergeysaleen/
2020-02-08T17:12:31.6200078Z ##[debug]build.queuedBy=Салин Сергей ÐлекÑандрович
2020-02-08T17:12:31.6202055Z ##[debug]system.collectionId=50a14eb7-3693-4421-8116-4581b1687e7f
2020-02-08T17:12:31.6204183Z ##[debug]system.debug=true
2020-02-08T17:12:31.6206752Z ##[debug]NUGET_CREDENTIALPROVIDERS_PATH=/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-08T17:12:31.6210123Z ##[debug]PAKET_VSS_NUGET_ACCESSTOKEN=***
2020-02-08T17:12:31.6224205Z ##[debug]FAKE_VSTS_VAULT_VARIABLES: {"keyFile":"/opt/myagent/_work/1/s/.fake/build.fsx/.secret","iv":"IEliWIHx7hP048I3QF+tow==","values":[{"secret":false,"value":"Execute the build.fsx FAKE 5 script","name":"system.taskDisplayName"},{"secret":false,"value":"sergeysaleen@outlook.com","name":"build.requestedForEmail"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"system.defaultworkingdirectory"},{"secret":false,"value":"/opt/myagent/_work/1","name":"agent.builddirectory"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"build.repository.localpath"},{"secret":false,"value":"2020-02-08 17:12:18+00:00","name":"system.pipelineStartTime"},{"secret":false,"value":"/opt/myagent/_work/1/b","name":"build.binariesdirectory"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"build.sourcesdirectory"},{"secret":false,"value":"true","name":"agent.disablelogplugin.TestFilePublisherPlugin"},{"secret":false,"value":"2f97f1d8-943c-5cda-8782-cbcebf2b3d67","name":"system.phaseId"},{"secret":false,"value":"2","name":"system.definitionId"},{"secret":false,"value":"build","name":"system"},{"secret":false,"value":"/opt/myagent/_work","name":"agent.RootDirectory"},{"secret":false,"value":"agent","name":"agent.name"},{"secret":false,"value":"The-Ego-CI","name":"system.definitionName"},{"secret":false,"value":"False","name":"system.isScheduled"},{"secret":false,"value":"Job_1","name":"system.phaseName"},{"secret":false,"value":"The-Ego","name":"build.Repository.name"},{"secret":false,"value":"https://sergeysaleen@dev.azure.com/sergeysaleen/The-Ego/_git/The-Ego","name":"build.repository.uri"},{"secret":false,"value":"Sergey","name":"build.sourceVersionAuthor"},{"secret":false,"value":"1","name":"System.JobPositionInPhase"},{"secret":false,"value":"__default","name":"system.jobName"},{"secret":false,"value":"__default","name":"system.stageName"},{"secret":false,"value":"Removed some junk (not needed for now) and counter works","name":"build.sourceVersionMessage"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.taskDefinitionsUri"},{"secret":false,"value":"1794295","name":"build.containerId"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.TeamFoundationServerUri"},{"secret":false,"value":"False","name":"system.pullRequest.isFork"},{"secret":false,"value":"1","name":"system.jobAttempt"},{"secret":false,"value":"96ac2280-8cb4-5df5-99de-dd2da759617d","name":"system.stageId"},{"secret":false,"value":"275f1d19-1bd8-5591-b06b-07d489ea915a","name":"system.jobId"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.collectionUri"},{"secret":false,"value":"The-Ego-CI","name":"build.definitionName"},{"secret":false,"value":"en-US","name":"system.culture"},{"secret":false,"value":"VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0","name":"AZURE_HTTP_USER_AGENT"},{"secret":false,"value":"Execute the build.fsx FAKE 5 script","name":"task.displayname"},{"secret":false,"value":"FAKE5","name":"system.taskInstanceName"},{"secret":false,"value":"VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0","name":"MSDEPLOY_HTTP_USER_AGENT"},{"secret":false,"value":"5cf371e1-400b-4778-9c9d-51e169b8d112","name":"system.teamProjectId"},{"secret":false,"value":"ee4b5751-a933-4d94-92a2-880370494fe1","name":"build.queuedById"},{"secret":false,"value":"true","name":"agent.readOnlyVariables"},{"secret":false,"value":"/opt/myagent/_work/_tool","name":"agent.ToolsDirectory"},{"secret":false,"value":"The-Ego","name":"system.teamProject"},{"secret":false,"value":"build","name":"system.hosttype"},{"secret":false,"value":"false","name":"agent.retainDefaultEncoding"},{"secret":false,"value":"/opt/myagent/_work/1","name":"pipeline.workspace"},{"secret":false,"value":"ee4b5751-a933-4d94-92a2-880370494fe1","name":"build.requestedForId"},{"secret":false,"value":"__default","name":"system.stageDisplayName"},{"secret":false,"value":"vsts_03841931-0eb2-4589-877b-b964873ad573","name":"VSTS_PROCESS_LOOKUP_ID"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"build.artifactstagingdirectory"},{"secret":false,"value":"60b64fae-1979-4bdd-9869-1125bdf2b50c","name":"build.repository.id"},{"secret":false,"value":"Build and run","name":"system.phaseDisplayName"},{"secret":false,"value":"True","name":"agent.acceptteeeula"},{"secret":false,"value":"28","name":"build.definitionVersion"},{"secret":false,"value":"ya","name":"agent.machinename"},{"secret":false,"value":"X64","name":"agent.osarchitecture"},{"secret":false,"value":"Succeeded","name":"agent.jobstatus"},{"secret":false,"value":"30","name":"build.buildNumber"},{"secret":false,"value":"6369c19a50231c64815c7d6e4dee6347b4ddcf71","name":"build.sourceVersion"},{"secret":false,"value":"TfsGit","name":"build.repository.provider"},{"secret":false,"value":"0","name":"GIT_TERMINAL_PROMPT"},{"secret":false,"value":"Салин Сергей ÐлекÑандрович","name":"build.requestedFor"},{"secret":false,"value":"/opt/myagent/_work","name":"agent.workfolder"},{"secret":false,"value":"c8387c8c-9749-4e6f-92c7-a7045f3a0db3","name":"system.timelineId"},{"secret":false,"value":"Build and run","name":"agent.jobname"},{"secret":false,"value":"Build and run","name":"system.jobDisplayName"},{"secret":false,"value":"30","name":"build.buildId"},{"secret":false,"value":"Private","name":"system.jobParallelismTag"},{"secret":false,"value":"refs/heads/dev","name":"build.sourceBranch"},{"secret":false,"value":"/opt/myagent","name":"agent.homedirectory"},{"secret":false,"value":"/opt/myagent/_work","name":"system.workfolder"},{"secret":false,"value":"281fb954-634f-515e-8a6c-37ef435b970e","name":"system.taskInstanceId"},{"secret":false,"value":"Linux","name":"agent.os"},{"secret":false,"value":"Manual","name":"build.reason"},{"secret":false,"value":"1","name":"System.TotalJobsInPhase"},{"secret":false,"value":"2.164.7","name":"agent.version"},{"secret":false,"value":"Job_1.__default","name":"system.jobIdentifier"},{"secret":false,"value":"1","name":"system.phaseAttempt"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"system.artifactsdirectory"},{"secret":false,"value":"c8387c8c-9749-4e6f-92c7-a7045f3a0db3","name":"system.planId"},{"secret":false,"value":"/opt/myagent/_work/1/TestResults","name":"common.testresultsdirectory"},{"secret":false,"value":"True","name":"FAKE_DETAILED_ERRORS"},{"secret":false,"value":"/opt/myagent/_work/_temp","name":"agent.TempDirectory"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"build.stagingdirectory"},{"secret":false,"value":"Hosted","name":"system.servertype"},{"secret":false,"value":"dev","name":"build.sourceBranchName"},{"secret":false,"value":"1","name":"system.stageAttempt"},{"secret":false,"value":"true","name":"agent.disablelogplugin.TestResultLogPlugin"},{"secret":false,"value":"vstfs:///Build/Build/30","name":"build.buildUri"},{"secret":false,"value":"10","name":"agent.id"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.teamFoundationCollectionUri"},{"secret":false,"value":"Салин Сергей ÐлекÑандрович","name":"build.queuedBy"},{"secret":false,"value":"50a14eb7-3693-4421-8116-4581b1687e7f","name":"system.collectionId"},{"secret":false,"value":"true","name":"system.debug"},{"secret":false,"value":"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider","name":"NUGET_CREDENTIALPROVIDERS_PATH"},{"secret":false,"value":***,"name":"PAKET_VSS_NUGET_ACCESSTOKEN"}]}
2020-02-08T17:12:31.6233413Z ##[debug]which '/usr/bin/dotnet'
2020-02-08T17:12:31.6238575Z ##[debug]found: '/usr/bin/dotnet'
2020-02-08T17:12:31.6272114Z ##[debug]which '/usr/bin/dotnet'
2020-02-08T17:12:31.6274827Z ##[debug]found: '/usr/bin/dotnet'
2020-02-08T17:12:31.6306069Z ##[debug]/usr/bin/dotnet arg: /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll run "build.fsx" --parallel 3 -t Build
2020-02-08T17:12:31.6309240Z ##[debug]/usr/bin/dotnet arg: /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll run "build.fsx" --parallel 3 -t Build
2020-02-08T17:12:31.6322405Z ##[debug]exec tool: /usr/bin/dotnet
2020-02-08T17:12:31.6324382Z ##[debug]exec tool: /usr/bin/dotnet
2020-02-08T17:12:31.6326455Z ##[debug]arguments:
2020-02-08T17:12:31.6328348Z ##[debug]arguments:
2020-02-08T17:12:31.6331012Z ##[debug] /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll
2020-02-08T17:12:31.6332937Z ##[debug] /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll
2020-02-08T17:12:31.6335003Z ##[debug] run
2020-02-08T17:12:31.6347400Z ##[debug] run
2020-02-08T17:12:31.6351114Z ##[debug] build.fsx
2020-02-08T17:12:31.6354146Z ##[debug] build.fsx
2020-02-08T17:12:31.6357692Z ##[debug] --parallel
2020-02-08T17:12:31.6361321Z ##[debug] --parallel
2020-02-08T17:12:31.6364072Z ##[debug] 3
2020-02-08T17:12:31.6366542Z ##[debug] 3
2020-02-08T17:12:31.6369145Z ##[debug] -t
2020-02-08T17:12:31.6371768Z ##[debug] -t
2020-02-08T17:12:31.6373974Z ##[debug] Build
2020-02-08T17:12:31.6376613Z ##[debug] Build
2020-02-08T17:12:31.6386144Z [command]/usr/bin/dotnet /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll run build.fsx --parallel 3 -t Build
2020-02-08T17:12:33.3383583Z Error while parsing command line, usage is:
2020-02-08T17:12:33.3398037Z
2020-02-08T17:12:33.3398525Z General:
2020-02-08T17:12:33.3398877Z
2020-02-08T17:12:33.3399375Z Fake command line is devided into runtime and script arguments.
2020-02-08T17:12:33.3400278Z Runtime arguments control compilation and processing of the script,
2020-02-08T17:12:33.3400678Z while script arguments are specific for the script or provided by
2020-02-08T17:12:33.3401304Z a NuGet package.
2020-02-08T17:12:33.3404108Z In most use cases you use the "Fake.Core.Target"-Package and therefore
2020-02-08T17:12:33.3404572Z inherit the corresponding command line interface. While these arguments
2020-02-08T17:12:33.3405031Z are not strictly part of the runtime we still show both below to
2020-02-08T17:12:33.3405387Z make it easier for newcomers.
2020-02-08T17:12:33.3405706Z
2020-02-08T17:12:33.3408261Z -- RUNTIME ARGUMENTS SECTION --
2020-02-08T17:12:33.3408677Z
2020-02-08T17:12:33.3411475Z
2020-02-08T17:12:33.3411905Z Usage:
2020-02-08T17:12:33.3412669Z fake.exe [fake_opts] run [run_opts] [<script.fsx>] [--] [<scriptargs>...]
2020-02-08T17:12:33.3413413Z fake.exe [fake_opts] build [build_opts] [--] [<scriptargs>...]
2020-02-08T17:12:33.3414128Z fake.exe --version
2020-02-08T17:12:33.3414886Z fake.exe --help | -h
2020-02-08T17:12:33.3415276Z
2020-02-08T17:12:33.3415651Z Fake Options [fake_opts]:
2020-02-08T17:12:33.3420138Z -v, --verbose [*] Verbose (can be used multiple times)
2020-02-08T17:12:33.3420507Z Is ignored if -s is used.
2020-02-08T17:12:33.3420804Z * -v: Log verbose but only for FAKE
2020-02-08T17:12:33.3421096Z * -vv: Log verbose for Paket as well
2020-02-08T17:12:33.3485393Z -s, --silent Be silent, use this option if you need to pipe your output into another tool or need some additional processing.
2020-02-08T17:12:33.3485904Z
2020-02-08T17:12:33.3486215Z Fake Run Options [run_opts]:
2020-02-08T17:12:33.3486904Z -d, --debug Debug the script.
2020-02-08T17:12:33.3487536Z -n, --nocache Disable fake cache for this run.
2020-02-08T17:12:33.3488425Z -p, --partial-restore
2020-02-08T17:12:33.3488936Z Only restore the required group instead of a full restore,
2020-02-08T17:12:33.3489213Z can be set globally by setting the environment variable FAKE_PARTIAL_RESTORE to true.
2020-02-08T17:12:33.3489754Z --fsiargs <fsiargs> [*] Arguments passed to the f# interactive.
2020-02-08T17:12:33.3490143Z
2020-02-08T17:12:33.3490415Z Fake Build Options [build_opts]:
2020-02-08T17:12:33.3490930Z -d, --debug Debug the script.
2020-02-08T17:12:33.3491574Z -n, --nocache Disable fake cache for this run.
2020-02-08T17:12:33.3492195Z -p, --partial-restore
2020-02-08T17:12:33.3492951Z Only restore the required group instead of a full restore,
2020-02-08T17:12:33.3493244Z can be set globally by setting the environment variable FAKE_PARTIAL_RESTORE to true.
2020-02-08T17:12:33.3493811Z --fsiargs <fsiargs> [*] Arguments passed to the f# interactive.
2020-02-08T17:12:33.3494640Z -f, --script <script.fsx>
2020-02-08T17:12:33.3495045Z The script to execute (defaults to `build.fsx`).
2020-02-08T17:12:33.3495257Z
2020-02-08T17:12:33.3495463Z
2020-02-08T17:12:33.3495969Z -- SCRIPT ARGUMENTS SECTION --
2020-02-08T17:12:33.3496255Z
2020-02-08T17:12:33.3496792Z THIS SECTION ONLY APPLIES IF YOU USE THE 'Fake.Core.Target' PACKAGE!
2020-02-08T17:12:33.3497085Z You can use the following arguments in place of `<scriptargs>`:
2020-02-08T17:12:33.3497403Z
2020-02-08T17:12:33.3498156Z Usage:
2020-02-08T17:12:33.3498500Z fake-run --list
2020-02-08T17:12:33.3498769Z fake-run --write-info <file>
2020-02-08T17:12:33.3499133Z fake-run --version
2020-02-08T17:12:33.3499391Z fake-run --help | -h
2020-02-08T17:12:33.3499690Z fake-run [target_opts] [target <target>] [--] [<targetargs>...]
2020-02-08T17:12:33.3499731Z
2020-02-08T17:12:33.3499850Z Target Module Options [target_opts]:
2020-02-08T17:12:33.3500243Z -t, --target <target>
2020-02-08T17:12:33.3500353Z Run the given target (ignored if positional
2020-02-08T17:12:33.3500936Z argument 'target' is given)
2020-02-08T17:12:33.3501259Z -e, --environment-variable <keyval> [*]
2020-02-08T17:12:33.3501567Z Set an environment variable. Use 'key=val'.
2020-02-08T17:12:33.3501875Z Consider using regular arguments, see https://fake.build/core-targets.html
2020-02-08T17:12:33.3502192Z -s, --single-target Run only the specified target.
2020-02-08T17:12:33.3502494Z -p, --parallel <num> Run parallel with the given number of tasks.
2020-02-08T17:12:33.3502534Z
2020-02-08T17:12:33.3502574Z Example:
2020-02-08T17:12:33.3502685Z
2020-02-08T17:12:33.3502728Z To use verbose mode (from [fake_opts]) and print all
2020-02-08T17:12:33.3503024Z targets use "fake -v build -- --list". Because "--list"
2020-02-08T17:12:33.3503319Z doesn't conflict with any of the [build_opts], you can use
2020-02-08T17:12:33.3503604Z "fake -v build --list"
2020-02-08T17:12:33.3708178Z -> TypeInitializationException: The type initializer for '<StartupCode$Paket-Core>.$Paket.Utils' threw an exception.
2020-02-08T17:12:33.4888801Z -> ArgumentNullException: Value cannot be null.
2020-02-08T17:12:33.4889831Z Parameter name: path1
2020-02-08T17:12:33.4986483Z ##[debug]rc:1
2020-02-08T17:12:33.4988770Z ##[debug]rc:1
2020-02-08T17:12:33.4991082Z ##[debug]success:false
2020-02-08T17:12:33.4993030Z ##[debug]success:false
2020-02-08T17:12:33.5160383Z ##[error]/usr/bin/dotnet failed with return code: 1
2020-02-08T17:12:33.5176838Z ##[debug]Processed: ##vso[task.issue type=error;]/usr/bin/dotnet failed with return code: 1
2020-02-08T17:12:33.5177210Z ##[debug]task result: Failed
2020-02-08T17:12:33.5177741Z ##[error]/usr/bin/dotnet failed with return code: 1
2020-02-08T17:12:33.5178106Z ##[debug]Processed: ##vso[task.issue type=error;]/usr/bin/dotnet failed with return code: 1
2020-02-08T17:12:33.5178937Z ##[debug]Processed: ##vso[task.complete result=Failed;]/usr/bin/dotnet failed with return code: 1
2020-02-08T17:12:33.5427007Z ##[error]Exit code 1 returned from process: file name '/opt/myagent/externals/node/bin/node', arguments '"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/runFake5.js"'.
2020-02-08T17:12:33.5432483Z ##[debug]Microsoft.VisualStudio.Services.Agent.Util.ProcessExitCodeException: Exit code 1 returned from process: file name '/opt/myagent/externals/node/bin/node', arguments '"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/runFake5.js"'.
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
2020-02-08T17:12:33.5435027Z ##[section]Finishing: Execute the build.fsx FAKE 5 script
Sorry, can you try with a lower case 't' in 'true'?
2020-02-08T17:12:31.6151612Z ##[debug]FAKE_DETAILED_ERRORS=True
Sadly it didn't include any additional output
Sure
2020-02-09T09:48:45.8385659Z ##[debug]Evaluating condition for step: 'Execute the build.fsx FAKE 5 script'
2020-02-09T09:48:45.8386499Z ##[debug]Evaluating: succeeded()
2020-02-09T09:48:45.8386698Z ##[debug]Evaluating succeeded:
2020-02-09T09:48:45.8386918Z ##[debug]=> True
2020-02-09T09:48:45.8387286Z ##[debug]Result: True
2020-02-09T09:48:45.8387568Z ##[section]Starting: Execute the build.fsx FAKE 5 script
2020-02-09T09:48:45.8393126Z ==============================================================================
2020-02-09T09:48:45.8393192Z Task : FAKE 5 Runner
2020-02-09T09:48:45.8393309Z Description : Runs a FAKE 5 build script.
2020-02-09T09:48:45.8393358Z Version : 1.0.8
2020-02-09T09:48:45.8393396Z Author : Matthias Dittrich
2020-02-09T09:48:45.8393494Z Help : This task downloads and caches the FAKE runner and executes the FAKE 5 build script specified.
2020-02-09T09:48:45.8393551Z ==============================================================================
2020-02-09T09:48:46.0043545Z ##[debug]agent.TempDirectory=/opt/myagent/_work/_temp
2020-02-09T09:48:46.0077307Z ##[debug]loading inputs and endpoints
2020-02-09T09:48:46.0083824Z ##[debug]loading INPUT_FAKEVERSION
2020-02-09T09:48:46.0099125Z ##[debug]loading INPUT_FAKESCRIPT
2020-02-09T09:48:46.0103921Z ##[debug]loading INPUT_SCRIPTARGUMENTS
2020-02-09T09:48:46.0107718Z ##[debug]loading INPUT_WORKINGDIRECTORY
2020-02-09T09:48:46.0114695Z ##[debug]loading INPUT_PREVENTSECRETS
2020-02-09T09:48:46.0118459Z ##[debug]loading INPUT_FAILONSTDERROR
2020-02-09T09:48:46.0122057Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2020-02-09T09:48:46.0125934Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2020-02-09T09:48:46.0129178Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2020-02-09T09:48:46.0136857Z ##[debug]loaded 9
2020-02-09T09:48:46.0155121Z ##[debug]Agent.ProxyUrl=undefined
2020-02-09T09:48:46.0158415Z ##[debug]Agent.CAInfo=undefined
2020-02-09T09:48:46.0160560Z ##[debug]Agent.ClientCert=undefined
2020-02-09T09:48:46.0162881Z ##[debug]Agent.SkipCertValidation=undefined
2020-02-09T09:48:46.0606160Z ##[debug]Agent.ProxyUrl=undefined
2020-02-09T09:48:46.0614032Z ##[debug]check path : /opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-task-tool-lib/lib.json
2020-02-09T09:48:46.0617615Z ##[debug]adding resource file: /opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-task-tool-lib/lib.json
2020-02-09T09:48:46.0620172Z ##[debug]system.culture=en-US
2020-02-09T09:48:46.0669508Z setup paket credential manager
2020-02-09T09:48:46.0684446Z ##[debug]Adding '/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider' to 'NUGET_CREDENTIALPROVIDERS_PATH'
2020-02-09T09:48:46.0688537Z ##[debug]set NUGET_CREDENTIALPROVIDERS_PATH=/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-09T09:48:46.0720555Z ##[debug]Processed: ##vso[task.setvariable variable=NUGET_CREDENTIALPROVIDERS_PATH;issecret=false;]/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-09T09:48:46.0731479Z SYSTEMVSSCONNECTION exists true
2020-02-09T09:48:46.0733439Z ##[debug]SYSTEMVSSCONNECTION exists true
2020-02-09T09:48:46.0736092Z ##[debug]set PAKET_VSS_NUGET_ACCESSTOKEN=***
2020-02-09T09:48:46.0740337Z ##[debug]Processed: ##vso[task.setvariable variable=PAKET_VSS_NUGET_ACCESSTOKEN;issecret=false;]***
2020-02-09T09:48:46.0757894Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0760661Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0762976Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0765155Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0767224Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0770156Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0772632Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0775018Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0777342Z (node:15403) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-09T09:48:46.0788361Z ##[debug]FakeScript=/opt/myagent/_work/1/s/build.fsx
2020-02-09T09:48:46.0790957Z ##[debug]Using scriptPath '/opt/myagent/_work/1/s/build.fsx'.
2020-02-09T09:48:46.0794783Z ##[debug]WorkingDirectory=/opt/myagent/_work/1/s
2020-02-09T09:48:46.0798239Z ##[debug]ScriptArguments=--parallel 3 -t Build
2020-02-09T09:48:46.0800232Z ##[debug]FakeArguments=null
2020-02-09T09:48:46.0803316Z ##[debug]FakeVersion=5.19.0
2020-02-09T09:48:46.0807660Z ##[debug]PreventSecrets=false
2020-02-09T09:48:46.0810390Z ##[debug]FailOnStdError=false
2020-02-09T09:48:46.0819213Z ##[debug]which 'dotnet'
2020-02-09T09:48:46.0827944Z ##[debug]found: '/usr/bin/dotnet'
2020-02-09T09:48:46.0833601Z ##[debug]isExplicit: 5.19.0
2020-02-09T09:48:46.0836132Z ##[debug]explicit? true
2020-02-09T09:48:46.0839430Z ##[debug]Agent.Version=2.164.7
2020-02-09T09:48:46.0841796Z ##[debug]Agent.ToolsDirectory=/opt/myagent/_work/_tool
2020-02-09T09:48:46.0843764Z ##[debug]checking cache: /opt/myagent/_work/_tool/fake/5.19.0/x64
2020-02-09T09:48:46.0897290Z Found tool in cache: fake 5.19.0 x64
2020-02-09T09:48:46.0910985Z ##[debug]agent.acceptteeeula=True
2020-02-09T09:48:46.0922147Z ##[debug]agent.osarchitecture=X64
2020-02-09T09:48:46.0924320Z ##[debug]agent.TempDirectory=/opt/myagent/_work/_temp
2020-02-09T09:48:46.0926223Z ##[debug]system.collectionUri=https://dev.azure.com/sergeysaleen/
2020-02-09T09:48:46.0928651Z ##[debug]agent.os=Linux
2020-02-09T09:48:46.0930782Z ##[debug]System.TotalJobsInPhase=1
2020-02-09T09:48:46.0933232Z ##[debug]build.sourceVersion=6369c19a50231c64815c7d6e4dee6347b4ddcf71
2020-02-09T09:48:46.0935459Z ##[debug]system.teamFoundationCollectionUri=https://dev.azure.com/sergeysaleen/
2020-02-09T09:48:46.0938323Z ##[debug]system.stageId=96ac2280-8cb4-5df5-99de-dd2da759617d
2020-02-09T09:48:46.0940625Z ##[debug]system.jobIdentifier=Job_1.__default
2020-02-09T09:48:46.0942801Z ##[debug]agent.ToolsDirectory=/opt/myagent/_work/_tool
2020-02-09T09:48:46.0945138Z ##[debug]system.pullRequest.isFork=False
2020-02-09T09:48:46.0947592Z ##[debug]build.buildId=31
2020-02-09T09:48:46.0949887Z ##[debug]system.definitionName=The-Ego-CI
2020-02-09T09:48:46.0951259Z ##[debug]agent.RootDirectory=/opt/myagent/_work
2020-02-09T09:48:46.0957056Z ##[debug]System.JobPositionInPhase=1
2020-02-09T09:48:46.0959253Z ##[debug]system.phaseDisplayName=Build and run
2020-02-09T09:48:46.0960587Z ##[debug]agent.name=agent
2020-02-09T09:48:46.0962442Z ##[debug]system.jobDisplayName=Build and run
2020-02-09T09:48:46.0963852Z ##[debug]agent.homedirectory=/opt/myagent
2020-02-09T09:48:46.0965607Z ##[debug]MSDEPLOY_HTTP_USER_AGENT=VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0
2020-02-09T09:48:46.0966933Z ##[debug]system.defaultworkingdirectory=/opt/myagent/_work/1/s
2020-02-09T09:48:46.0968335Z ##[debug]system.stageName=__default
2020-02-09T09:48:46.0969703Z ##[debug]agent.jobname=Build and run
2020-02-09T09:48:46.0971029Z ##[debug]system.jobName=__default
2020-02-09T09:48:46.0972292Z ##[debug]system.artifactsdirectory=/opt/myagent/_work/1/a
2020-02-09T09:48:46.0973621Z ##[debug]system.debug=true
2020-02-09T09:48:46.0975228Z ##[debug]build.repository.uri=https://sergeysaleen@dev.azure.com/sergeysaleen/The-Ego/_git/The-Ego
2020-02-09T09:48:46.0976871Z ##[debug]build.requestedForId=ee4b5751-a933-4d94-92a2-880370494fe1
2020-02-09T09:48:46.0978420Z ##[debug]system.culture=en-US
2020-02-09T09:48:46.0983333Z ##[debug]system.teamProject=The-Ego
2020-02-09T09:48:46.0984784Z ##[debug]agent.id=10
2020-02-09T09:48:46.0986180Z ##[debug]build.requestedForEmail=sergeysaleen@outlook.com
2020-02-09T09:48:46.0987452Z ##[debug]common.testresultsdirectory=/opt/myagent/_work/1/TestResults
2020-02-09T09:48:46.0989399Z ##[debug]build.binariesdirectory=/opt/myagent/_work/1/b
2020-02-09T09:48:46.0990906Z ##[debug]VSTS_PROCESS_LOOKUP_ID=vsts_7dcee1a6-9dc0-4c03-af09-d63e86f11e81
2020-02-09T09:48:46.0992494Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0
2020-02-09T09:48:46.0993782Z ##[debug]system.servertype=Hosted
2020-02-09T09:48:46.0995495Z ##[debug]build.definitionName=The-Ego-CI
2020-02-09T09:48:46.0996785Z ##[debug]agent.version=2.164.7
2020-02-09T09:48:46.0998379Z ##[debug]system.pipelineStartTime=2020-02-09 09:48:35+00:00
2020-02-09T09:48:46.1000193Z ##[debug]build.queuedBy=Салин Сергей ÐлекÑандрович
2020-02-09T09:48:46.1005065Z ##[debug]system.workfolder=/opt/myagent/_work
2020-02-09T09:48:46.1006451Z ##[debug]agent.retainDefaultEncoding=false
2020-02-09T09:48:46.1007823Z ##[debug]system.jobAttempt=1
2020-02-09T09:48:46.1009164Z ##[debug]system.phaseName=Job_1
2020-02-09T09:48:46.1010982Z ##[debug]system.timelineId=08d4728a-f7f1-437d-8c31-bcce5ba83593
2020-02-09T09:48:46.1012876Z ##[debug]system.jobId=275f1d19-1bd8-5591-b06b-07d489ea915a
2020-02-09T09:48:46.1014173Z ##[debug]agent.machinename=ya
2020-02-09T09:48:46.1015664Z ##[debug]GIT_TERMINAL_PROMPT=0
2020-02-09T09:48:46.1016989Z ##[debug]system.taskDefinitionsUri=https://dev.azure.com/sergeysaleen/
2020-02-09T09:48:46.1018368Z ##[debug]build.repository.provider=TfsGit
2020-02-09T09:48:46.1019909Z ##[debug]build.requestedFor=Салин Сергей ÐлекÑандрович
2020-02-09T09:48:46.1021518Z ##[debug]FAKE_DETAILED_ERRORS=true
2020-02-09T09:48:46.1022792Z ##[debug]system.taskDisplayName=Execute the build.fsx FAKE 5 script
2020-02-09T09:48:46.1024457Z ##[debug]system.phaseId=2f97f1d8-943c-5cda-8782-cbcebf2b3d67
2020-02-09T09:48:46.1025813Z ##[debug]build.containerId=1794303
2020-02-09T09:48:46.1027173Z ##[debug]build.buildUri=vstfs:///Build/Build/31
2020-02-09T09:48:46.1028653Z ##[debug]build.queuedById=ee4b5751-a933-4d94-92a2-880370494fe1
2020-02-09T09:48:46.1030107Z ##[debug]agent.readOnlyVariables=true
2020-02-09T09:48:46.1031398Z ##[debug]build.buildNumber=31
2020-02-09T09:48:46.1032969Z ##[debug]build.sourceVersionMessage=Removed some junk (not needed for now) and counter works
2020-02-09T09:48:46.1034543Z ##[debug]system.planId=08d4728a-f7f1-437d-8c31-bcce5ba83593
2020-02-09T09:48:46.1035993Z ##[debug]system.taskInstanceName=FAKE5
2020-02-09T09:48:46.1037265Z ##[debug]build.definitionVersion=29
2020-02-09T09:48:46.1038607Z ##[debug]system.definitionId=2
2020-02-09T09:48:46.1039989Z ##[debug]task.displayname=Execute the build.fsx FAKE 5 script
2020-02-09T09:48:46.1044885Z ##[debug]build.repository.localpath=/opt/myagent/_work/1/s
2020-02-09T09:48:46.1046193Z ##[debug]build.reason=Manual
2020-02-09T09:48:46.1047787Z ##[debug]system.teamProjectId=5cf371e1-400b-4778-9c9d-51e169b8d112
2020-02-09T09:48:46.1049136Z ##[debug]pipeline.workspace=/opt/myagent/_work/1
2020-02-09T09:48:46.1050487Z ##[debug]system.hosttype=build
2020-02-09T09:48:46.1051741Z ##[debug]system.phaseAttempt=1
2020-02-09T09:48:46.1053229Z ##[debug]build.sourceBranch=refs/heads/dev
2020-02-09T09:48:46.1055028Z ##[debug]system.taskInstanceId=281fb954-634f-515e-8a6c-37ef435b970e
2020-02-09T09:48:46.1056494Z ##[debug]build.sourceBranchName=dev
2020-02-09T09:48:46.1057753Z ##[debug]system=build
2020-02-09T09:48:46.1059188Z ##[debug]system.stageDisplayName=__default
2020-02-09T09:48:46.1071674Z ##[debug]agent.jobstatus=Succeeded
2020-02-09T09:48:46.1083670Z ##[debug]system.jobParallelismTag=Private
2020-02-09T09:48:46.1086199Z ##[debug]system.collectionId=50a14eb7-3693-4421-8116-4581b1687e7f
2020-02-09T09:48:46.1087653Z ##[debug]agent.disablelogplugin.TestResultLogPlugin=true
2020-02-09T09:48:46.1089179Z ##[debug]build.repository.id=60b64fae-1979-4bdd-9869-1125bdf2b50c
2020-02-09T09:48:46.1098311Z ##[debug]build.sourceVersionAuthor=Sergey
2020-02-09T09:48:46.1100452Z ##[debug]system.stageAttempt=1
2020-02-09T09:48:46.1102396Z ##[debug]agent.builddirectory=/opt/myagent/_work/1
2020-02-09T09:48:46.1103760Z ##[debug]agent.workfolder=/opt/myagent/_work
2020-02-09T09:48:46.1105592Z ##[debug]build.artifactstagingdirectory=/opt/myagent/_work/1/a
2020-02-09T09:48:46.1107276Z ##[debug]build.Repository.name=The-Ego
2020-02-09T09:48:46.1108580Z ##[debug]system.isScheduled=False
2020-02-09T09:48:46.1109908Z ##[debug]system.TeamFoundationServerUri=https://dev.azure.com/sergeysaleen/
2020-02-09T09:48:46.1111179Z ##[debug]agent.disablelogplugin.TestFilePublisherPlugin=true
2020-02-09T09:48:46.1112585Z ##[debug]build.sourcesdirectory=/opt/myagent/_work/1/s
2020-02-09T09:48:46.1113845Z ##[debug]build.stagingdirectory=/opt/myagent/_work/1/a
2020-02-09T09:48:46.1115578Z ##[debug]NUGET_CREDENTIALPROVIDERS_PATH=/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider
2020-02-09T09:48:46.1117848Z ##[debug]PAKET_VSS_NUGET_ACCESSTOKEN=***
2020-02-09T09:48:46.1129751Z ##[debug]FAKE_VSTS_VAULT_VARIABLES: {"keyFile":"/opt/myagent/_work/1/s/.fake/build.fsx/.secret","iv":"S+yXdq3/uKyxXLFl1AEuaA==","values":[{"secret":false,"value":"True","name":"agent.acceptteeeula"},{"secret":false,"value":"X64","name":"agent.osarchitecture"},{"secret":false,"value":"/opt/myagent/_work/_temp","name":"agent.TempDirectory"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.collectionUri"},{"secret":false,"value":"Linux","name":"agent.os"},{"secret":false,"value":"1","name":"System.TotalJobsInPhase"},{"secret":false,"value":"6369c19a50231c64815c7d6e4dee6347b4ddcf71","name":"build.sourceVersion"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.teamFoundationCollectionUri"},{"secret":false,"value":"96ac2280-8cb4-5df5-99de-dd2da759617d","name":"system.stageId"},{"secret":false,"value":"Job_1.__default","name":"system.jobIdentifier"},{"secret":false,"value":"/opt/myagent/_work/_tool","name":"agent.ToolsDirectory"},{"secret":false,"value":"False","name":"system.pullRequest.isFork"},{"secret":false,"value":"31","name":"build.buildId"},{"secret":false,"value":"The-Ego-CI","name":"system.definitionName"},{"secret":false,"value":"/opt/myagent/_work","name":"agent.RootDirectory"},{"secret":false,"value":"1","name":"System.JobPositionInPhase"},{"secret":false,"value":"Build and run","name":"system.phaseDisplayName"},{"secret":false,"value":"agent","name":"agent.name"},{"secret":false,"value":"Build and run","name":"system.jobDisplayName"},{"secret":false,"value":"/opt/myagent","name":"agent.homedirectory"},{"secret":false,"value":"VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0","name":"MSDEPLOY_HTTP_USER_AGENT"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"system.defaultworkingdirectory"},{"secret":false,"value":"__default","name":"system.stageName"},{"secret":false,"value":"Build and run","name":"agent.jobname"},{"secret":false,"value":"__default","name":"system.jobName"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"system.artifactsdirectory"},{"secret":false,"value":"true","name":"system.debug"},{"secret":false,"value":"https://sergeysaleen@dev.azure.com/sergeysaleen/The-Ego/_git/The-Ego","name":"build.repository.uri"},{"secret":false,"value":"ee4b5751-a933-4d94-92a2-880370494fe1","name":"build.requestedForId"},{"secret":false,"value":"en-US","name":"system.culture"},{"secret":false,"value":"The-Ego","name":"system.teamProject"},{"secret":false,"value":"10","name":"agent.id"},{"secret":false,"value":"sergeysaleen@outlook.com","name":"build.requestedForEmail"},{"secret":false,"value":"/opt/myagent/_work/1/TestResults","name":"common.testresultsdirectory"},{"secret":false,"value":"/opt/myagent/_work/1/b","name":"build.binariesdirectory"},{"secret":false,"value":"vsts_7dcee1a6-9dc0-4c03-af09-d63e86f11e81","name":"VSTS_PROCESS_LOOKUP_ID"},{"secret":false,"value":"VSTS_50a14eb7-3693-4421-8116-4581b1687e7f_build_2_0","name":"AZURE_HTTP_USER_AGENT"},{"secret":false,"value":"Hosted","name":"system.servertype"},{"secret":false,"value":"The-Ego-CI","name":"build.definitionName"},{"secret":false,"value":"2.164.7","name":"agent.version"},{"secret":false,"value":"2020-02-09 09:48:35+00:00","name":"system.pipelineStartTime"},{"secret":false,"value":"Салин Сергей ÐлекÑандрович","name":"build.queuedBy"},{"secret":false,"value":"/opt/myagent/_work","name":"system.workfolder"},{"secret":false,"value":"false","name":"agent.retainDefaultEncoding"},{"secret":false,"value":"1","name":"system.jobAttempt"},{"secret":false,"value":"Job_1","name":"system.phaseName"},{"secret":false,"value":"08d4728a-f7f1-437d-8c31-bcce5ba83593","name":"system.timelineId"},{"secret":false,"value":"275f1d19-1bd8-5591-b06b-07d489ea915a","name":"system.jobId"},{"secret":false,"value":"ya","name":"agent.machinename"},{"secret":false,"value":"0","name":"GIT_TERMINAL_PROMPT"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.taskDefinitionsUri"},{"secret":false,"value":"TfsGit","name":"build.repository.provider"},{"secret":false,"value":"Салин Сергей ÐлекÑандрович","name":"build.requestedFor"},{"secret":false,"value":"true","name":"FAKE_DETAILED_ERRORS"},{"secret":false,"value":"Execute the build.fsx FAKE 5 script","name":"system.taskDisplayName"},{"secret":false,"value":"2f97f1d8-943c-5cda-8782-cbcebf2b3d67","name":"system.phaseId"},{"secret":false,"value":"1794303","name":"build.containerId"},{"secret":false,"value":"vstfs:///Build/Build/31","name":"build.buildUri"},{"secret":false,"value":"ee4b5751-a933-4d94-92a2-880370494fe1","name":"build.queuedById"},{"secret":false,"value":"true","name":"agent.readOnlyVariables"},{"secret":false,"value":"31","name":"build.buildNumber"},{"secret":false,"value":"Removed some junk (not needed for now) and counter works","name":"build.sourceVersionMessage"},{"secret":false,"value":"08d4728a-f7f1-437d-8c31-bcce5ba83593","name":"system.planId"},{"secret":false,"value":"FAKE5","name":"system.taskInstanceName"},{"secret":false,"value":"29","name":"build.definitionVersion"},{"secret":false,"value":"2","name":"system.definitionId"},{"secret":false,"value":"Execute the build.fsx FAKE 5 script","name":"task.displayname"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"build.repository.localpath"},{"secret":false,"value":"Manual","name":"build.reason"},{"secret":false,"value":"5cf371e1-400b-4778-9c9d-51e169b8d112","name":"system.teamProjectId"},{"secret":false,"value":"/opt/myagent/_work/1","name":"pipeline.workspace"},{"secret":false,"value":"build","name":"system.hosttype"},{"secret":false,"value":"1","name":"system.phaseAttempt"},{"secret":false,"value":"refs/heads/dev","name":"build.sourceBranch"},{"secret":false,"value":"281fb954-634f-515e-8a6c-37ef435b970e","name":"system.taskInstanceId"},{"secret":false,"value":"dev","name":"build.sourceBranchName"},{"secret":false,"value":"build","name":"system"},{"secret":false,"value":"__default","name":"system.stageDisplayName"},{"secret":false,"value":"Succeeded","name":"agent.jobstatus"},{"secret":false,"value":"Private","name":"system.jobParallelismTag"},{"secret":false,"value":"50a14eb7-3693-4421-8116-4581b1687e7f","name":"system.collectionId"},{"secret":false,"value":"true","name":"agent.disablelogplugin.TestResultLogPlugin"},{"secret":false,"value":"60b64fae-1979-4bdd-9869-1125bdf2b50c","name":"build.repository.id"},{"secret":false,"value":"Sergey","name":"build.sourceVersionAuthor"},{"secret":false,"value":"1","name":"system.stageAttempt"},{"secret":false,"value":"/opt/myagent/_work/1","name":"agent.builddirectory"},{"secret":false,"value":"/opt/myagent/_work","name":"agent.workfolder"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"build.artifactstagingdirectory"},{"secret":false,"value":"The-Ego","name":"build.Repository.name"},{"secret":false,"value":"False","name":"system.isScheduled"},{"secret":false,"value":"https://dev.azure.com/sergeysaleen/","name":"system.TeamFoundationServerUri"},{"secret":false,"value":"true","name":"agent.disablelogplugin.TestFilePublisherPlugin"},{"secret":false,"value":"/opt/myagent/_work/1/s","name":"build.sourcesdirectory"},{"secret":false,"value":"/opt/myagent/_work/1/a","name":"build.stagingdirectory"},{"secret":false,"value":"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/node_modules/vsts-fsharp-task-common/CredentialProvider","name":"NUGET_CREDENTIALPROVIDERS_PATH"},{"secret":false,"value":***,"name":"PAKET_VSS_NUGET_ACCESSTOKEN"}]}
2020-02-09T09:48:46.1137619Z ##[debug]which '/usr/bin/dotnet'
2020-02-09T09:48:46.1139963Z ##[debug]found: '/usr/bin/dotnet'
2020-02-09T09:48:46.1186189Z ##[debug]which '/usr/bin/dotnet'
2020-02-09T09:48:46.1188750Z ##[debug]found: '/usr/bin/dotnet'
2020-02-09T09:48:46.1217463Z ##[debug]/usr/bin/dotnet arg: /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll run "build.fsx" --parallel 3 -t Build
2020-02-09T09:48:46.1220006Z ##[debug]/usr/bin/dotnet arg: /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll run "build.fsx" --parallel 3 -t Build
2020-02-09T09:48:46.1231903Z ##[debug]exec tool: /usr/bin/dotnet
2020-02-09T09:48:46.1233606Z ##[debug]exec tool: /usr/bin/dotnet
2020-02-09T09:48:46.1235437Z ##[debug]arguments:
2020-02-09T09:48:46.1237036Z ##[debug]arguments:
2020-02-09T09:48:46.1239380Z ##[debug] /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll
2020-02-09T09:48:46.1241243Z ##[debug] /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll
2020-02-09T09:48:46.1243066Z ##[debug] run
2020-02-09T09:48:46.1244755Z ##[debug] run
2020-02-09T09:48:46.1246445Z ##[debug] build.fsx
2020-02-09T09:48:46.1248013Z ##[debug] build.fsx
2020-02-09T09:48:46.1249928Z ##[debug] --parallel
2020-02-09T09:48:46.1252552Z ##[debug] --parallel
2020-02-09T09:48:46.1254817Z ##[debug] 3
2020-02-09T09:48:46.1256746Z ##[debug] 3
2020-02-09T09:48:46.1258884Z ##[debug] -t
2020-02-09T09:48:46.1261106Z ##[debug] -t
2020-02-09T09:48:46.1263089Z ##[debug] Build
2020-02-09T09:48:46.1265154Z ##[debug] Build
2020-02-09T09:48:46.1272462Z [command]/usr/bin/dotnet /opt/myagent/_work/_tool/fake/5.19.0/x64/fake.dll run build.fsx --parallel 3 -t Build
2020-02-09T09:48:47.1959542Z Error while parsing command line, usage is:
2020-02-09T09:48:47.1974829Z
2020-02-09T09:48:47.1975214Z General:
2020-02-09T09:48:47.1975603Z
2020-02-09T09:48:47.1975915Z Fake command line is devided into runtime and script arguments.
2020-02-09T09:48:47.1976662Z Runtime arguments control compilation and processing of the script,
2020-02-09T09:48:47.1977319Z while script arguments are specific for the script or provided by
2020-02-09T09:48:47.1977655Z a NuGet package.
2020-02-09T09:48:47.1980580Z In most use cases you use the "Fake.Core.Target"-Package and therefore
2020-02-09T09:48:47.1980992Z inherit the corresponding command line interface. While these arguments
2020-02-09T09:48:47.1981234Z are not strictly part of the runtime we still show both below to
2020-02-09T09:48:47.1981468Z make it easier for newcomers.
2020-02-09T09:48:47.1981917Z
2020-02-09T09:48:47.1984792Z -- RUNTIME ARGUMENTS SECTION --
2020-02-09T09:48:47.1985210Z
2020-02-09T09:48:47.1987996Z
2020-02-09T09:48:47.1988397Z Usage:
2020-02-09T09:48:47.1989034Z fake.exe [fake_opts] run [run_opts] [<script.fsx>] [--] [<scriptargs>...]
2020-02-09T09:48:47.1989645Z fake.exe [fake_opts] build [build_opts] [--] [<scriptargs>...]
2020-02-09T09:48:47.1990318Z fake.exe --version
2020-02-09T09:48:47.1990876Z fake.exe --help | -h
2020-02-09T09:48:47.1991136Z
2020-02-09T09:48:47.1991534Z Fake Options [fake_opts]:
2020-02-09T09:48:47.1994746Z -v, --verbose [*] Verbose (can be used multiple times)
2020-02-09T09:48:47.1995106Z Is ignored if -s is used.
2020-02-09T09:48:47.1995409Z * -v: Log verbose but only for FAKE
2020-02-09T09:48:47.1995844Z * -vv: Log verbose for Paket as well
2020-02-09T09:48:47.1998927Z -s, --silent Be silent, use this option if you need to pipe your output into another tool or need some additional processing.
2020-02-09T09:48:47.1998996Z
2020-02-09T09:48:47.1999142Z Fake Run Options [run_opts]:
2020-02-09T09:48:47.1999470Z -d, --debug Debug the script.
2020-02-09T09:48:47.1999772Z -n, --nocache Disable fake cache for this run.
2020-02-09T09:48:47.2000348Z -p, --partial-restore
2020-02-09T09:48:47.2003284Z Only restore the required group instead of a full restore,
2020-02-09T09:48:47.2003362Z can be set globally by setting the environment variable FAKE_PARTIAL_RESTORE to true.
2020-02-09T09:48:47.2003771Z --fsiargs <fsiargs> [*] Arguments passed to the f# interactive.
2020-02-09T09:48:47.2003913Z
2020-02-09T09:48:47.2006653Z Fake Build Options [build_opts]:
2020-02-09T09:48:47.2007093Z -d, --debug Debug the script.
2020-02-09T09:48:47.2007484Z -n, --nocache Disable fake cache for this run.
2020-02-09T09:48:47.2007807Z -p, --partial-restore
2020-02-09T09:48:47.2007869Z Only restore the required group instead of a full restore,
2020-02-09T09:48:47.2009550Z can be set globally by setting the environment variable FAKE_PARTIAL_RESTORE to true.
2020-02-09T09:48:47.2010061Z --fsiargs <fsiargs> [*] Arguments passed to the f# interactive.
2020-02-09T09:48:47.2010376Z -f, --script <script.fsx>
2020-02-09T09:48:47.2012242Z The script to execute (defaults to `build.fsx`).
2020-02-09T09:48:47.2013936Z
2020-02-09T09:48:47.2014014Z
2020-02-09T09:48:47.2014387Z -- SCRIPT ARGUMENTS SECTION --
2020-02-09T09:48:47.2014433Z
2020-02-09T09:48:47.2014942Z THIS SECTION ONLY APPLIES IF YOU USE THE 'Fake.Core.Target' PACKAGE!
2020-02-09T09:48:47.2015029Z You can use the following arguments in place of `<scriptargs>`:
2020-02-09T09:48:47.2015061Z
2020-02-09T09:48:47.2015101Z Usage:
2020-02-09T09:48:47.2015459Z fake-run --list
2020-02-09T09:48:47.2015866Z fake-run --write-info <file>
2020-02-09T09:48:47.2016388Z fake-run --version
2020-02-09T09:48:47.2018458Z fake-run --help | -h
2020-02-09T09:48:47.2018911Z fake-run [target_opts] [target <target>] [--] [<targetargs>...]
2020-02-09T09:48:47.2018961Z
2020-02-09T09:48:47.2019007Z Target Module Options [target_opts]:
2020-02-09T09:48:47.2019271Z -t, --target <target>
2020-02-09T09:48:47.2019735Z Run the given target (ignored if positional
2020-02-09T09:48:47.2020057Z argument 'target' is given)
2020-02-09T09:48:47.2030002Z -e, --environment-variable <keyval> [*]
2020-02-09T09:48:47.2030581Z Set an environment variable. Use 'key=val'.
2020-02-09T09:48:47.2031345Z Consider using regular arguments, see https://fake.build/core-targets.html
2020-02-09T09:48:47.2031734Z -s, --single-target Run only the specified target.
2020-02-09T09:48:47.2042389Z -p, --parallel <num> Run parallel with the given number of tasks.
2020-02-09T09:48:47.2042564Z
2020-02-09T09:48:47.2042616Z Example:
2020-02-09T09:48:47.2042644Z
2020-02-09T09:48:47.2042686Z To use verbose mode (from [fake_opts]) and print all
2020-02-09T09:48:47.2043219Z targets use "fake -v build -- --list". Because "--list"
2020-02-09T09:48:47.2043525Z doesn't conflict with any of the [build_opts], you can use
2020-02-09T09:48:47.2043790Z "fake -v build --list"
2020-02-09T09:48:47.2308821Z -> TypeInitializationException: The type initializer for '<StartupCode$Paket-Core>.$Paket.Utils' threw an exception.
2020-02-09T09:48:47.3564561Z StackTrace:
2020-02-09T09:48:47.3595630Z at Program.handleAction(VerboseLevel verboseLevel, CliAction action) in D:\a\1\s\src\app\Fake.netcore\Program.fs:line 216
2020-02-09T09:48:47.3595998Z at Program.main(String[] args) in D:\a\1\s\src\app\Fake.netcore\Program.fs:line 314
2020-02-09T09:48:47.3600278Z -> ArgumentNullException: Value cannot be null.
2020-02-09T09:48:47.3600708Z Parameter name: path1
2020-02-09T09:48:47.3611176Z StackTrace:
2020-02-09T09:48:47.3614438Z at System.IO.Path.Combine(String path1, String path2)
2020-02-09T09:48:47.3615615Z at <StartupCode$Paket-Core>.$Paket.Utils..cctor()
2020-02-09T09:48:47.3715616Z ##[debug]rc:1
2020-02-09T09:48:47.3717642Z ##[debug]rc:1
2020-02-09T09:48:47.3719515Z ##[debug]success:false
2020-02-09T09:48:47.3762334Z ##[debug]success:false
2020-02-09T09:48:47.3888274Z ##[error]/usr/bin/dotnet failed with return code: 1
2020-02-09T09:48:47.3900955Z ##[debug]Processed: ##vso[task.issue type=error;]/usr/bin/dotnet failed with return code: 1
2020-02-09T09:48:47.3901282Z ##[debug]task result: Failed
2020-02-09T09:48:47.3901835Z ##[error]/usr/bin/dotnet failed with return code: 1
2020-02-09T09:48:47.3902131Z ##[debug]Processed: ##vso[task.issue type=error;]/usr/bin/dotnet failed with return code: 1
2020-02-09T09:48:47.3902716Z ##[debug]Processed: ##vso[task.complete result=Failed;]/usr/bin/dotnet failed with return code: 1
2020-02-09T09:48:47.4225758Z ##[error]Exit code 1 returned from process: file name '/opt/myagent/externals/node/bin/node', arguments '"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/runFake5.js"'.
2020-02-09T09:48:47.4231763Z ##[debug]Microsoft.VisualStudio.Services.Agent.Util.ProcessExitCodeException: Exit code 1 returned from process: file name '/opt/myagent/externals/node/bin/node', arguments '"/opt/myagent/_work/_tasks/FAKE5_a2dadf20-1a83-4220-a4ee-b52f6c77f3cf/1.0.8/runFake5.js"'.
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
2020-02-09T09:48:47.4234335Z ##[section]Finishing: Execute the build.fsx FAKE 5 script
I went through the corresponding code-paths. There is not anything suspicious there but given what we know (that it works as non-root) and the linux specific code-path I'd say the most likely scenario is that HOME
is unset.
Can you please try setting the HOME
environment variable to some valid file path and see if that helps and report back?
If yes, we maybe need to consider this variable not being available (or at least report a better error). Once confirmed I will move this issue to Paket as I'm pretty sure this will happen with plain paket.exe
as well.
Thanks for the quick follow-ups!
On my build agent machine HOME is set to /root for root user but when using build agent the variable is not set. After setting HOME variable in Azure DevOps pipeline the error disappears (and after removing paket.lock)
@BlooDCrescent Thanks for confirming. I reported the issue https://github.com/fsprojects/Paket/issues/3791, so I'll close this here.
We could add a workaround here, but we should really fix this at the root. Additionally, I added some logic to FAKE itself to report better errors when paket initialization failed, so it shouldn't take as long in the future to find the root cause.
Again thanks for reporting :)
Description
FAKE 5 Runner task doesn't work on Linux build agent
Repro steps
Expected behavior
Application is built
Actual behavior
Azure DevOps pipeline fails with error
Details
Known workarounds
Copy and paste build command directly in terminal The command runs successfully
Related information
Fake 5.19.0