Skip to content

Instantly share code, notes, and snippets.

@kirannhegde
Created June 29, 2020 17:53
Show Gist options
  • Save kirannhegde/4db1296be5bfddcc9823b0d37952196a to your computer and use it in GitHub Desktop.
Save kirannhegde/4db1296be5bfddcc9823b0d37952196a to your computer and use it in GitHub Desktop.
2020/06/29 17:10:39 [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:39 Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:39 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:39 Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:39 [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:39 Setting cache directory: C:\Azure\buildprovisioning\packer_cache
cannot determine if process is in background: Process background check error: not implemented yet
2020/06/29 17:10:39 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:39 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-builder-azure-arm"}
2020/06/29 17:10:39 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:39 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:39 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:39 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:39 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:39 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:39 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:39 packer.exe plugin: args: []string{"packer-builder-azure-arm"}
2020/06/29 17:10:39 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:39 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:39 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:39 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:39 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:39 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:39 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:39 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:40 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:40 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:40 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:40 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:40 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:40 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:40 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:40 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:40 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:40 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:40 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:40 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:40 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:40 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:40 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:40 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:40 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:40 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:40 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:40 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:40 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:40 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:40 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:40 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:40 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:40 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:40 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:40 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:40 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:40 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:40 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:40 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:40 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:40 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:40 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:40 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:40 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:40 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:40 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:40 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:40 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:40 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:40 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:40 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:40 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:41 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:41 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:41 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:41 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:41 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:41 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:41 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:41 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:41 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:41 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:41 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:41 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:41 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:41 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:41 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:41 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:41 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:41 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:41 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:41 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:41 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-windows-restart"}
2020/06/29 17:10:41 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:41 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:41 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:41 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:41 packer.exe plugin: args: []string{"packer-provisioner-windows-restart"}
2020/06/29 17:10:41 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:41 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:41 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:41 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:41 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:41 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:41 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:41 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:41 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:41 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:41 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:41 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:41 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:41 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:41 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:41 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:41 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:41 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:41 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:41 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:42 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:42 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:42 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:42 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:42 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:42 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:42 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:42 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:42 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:42 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:42 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:42 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:42 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:42 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-windows-restart"}
2020/06/29 17:10:42 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:42 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:42 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:42 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:42 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:42 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:42 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:42 packer.exe plugin: args: []string{"packer-provisioner-windows-restart"}
2020/06/29 17:10:42 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:42 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:42 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:42 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:42 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:42 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:42 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:42 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:42 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:42 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:42 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:42 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:42 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:42 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:42 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:42 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:42 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:42 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:42 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:42 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:42 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:42 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-windows-restart"}
2020/06/29 17:10:42 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:43 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:43 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:43 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:43 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:43 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:43 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:43 packer.exe plugin: args: []string{"packer-provisioner-windows-restart"}
2020/06/29 17:10:43 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:43 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:43 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:43 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:43 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:43 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:43 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:43 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:43 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:43 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:43 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:43 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:43 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:43 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:43 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:43 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:43 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:43 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:43 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:43 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:43 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:43 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-windows-restart"}
2020/06/29 17:10:43 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:43 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:43 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:43 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:43 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:43 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:43 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:43 packer.exe plugin: args: []string{"packer-provisioner-windows-restart"}
2020/06/29 17:10:43 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:43 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:43 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:43 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:43 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:43 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:43 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:43 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:44 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:44 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:44 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:44 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:44 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:44 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:44 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:44 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:44 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:44 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:44 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:44 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:44 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:44 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:44 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:44 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:44 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:44 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:44 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:44 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:44 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:44 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:44 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:44 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:44 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:44 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:44 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:44 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:44 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:44 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:44 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:44 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:44 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:44 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:44 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:44 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:44 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:44 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:44 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:44 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:44 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:44 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:44 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:44 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:44 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:45 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:45 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:45 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:45 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:45 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:45 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:45 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:45 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:45 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:45 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:45 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:45 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:45 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:45 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-windows-restart"}
2020/06/29 17:10:45 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:45 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:45 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:45 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:45 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:45 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:45 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:45 packer.exe plugin: args: []string{"packer-provisioner-windows-restart"}
2020/06/29 17:10:45 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:45 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:45 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:45 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:45 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:45 Creating plugin client for path: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:45 Starting plugin: C:\Azure\buildprovisioning\packer.exe []string{"C:\\Azure\\buildprovisioning\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/06/29 17:10:45 Waiting for RPC address for: C:\Azure\buildprovisioning\packer.exe
2020/06/29 17:10:45 packer.exe plugin: [INFO] Packer version: 1.6.0 [go1.13.12 windows amd64]
2020/06/29 17:10:45 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/06/29 17:10:45 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/06/29 17:10:45 packer.exe plugin: Attempting to open config file: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:45 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\kiranh\AppData\Roaming\packer.config
2020/06/29 17:10:45 packer.exe plugin: Setting cache directory: C:\Azure\buildprovisioning\packer_cache
2020/06/29 17:10:45 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/06/29 17:10:45 packer.exe plugin: Plugin port range: [10000,25000]
2020/06/29 17:10:45 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/06/29 17:10:45 packer.exe plugin: Waiting for connection...
2020/06/29 17:10:45 Received tcp RPC address for C:\Azure\buildprovisioning\packer.exe: addr is 127.0.0.1:10000
2020/06/29 17:10:45 packer.exe plugin: Serving a plugin connection...
2020/06/29 17:10:45 Preparing build: azure-arm
2020/06/29 17:10:46 ui: Debug mode enabled. Builds will not be parallelized.
2020/06/29 17:10:46 ui: azure-arm: output will be in this color.
2020/06/29 17:10:46 ui:
2020/06/29 17:10:46 Build debug mode: true
2020/06/29 17:10:46 Force build: false
2020/06/29 17:10:46 On error:
2020/06/29 17:10:46 Debug enabled, so waiting for build to finish: azure-arm
2020/06/29 17:10:46 Starting build run: azure-arm
2020/06/29 17:10:46 Running builder: azure-arm
2020/06/29 17:10:46 [INFO] (telemetry) Starting builder azure-arm
2020/06/29 17:10:46 ui: ==> azure-arm: Running builder ...
2020/06/29 17:10:46 packer.exe plugin: :: Configuration
2020/06/29 17:10:46 packer.exe plugin: CaptureNamePrefix=
2020/06/29 17:10:46 packer.exe plugin: CaptureContainerName=
2020/06/29 17:10:46 packer.exe plugin: SharedGalleryImageVersionEndOfLifeDate=
2020/06/29 17:10:46 packer.exe plugin: ImagePublisher=
2020/06/29 17:10:46 packer.exe plugin: ImageOffer=
2020/06/29 17:10:46 packer.exe plugin: ImageSku=
2020/06/29 17:10:46 packer.exe plugin: ImageVersion=
2020/06/29 17:10:46 packer.exe plugin: ImageUrl=
2020/06/29 17:10:46 packer.exe plugin: CustomManagedImageName=Packer-BuildAgent-cvad-step1-EnableSSH-202006290556
2020/06/29 17:10:46 packer.exe plugin: CustomManagedImageResourceGroupName=TeamCityBuckBuildAgents
2020/06/29 17:10:46 packer.exe plugin: Location=
2020/06/29 17:10:46 packer.exe plugin: VMSize=Standard_A8_v2
2020/06/29 17:10:46 packer.exe plugin: ManagedImageResourceGroupName=TeamCityBuckBuildAgents
2020/06/29 17:10:46 packer.exe plugin: ManagedImageName=Packer-BuildAgent-cvad-step2-InstallPackages-202006290910
2020/06/29 17:10:46 packer.exe plugin: ManagedImageStorageAccountType=
2020/06/29 17:10:46 packer.exe plugin: ManagedImageOSDiskSnapshotName=
2020/06/29 17:10:46 packer.exe plugin: ManagedImageDataDiskSnapshotPrefix=
2020/06/29 17:10:46 packer.exe plugin: ResourceGroupName=
2020/06/29 17:10:46 packer.exe plugin: StorageAccount=
2020/06/29 17:10:46 packer.exe plugin: TempComputeName=
2020/06/29 17:10:46 packer.exe plugin: TempResourceGroupName=
2020/06/29 17:10:46 packer.exe plugin: BuildResourceGroupName=TeamCityBuckBuildAgents
2020/06/29 17:10:46 packer.exe plugin: BuildKeyVaultName=
2020/06/29 17:10:46 packer.exe plugin: BuildKeyVaultSKU=standard
2020/06/29 17:10:46 packer.exe plugin: VirtualNetworkName=TeamCityBuckBuildAgents-VNET
2020/06/29 17:10:46 packer.exe plugin: VirtualNetworkSubnetName=TCBuckBuildAgents-Subnet
2020/06/29 17:10:46 packer.exe plugin: VirtualNetworkResourceGroupName=TeamCityBuckBuildAgents
2020/06/29 17:10:46 packer.exe plugin: CustomDataFile=
2020/06/29 17:10:46 packer.exe plugin: OSType=Windows
2020/06/29 17:10:46 packer.exe plugin: DiskCachingType=
2020/06/29 17:10:46 packer.exe plugin: BootDiagSTGAccount=
2020/06/29 17:10:46 packer.exe plugin: CustomResourcePrefix=
2020/06/29 17:10:46 packer.exe plugin: UserName=kiranh
2020/06/29 17:10:46 packer.exe plugin: Password=************
2020/06/29 17:10:46 ui: ==> azure-arm: Getting tokens using client secret
2020/06/29 17:10:47 ui: ==> azure-arm: Getting tokens using client secret
2020/06/29 17:10:47 ui: azure-arm: Creating Azure Resource Manager (ARM) client ...
2020/06/29 17:10:47 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images?api-version=2018-04-01" body=""
2020/06/29 17:10:48 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images?api-version=2018-04-01" x-ms-request-id="200e6adf-ec43-480e-a272-f2980fd3e2ea" body="{\r\n \"value\": [\r\n {\r\n \"name\": \"Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"dept\": \"Packer-Engineering\",\r\n \"org\": \"Packer-SES-Build\",\r\n \"task\": \"Packer-SES Build agent\"\r\n },\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmusicca62ny\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 400,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/pkrosusicca62ny\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate-2020-Q2\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate-2020-Q2\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCBuckTemplate\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCBuckTemplate_disk1_93bdf4a805ad48da960a1eea16106c4b\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate-2020-Q2-Final100\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate-2020-Q2-Final100\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCBuckVMTest123\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCBuckVMTest123_disk1_95557fcab4f0496cb3c24d5a2e16480a\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate1003\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate1003\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCBuckAgent-Certs3\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCBuckAgent-Certs3_disk1_63360ace737240f499370f13cbc46be3\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate1004\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate1004\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCAgentSmallWorkDir\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCAgentSmallWorkDir_disk1_7dad19ebd70a4fb58180d9fd02fb8260\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate1005\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate1005\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCAgentJoinServer\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCAgentJoinServer_disk1_45e0751b7b8c4ebca589733487a964b2\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}"
2020/06/29 17:10:48 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images?api-version=2018-04-01" x-ms-request-id="200e6adf-ec43-480e-a272-f2980fd3e2ea" body="{\r\n \"value\": [\r\n {\r\n \"name\": \"Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"dept\": \"Packer-Engineering\",\r\n \"org\": \"Packer-SES-Build\",\r\n \"task\": \"Packer-SES Build agent\"\r\n },\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmusicca62ny\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 400,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/pkrosusicca62ny\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate-2020-Q2\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate-2020-Q2\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCBuckTemplate\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCBuckTemplate_disk1_93bdf4a805ad48da960a1eea16106c4b\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate-2020-Q2-Final100\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate-2020-Q2-Final100\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCBuckVMTest123\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCBuckVMTest123_disk1_95557fcab4f0496cb3c24d5a2e16480a\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate1003\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate1003\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCBuckAgent-Certs3\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCBuckAgent-Certs3_disk1_63360ace737240f499370f13cbc46be3\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate1004\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate1004\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCAgentSmallWorkDir\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCAgentSmallWorkDir_disk1_7dad19ebd70a4fb58180d9fd02fb8260\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"name\": \"TCBuckTemplate1005\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/TCBuckTemplate1005\",\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/TCAgentJoinServer\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": 500,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TEAMCITYBUCKBUILDAGENTS/providers/Microsoft.Compute/disks/TCAgentJoinServer_disk1_45e0751b7b8c4ebca589733487a964b2\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [],\r\n \"zoneResilient\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}"
2020/06/29 17:10:48 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" body=""
2020/06/29 17:10:48 packer.exe plugin: Azure response request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" x-ms-request-id="a76bd4f8-b2c4-4060-9bbf-c956262e1559" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents\",\"name\":\"TeamCityBuckBuildAgents\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}" status="200 OK" method="GET"
2020/06/29 17:10:48 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" x-ms-request-id="a76bd4f8-b2c4-4060-9bbf-c956262e1559" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents\",\"name\":\"TeamCityBuckBuildAgents\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}"
2020/06/29 17:10:48 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step2-InstallPackages-202006290910?api-version=2018-04-01" body=""
2020/06/29 17:10:49 packer.exe plugin: Azure response status="404 Not Found" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step2-InstallPackages-202006290910?api-version=2018-04-01" x-ms-request-id="c420fc3c-6c6c-4df4-b62c-90dbad72e47f" body="{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.Compute/images/Packer-BuildAgent-cvad-step2-InstallPackages-202006290910' under resource group 'TeamCityBuckBuildAgents' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}"
2020/06/29 17:10:49 packer.exe plugin: Azure response request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step2-InstallPackages-202006290910?api-version=2018-04-01" x-ms-request-id="c420fc3c-6c6c-4df4-b62c-90dbad72e47f" body="{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.Compute/images/Packer-BuildAgent-cvad-step2-InstallPackages-202006290910' under resource group 'TeamCityBuckBuildAgents' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" status="404 Not Found" method="GET"
2020/06/29 17:10:49 packer.exe plugin: Azure request body="" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01"
2020/06/29 17:10:49 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" x-ms-request-id="2b6db9e7-2ecf-4f60-9995-67ed2ce1c5a0" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents\",\"name\":\"TeamCityBuckBuildAgents\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}"
2020/06/29 17:10:49 packer.exe plugin: Azure response request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" x-ms-request-id="2b6db9e7-2ecf-4f60-9995-67ed2ce1c5a0" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents\",\"name\":\"TeamCityBuckBuildAgents\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}" status="200 OK" method="GET"
2020/06/29 17:10:49 ui: ==> azure-arm: WARNING: Zone resiliency may not be supported in eastus, checkout the docs at https://docs.microsoft.com/en-us/azure/availability-zones/
2020/06/29 17:10:49 ui: azure-arm: temp admin user: 'kiranh'
2020/06/29 17:10:49 ui: azure-arm: temp admin password: 'abcdefg@12345'
2020/06/29 17:10:49 ui: azure-arm: temp ssh key: azure-arm-pkrvmfxfgy2w60v.pem
2020/06/29 17:10:49 packer.exe plugin: Azure request request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" body="" method="HEAD"
2020/06/29 17:10:49 packer.exe plugin: Azure response status="204 No Content" method="HEAD" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01" x-ms-request-id="070642c8-7add-40b9-8bb8-b4e35fd1d9ef" body=""
2020/06/29 17:10:49 packer.exe plugin: Azure response x-ms-request-id="070642c8-7add-40b9-8bb8-b4e35fd1d9ef" body="" status="204 No Content" method="HEAD" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents?api-version=2018-02-01"
2020/06/29 17:10:49 ui: ==> azure-arm: Using existing resource group ...
2020/06/29 17:10:49 ui: ==> azure-arm: -> ResourceGroupName : 'TeamCityBuckBuildAgents'
2020/06/29 17:10:49 ui: ==> azure-arm: -> Location : 'eastus'
2020/06/29 17:10:49 ui: ask: ==> azure-arm: Pausing after run of step 'StepCreateResourceGroup'. Press enter to continue.
2020/06/29 17:10:54 ui: ==> azure-arm: Validating deployment template ...
2020/06/29 17:10:54 ui: ==> azure-arm: -> ResourceGroupName : 'TeamCityBuckBuildAgents'
2020/06/29 17:10:54 ui: ==> azure-arm: -> DeploymentName : 'pkrdpfxfgy2w60v'
2020/06/29 17:10:54 packer.exe plugin: Azure request method="POST" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/validate?api-version=2018-02-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"keyVaultName\":{\"type\":\"string\"},\"keyVaultSKU\":{\"type\":\"string\"},\"keyVaultSecretValue\":{\"type\":\"securestring\"},\"objectId\":{\"type\":\"string\"},\"tenantId\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('apiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[parameters('keyVaultName')]\",\"properties\":{\"accessPolicies\":[{\"objectId\":\"[parameters('objectId')]\",\"permissions\":{\"keys\":[\"all\"],\"secrets\":[\"all\"]},\"tenantId\":\"[parameters('tenantId')]\"}],\"enabledForDeployment\":\"true\",\"enabledForTemplateDeployment\":\"true\",\"sku\":{\"family\":\"A\",\"name\":\"[parameters('keyVaultSKU')]\"},\"tenantId\":\"[parameters('tenantId')]\"},\"resources\":[{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.KeyVault/vaults/', parameters('keyVaultName'))]\"],\"name\":\"[variables('keyVaultSecretName')]\",\"properties\":{\"value\":\"[parameters('keyVaultSecretValue')]\"},\"type\":\"secrets\"}],\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"type\":\"Microsoft.KeyVault/vaults\"}],\"variables\":{\"apiVersion\":\"2015-06-01\",\"keyVaultSecretName\":\"packerKeyVaultSecret\",\"location\":\"[resourceGroup().location]\"}},\"parameters\":{\"keyVaultName\":{\"value\":\"pkrkvfxfgy2w60v\"},\"keyVaultSKU\":{\"value\":\"standard\"},\"keyVaultSecretValue\":{\"value\":\"\"},\"objectId\":{\"value\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\"},\"tenantId\":{\"value\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},\"mode\":\"Incremental\"}}"
2020/06/29 17:10:58 packer.exe plugin: Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/validate?api-version=2018-02-01" x-ms-request-id="369bab46-7686-44ee-b6fa-ac3c5230dbe0" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v\",\"name\":\"pkrdpfxfgy2w60v\",\"properties\":{\"templateHash\":\"12361631215095249037\",\"parameters\":{\"keyVaultName\":{\"type\":\"String\",\"value\":\"pkrkvfxfgy2w60v\"},\"keyVaultSKU\":{\"type\":\"String\",\"value\":\"standard\"},\"keyVaultSecretValue\":{\"type\":\"SecureString\"},\"objectId\":{\"type\":\"String\",\"value\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\"},\"tenantId\":{\"type\":\"String\",\"value\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2020-06-29T09:10:56.9689697Z\",\"duration\":\"PT0S\",\"correlationId\":\"369bab46-7686-44ee-b6fa-ac3c5230dbe0\",\"providers\":[{\"namespace\":\"Microsoft.KeyVault\",\"resourceTypes\":[{\"resourceType\":\"vaults\",\"locations\":[\"eastus\"]},{\"resourceType\":\"vaults/secrets\",\"locations\":[null]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\",\"resourceType\":\"Microsoft.KeyVault/vaults\",\"resourceName\":\"pkrkvfxfgy2w60v\"}],\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v/secrets/packerKeyVaultSecret\",\"resourceType\":\"Microsoft.KeyVault/vaults/secrets\",\"resourceName\":\"pkrkvfxfgy2w60v/packerKeyVaultSecret\"}],\"validatedResources\":[{\"apiVersion\":\"2015-06-01\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\",\"name\":\"pkrkvfxfgy2w60v\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"eastus\",\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"properties\":{\"accessPolicies\":[{\"objectId\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\",\"permissions\":{\"keys\":[\"all\"],\"secrets\":[\"all\"]},\"tenantId\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}],\"enabledForDeployment\":\"true\",\"enabledForTemplateDeployment\":\"true\",\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},{\"dependsOn\":[\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"],\"apiVersion\":\"2015-06-01\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v/secrets/packerKeyVaultSecret\",\"name\":\"pkrkvfxfgy2w60v/packerKeyVaultSecret\",\"type\":\"Microsoft.KeyVault/vaults/secrets\",\"properties\":{\"value\":\"\"}}]}}"
2020/06/29 17:10:58 packer.exe plugin: Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/validate?api-version=2018-02-01" x-ms-request-id="369bab46-7686-44ee-b6fa-ac3c5230dbe0" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v\",\"name\":\"pkrdpfxfgy2w60v\",\"properties\":{\"templateHash\":\"12361631215095249037\",\"parameters\":{\"keyVaultName\":{\"type\":\"String\",\"value\":\"pkrkvfxfgy2w60v\"},\"keyVaultSKU\":{\"type\":\"String\",\"value\":\"standard\"},\"keyVaultSecretValue\":{\"type\":\"SecureString\"},\"objectId\":{\"type\":\"String\",\"value\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\"},\"tenantId\":{\"type\":\"String\",\"value\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2020-06-29T09:10:56.9689697Z\",\"duration\":\"PT0S\",\"correlationId\":\"369bab46-7686-44ee-b6fa-ac3c5230dbe0\",\"providers\":[{\"namespace\":\"Microsoft.KeyVault\",\"resourceTypes\":[{\"resourceType\":\"vaults\",\"locations\":[\"eastus\"]},{\"resourceType\":\"vaults/secrets\",\"locations\":[null]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\",\"resourceType\":\"Microsoft.KeyVault/vaults\",\"resourceName\":\"pkrkvfxfgy2w60v\"}],\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v/secrets/packerKeyVaultSecret\",\"resourceType\":\"Microsoft.KeyVault/vaults/secrets\",\"resourceName\":\"pkrkvfxfgy2w60v/packerKeyVaultSecret\"}],\"validatedResources\":[{\"apiVersion\":\"2015-06-01\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\",\"name\":\"pkrkvfxfgy2w60v\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"eastus\",\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"properties\":{\"accessPolicies\":[{\"objectId\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\",\"permissions\":{\"keys\":[\"all\"],\"secrets\":[\"all\"]},\"tenantId\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}],\"enabledForDeployment\":\"true\",\"enabledForTemplateDeployment\":\"true\",\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},{\"dependsOn\":[\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"],\"apiVersion\":\"2015-06-01\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v/secrets/packerKeyVaultSecret\",\"name\":\"pkrkvfxfgy2w60v/packerKeyVaultSecret\",\"type\":\"Microsoft.KeyVault/vaults/secrets\",\"properties\":{\"value\":\"\"}}]}}"
2020/06/29 17:10:58 ui: ask: ==> azure-arm: Pausing after run of step 'StepValidateTemplate'. Press enter to continue.
2020/06/29 17:12:04 ui: ==> azure-arm: Deploying deployment template ...
2020/06/29 17:12:04 ui: ==> azure-arm: -> ResourceGroupName : 'TeamCityBuckBuildAgents'
2020/06/29 17:12:04 ui: ==> azure-arm: -> DeploymentName : 'kvpkrdpfxfgy2w60v'
2020/06/29 17:12:04 packer.exe plugin: Azure request method="PUT" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v?api-version=2018-02-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"keyVaultName\":{\"type\":\"string\"},\"keyVaultSKU\":{\"type\":\"string\"},\"keyVaultSecretValue\":{\"type\":\"securestring\"},\"objectId\":{\"type\":\"string\"},\"tenantId\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('apiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[parameters('keyVaultName')]\",\"properties\":{\"accessPolicies\":[{\"objectId\":\"[parameters('objectId')]\",\"permissions\":{\"keys\":[\"all\"],\"secrets\":[\"all\"]},\"tenantId\":\"[parameters('tenantId')]\"}],\"enabledForDeployment\":\"true\",\"enabledForTemplateDeployment\":\"true\",\"sku\":{\"family\":\"A\",\"name\":\"[parameters('keyVaultSKU')]\"},\"tenantId\":\"[parameters('tenantId')]\"},\"resources\":[{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.KeyVault/vaults/', parameters('keyVaultName'))]\"],\"name\":\"[variables('keyVaultSecretName')]\",\"properties\":{\"value\":\"[parameters('keyVaultSecretValue')]\"},\"type\":\"secrets\"}],\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"type\":\"Microsoft.KeyVault/vaults\"}],\"variables\":{\"apiVersion\":\"2015-06-01\",\"keyVaultSecretName\":\"packerKeyVaultSecret\",\"location\":\"[resourceGroup().location]\"}},\"parameters\":{\"keyVaultName\":{\"value\":\"pkrkvfxfgy2w60v\"},\"keyVaultSKU\":{\"value\":\"standard\"},\"keyVaultSecretValue\":{\"value\":\"\"},\"objectId\":{\"value\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\"},\"tenantId\":{\"value\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},\"mode\":\"Incremental\"}}"
2020/06/29 17:12:10 packer.exe plugin: Azure response method="PUT" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v?api-version=2018-02-01" x-ms-request-id="9033379d-77c7-4439-a6ad-16f3b16e8f08" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v\",\"name\":\"kvpkrdpfxfgy2w60v\",\"properties\":{\"templateHash\":\"12361631215095249037\",\"parameters\":{\"keyVaultName\":{\"type\":\"String\",\"value\":\"pkrkvfxfgy2w60v\"},\"keyVaultSKU\":{\"type\":\"String\",\"value\":\"standard\"},\"keyVaultSecretValue\":{\"type\":\"SecureString\"},\"objectId\":{\"type\":\"String\",\"value\":\"6571c033-33ab-44e8-aad9-8a4a4ef6bf7f\"},\"tenantId\":{\"type\":\"String\",\"value\":\"335836de-42ef-43a2-b145-348c2ee9ca5b\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Accepted\",\"timestamp\":\"2020-06-29T09:12:08.6736808Z\",\"duration\":\"PT2.3605329S\",\"correlationId\":\"9033379d-77c7-4439-a6ad-16f3b16e8f08\",\"providers\":[{\"namespace\":\"Microsoft.KeyVault\",\"resourceTypes\":[{\"resourceType\":\"vaults\",\"locations\":[\"eastus\"]},{\"resourceType\":\"vaults/secrets\",\"locations\":[null]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\",\"resourceType\":\"Microsoft.KeyVault/vaults\",\"resourceName\":\"pkrkvfxfgy2w60v\"}],\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v/secrets/packerKeyVaultSecret\",\"resourceType\":\"Microsoft.KeyVault/vaults/secrets\",\"resourceName\":\"pkrkvfxfgy2w60v/packerKeyVaultSecret\"}]}}" status="201 Created"
2020/06/29 17:12:10 packer.exe plugin: Azure request request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v/operationStatuses/08586081849591644809?api-version=2018-02-01" body="" method="GET"
2020/06/29 17:12:11 packer.exe plugin: Azure response method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v/operationStatuses/08586081849591644809?api-version=2018-02-01" x-ms-request-id="323cce0e-0fc2-4e77-acd9-48c10591d24d" body="{\"status\":\"Running\"}" status="200 OK"
2020/06/29 17:13:11 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v/operationStatuses/08586081849591644809?api-version=2018-02-01" body=""
2020/06/29 17:13:11 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v/operationStatuses/08586081849591644809?api-version=2018-02-01" x-ms-request-id="8eb7c6d5-6829-4089-be43-9b56126d8c01" body="{\"status\":\"Succeeded\"}"
2020/06/29 17:13:11 ui: ask: ==> azure-arm: Pausing after run of step 'StepDeployTemplate'. Press enter to continue.
2020/06/29 17:13:27 ui: ==> azure-arm: Getting the certificate's URL ...
2020/06/29 17:13:27 ui: ==> azure-arm: -> Key Vault Name : 'pkrkvfxfgy2w60v'
2020/06/29 17:13:27 ui: ==> azure-arm: -> Key Vault Secret Name : 'packerKeyVaultSecret'
2020/06/29 17:13:27 packer.exe plugin: Azure request method="GET" request="https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret?api-version=2016-10-01" body=""
2020/06/29 17:13:29 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret?api-version=2016-10-01" x-ms-request-id="33e36ea9-2e5e-4f6d-9089-ef459aded391" body="{\"value\":\"\",\"id\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\"attributes\":{\"enabled\":true,\"created\":1593421956,\"updated\":1593421956,\"recoveryLevel\":\"Purgeable\"}}"
2020/06/29 17:13:29 ui: ==> azure-arm: -> Certificate URL : 'https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f'
2020/06/29 17:13:29 ui: ask: ==> azure-arm: Pausing after run of step 'StepGetCertificate'. Press enter to continue.
2020/06/29 17:13:36 ui: ==> azure-arm: Setting the certificate's URL ...
2020/06/29 17:13:36 ui: ask: ==> azure-arm: Pausing after run of step 'StepSetCertificate'. Press enter to continue.
2020/06/29 17:13:39 ui: ==> azure-arm: Validating deployment template ...
2020/06/29 17:13:39 ui: ==> azure-arm: -> ResourceGroupName : 'TeamCityBuckBuildAgents'
2020/06/29 17:13:39 ui: ==> azure-arm: -> DeploymentName : 'pkrdpfxfgy2w60v'
2020/06/29 17:13:39 packer.exe plugin: Azure request request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/validate?api-version=2018-02-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"adminPassword\":{\"type\":\"string\"},\"adminUsername\":{\"type\":\"string\"},\"dataDiskName\":{\"type\":\"string\"},\"dnsNameForPublicIP\":{\"type\":\"string\"},\"nicName\":{\"type\":\"string\"},\"nsgName\":{\"type\":\"string\"},\"osDiskName\":{\"type\":\"string\"},\"publicIPAddressName\":{\"type\":\"string\"},\"storageAccountBlobEndpoint\":{\"type\":\"string\"},\"subnetName\":{\"type\":\"string\"},\"virtualNetworkName\":{\"type\":\"string\"},\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('networkInterfacesApiVersion')]\",\"dependsOn\":[],\"location\":\"[variables('location')]\",\"name\":\"[parameters('nicName')]\",\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"subnet\":{\"id\":\"[variables('subnetRef')]\"}}}]},\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"type\":\"Microsoft.Network/networkInterfaces\"},{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/networkInterfaces/', parameters('nicName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[parameters('vmName')]\",\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[resourceId('Microsoft.Network/networkInterfaces', parameters('nicName'))]\"}]},\"osProfile\":{\"adminPassword\":\"[parameters('adminPassword')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"computerName\":\"[parameters('vmName')]\",\"secrets\":[{\"sourceVault\":{\"id\":\"[resourceId(resourceGroup().name, 'Microsoft.KeyVault/vaults', 'pkrkvfxfgy2w60v')]\"},\"vaultCertificates\":[{\"certificateStore\":\"My\",\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"}]}],\"windowsConfiguration\":{\"provisionVMAgent\":true,\"winRM\":{\"listeners\":[{\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\"protocol\":\"https\"}]}}},\"storageProfile\":{\"imageReference\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"FromImage\",\"diskSizeGB\":400,\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"[parameters('osDiskName')]\",\"osType\":\"Windows\"}}},\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"type\":\"Microsoft.Compute/virtualMachines\"}],\"variables\":{\"addressPrefix\":\"10.0.0.0/16\",\"apiVersion\":\"2017-03-30\",\"location\":\"[resourceGroup().location]\",\"managedDiskApiVersion\":\"2017-03-30\",\"networkInterfacesApiVersion\":\"2017-04-01\",\"networkSecurityGroupsApiVersion\":\"2019-04-01\",\"publicIPAddressApiVersion\":\"2017-04-01\",\"publicIPAddressType\":\"Dynamic\",\"sshKeyPath\":\"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\"subnetAddressPrefix\":\"10.0.0.0/24\",\"subnetName\":\"TCBuckBuildAgents-Subnet\",\"subnetRef\":\"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\",\"virtualNetworkName\":\"TeamCityBuckBuildAgents-VNET\",\"virtualNetworkResourceGroup\":\"TeamCityBuckBuildAgents\",\"virtualNetworksApiVersion\":\"2017-04-01\",\"vmStorageAccountContainerName\":\"images\",\"vnetID\":\"[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\"}},\"parameters\":{\"adminPassword\":{\"value\":\"abcdefg@12345\"},\"adminUsername\":{\"value\":\"kiranh\"},\"dataDiskName\":{\"value\":\"pkrddfxfgy2w60v\"},\"dnsNameForPublicIP\":{\"value\":\"pkrvmfxfgy2w60v\"},\"nicName\":{\"value\":\"pkrnifxfgy2w60v\"},\"nsgName\":{\"value\":\"pkrsgfxfgy2w60v\"},\"osDiskName\":{\"value\":\"pkrosfxfgy2w60v\"},\"publicIPAddressName\":{\"value\":\"pkripfxfgy2w60v\"},\"storageAccountBlobEndpoint\":{\"value\":\"\"},\"subnetName\":{\"value\":\"pkrsnfxfgy2w60v\"},\"virtualNetworkName\":{\"value\":\"pkrvnfxfgy2w60v\"},\"vmName\":{\"value\":\"pkrvmfxfgy2w60v\"},\"vmSize\":{\"value\":\"Standard_A8_v2\"}},\"mode\":\"Incremental\"}}" method="POST"
2020/06/29 17:13:41 packer.exe plugin: Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/validate?api-version=2018-02-01" x-ms-request-id="9c2d4d03-fafe-4b16-aa77-16e9e8fd385c" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v\",\"name\":\"pkrdpfxfgy2w60v\",\"properties\":{\"templateHash\":\"9551819345015323084\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"abcdefg@12345\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"kiranh\"},\"dataDiskName\":{\"type\":\"String\",\"value\":\"pkrddfxfgy2w60v\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmfxfgy2w60v\"},\"nicName\":{\"type\":\"String\",\"value\":\"pkrnifxfgy2w60v\"},\"nsgName\":{\"type\":\"String\",\"value\":\"pkrsgfxfgy2w60v\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosfxfgy2w60v\"},\"publicIPAddressName\":{\"type\":\"String\",\"value\":\"pkripfxfgy2w60v\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"subnetName\":{\"type\":\"String\",\"value\":\"pkrsnfxfgy2w60v\"},\"virtualNetworkName\":{\"type\":\"String\",\"value\":\"pkrvnfxfgy2w60v\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmfxfgy2w60v\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_A8_v2\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2020-06-29T09:13:41.3269626Z\",\"duration\":\"PT0S\",\"correlationId\":\"9c2d4d03-fafe-4b16-aa77-16e9e8fd385c\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"networkInterfaces\",\"locations\":[\"eastus\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"eastus\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"pkrnifxfgy2w60v\"}],\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmfxfgy2w60v\"}],\"validatedResources\":[{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\",\"name\":\"pkrnifxfgy2w60v\",\"type\":\"Microsoft.Network/networkInterfaces\",\"location\":\"eastus\",\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"subnet\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/virtualNetworks/TeamCityBuckBuildAgents-VNET/subnets/TCBuckBuildAgents-Subnet\"}}}]}},{\"dependsOn\":[\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"],\"apiVersion\":\"2017-03-30\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\"name\":\"pkrvmfxfgy2w60v\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"eastus\",\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"Standard_A8_v2\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"}]},\"osProfile\":{\"adminPassword\":\"abcdefg@12345\",\"adminUsername\":\"kiranh\",\"computerName\":\"pkrvmfxfgy2w60v\",\"secrets\":[{\"sourceVault\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"},\"vaultCertificates\":[{\"certificateStore\":\"My\",\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"}]}],\"windowsConfiguration\":{\"provisionVMAgent\":true,\"winRM\":{\"listeners\":[{\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\"protocol\":\"https\"}]}}},\"storageProfile\":{\"imageReference\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"FromImage\",\"diskSizeGB\":400,\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"pkrosfxfgy2w60v\",\"osType\":\"Windows\"}}}}]}}"
2020/06/29 17:13:41 packer.exe plugin: Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/validate?api-version=2018-02-01" x-ms-request-id="9c2d4d03-fafe-4b16-aa77-16e9e8fd385c" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v\",\"name\":\"pkrdpfxfgy2w60v\",\"properties\":{\"templateHash\":\"9551819345015323084\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"abcdefg@12345\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"kiranh\"},\"dataDiskName\":{\"type\":\"String\",\"value\":\"pkrddfxfgy2w60v\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmfxfgy2w60v\"},\"nicName\":{\"type\":\"String\",\"value\":\"pkrnifxfgy2w60v\"},\"nsgName\":{\"type\":\"String\",\"value\":\"pkrsgfxfgy2w60v\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosfxfgy2w60v\"},\"publicIPAddressName\":{\"type\":\"String\",\"value\":\"pkripfxfgy2w60v\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"subnetName\":{\"type\":\"String\",\"value\":\"pkrsnfxfgy2w60v\"},\"virtualNetworkName\":{\"type\":\"String\",\"value\":\"pkrvnfxfgy2w60v\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmfxfgy2w60v\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_A8_v2\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2020-06-29T09:13:41.3269626Z\",\"duration\":\"PT0S\",\"correlationId\":\"9c2d4d03-fafe-4b16-aa77-16e9e8fd385c\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"networkInterfaces\",\"locations\":[\"eastus\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"eastus\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"pkrnifxfgy2w60v\"}],\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmfxfgy2w60v\"}],\"validatedResources\":[{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\",\"name\":\"pkrnifxfgy2w60v\",\"type\":\"Microsoft.Network/networkInterfaces\",\"location\":\"eastus\",\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"subnet\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/virtualNetworks/TeamCityBuckBuildAgents-VNET/subnets/TCBuckBuildAgents-Subnet\"}}}]}},{\"dependsOn\":[\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"],\"apiVersion\":\"2017-03-30\",\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\"name\":\"pkrvmfxfgy2w60v\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"eastus\",\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"Standard_A8_v2\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"}]},\"osProfile\":{\"adminPassword\":\"abcdefg@12345\",\"adminUsername\":\"kiranh\",\"computerName\":\"pkrvmfxfgy2w60v\",\"secrets\":[{\"sourceVault\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"},\"vaultCertificates\":[{\"certificateStore\":\"My\",\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"}]}],\"windowsConfiguration\":{\"provisionVMAgent\":true,\"winRM\":{\"listeners\":[{\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\"protocol\":\"https\"}]}}},\"storageProfile\":{\"imageReference\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"FromImage\",\"diskSizeGB\":400,\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"pkrosfxfgy2w60v\",\"osType\":\"Windows\"}}}}]}}"
2020/06/29 17:13:41 ui: ask: ==> azure-arm: Pausing after run of step 'StepValidateTemplate'. Press enter to continue.
2020/06/29 17:13:44 ui: ==> azure-arm: Deploying deployment template ...
2020/06/29 17:13:44 ui: ==> azure-arm: -> ResourceGroupName : 'TeamCityBuckBuildAgents'
2020/06/29 17:13:44 ui: ==> azure-arm: -> DeploymentName : 'pkrdpfxfgy2w60v'
2020/06/29 17:13:44 packer.exe plugin: Azure request method="PUT" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v?api-version=2018-02-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"adminPassword\":{\"type\":\"string\"},\"adminUsername\":{\"type\":\"string\"},\"dataDiskName\":{\"type\":\"string\"},\"dnsNameForPublicIP\":{\"type\":\"string\"},\"nicName\":{\"type\":\"string\"},\"nsgName\":{\"type\":\"string\"},\"osDiskName\":{\"type\":\"string\"},\"publicIPAddressName\":{\"type\":\"string\"},\"storageAccountBlobEndpoint\":{\"type\":\"string\"},\"subnetName\":{\"type\":\"string\"},\"virtualNetworkName\":{\"type\":\"string\"},\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('networkInterfacesApiVersion')]\",\"dependsOn\":[],\"location\":\"[variables('location')]\",\"name\":\"[parameters('nicName')]\",\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"subnet\":{\"id\":\"[variables('subnetRef')]\"}}}]},\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"type\":\"Microsoft.Network/networkInterfaces\"},{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/networkInterfaces/', parameters('nicName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[parameters('vmName')]\",\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[resourceId('Microsoft.Network/networkInterfaces', parameters('nicName'))]\"}]},\"osProfile\":{\"adminPassword\":\"[parameters('adminPassword')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"computerName\":\"[parameters('vmName')]\",\"secrets\":[{\"sourceVault\":{\"id\":\"[resourceId(resourceGroup().name, 'Microsoft.KeyVault/vaults', 'pkrkvfxfgy2w60v')]\"},\"vaultCertificates\":[{\"certificateStore\":\"My\",\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"}]}],\"windowsConfiguration\":{\"provisionVMAgent\":true,\"winRM\":{\"listeners\":[{\"certificateUrl\":\"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\"protocol\":\"https\"}]}}},\"storageProfile\":{\"imageReference\":{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"FromImage\",\"diskSizeGB\":400,\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"[parameters('osDiskName')]\",\"osType\":\"Windows\"}}},\"tags\":{\"dept\":\"Engineering\",\"org\":\"SES-Build\",\"task\":\"SES Build agent\"},\"type\":\"Microsoft.Compute/virtualMachines\"}],\"variables\":{\"addressPrefix\":\"10.0.0.0/16\",\"apiVersion\":\"2017-03-30\",\"location\":\"[resourceGroup().location]\",\"managedDiskApiVersion\":\"2017-03-30\",\"networkInterfacesApiVersion\":\"2017-04-01\",\"networkSecurityGroupsApiVersion\":\"2019-04-01\",\"publicIPAddressApiVersion\":\"2017-04-01\",\"publicIPAddressType\":\"Dynamic\",\"sshKeyPath\":\"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\"subnetAddressPrefix\":\"10.0.0.0/24\",\"subnetName\":\"TCBuckBuildAgents-Subnet\",\"subnetRef\":\"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\",\"virtualNetworkName\":\"TeamCityBuckBuildAgents-VNET\",\"virtualNetworkResourceGroup\":\"TeamCityBuckBuildAgents\",\"virtualNetworksApiVersion\":\"2017-04-01\",\"vmStorageAccountContainerName\":\"images\",\"vnetID\":\"[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\"}},\"parameters\":{\"adminPassword\":{\"value\":\"abcdefg@12345\"},\"adminUsername\":{\"value\":\"kiranh\"},\"dataDiskName\":{\"value\":\"pkrddfxfgy2w60v\"},\"dnsNameForPublicIP\":{\"value\":\"pkrvmfxfgy2w60v\"},\"nicName\":{\"value\":\"pkrnifxfgy2w60v\"},\"nsgName\":{\"value\":\"pkrsgfxfgy2w60v\"},\"osDiskName\":{\"value\":\"pkrosfxfgy2w60v\"},\"publicIPAddressName\":{\"value\":\"pkripfxfgy2w60v\"},\"storageAccountBlobEndpoint\":{\"value\":\"\"},\"subnetName\":{\"value\":\"pkrsnfxfgy2w60v\"},\"virtualNetworkName\":{\"value\":\"pkrvnfxfgy2w60v\"},\"vmName\":{\"value\":\"pkrvmfxfgy2w60v\"},\"vmSize\":{\"value\":\"Standard_A8_v2\"}},\"mode\":\"Incremental\"}}"
2020/06/29 17:13:50 packer.exe plugin: Azure response status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v?api-version=2018-02-01" x-ms-request-id="abbdd596-1c5c-4485-8369-c9ff66fefa29" body="{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v\",\"name\":\"pkrdpfxfgy2w60v\",\"properties\":{\"templateHash\":\"9551819345015323084\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"abcdefg@12345\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"kiranh\"},\"dataDiskName\":{\"type\":\"String\",\"value\":\"pkrddfxfgy2w60v\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmfxfgy2w60v\"},\"nicName\":{\"type\":\"String\",\"value\":\"pkrnifxfgy2w60v\"},\"nsgName\":{\"type\":\"String\",\"value\":\"pkrsgfxfgy2w60v\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosfxfgy2w60v\"},\"publicIPAddressName\":{\"type\":\"String\",\"value\":\"pkripfxfgy2w60v\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"subnetName\":{\"type\":\"String\",\"value\":\"pkrsnfxfgy2w60v\"},\"virtualNetworkName\":{\"type\":\"String\",\"value\":\"pkrvnfxfgy2w60v\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmfxfgy2w60v\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_A8_v2\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Accepted\",\"timestamp\":\"2020-06-29T09:13:49.3074475Z\",\"duration\":\"PT2.4759696S\",\"correlationId\":\"abbdd596-1c5c-4485-8369-c9ff66fefa29\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"networkInterfaces\",\"locations\":[\"eastus\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"eastus\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"pkrnifxfgy2w60v\"}],\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmfxfgy2w60v\"}]}}"
2020/06/29 17:13:50 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/operationStatuses/08586081848586461600?api-version=2018-02-01" body=""
2020/06/29 17:13:51 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/operationStatuses/08586081848586461600?api-version=2018-02-01" x-ms-request-id="c657524a-5aed-4fe4-81a6-c3b34596c0bc" body="{\"status\":\"Running\"}"
2020/06/29 17:14:51 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/operationStatuses/08586081848586461600?api-version=2018-02-01" body=""
2020/06/29 17:14:51 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v/operationStatuses/08586081848586461600?api-version=2018-02-01" x-ms-request-id="0762f770-b102-4233-89fb-941ae85861b3" body="{\"status\":\"Failed\",\"error\":{\"code\":\"DeploymentFailed\",\"message\":\"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\"details\":[{\"code\":\"Conflict\",\"message\":\"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"CertificateImproperlyFormatted\\\",\\r\\n \\\"message\\\": \\\"The secret retrieved from https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f is empty string.\\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"}]}}"
2020/06/29 17:14:51 ui: ==> azure-arm: ERROR: -> DeploymentFailed : At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
==> azure-arm: ERROR: -> Conflict
==> azure-arm: ERROR: -> ResourceDeploymentFailure : The resource operation completed with terminal provisioning state 'Failed'.
==> azure-arm: ERROR: -> CertificateImproperlyFormatted : The secret retrieved from https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f is empty string.
==> azure-arm:
2020/06/29 17:14:51 ui error: ==> azure-arm: Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details." Details=[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"CertificateImproperlyFormatted\",\r\n \"message\": \"The secret retrieved from https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f is empty string.\"\r\n }\r\n ]\r\n }\r\n}"}]
2020/06/29 17:14:51 ui: ==> azure-arm:
==> azure-arm: The resource group was not created by Packer, deleting individual resources ...
2020/06/29 17:14:51 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v?api-version=2018-04-01" body=""
2020/06/29 17:14:52 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v?api-version=2018-04-01" x-ms-request-id="06225e1a-ad4a-4f1e-b117-cf2cab1d3930" body="{\r\n \"name\": \"pkrvmfxfgy2w60v\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"dept\": \"Engineering\",\r\n \"org\": \"SES-Build\",\r\n \"task\": \"SES Build agent\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"73a713cb-478d-4182-b82c-76e792b990a3\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A8_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"pkrosfxfgy2w60v\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 400\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"pkrvmfxfgy2w60v\",\r\n \"adminUsername\": \"kiranh\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true,\r\n \"winRM\": {\r\n \"listeners\": [\r\n {\r\n \"protocol\": \"https\",\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"\r\n }\r\n ]\r\n }\r\n },\r\n \"secrets\": [\r\n {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"\r\n },\r\n \"vaultCertificates\": [\r\n {\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\r\n \"certificateStore\": \"My\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"}]},\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": false\r\n }\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}"
2020/06/29 17:14:52 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v?api-version=2018-04-01" x-ms-request-id="06225e1a-ad4a-4f1e-b117-cf2cab1d3930" body="{\r\n \"name\": \"pkrvmfxfgy2w60v\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"dept\": \"Engineering\",\r\n \"org\": \"SES-Build\",\r\n \"task\": \"SES Build agent\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"73a713cb-478d-4182-b82c-76e792b990a3\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A8_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"pkrosfxfgy2w60v\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 400\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"pkrvmfxfgy2w60v\",\r\n \"adminUsername\": \"kiranh\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true,\r\n \"winRM\": {\r\n \"listeners\": [\r\n {\r\n \"protocol\": \"https\",\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"\r\n }\r\n ]\r\n }\r\n },\r\n \"secrets\": [\r\n {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"\r\n },\r\n \"vaultCertificates\": [\r\n {\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\r\n \"certificateStore\": \"My\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"}]},\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": false\r\n }\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}"
2020/06/29 17:14:52 ui: ==> azure-arm: Removing the created Deployment object: 'pkrdpfxfgy2w60v'
2020/06/29 17:14:52 packer.exe plugin: Azure request body="" method="DELETE" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v?api-version=2018-02-01"
2020/06/29 17:14:57 packer.exe plugin: Azure response status="202 Accepted" method="DELETE" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/pkrdpfxfgy2w60v?api-version=2018-02-01" x-ms-request-id="c2b975eb-2433-4fe8-aca5-bdcdd0eac45b" body=""
2020/06/29 17:14:57 packer.exe plugin: Azure request request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtUEtSRFBGWEZHWTJXNjBWLSIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2018-02-01" body="" method="GET"
2020/06/29 17:14:58 packer.exe plugin: Azure response x-ms-request-id="bd913240-695a-4e67-b551-31b6963ce824" body="" status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtUEtSRFBGWEZHWTJXNjBWLSIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2018-02-01"
2020/06/29 17:15:13 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtUEtSRFBGWEZHWTJXNjBWLSIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2018-02-01" body=""
2020/06/29 17:15:13 packer.exe plugin: Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtUEtSRFBGWEZHWTJXNjBWLSIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2018-02-01" x-ms-request-id="dc0e50b4-ab46-4f14-aae8-66bf31fc0e81" body=""
2020/06/29 17:15:28 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtUEtSRFBGWEZHWTJXNjBWLSIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2018-02-01" body=""
2020/06/29 17:15:29 packer.exe plugin: Azure response request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtUEtSRFBGWEZHWTJXNjBWLSIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2018-02-01" x-ms-request-id="b1af4219-0055-42d3-a177-f41769378c21" body="" status="204 No Content" method="GET"
2020/06/29 17:15:29 ui: ask: ==> azure-arm: Pausing before cleanup of step 'StepValidateTemplate'. Press enter to continue.
2020/06/29 17:15:31 ui: ask: ==> azure-arm: Pausing before cleanup of step 'StepSetCertificate'. Press enter to continue.
2020/06/29 17:15:32 ui: ask: ==> azure-arm: Pausing before cleanup of step 'StepGetCertificate'. Press enter to continue.
2020/06/29 17:15:33 ui: ask: ==> azure-arm: Pausing before cleanup of step 'StepDeployTemplate'. Press enter to continue.
2020/06/29 17:15:34 ui: ==> azure-arm:
==> azure-arm: The resource group was not created by Packer, deleting individual resources ...
2020/06/29 17:15:34 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v?api-version=2018-04-01" body=""
2020/06/29 17:15:34 packer.exe plugin: Azure response request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v?api-version=2018-04-01" x-ms-request-id="7accbc8d-6b42-47fc-8369-601c43cceca6" body="{\r\n \"name\": \"pkrvmfxfgy2w60v\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"dept\": \"Engineering\",\r\n \"org\": \"SES-Build\",\r\n \"task\": \"SES Build agent\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"73a713cb-478d-4182-b82c-76e792b990a3\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A8_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"pkrosfxfgy2w60v\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 400\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"pkrvmfxfgy2w60v\",\r\n \"adminUsername\": \"kiranh\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true,\r\n \"winRM\": {\r\n \"listeners\": [\r\n {\r\n \"protocol\": \"https\",\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"\r\n }\r\n ]\r\n }\r\n },\r\n \"secrets\": [\r\n {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"\r\n },\r\n \"vaultCertificates\": [\r\n {\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\r\n \"certificateStore\": \"My\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"}]},\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": false\r\n }\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}" status="200 OK" method="GET"
2020/06/29 17:15:34 packer.exe plugin: Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v?api-version=2018-04-01" x-ms-request-id="7accbc8d-6b42-47fc-8369-601c43cceca6" body="{\r\n \"name\": \"pkrvmfxfgy2w60v\",\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/virtualMachines/pkrvmfxfgy2w60v\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"dept\": \"Engineering\",\r\n \"org\": \"SES-Build\",\r\n \"task\": \"SES Build agent\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"73a713cb-478d-4182-b82c-76e792b990a3\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A8_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Compute/images/Packer-BuildAgent-cvad-step1-EnableSSH-202006290556\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"pkrosfxfgy2w60v\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 400\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"pkrvmfxfgy2w60v\",\r\n \"adminUsername\": \"kiranh\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true,\r\n \"winRM\": {\r\n \"listeners\": [\r\n {\r\n \"protocol\": \"https\",\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\"\r\n }\r\n ]\r\n }\r\n },\r\n \"secrets\": [\r\n {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.KeyVault/vaults/pkrkvfxfgy2w60v\"\r\n },\r\n \"vaultCertificates\": [\r\n {\r\n \"certificateUrl\": \"https://pkrkvfxfgy2w60v.vault.azure.net/secrets/packerKeyVaultSecret/b55be864bc3e482cb7e8284b6c63953f\",\r\n \"certificateStore\": \"My\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourceGroups/TeamCityBuckBuildAgents/providers/Microsoft.Network/networkInterfaces/pkrnifxfgy2w60v\"}]},\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": false\r\n }\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}"
2020/06/29 17:15:34 ui: ==> azure-arm: Removing the created Deployment object: 'kvpkrdpfxfgy2w60v'
2020/06/29 17:15:34 packer.exe plugin: Azure request method="DELETE" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v?api-version=2018-02-01" body=""
2020/06/29 17:15:37 packer.exe plugin: Azure response status="202 Accepted" method="DELETE" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/resourcegroups/TeamCityBuckBuildAgents/providers/Microsoft.Resources/deployments/kvpkrdpfxfgy2w60v?api-version=2018-02-01" x-ms-request-id="75463e10-83aa-4f46-921f-140d8be697fd" body=""
2020/06/29 17:15:37 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtS1ZQS1JEUEZYRkdZMlc2MFYtIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-02-01" body=""
2020/06/29 17:15:38 packer.exe plugin: Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtS1ZQS1JEUEZYRkdZMlc2MFYtIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-02-01" x-ms-request-id="2888b780-20e1-4cfc-a194-5e46c92da0a2" body=""
2020/06/29 17:15:53 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtS1ZQS1JEUEZYRkdZMlc2MFYtIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-02-01" body=""
2020/06/29 17:15:53 packer.exe plugin: Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtS1ZQS1JEUEZYRkdZMlc2MFYtIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-02-01" x-ms-request-id="868dfe34-eb3f-4ab2-9cb2-c1114f5be23c" body=""
2020/06/29 17:16:08 packer.exe plugin: Azure request method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtS1ZQS1JEUEZYRkdZMlc2MFYtIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-02-01" body=""
2020/06/29 17:16:09 packer.exe plugin: Azure response status="204 No Content" method="GET" request="https://management.azure.com/subscriptions/56eb9cc8-84e1-4373-9df2-d46d4e8d1bd1/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtVEVBTUNJVFlCVUNLQlVJTERBR0VOVFMtS1ZQS1JEUEZYRkdZMlc2MFYtIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-02-01" x-ms-request-id="3cb2b24f-6a63-4cac-86e1-26d1ecfd1cb5" body=""
2020/06/29 17:16:09 ui: ask: ==> azure-arm: Pausing before cleanup of step 'StepValidateTemplate'. Press enter to continue.
2020/06/29 17:17:28 ui: ask: ==> azure-arm: Pausing before cleanup of step 'StepCreateResourceGroup'. Press enter to continue.
2020/06/29 17:17:30 ui: ==> azure-arm:
==> azure-arm: The resource group was not created by Packer, not deleting ...
2020/06/29 17:17:30 packer.exe plugin: panic: runtime error: invalid memory address or nil pointer dereference
2020/06/29 17:17:30 packer.exe plugin: panic: runtime error: invalid memory address or nil pointer dereference
2020/06/29 17:17:30 packer.exe plugin: [signal 0xc0000005 code=0x0 addr=0x0 pc=0x1c6d7c6]
2020/06/29 17:17:30 packer.exe plugin:
2020/06/29 17:17:30 packer.exe plugin: goroutine 200 [running]:
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/builder/azure/arm.(*StepDeployTemplate).getImageDetails(0xc0007390e0, 0x4fa7940, 0xc000046100, 0xc00000ad60, 0x17, 0xc0002fcc90, 0xf, 0xc000628300, 0x47de4d7, 0xf, ...)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/builder/azure/arm/step_deploy_template.go:104 +0x1b6
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/builder/azure/arm.(*StepDeployTemplate).Cleanup(0xc0007390e0, 0x4f818c0, 0xc000628300)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/builder/azure/arm/step_deploy_template.go:194 +0x316
2020/06/29 17:17:30 packer.exe plugin: panic(0x3d62280, 0x7972280)
2020/06/29 17:17:30 packer.exe plugin: /usr/local/go/src/runtime/panic.go:679 +0x1c0
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/builder/azure/arm.(*StepDeployTemplate).getImageDetails(0xc000739140, 0x4fa7940, 0xc000046100, 0xc00000ad60, 0x17, 0xc0002fcc90, 0xf, 0xc000628300, 0x47de4d7, 0xf, ...)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/builder/azure/arm/step_deploy_template.go:104 +0x1b6
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/builder/azure/arm.(*StepDeployTemplate).Cleanup(0xc000739140, 0x4f818c0, 0xc000628300)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/builder/azure/arm/step_deploy_template.go:194 +0x316
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/helper/multistep.(*BasicRunner).Run(0xc00037fd10, 0x4fa7900, 0xc0001080c0, 0x4f818c0, 0xc000628300)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/helper/multistep/basic_runner.go:79 +0x2cd
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/helper/multistep.(*DebugRunner).Run(0xc00037fce0, 0x4fa7900, 0xc0001080c0, 0x4f818c0, 0xc000628300)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/helper/multistep/debug_runner.go:81 +0x38c
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/builder/azure/arm.(*Builder).Run(0xc00015c900, 0x4fa7900, 0xc0001080c0, 0x4fc5140, 0xc00038ccf0, 0x4f2daa0, 0xc0000e6ac0, 0x0, 0x0, 0x0, ...)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/builder/azure/arm/builder.go:288 +0x15a8
2020/06/29 17:17:30 packer.exe plugin: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc0000b22c0, 0x1, 0xc000492370, 0x0, 0x0)
2020/06/29 17:17:30 packer.exe plugin: /home/circleci/project/packer/packer/rpc/builder.go:117 +0x283
2020/06/29 17:17:30 packer.exe plugin: reflect.Value.call(0xc000384420, 0xc000386098, 0x13, 0x47c29f3, 0x4, 0xc000655f18, 0x3, 0x3, 0xc000655e78, 0x405753, ...)
2020/06/29 17:17:30 packer.exe plugin: /usr/local/go/src/reflect/value.go:460 +0x5fd
2020/06/29 17:17:30 packer.exe plugin: reflect.Value.Call(0xc000384420, 0xc000386098, 0x13, 0xc000655f18, 0x3, 0x3, 0xc0002d8e40, 0xc000281980, 0xc000281a08)
2020/06/29 17:17:30 packer.exe plugin: /usr/local/go/src/reflect/value.go:321 +0xbb
2020/06/29 17:17:30 packer.exe plugin: net/rpc.(*service).call(0xc0000b2300, 0xc0000c6500, 0xc0002fc008, 0xc0002fc010, 0xc00039e380, 0xc0002790c0, 0x3a54420, 0xc00049236c, 0x18a, 0x397ffe0, ...)
2020/06/29 17:17:30 packer.exe plugin: /usr/local/go/src/net/rpc/server.go:377 +0x176
2020/06/29 17:17:30 packer.exe plugin: created by net/rpc.(*Server).ServeCodec
2020/06/29 17:17:30 packer.exe plugin: /usr/local/go/src/net/rpc/server.go:474 +0x432
2020/06/29 17:17:30 [INFO] (telemetry) ending azure-arm
2020/06/29 17:17:30 ui error: Build 'azure-arm' errored: unexpected EOF
2020/06/29 17:17:30 Waiting on builds to complete...
2020/06/29 17:17:30 machine readable: error-count []string{"1"}
2020/06/29 17:17:30 ui error:
==> Some builds didn't complete successfully and had errors:
2020/06/29 17:17:30 machine readable: azure-arm,error []string{"unexpected EOF"}
2020/06/29 17:17:30 ui error: --> azure-arm: unexpected EOF
2020/06/29 17:17:30 ui:
==> Builds finished but no artifacts were created.
2020/06/29 17:17:30 [INFO] (telemetry) Finalizing.
2020/06/29 17:17:30 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 waiting for all plugin processes to complete...
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
2020/06/29 17:17:32 C:\Azure\buildprovisioning\packer.exe: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment