Azure-pipelines-agent: Error on Ubuntu 18 with build agent , error code 100 on tf eula -accept

Created on 8 Jul 2018  路  1Comment  路  Source: microsoft/azure-pipelines-agent

Have you tried trouble shooting?

Yes

Agent Version and Platform

Version of your agent? 2.134.2

OS of the machine running the agent?Ubuntu 18

VSTS Type and Version

VisualStudio.com or On-Prem TFS? On Prem TFS

If On-Prem TFS, which release? 2015

What's not working?

I tried to upgrade our Build Sytem to ubuntu 18 and have the following error.
tf eula -accept
Finished process with exit code 100, and elapsed time 00:00:01.2054645
[2018-07-08 10:48:57Z ERR StepsRunner] Caught exception from step: Microsoft.VisualStudio.Services.Agent.ProcessExitCodeException: Exit code 100 returned from process: file name 'tf', arguments 'workspaces -format:xml "-collection:http://MachineName:8080/tfs/User/" -jwt:* -noprompt'.
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TeeCommandManager.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

I ran installdependencies.sh just to make sure and it shows an issue with
E: Unable to locate package libicu52
E: Unable to locate package libicu57
Fro mhttps://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=libicu&searchon=names that the package used in ubuntu 18 is libicu60 .

My question is, have I missed something or is buildAgent not yet supported in ubuntu 18 ? From the main page i see that ubuntu only up until 17 is supported.
Attached are the logs in this order

  1. installdependencies.sh
  2. Client output
  3. TFS Server output
    Thank you .

Please include error messages and screenshots.

Agent and Worker's Diagnostic Logs


installdependencies.sh


--------OS Information--------
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic

UBUNTU_CODENAME=bionic

The current OS is Debian based
--------Debian Version--------

buster/sid

/usr/bin/apt
Hit:1 http://il.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:3 http://il.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://il.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [2,452 B]
Fetched 85.9 kB in 1s (58.0 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
105 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libkrb5-3 is already the newest version (1.16-2build1).
libunwind8 is already the newest version (1.2.1-8).
zlib1g is already the newest version (1:1.2.11.dfsg-0ubuntu2).
libcurl3 is already the newest version (7.58.0-2ubuntu2).
liblttng-ust0 is already the newest version (2.10.1-1).
libuuid1 is already the newest version (2.31.1-0.4ubuntu3.1).
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.1).
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libicu52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu55 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu55' has no installation candidate
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libicu57
'apt' failed with exit code '0'
Can't install dotnet core dependencies.
You can manually install all required dependencies base on follwoing documentation
https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x


Worker (Client ) Machine log


[2018-07-08 10:48:50Z INFO Program] Version: 2.134.2
[2018-07-08 10:48:51Z INFO Program] Commit: d903bb07427f1791fcaa73386911cf43aa28c0e1
[2018-07-08 10:48:51Z INFO Program] Culture: en-IL
[2018-07-08 10:48:51Z INFO Program] UI Culture: en-IL
[2018-07-08 10:48:51Z INFO VstsAgentWebProxy] No proxy setting found.
[2018-07-08 10:48:51Z INFO AgentCertificateManager] No certificate setting found.
[2018-07-08 10:48:51Z INFO Worker] Waiting to receive the job message from the channel.
[2018-07-08 10:48:51Z INFO Worker] Message received.
[2018-07-08 10:48:52Z INFO Worker] Job message:
{
"mask": [
{
"type": "regex",
"value": ""
}
],
"steps": [],
"variables": {
"system.definitionId": {
"value": "206"
},
"build.definitionName": {
"value": "18FULL_DEV"
},
"build.definitionVersion": {
"value": "4"
},
"build.queuedBy": {
"value": "Chaim"
},
"build.queuedById": {
"value": "ced16d33-06b1-4cd4-92fd-b644abc024de"
},
"build.requestedFor": {
"value": "Chaim"
},
"build.requestedForId": {
"value": "ced16d33-06b1-4cd4-92fd-b644abc024de"
},
"build.sourceVersion": {
"value": "19515"
},
"build.sourceBranch": {
"value": "$/Project"
},
"build.sourceBranchName": {
"value": "Project"
},
"VersionNumber": {
"value": "8.5.0"
},
"VersionMajor": {
"value": "8"
},
"VersionMinor": {
"value": "5"
},
"VersionSub": {
"value": "0"
},
"DeliveryPath": {
"value": "DEV"
},
"DeliveryFolder": {
"value": "FULL_DEV_Linux"
},
"system.debug": {
"value": "true"
},
"build.buildId": {
"value": "29775"
},
"build.buildUri": {
"value": "vstfs:///Build/Build/29775"
},
"build.buildNumber": {
"value": "18FULL_DEV_Linux_20180708_8.5.0.29775"
},
"build.containerId": {
"value": "59580"
},
"system": {
"value": "build"
},
"system.hosttype": {
"value": "build"
},
"system.collectionId": {
"value": "636439fe-a1da-4d1c-8c0e-457fff1e4970"
},
"system.teamProjectId": {
"value": "962ad629-067b-4358-98cb-7d2645fcbb11"
},
"system.teamProject": {
"value": "CloudConnect"
},
"system.culture": {
"value": "en-US"
},
"system.teamFoundationCollectionUri": {
"value": "http://TFSServer:8080/tfs/User/"
},
"system.taskDefinitionsUri": {
"value": "http://TFSServer:8080/tfs/User/"
},
"build.sourceVersionAuthor": {
"value": "David"
},
"build.sourceVersionMessage": {
"value": "fix something"
}
},
"messageType": "PipelineAgentJobRequest",
"plan": {
"scopeIdentifier": "962ad629-067b-4358-98cb-7d2645fcbb11",
"planType": "Build",
"version": 5,
"planId": "39916da0-bab1-4156-a6e3-dff7d2b53e66",
"planGroup": null,
"artifactUri": "vstfs:///Build/Build/29775",
"artifactLocation": null,
"definition": null,
"owner": null
},
"timeline": {
"id": "775f8f3e-751f-4bb9-9453-79120d420ef2",
"changeId": 1,
"location": null
},
"jobId": "24fe37aa-212a-4fc0-ab99-4f1225926b16",
"jobDisplayName": "Build",
"jobName": null,
"jobContainer": null,
"requestId": 10509,
"lockedUntil": "0001-01-01T00:00:00",
"resources": {
"endpoints": [
{
"data": {
"repositoryId": "$/",
"rootFolder": "$/Projectname",
"clean": "true",
"checkoutSubmodules": "False",
"tfvcWorkspaceMapping": "{\"mappings\":[{\"serverPath\":\"$/Projectname/Dev-Kit/kbl\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\kbl\"},{\"serverPath\":\"$/Projectname/Dev-Kit/RDP\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\RDP\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/ssl_api\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\ssl_api\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/TurboJPEG\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\TurboJPEG\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/XTea\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\XTea\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/OpenH264-1.3.1\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\OpenH264-1.3.1\"},{\"serverPath\":\"$/Projectname/Products/Dev/Projectname\",\"mappingType\":\"map\",\"localPath\":\"\\Projectname\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/libjpeg-turbo-1.2.0\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\libjpeg-turbo-1.2.0\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/LZ4\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\LZ4\"},{\"serverPath\":\"$/Projectname/Dev-Kit/ETK\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\ETK\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/IPP/8\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\IPP\\8\"},{\"serverPath\":\"$/Projectname/Products/Dev/Projectname/Tests\",\"mappingType\":\"cloak\",\"localPath\":\"\\Products\\Dev\\Projectname\\Tests\"},{\"serverPath\":\"$/Projectname/Products/Dev/Projectname/Runtime\",\"mappingType\":\"cloak\",\"localPath\":\"\\Products\\Dev\\Projectname\\Runtime\"},{\"serverPath\":\"$/Projectname/Products/Dev/Projectname/Code/LicenseServer/gsoap/samples\",\"mappingType\":\"cloak\",\"localPath\":\"\\\"},{\"serverPath\":\"$/Projectname/Products/Dev/Projectname/Code/LicenseServer/gsoap-2.8.17\",\"mappingType\":\"cloak\",\"localPath\":\"\\\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/OpenSSLVersions/1.0.2/OpenSSL-1.0.2n\",\"mappingType\":\"map\",\"localPath\":\"\\Dev-Kit\\3rd-Party\\OpenSSLVersions\\1.0.2\\OpenSSL-1.0.2n\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/QtVersions/5.9.2/linux/bin\",\"mappingType\":\"map\",\"localPath\":\"\\qt\\bin\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/QtVersions/5.9.2/linux/include\",\"mappingType\":\"map\",\"localPath\":\"\\qt\\include\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/QtVersions/5.9.2/linux/lib\",\"mappingType\":\"map\",\"localPath\":\"\\qt\\lib\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/QtVersions/5.9.2/linux/mkspecs\",\"mappingType\":\"map\",\"localPath\":\"\\qt\\mkspecs\"},{\"serverPath\":\"$/Projectname/Dev-Kit/3rd-Party/QtVersions/5.9.2/linux/plugins\",\"mappingType\":\"map\",\"localPath\":\"\\qt\\plugins\"}]}"
},
"name": "Projectname",
"type": "TfsVersionControl",
"url": "http://MachineName:8080/tfs/User/",
"authorization": {
"parameters": {
"AccessToken": "
"
},
"scheme": "OAuth"
},
"isReady": false
},
{
"data": {
"ServerId": "636439fe-a1da-4d1c-8c0e-457fff1e4970",
"ServerName": "User"
},
"name": "SystemVssConnection",
"url": "http://MachineName:8080/tfs/User/",
"authorization": {
"parameters": {
"AccessToken": ""
},
"scheme": "OAuth"
},
"isReady": false
}
]
}
}
[2018-07-08 10:48:52Z INFO JobRunner] Job ID 24fe37aa-212a-4fc0-ab99-4f1225926b16
[2018-07-08 10:48:52Z INFO ConfigurationStore] currentAssemblyLocation: /home/User/Desktop/myagent/bin/Agent.Worker.dll
[2018-07-08 10:48:52Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:52Z INFO ConfigurationStore] binPath: /home/User/Desktop/myagent/bin
[2018-07-08 10:48:52Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:52Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:52Z INFO ConfigurationStore] RootFolder: /home/User/Desktop/myagent
[2018-07-08 10:48:52Z INFO ConfigurationStore] ConfigFilePath: /home/User/Desktop/myagent/.agent
[2018-07-08 10:48:52Z INFO ConfigurationStore] CredFilePath: /home/User/Desktop/myagent/.credentials
[2018-07-08 10:48:52Z INFO ConfigurationStore] ServiceConfigFilePath: /home/User/Desktop/myagent/.service
[2018-07-08 10:48:52Z INFO ConfigurationStore] AutoLogonSettingsFilePath: /home/User/Desktop/myagent/.autologon
[2018-07-08 10:48:52Z INFO ConfigurationStore] RuntimeOptionsFilePath: /home/User/Desktop/myagent/.options
[2018-07-08 10:48:52Z INFO JobRunner] Ensure endpoint url match config url base. http://MachineName:8080/tfs/User/
[2018-07-08 10:48:52Z INFO JobRunner] Ensure endpoint url match config url base. http://MachineName:8080/tfs/User/
[2018-07-08 10:48:52Z INFO JobRunner] Ensure System.TaskDefinitionsUrl match config url base. http://MachineName:8080/tfs/User/
[2018-07-08 10:48:52Z INFO JobRunner] Ensure System.TFCollectionUrl match config url base. http://MachineName:8080/tfs/User/
[2018-07-08 10:48:52Z INFO JobRunner] Ensure System.TFServerUrl match config url base. http://MachineName:8080/tfs/User/
[2018-07-08 10:48:52Z INFO JobRunner] Creating job server with URL: http://MachineName:8080/tfs/User/
[2018-07-08 10:48:52Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-07-08 10:48:52Z INFO Worker] Listening for cancel message from the channel.
[2018-07-08 10:48:52Z INFO Worker] Waiting for the job to complete or for a cancel message from the channel.
[2018-07-08 10:48:52Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-07-08 10:48:53Z INFO JobServerQueue] Start process web console line queue.
[2018-07-08 10:48:53Z INFO JobServerQueue] Start process file upload queue.
[2018-07-08 10:48:53Z INFO JobServerQueue] Start process timeline update queue.
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Diag': '/home/User/Desktop/myagent/_diag'
[2018-07-08 10:48:53Z INFO JobRunner] Starting the job execution context.
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Work': '/home/User/Desktop/myagent/_work'
[2018-07-08 10:48:53Z INFO JobRunner] Validating directory permissions for: '/home/User/Desktop/myagent/_work'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Work': '/home/User/Desktop/myagent/_work'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:53Z INFO HostContext] Well known directory 'Work': '/home/User/Desktop/myagent/_work'
[2018-07-08 10:48:53Z INFO JobRunner] Creating task server with http://MachineName:8080/tfs/User/
[2018-07-08 10:48:53Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-07-08 10:48:53Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-07-08 10:48:53Z INFO JobServerQueue] Try to append 1 batches web console lines for record '24fe37aa-212a-4fc0-ab99-4f1225926b16', success rate: 1/1.
[2018-07-08 10:48:53Z INFO JobRunner] Getting job extension.
[2018-07-08 10:48:53Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Worker.IJobExtension'
[2018-07-08 10:48:53Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.BuildJobExtension, Agent.Worker
[2018-07-08 10:48:53Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Release.ReleaseJobExtension, Agent.Worker
[2018-07-08 10:48:53Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Release.DeploymentJobExtension, Agent.Worker
[2018-07-08 10:48:53Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Maintenance.MaintenanceJobExtension, Agent.Worker
[2018-07-08 10:48:53Z INFO JobRunner] Initialize job. Getting all job steps.
[2018-07-08 10:48:54Z INFO JobServerQueue] Try to append 1 batches web console lines for record '24fe37aa-212a-4fc0-ab99-4f1225926b16', success rate: 1/1.
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Diag': '/home/User/Desktop/myagent/_diag'
[2018-07-08 10:48:54Z INFO BuildJobExtension] Run initial step from extension BuildJobExtension.
[2018-07-08 10:48:54Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Worker.Build.ISourceProvider'
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.ExternalGitSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.GitHubSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.GitHubEnterpriseSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.BitbucketSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.SvnSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.TfsGitSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Worker.Build.TfsVCSourceProvider, Agent.Worker
[2018-07-08 10:48:54Z INFO BuildDirectoryManager] Checking if artifacts directory exists: '/home/User/Desktop/myagent/_work/2/a'
[2018-07-08 10:48:54Z INFO BuildDirectoryManager] Creating artifacts directory.
[2018-07-08 10:48:54Z INFO BuildDirectoryManager] Checking if test results directory exists: '/home/User/Desktop/myagent/_work/2/TestResults'
[2018-07-08 10:48:54Z INFO BuildDirectoryManager] Creating test results directory.
[2018-07-08 10:48:54Z INFO BuildJobExtension] Downloading task definitions.
[2018-07-08 10:48:54Z INFO BuildJobExtension] Parsing all task's condition inputs.
[2018-07-08 10:48:54Z INFO BuildJobExtension] Adding pre-job step from extension.
[2018-07-08 10:48:54Z INFO BuildJobExtension] Adding post-job step from extension.
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Diag': '/home/User/Desktop/myagent/_diag'
[2018-07-08 10:48:54Z INFO BuildJobExtension] Adding post-job steps from tasks.
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Diag': '/home/User/Desktop/myagent/_diag'
[2018-07-08 10:48:54Z INFO JobRunner] Total job steps: 2.
[2018-07-08 10:48:54Z INFO JobRunner] Total accessible running process: 252.
[2018-07-08 10:48:54Z INFO JobRunner] Run all job steps.
[2018-07-08 10:48:54Z INFO JobServerQueue] Try to append 1 batches web console lines for record '5001bdc2-96b6-4491-b20d-dc4cb8cff2b8', success rate: 1/1.
[2018-07-08 10:48:54Z INFO StepsRunner] Processing step: DisplayName='Get Sources', ContinueOnError=False, Enabled=True
[2018-07-08 10:48:54Z INFO ExpressionManager] Evaluating: SucceededNode()
[2018-07-08 10:48:54Z INFO ExpressionManager] Result: True
[2018-07-08 10:48:54Z INFO StepsRunner] Starting the step.
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Bin': '/home/User/Desktop/myagent/bin'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Root': '/home/User/Desktop/myagent'
[2018-07-08 10:48:54Z INFO HostContext] Well known directory 'Externals': '/home/User/Desktop/myagent/externals'
[2018-07-08 10:48:54Z INFO JobServerQueue] Try to append 1 batches web console lines for record '8525cf72-2d4c-478a-9322-fe646684630c', success rate: 1/1.
[2018-07-08 10:48:54Z INFO TeeCommandManager] Get 'SourcesDirectory': '/home/User/Desktop/myagent/_work/2/s'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Starting process:
[2018-07-08 10:48:54Z INFO ProcessInvoker] File name: 'tf'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Arguments: 'eula -accept'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Working directory: '/home/User/Desktop/myagent/_work/2/s'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Require exit code zero: 'True'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Encoding web name: ; code page: ''
[2018-07-08 10:48:54Z INFO ProcessInvoker] Force kill process on cancellation: 'False'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Lines to send through STDIN: '0'
[2018-07-08 10:48:54Z INFO ProcessInvoker] Process started with process id 107392, waiting for process exit.
[2018-07-08 10:48:55Z INFO JobServerQueue] Try to append 1 batches web console lines for record '8525cf72-2d4c-478a-9322-fe646684630c', success rate: 1/1.
[2018-07-08 10:48:55Z INFO JobServerQueue] Try to upload 1 log files or attachments, success rate: 1/1.
[2018-07-08 10:48:56Z INFO ProcessInvoker] Finished process with exit code 100, and elapsed time 00:00:01.5314436.
[2018-07-08 10:48:56Z INFO TeeCommandManager] Get 'SourcesDirectory': '/home/User/Desktop/myagent/_work/2/s'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Starting process:
[2018-07-08 10:48:56Z INFO ProcessInvoker] File name: 'tf'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Arguments: 'workspaces -format:xml "-collection:http://MachineName:8080/tfs/User/" -jwt:
-noprompt'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Working directory: '/home/User/Desktop/myagent/_work/2/s'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Require exit code zero: 'True'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Encoding web name: ; code page: ''
[2018-07-08 10:48:56Z INFO ProcessInvoker] Force kill process on cancellation: 'False'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Lines to send through STDIN: '0'
[2018-07-08 10:48:56Z INFO ProcessInvoker] Process started with process id 107473, waiting for process exit.
[2018-07-08 10:48:57Z INFO JobServerQueue] Try to append 1 batches web console lines for record '8525cf72-2d4c-478a-9322-fe646684630c', success rate: 1/1.
[2018-07-08 10:48:57Z INFO ProcessInvoker] Finished process with exit code 100, and elapsed time 00:00:01.2054645.
[2018-07-08 10:48:57Z ERR StepsRunner] Caught exception from step: Microsoft.VisualStudio.Services.Agent.ProcessExitCodeException: Exit code 100 returned from process: file name 'tf', arguments 'workspaces -format:xml "-collection:http://MachineName:8080/tfs/User/" -jwt:* -noprompt'.
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TeeCommandManager.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TfsVCSourceProvider.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.Build.BuildJobExtension.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.JobExtensionRunner.d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.d__1.MoveNext()
[2018-07-08 10:48:57Z INFO StepsRunner] Step result: Failed
[2018-07-08 10:48:57Z INFO StepsRunner] Update job result with current step result 'Failed'.
[2018-07-08 10:48:57Z INFO StepsRunner] Current state: job state = 'Failed'
[2018-07-08 10:48:57Z INFO StepsRunner] Processing step: DisplayName='Post Job Cleanup', ContinueOnError=False, Enabled=True
[2018-07-08 10:48:57Z INFO ExpressionManager] Evaluating: AlwaysNode()
[2018-07-08 10:48:57Z INFO ExpressionManager] Result: True
[2018-07-08 10:48:57Z INFO StepsRunner] Starting the step.
[2018-07-08 10:48:57Z INFO StepsRunner] Step result:
[2018-07-08 10:48:57Z INFO StepsRunner] No need for updating job result with current step result 'Succeeded'.
[2018-07-08 10:48:57Z INFO StepsRunner] Current state: job state = 'Failed'
[2018-07-08 10:48:57Z INFO JobServerQueue] Try to append 1 batches web console lines for record '8525cf72-2d4c-478a-9322-fe646684630c', success rate: 1/1.
[2018-07-08 10:48:57Z INFO JobRunner] Total accessible running process: 252.
[2018-07-08 10:48:57Z INFO JobServerQueue] Try to append 1 batches web console lines for record '22eafb8d-f235-4b01-8c17-c0f1c8fefb74', success rate: 1/1.
[2018-07-08 10:48:58Z INFO JobRunner] Job result after all job steps finish: Failed
[2018-07-08 10:48:58Z INFO JobRunner] Completing the job execution context.
[2018-07-08 10:48:58Z INFO JobRunner] Shutting down the job server queue.
[2018-07-08 10:48:58Z INFO JobServerQueue] Fire signal to shutdown all queues.
[2018-07-08 10:48:58Z INFO JobServerQueue] All queue process task stopped.
[2018-07-08 10:48:58Z INFO JobServerQueue] Try to append 1 batches web console lines for record '22eafb8d-f235-4b01-8c17-c0f1c8fefb74', success rate: 1/1.
[2018-07-08 10:48:58Z INFO JobServerQueue] Try to append 1 batches web console lines for record '24fe37aa-212a-4fc0-ab99-4f1225926b16', success rate: 1/1.
[2018-07-08 10:48:58Z INFO JobServerQueue] Web console line queue drained.
[2018-07-08 10:48:58Z INFO JobServerQueue] Uploading 3 files in one shot.
[2018-07-08 10:48:59Z INFO JobServerQueue] Try to upload 3 log files or attachments, success rate: 3/3.
[2018-07-08 10:48:59Z INFO JobServerQueue] File upload queue drained.
[2018-07-08 10:48:59Z INFO JobServerQueue] Timeline update queue drained.
[2018-07-08 10:48:59Z INFO JobServerQueue] All queue process tasks have been stopped, and all queues are drained.
[2018-07-08 10:48:59Z INFO TempDirectoryManager] Cleaning agent temp folder: /home/User/Desktop/myagent/_work/_temp
[2018-07-08 10:48:59Z INFO JobRunner] Skip raise job completed event call from worker because Plan version is 5
[2018-07-08 10:48:59Z INFO Worker] Job completed.


TFS Server Log



Starting: Build


Current agent version: '2.134.2'
Cleaning agent temp folder: /home/User/Desktop/myagent/_work/_temp
Skipping overwrite %TEMP% environment variable


Starting: Initialize Job


Primary repository: Project. repository type: TfsVersionControl
Prepare build directory.
Delete existing artifacts directory: '/home/User/Desktop/myagent/_work/2/a'
Deleting artifacts directory: '/home/User/Desktop/myagent/_work/2/a'
Creating artifacts directory: '/home/User/Desktop/myagent/_work/2/a'
Delete existing test results directory: '/home/User/Desktop/myagent/_work/2/TestResults'
Deleting test results directory: '/home/User/Desktop/myagent/_work/2/TestResults'
Creating test results directory: '/home/User/Desktop/myagent/_work/2/TestResults'
Set build variables.
Download all required tasks.
There is no required tasks need to download.


Finishing: Initialize Job


Evaluating condition for step: 'Get Sources'
Evaluating: SucceededNode()
Evaluating SucceededNode:
=> True
Result: True


Starting: Get Sources


Sync source for endpoint: ProjectDir
Prepending PATH environment variable with directory containing 'tf'.
PATH: '/home/User/Desktop/myagent/externals/tee:/home/User/TEE-CLC-12.0.2:/home/User/bin:/home/User/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
tf eula -accept
Microsoft.VisualStudio.Services.Agent.ProcessExitCodeException: Exit code 100 returned from process: file name 'tf', arguments 'eula -accept'.
Exit code 100 returned from process: file name 'tf', arguments 'eula -accept'.
Querying workspace information.
tf workspaces -format:xml "-collection:http://varzi:8080/tfs/Project/" -jwt:* -noprompt
Exit code 100 returned from process: file name 'tf', arguments 'workspaces -format:xml "-collection:http://varzi:8080/tfs/Project/" -jwt:
-noprompt'.
Microsoft.VisualStudio.Services.Agent.ProcessExitCodeException: Exit code 100 returned from process: file name 'tf', arguments 'workspaces -format:xml "-collection:http://varzi:8080/tfs/Project/" -jwt:
** -noprompt'.


Finishing: Get Sources


Evaluating condition for step: 'Post Job Cleanup'
Evaluating: AlwaysNode()
Evaluating AlwaysNode:
=> True
Result: True


Starting: Post Job Cleanup



Finishing: Post Job Cleanup



Finishing: Build


Most helpful comment

I downgraded openjdk from 11 to 8 , and now everything works.
Hope this will help someone else.

>All comments

I downgraded openjdk from 11 to 8 , and now everything works.
Hope this will help someone else.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BrendanThompson picture BrendanThompson  路  4Comments

tjinjin95 picture tjinjin95  路  3Comments

johncollinson2001 picture johncollinson2001  路  4Comments

tomasaschan picture tomasaschan  路  4Comments

averelon picture averelon  路  3Comments