{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/azure-pipelines-agent/issues/2438","repository_url":"https://api.github.com/repos/microsoft/azure-pipelines-agent","labels_url":"https://api.github.com/repos/microsoft/azure-pipelines-agent/issues/2438/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/azure-pipelines-agent/issues/2438/comments","events_url":"https://api.github.com/repos/microsoft/azure-pipelines-agent/issues/2438/events","html_url":"https://github.com/microsoft/azure-pipelines-agent/issues/2438","id":491536448,"node_id":"MDU6SXNzdWU0OTE1MzY0NDg=","number":2438,"title":"Object reference not set to an instance of an object.","user":{"login":"rbeaufilsclara","id":54932410,"node_id":"MDQ6VXNlcjU0OTMyNDEw","avatar_url":"https://avatars2.githubusercontent.com/u/54932410?v=4","gravatar_id":"","url":"https://api.github.com/users/rbeaufilsclara","html_url":"https://github.com/rbeaufilsclara","followers_url":"https://api.github.com/users/rbeaufilsclara/followers","following_url":"https://api.github.com/users/rbeaufilsclara/following{/other_user}","gists_url":"https://api.github.com/users/rbeaufilsclara/gists{/gist_id}","starred_url":"https://api.github.com/users/rbeaufilsclara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbeaufilsclara/subscriptions","organizations_url":"https://api.github.com/users/rbeaufilsclara/orgs","repos_url":"https://api.github.com/users/rbeaufilsclara/repos","events_url":"https://api.github.com/users/rbeaufilsclara/events{/privacy}","received_events_url":"https://api.github.com/users/rbeaufilsclara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-10T08:49:46Z","updated_at":"2019-09-10T09:22:17Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI know that Debian 10 isn't supported yet for the azure pipelines agent, but i tried, and at the first installation to add my VM to a deployment group, everything was good. I can deploy and everything. But when i tried to remove the agent (running sudo ./svc.sh remove && sudo ./svc.sh uninstall && ./config.sh remove) and register again my agent, i'm facing with an error message : \r\n\r\n\"Object reference not set to an instance of an object.\"\r\n\r\nI tried to remove the complete folder \"azagent\", and re-launch the complete install, but still the same problem.\r\n\r\nOS : Debian 10\r\nAgent version : 2.155.1\r\n\r\nCommand launched : \r\n```\r\nmkdir azagent;cd azagent;curl -fkSL -o vstsagent.tar.gz https://vstsagentpackage.azureedge.net/agent/2.155.1/vsts-agent-linux-x64-2.155.1.tar.gz;tar -zxvf vstsagent.tar.gz; ./config.sh --deploymentgroup --deploymentgroupname \"LCM preprod\" --acceptteeeula --agent $HOSTNAME --url https://dev.azure.com/my_organization/ --work _work --projectname 'Configurateurs LCM' --auth PAT --token **************************************************** --runasservice; ./svc.sh install; ./svc.sh start\r\n```\r\n\r\nLogs: \r\n```\r\njoe@web-lcm-preprod:~/azagent/_diag$ cat Agent_20190910-082616-utc.log \r\n[2019-09-10 08:26:16Z INFO AgentProcess] Agent is built for Linux (X64) - linux-x64.\r\n[2019-09-10 08:26:16Z INFO AgentProcess] RuntimeInformation: Linux 4.19.0-5-cloud-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19).\r\n[2019-09-10 08:26:16Z INFO AgentProcess] Version: 2.155.1\r\n[2019-09-10 08:26:16Z INFO AgentProcess] Commit: 2a1d4271df4d990b6c8ff0d65e15b14e957393d8\r\n[2019-09-10 08:26:16Z INFO AgentProcess] Culture: c\r\n[2019-09-10 08:26:16Z INFO AgentProcess] UI Culture: c\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO AgentProcess] Validating directory permissions for: '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Parse\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Parsing 18 args\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: False\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding Command: configure\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: deploymentgroup\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: deploymentgroupname\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding flag: deploymentgroup\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'deploymentgroupname': 'LCM preprod'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: acceptteeeula\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: agent\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding flag: acceptteeeula\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'agent': 'web-lcm-preprod'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: url\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'url': 'https://dev.azure.com/my_organization/'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: work\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'work': '_work'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: projectname\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'projectname': 'Configurateurs LCM'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: auth\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'auth': 'PAT'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: token\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] Adding option 'token': '***'\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] parsing argument\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] HasArgs: True\r\n[2019-09-10 08:26:16Z INFO CommandLineParser] arg: runasservice\r\n[2019-09-10 08:26:16Z INFO AgentProcess] Arguments parsed\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Proxy': '/home/joe/azagent/.proxy'\r\n[2019-09-10 08:26:16Z INFO VstsAgentWebProxy] No proxy setting found.\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Certificates': '/home/joe/azagent/.certificates'\r\n[2019-09-10 08:26:16Z INFO AgentCertificateManager] No certificate setting found.\r\n[2019-09-10 08:26:16Z INFO Agent] ExecuteCommand\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] currentAssemblyLocation: /home/joe/azagent/bin/Agent.Listener.dll\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] binPath: /home/joe/azagent/bin\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] RootFolder: /home/joe/azagent\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Agent': '/home/joe/azagent/.agent'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] ConfigFilePath: /home/joe/azagent/.agent\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Credentials': '/home/joe/azagent/.credentials'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] CredFilePath: /home/joe/azagent/.credentials\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Service': '/home/joe/azagent/.service'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] ServiceConfigFilePath: /home/joe/azagent/.service\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Autologon': '/home/joe/azagent/.autologon'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] AutoLogonSettingsFilePath: /home/joe/azagent/.autologon\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:16Z INFO HostContext] Well known config file 'Options': '/home/joe/azagent/.options'\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] RuntimeOptionsFilePath: /home/joe/azagent/.options\r\n[2019-09-10 08:26:16Z INFO CommandSettings] Flag 'help': 'False'\r\n[2019-09-10 08:26:16Z INFO CommandSettings] Flag 'version': 'False'\r\n[2019-09-10 08:26:16Z INFO CommandSettings] Flag 'commit': 'False'\r\n[2019-09-10 08:26:16Z INFO CommandSettings] Command 'configure': 'True'\r\n[2019-09-10 08:26:16Z INFO ConfigurationManager] ConfigureAsync\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] IsConfigured()\r\n[2019-09-10 08:26:16Z INFO ConfigurationStore] IsConfigured: False\r\n[2019-09-10 08:26:16Z INFO ConfigurationManager] Is configured: False\r\n[2019-09-10 08:26:16Z INFO CommandSettings] Flag 'sslskipcertvalidation': 'False'\r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: >> End User License Agreements:\r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:17Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:17Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:17Z INFO HostContext] Well known directory 'Externals': '/home/joe/azagent/externals'\r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.\r\n\r\nA copy of the Team Explorer Everywhere license agreement can be found at:\r\n  /home/joe/azagent/externals/tee/license.html\r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:17Z INFO CommandSettings] Flag 'acceptteeeula': 'True'\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Flag 'machinegroup': 'False'\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Flag 'deploymentgroup': 'True'\r\n[2019-09-10 08:26:17Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Configuration.IConfigurationProvider'\r\n[2019-09-10 08:26:17Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider, Agent.Listener\r\n[2019-09-10 08:26:17Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.DeploymentGroupAgentConfigProvider, Agent.Listener\r\n[2019-09-10 08:26:17Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.SharedDeploymentAgentConfigProvider, Agent.Listener\r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: >> Connect:\r\n[2019-09-10 08:26:17Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:17Z INFO CommandSettings] Arg 'url': 'https://dev.azure.com/my_organization/'\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Remove url from Arg dictionary.\r\n[2019-09-10 08:26:17Z INFO DeploymentGroupAgentConfigProvider] url - https://dev.azure.com/my_organization/\r\n[2019-09-10 08:26:17Z INFO ConfigurationManager] GetCredentialProvider\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Arg 'auth': 'PAT'\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Remove auth from Arg dictionary.\r\n[2019-09-10 08:26:17Z INFO ConfigurationManager] Creating credential for auth: PAT\r\n[2019-09-10 08:26:17Z INFO CredentialManager] GetCredentialProvider\r\n[2019-09-10 08:26:17Z INFO CredentialManager] Creating type PAT\r\n[2019-09-10 08:26:17Z INFO CredentialManager] Creating credential type: PAT\r\n[2019-09-10 08:26:17Z INFO PersonalAccessToken] EnsureCredential\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Arg 'token': '***'\r\n[2019-09-10 08:26:17Z INFO CommandSettings] Remove token from Arg dictionary.\r\n[2019-09-10 08:26:17Z INFO PersonalAccessToken] GetVssCredentials\r\n[2019-09-10 08:26:17Z INFO PersonalAccessToken] token retrieved: 52 chars\r\n[2019-09-10 08:26:17Z INFO PersonalAccessToken] cred created\r\n[2019-09-10 08:26:17Z INFO ConfigurationManager] cred retrieved\r\n[2019-09-10 08:26:17Z INFO VisualStudioServices] Starting operation Location.GetConnectionData\r\n[2019-09-10 08:26:17Z INFO VisualStudioServices] Finished operation Location.GetConnectionData\r\n[2019-09-10 08:26:18Z INFO VisualStudioServices] Starting operation Location.GetConnectionData\r\n[2019-09-10 08:26:18Z INFO VisualStudioServices] Finished operation Location.GetConnectionData\r\n[2019-09-10 08:26:18Z INFO ConfigurationManager] Server deployment type: Hosted\r\n[2019-09-10 08:26:18Z INFO Terminal] WRITE LINE: Connecting to server ...\r\n[2019-09-10 08:26:18Z INFO DeploymentGroupAgentConfigProvider] Test connection with deployment group\r\n[2019-09-10 08:26:18Z INFO VisualStudioServices] Starting operation Location.GetConnectionData\r\n[2019-09-10 08:26:18Z INFO VisualStudioServices] Finished operation Location.GetConnectionData\r\n[2019-09-10 08:26:19Z INFO DeploymentGroupAgentConfigProvider] Connect complete for deployment group\r\n[2019-09-10 08:26:19Z INFO ConfigurationManager] Test Connection complete.\r\n[2019-09-10 08:26:19Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:19Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:19Z INFO HostContext] Well known config file 'RSACredentials': '/home/joe/azagent/.credentials_rsaparams'\r\n[2019-09-10 08:26:19Z INFO RSAFileKeyManager] Creating new RSA key using 2048-bit key length\r\n[2019-09-10 08:26:19Z INFO RSAFileKeyManager] Successfully saved RSA key parameters to file /home/joe/azagent/.credentials_rsaparams\r\n[2019-09-10 08:26:19Z INFO RSAFileKeyManager] Which: 'chmod'\r\n[2019-09-10 08:26:19Z INFO RSAFileKeyManager] Location: '{matches.First()}'\r\n[2019-09-10 08:26:19Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:19Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper] Starting process:\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   File name: '/usr/bin/chmod'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Arguments: '600 /home/joe/azagent/.credentials_rsaparams'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Working directory: '/home/joe/azagent'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Require exit code zero: 'False'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Encoding web name:  ; code page: ''\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Force kill process on cancellation: 'False'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Redirected STDIN: 'False'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Persist current code page: 'False'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   Keep redirected STDIN open: 'False'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper]   High priority process: 'False'\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper] Process started with process id 128730, waiting for process exit.\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper] STDOUT/STDERR stream read finished.\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper] STDOUT/STDERR stream read finished.\r\n[2019-09-10 08:26:19Z INFO ProcessInvokerWrapper] Finished process 128730 with exit code 0, and elapsed time 00:00:00.0168353.\r\n[2019-09-10 08:26:19Z INFO RSAFileKeyManager] Successfully set permissions for RSA key parameters file /home/joe/azagent/.credentials_rsaparams\r\n[2019-09-10 08:26:19Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:19Z INFO Terminal] WRITE LINE: >> Register Agent:\r\n[2019-09-10 08:26:19Z INFO Terminal] WRITE LINE: \r\n[2019-09-10 08:26:19Z INFO CommandSettings] Arg 'projectname': 'Configurateurs LCM'\r\n[2019-09-10 08:26:19Z INFO CommandSettings] Remove projectname from Arg dictionary.\r\n[2019-09-10 08:26:19Z INFO CommandSettings] Arg 'deploymentgroupname': 'LCM preprod'\r\n[2019-09-10 08:26:19Z INFO CommandSettings] Remove deploymentgroupname from Arg dictionary.\r\n[2019-09-10 08:26:19Z INFO DeploymentGroupAgentConfigProvider] Found deployment group LCM preprod with id 55\r\n[2019-09-10 08:26:19Z INFO DeploymentGroupAgentConfigProvider] PoolId for deployment group 'LCM preprod' is '10'.\r\n[2019-09-10 08:26:19Z INFO DeploymentGroupAgentConfigProvider] Project id for deployment group 'LCM preprod' is '948fdb6d-1e51-43c4-95bc-6b845bcccef7'.\r\n[2019-09-10 08:26:19Z INFO CommandSettings] Arg 'agent': 'web-lcm-preprod'\r\n[2019-09-10 08:26:19Z INFO CommandSettings] Remove agent from Arg dictionary.\r\n[2019-09-10 08:26:19Z INFO Terminal] WRITE LINE: Scanning for tool capabilities.\r\n[2019-09-10 08:26:19Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Capabilities.ICapabilitiesProvider'\r\n[2019-09-10 08:26:19Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Capabilities.AgentCapabilitiesProvider, Microsoft.VisualStudio.Services.Agent\r\n[2019-09-10 08:26:19Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Capabilities.EnvironmentCapabilitiesProvider, Microsoft.VisualStudio.Services.Agent\r\n[2019-09-10 08:26:19Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Capabilities.NixCapabilitiesProvider, Microsoft.VisualStudio.Services.Agent\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding '_': './bin/Agent.Listener'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'HOME': '/home/joe'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'LANG': 'en_GB.UTF-8'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'LANGUAGE': 'en_GB.UTF-8'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'LC_CTYPE': 'en_GB.UTF-8'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'LOGNAME': 'joe'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Skipping: 'LS_COLORS'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'MAIL': '/var/mail/joe'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'OLDPWD': '/home/joe/azagent'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'PWD': '/home/joe/azagent'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'SHELL': '/bin/bash'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Skipping: 'SHLVL'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'SSH_CLIENT': 'MY_IP 58954 22'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'SSH_CONNECTION': 'MY_IP 58954 192.168.23.4 22'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'SSH_TTY': '/dev/pts/0'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Skipping: 'TERM'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'USER': 'joe'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'XDG_RUNTIME_DIR': '/run/user/1000'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'XDG_SESSION_CLASS': 'user'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'XDG_SESSION_ID': '1243'\r\n[2019-09-10 08:26:19Z INFO EnvironmentCapabilitiesProvider] Adding 'XDG_SESSION_TYPE': 'tty'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'android'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Checking file: 'tools/android'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Checking file: '/home/joe/Library/Developer/Xamarin/android-sdk-macosx/tools/android'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'ant'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'waagent'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'bundle'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'clang'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'cmake'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'curl'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'docker'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'git'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Location: '{matches.First()}'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Adding 'git': '/usr/bin/git'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'gulp'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'java'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'javac'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'make'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Location: '{matches.First()}'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Adding 'make': '/usr/bin/make'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'mvn'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'xbuild'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Checking file: '/Library/Frameworks/Mono.framework/Commands/xbuild'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'msbuild'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Checking file: '/Library/Frameworks/Mono.framework/Commands/msbuild'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'node'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'nodejs'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'npm'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'python'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Location: '{matches.First()}'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Adding 'python': '/usr/bin/python'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'python3'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Location: '{matches.First()}'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Adding 'python3': '/usr/bin/python3'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'sh'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Location: '{matches.First()}'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Adding 'sh': '/usr/bin/sh'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'svn'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'ruby'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'rake'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'svn'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'mdtool'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Checking file: '/Applications/Xamarin Studio.app/Contents/MacOS/mdtool'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Checking file: '/Applications/Visual Studio.app/Contents/MacOS/vstool'\r\n[2019-09-10 08:26:19Z INFO CapabilitiesBuilder] Which: 'generator'\r\n[2019-09-10 08:26:20Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:20Z INFO CapabilitiesBuilder] Checking file: '/Library/Frameworks/Xamarin.Android.framework/Commands/generator'\r\n[2019-09-10 08:26:20Z INFO CapabilitiesBuilder] Checking file: '/Library/Frameworks/Xamarin.Android.framework/Versions/Current/Version'\r\n[2019-09-10 08:26:20Z INFO CapabilitiesBuilder] Which: 'xcode-select'\r\n[2019-09-10 08:26:20Z INFO CapabilitiesBuilder] Not found.\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'Agent.Name': 'web-lcm-preprod'\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'Agent.OS': 'Linux'\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'Agent.OSArchitecture': 'X64'\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'InteractiveSession': 'True'\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'Agent.Version': '2.155.1'\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'Agent.ComputerName': 'web-lcm-preprod'\r\n[2019-09-10 08:26:20Z INFO HostContext] Well known directory 'Bin': '/home/joe/azagent/bin'\r\n[2019-09-10 08:26:20Z INFO HostContext] Well known directory 'Root': '/home/joe/azagent'\r\n[2019-09-10 08:26:20Z INFO AgentCapabilitiesProvider] Adding 'Agent.HomeDirectory': '/home/joe/azagent'\r\n[2019-09-10 08:26:20Z INFO Terminal] WRITE LINE: Connecting to the server.\r\n[2019-09-10 08:26:20Z INFO CommandSettings] Flag 'addmachinegrouptags': 'False'\r\n[2019-09-10 08:26:20Z INFO CommandSettings] Flag 'adddeploymentgrouptags': 'False'\r\n[2019-09-10 08:26:20Z INFO CommandSettings] Flag 'unattended': 'False'\r\n[2019-09-10 08:26:20Z INFO PromptManager] ReadValue\r\n[2019-09-10 08:26:20Z INFO Terminal] WRITE: Enter deployment group tags for agent? (Y/N) (press enter for N) > \r\n[2019-09-10 08:26:20Z INFO Terminal] READ LINE\r\n[2019-09-10 08:26:21Z INFO Terminal] Read value: ''\r\n[2019-09-10 08:26:21Z INFO PromptManager] Falling back to the default: 'N'\r\n[2019-09-10 08:26:21Z INFO Terminal] WRITE LINE: Successfully added the agent\r\n[2019-09-10 08:26:21Z INFO ConfigurationManager] Agent server url resolve by server: 'https://dev.azure.com/my_organization/'.\r\n[2019-09-10 08:26:21Z INFO ConfigurationStore] Saving OAuth credential @ /home/joe/azagent/.credentials\r\n[2019-09-10 08:26:21Z INFO ConfigurationStore] Credentials Saved.\r\n[2019-09-10 08:26:21Z INFO Terminal] WRITE LINE: Testing agent connection.\r\n[2019-09-10 08:26:21Z INFO ConfigurationStore] HasCredentials()\r\n[2019-09-10 08:26:21Z INFO ConfigurationStore] stored True\r\n[2019-09-10 08:26:21Z INFO CredentialManager] GetCredentialProvider\r\n[2019-09-10 08:26:21Z INFO CredentialManager] Creating type OAuth\r\n[2019-09-10 08:26:21Z INFO CredentialManager] Creating credential type: OAuth\r\n[2019-09-10 08:26:21Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/joe/azagent/.credentials_rsaparams\r\n[2019-09-10 08:26:21Z INFO AgentServer] Establish connection with 100 seconds timeout.\r\n[2019-09-10 08:26:21Z INFO VisualStudioServices] Starting operation Location.GetConnectionData\r\n[2019-09-10 08:26:21Z INFO VisualStudioServices] Finished operation Location.GetConnectionData\r\n[2019-09-10 08:26:21Z INFO AgentServer] Establish connection with 60 seconds timeout.\r\n[2019-09-10 08:26:21Z INFO VisualStudioServices] Starting operation Location.GetConnectionData\r\n[2019-09-10 08:26:22Z INFO VisualStudioServices] Finished operation Location.GetConnectionData\r\n[2019-09-10 08:26:23Z INFO AgentServer] Establish connection with 60 seconds timeout.\r\n[2019-09-10 08:26:23Z INFO VisualStudioServices] Starting operation Location.GetConnectionData\r\n[2019-09-10 08:26:23Z INFO VisualStudioServices] Finished operation Location.GetConnectionData\r\n[2019-09-10 08:26:24Z INFO CommandSettings] Arg 'work': '_work'\r\n[2019-09-10 08:26:24Z INFO CommandSettings] Remove work from Arg dictionary.\r\n[2019-09-10 08:26:24Z INFO ConfigurationStore] Saving agent settings.\r\n[2019-09-10 08:26:24Z INFO ConfigurationStore] Settings Saved.\r\n[2019-09-10 08:26:24Z ERR  Agent] System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at System.Globalization.CalendarData.NormalizeDatePattern(String input)\r\n   at System.Globalization.CalendarData.LoadCalendarDataFromSystem(String localeName, CalendarId calendarId)\r\n   at System.Globalization.CalendarData..ctor(String localeName, CalendarId calendarId, Boolean bUseUserOverrides)\r\n   at System.Globalization.CultureData.GetCalendar(CalendarId calendarId)\r\n   at System.Globalization.DateTimeFormatInfo.InitializeOverridableProperties(CultureData cultureData, CalendarId calendarId)\r\n   at System.Globalization.CultureInfo.get_DateTimeFormat()\r\n   at System.DateTimeFormat.TryFormat(DateTime dateTime, Span`1 destination, Int32& charsWritten, ReadOnlySpan`1 format, IFormatProvider provider, TimeSpan offset)\r\n   at System.DateTimeFormat.TryFormat(DateTime dateTime, Span`1 destination, Int32& charsWritten, ReadOnlySpan`1 format, IFormatProvider provider)\r\n   at System.DateTime.TryFormat(Span`1 destination, Int32& charsWritten, ReadOnlySpan`1 format, IFormatProvider provider)\r\n   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)\r\n   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)\r\n   at System.String.Format(IFormatProvider provider, String format, Object[] args)\r\n   at Microsoft.VisualStudio.Services.Agent.Util.StringUtil.Format(CultureInfo culture, String format, Object[] args)\r\n   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command)\r\n   at Microsoft.VisualStudio.Services.Agent.Listener.Agent.ExecuteCommand(CommandSettings command)\r\n[2019-09-10 08:26:24Z ERR  Terminal] WRITE ERROR: Object reference not set to an instance of an object.\r\n```\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/microsoft/azure-pipelines-agent/issues/comments/529851001","html_url":"https://github.com/microsoft/azure-pipelines-agent/issues/2438#issuecomment-529851001","issue_url":"https://api.github.com/repos/microsoft/azure-pipelines-agent/issues/2438","id":529851001,"node_id":"MDEyOklzc3VlQ29tbWVudDUyOTg1MTAwMQ==","user":{"login":"Ivan-Abragimovich","id":1562024,"node_id":"MDQ6VXNlcjE1NjIwMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1562024?v=4","gravatar_id":"","url":"https://api.github.com/users/Ivan-Abragimovich","html_url":"https://github.com/Ivan-Abragimovich","followers_url":"https://api.github.com/users/Ivan-Abragimovich/followers","following_url":"https://api.github.com/users/Ivan-Abragimovich/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Abragimovich/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Abragimovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Abragimovich/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Abragimovich/orgs","repos_url":"https://api.github.com/users/Ivan-Abragimovich/repos","events_url":"https://api.github.com/users/Ivan-Abragimovich/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Abragimovich/received_events","type":"User","site_admin":false},"created_at":"2019-09-10T09:22:17Z","updated_at":"2019-09-10T09:22:17Z","author_association":"NONE","body":"Hi @rbeaufilsclara,\r\nhave you already seen these threads: \r\n1. [https://github.com/dotnet/corefx/issues/37098](https://github.com/dotnet/corefx/issues/37098)? \r\n2. [https://github.com/PowerShell/PowerShell/issues/9746](https://github.com/PowerShell/PowerShell/issues/9746)\r\n\r\nThey are about openSUSE and Ubuntu, but they can give you an idea, why this problem is occurred."}}
{"actor":{"display_login":"Ivan-Abragimovich"}}