Last active
August 16, 2022 13:11
-
-
Save zioalex/e8cb48986480c1e816a36d43fa66ff55 to your computer and use it in GitHub Desktop.
Packer Crash in Azure - panic: runtime error: invalid memory address or nil pointer dereference #11946
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-08-16T11:29:15.0720978Z ##[debug]**************************************/ | |
2022-08-16T11:29:15.0721626Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:15.0722256Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:15.0722883Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:15.0723502Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:15.0724128Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:15.0724751Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:30.2881807Z ==> azure-arm: | |
2022-08-16T11:29:30.2883346Z ==> azure-arm: Cleanup requested, deleting resource group ... | |
2022-08-16T11:29:30.2883609Z | |
2022-08-16T11:29:30.2884263Z ##[debug]Parsing log line to extract output... | |
2022-08-16T11:29:30.2884967Z ##[debug]/************************************* | |
2022-08-16T11:29:30.2885749Z ##[debug]==> azure-arm: | |
==> azure-arm: Cleanup requested, deleting resource group ... | |
2022-08-16T11:29:30.2886423Z ##[debug]**************************************/ | |
2022-08-16T11:29:30.2887329Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:30.2887954Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:30.2888590Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:30.2889216Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:30.2889846Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:30.2890469Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.4609578Z ==> azure-arm: Resource group has been deleted. | |
2022-08-16T11:29:45.4609899Z | |
2022-08-16T11:29:45.4610560Z ##[debug]Parsing log line to extract output... | |
2022-08-16T11:29:45.4611180Z ##[debug]/************************************* | |
2022-08-16T11:29:45.4611926Z ##[debug]==> azure-arm: Resource group has been deleted. | |
2022-08-16T11:29:45.4612562Z ##[debug]**************************************/ | |
2022-08-16T11:29:45.4613487Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.4614122Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.4614752Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.4615363Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.4615995Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.4616619Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.5442508Z Build 'azure-arm' errored after 1 hour 38 minutes: unexpected EOF | |
2022-08-16T11:29:45.5442784Z | |
2022-08-16T11:29:45.5443072Z ==> Wait completed after 1 hour 38 minutes | |
2022-08-16T11:29:45.5443219Z | |
2022-08-16T11:29:45.5443662Z ==> Some builds didn't complete successfully and had errors: | |
2022-08-16T11:29:45.5444208Z --> azure-arm: unexpected EOF | |
2022-08-16T11:29:45.5444337Z | |
2022-08-16T11:29:45.5444612Z ==> Builds finished but no artifacts were created. | |
2022-08-16T11:29:45.5444767Z | |
2022-08-16T11:29:45.5445425Z ##[debug]Parsing log line to extract output... | |
2022-08-16T11:29:45.5446049Z ##[debug]/************************************* | |
2022-08-16T11:29:45.5447149Z ##[debug]Build 'azure-arm' errored after 1 hour 38 minutes: unexpected EOF | |
==> Wait completed after 1 hour 38 minutes | |
==> Some builds didn't complete successfully and had errors: | |
--> azure-arm: unexpected EOF | |
==> Builds finished but no artifacts were created. | |
2022-08-16T11:29:45.5448075Z ##[debug]**************************************/ | |
2022-08-16T11:29:45.5448733Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.5449365Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.5449984Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.5450607Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.5451235Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.5451861Z ##[debug]Match start index: -1 | |
2022-08-16T11:29:45.8069106Z panic: runtime error: invalid memory address or nil pointer dereference | |
2022-08-16T11:29:45.8070413Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x1fecdb3] | |
2022-08-16T11:29:45.8071100Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: | |
2022-08-16T11:29:45.8071691Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: goroutine 21 [running]: | |
2022-08-16T11:29:45.8073679Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/Azure/go-autorest/autorest/azure.(Future).WaitForCompletionRef(0xc0007500e0, {0x5ce83e0, 0xc0009d22c0}, {{0x5c51d60, 0xc000e6a8b0}, {0x5c761e0, 0xc00063a360}, 0xc00070ec80, 0xc0000b5a60, 0x6fc23ac00, ...}) | |
2022-08-16T11:29:45.8074788Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/!azure/go-autorest/[email protected]/azure/async.go:228 +0x653 | |
2022-08-16T11:29:45.8075927Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-azure/builder/azure/arm.(StepCaptureImage).captureImageFromVM(0xc0010bcb00, {0x5ce83e0, 0xc0009d22c0}, {0xc00007c7e0, 0x22327f0}, {0xc000c58120, 0xc000141bf0}, 0x2c) | |
2022-08-16T11:29:45.8077031Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/builder/azure/arm/step_capture_image.go:57 +0x20a | |
2022-08-16T11:29:45.8078092Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-azure/builder/azure/arm.(StepCaptureImage).Run(0xc0010bcb00, {0x5ce83e0, 0xc0009d22c0}, {0x5ce9170, 0xc0009cbad0}) | |
2022-08-16T11:29:45.8079329Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/builder/azure/arm/step_capture_image.go:93 +0x5c3 | |
2022-08-16T11:29:45.8080346Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-sdk/multistep.(BasicRunner).Run(0xc0009ca0f0, {0x5ce83e0, 0xc0009d22c0}, {0x5ce9170, 0xc0009cbad0}) | |
2022-08-16T11:29:45.8081302Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/multistep/basic_runner.go:70 +0x2fe | |
2022-08-16T11:29:45.8082359Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-azure/builder/azure/arm.(Builder).Run(0xc0003a0a80, {0x5ce83e0, 0xc0000f0c40}, {0x5cf48c0, 0xc000e0a0f0}, {0x5c56940, 0xc0004b41a0}) | |
2022-08-16T11:29:45.8083491Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/builder/azure/arm/builder.go:305 +0x2c08 | |
2022-08-16T11:29:45.8084414Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-sdk/rpc.(BuilderServer).Run(0xc000347280, 0x70e060, 0xc00070e020) | |
2022-08-16T11:29:45.8085306Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/rpc/builder.go:117 +0x1e3 | |
2022-08-16T11:29:45.8086198Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: reflect.Value.call({0xc000125c80, 0xc0001229a0, 0x13}, {0x54c4375, 0x4}, {0xc0009c9ef8, 0x3, 0x3}) | |
2022-08-16T11:29:45.8087011Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/reflect/value.go:556 +0x845 | |
2022-08-16T11:29:45.8087841Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: reflect.Value.Call({0xc000125c80, 0xc0001229a0, 0xc000773c00}, {0xc000cee6f8, 0x3, 0x3}) | |
2022-08-16T11:29:45.8088651Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/reflect/value.go:339 +0xc5 | |
2022-08-16T11:29:45.8089628Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: net/rpc.(service).call(0xc0003472c0, 0xc00007c6e0, 0x0, 0xc00007c4c0, 0xc000b38880, 0x842a85, {0x43e2060, 0xc00070e01c, 0x842a06}, {0x42af4c0, ...}, ...) | |
2022-08-16T11:29:45.8090526Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/net/rpc/server.go:377 +0x239 | |
2022-08-16T11:29:45.8091239Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: created by net/rpc.(Server).ServeCodec | |
2022-08-16T11:29:45.8091978Z 2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/net/rpc/server.go:474 +0x405 | |
2022-08-16T11:29:45.8092617Z 2022/08/16 11:29:45 [INFO] (telemetry) ending azure-arm | |
2022-08-16T11:29:45.8093016Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8093424Z 2022/08/16 11:29:45 [ERR] Error decoding response stream 559: EOF | |
2022-08-16T11:29:45.8094052Z 2022/08/16 11:29:45 ui error: Build 'azure-arm' errored after 1 hour 38 minutes: unexpected EOF | |
2022-08-16T11:29:45.8094445Z 2022/08/16 11:29:45 ui: | |
2022-08-16T11:29:45.8094755Z ==> Wait completed after 1 hour 38 minutes | |
2022-08-16T11:29:45.8095261Z 2022/08/16 11:29:45 machine readable: error-count []string{"1"} | |
2022-08-16T11:29:45.8095612Z 2022/08/16 11:29:45 ui error: | |
2022-08-16T11:29:45.8096101Z ==> Some builds didn't complete successfully and had errors: | |
2022-08-16T11:29:45.8096684Z 2022/08/16 11:29:45 machine readable: azure-arm,error []string{"unexpected EOF"} | |
2022-08-16T11:29:45.8097250Z 2022/08/16 11:29:45 ui error: --> azure-arm: unexpected EOF | |
2022-08-16T11:29:45.8097584Z 2022/08/16 11:29:45 ui: | |
2022-08-16T11:29:45.8097913Z ==> Builds finished but no artifacts were created. | |
2022-08-16T11:29:45.8098265Z 2022/08/16 11:29:45 [INFO] (telemetry) Finalizing. | |
2022-08-16T11:29:45.8098701Z 2022/08/16 11:29:45 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Unknown status: 413 | |
2022-08-16T11:29:45.8099230Z 2022/08/16 11:29:45 waiting for all plugin processes to complete... | |
2022-08-16T11:29:45.8099636Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8100034Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8100424Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8100820Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8101222Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8101614Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8102010Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8102458Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8102851Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8103249Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8103644Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8104040Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8106677Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8107068Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8107461Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8107863Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8108257Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8108653Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8109053Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8109452Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8109841Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8110236Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8110626Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8111022Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8111417Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8111800Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8112191Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8112578Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8112972Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8113359Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8113749Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8114142Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8114534Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8114928Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8115319Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8115707Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8116099Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8116482Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8116872Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8117265Z 2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022-08-16T11:29:45.8117456Z | |
2022-08-16T11:29:45.8117543Z | |
2022-08-16T11:29:45.8118198Z ##[debug]Parsing log line to extract output... | |
2022-08-16T11:29:45.8118810Z ##[debug]/***************************** | |
2022-08-16T11:29:45.8132402Z ##[debug]panic: runtime error: invalid memory address or nil pointer dereference | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x1fecdb3] | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: goroutine 21 [running]: | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/Azure/go-autorest/autorest/azure.(*Future).WaitForCompletionRef(0xc0007500e0, {0x5ce83e0, 0xc0009d22c0}, {{0x5c51d60, 0xc000e6a8b0}, {0x5c761e0, 0xc00063a360}, 0xc00070ec80, 0xc0000b5a60, 0x6fc23ac00, ...}) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/!azure/go-autorest/[email protected]/azure/async.go:228 +0x653 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-azure/builder/azure/arm.(*StepCaptureImage).captureImageFromVM(0xc0010bcb00, {0x5ce83e0, 0xc0009d22c0}, {0xc00007c7e0, 0x22327f0}, {0xc000c58120, 0xc000141bf0}, 0x2c) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/builder/azure/arm/step_capture_image.go:57 +0x20a | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-azure/builder/azure/arm.(*StepCaptureImage).Run(0xc0010bcb00, {0x5ce83e0, 0xc0009d22c0}, {0x5ce9170, 0xc0009cbad0}) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/builder/azure/arm/step_capture_image.go:93 +0x5c3 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-sdk/multistep.(*BasicRunner).Run(0xc0009ca0f0, {0x5ce83e0, 0xc0009d22c0}, {0x5ce9170, 0xc0009cbad0}) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/multistep/basic_runner.go:70 +0x2fe | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-azure/builder/azure/arm.(*Builder).Run(0xc0003a0a80, {0x5ce83e0, 0xc0000f0c40}, {0x5cf48c0, 0xc000e0a0f0}, {0x5c56940, 0xc0004b41a0}) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/builder/azure/arm/builder.go:305 +0x2c08 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: github.com/hashicorp/packer-plugin-sdk/rpc.(*BuilderServer).Run(0xc000347280, 0x70e060, 0xc00070e020) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/rpc/builder.go:117 +0x1e3 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: reflect.Value.call({0xc000125c80, 0xc0001229a0, 0x13}, {0x54c4375, 0x4}, {0xc0009c9ef8, 0x3, 0x3}) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/reflect/value.go:556 +0x845 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: reflect.Value.Call({0xc000125c80, 0xc0001229a0, 0xc000773c00}, {0xc000cee6f8, 0x3, 0x3}) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/reflect/value.go:339 +0xc5 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: net/rpc.(*service).call(0xc0003472c0, 0xc00007c6e0, 0x0, 0xc00007c4c0, 0xc000b38880, 0x842a85, {0x43e2060, 0xc00070e01c, 0x842a06}, {0x42af4c0, ...}, ...) | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/net/rpc/server.go:377 +0x239 | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: created by net/rpc.(*Server).ServeCodec | |
2022/08/16 11:29:45 packer-builder-azure-arm plugin: /opt/hostedtoolcache/go/1.17.11/x64/src/net/rpc/server.go:474 +0x405 | |
2022/08/16 11:29:45 [INFO] (telemetry) ending azure-arm | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 [ERR] Error decoding response stream 559: EOF | |
2022/08/16 11:29:45 ui error: Build 'azure-arm' errored after 1 hour 38 minutes: unexpected EOF | |
2022/08/16 11:29:45 ui: | |
==> Wait completed after 1 hour 38 minutes | |
2022/08/16 11:29:45 machine readable: error-count []string{"1"} | |
2022/08/16 11:29:45 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2022/08/16 11:29:45 machine readable: azure-arm,error []string{"unexpected EOF"} | |
2022/08/16 11:29:45 ui error: --> azure-arm: unexpected EOF | |
2022/08/16 11:29:45 ui: | |
==> Builds finished but no artifacts were created. | |
2022/08/16 11:29:45 [INFO] (telemetry) Finalizing. | |
2022/08/16 11:29:45 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Unknown status: 413 | |
2022/08/16 11:29:45 waiting for all plugin processes to complete... | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited | |
2022/08/16 11:29:45 /usr/local/bin/packer: plugin process exited |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-08-16T09:51:16.9683064Z ##[debug]/usr/local/bin/packer arg: /home/vsts/work/1/s/virtual-environments/images/linux/ubuntu2004.json | |
2022-08-16T09:51:16.9683755Z Running packer fix command | |
2022-08-16T09:51:16.9684465Z ##[debug]exec tool: /usr/local/bin/packer | |
2022-08-16T09:51:16.9685218Z ##[debug]arguments: | |
2022-08-16T09:51:16.9685926Z ##[debug] fix | |
2022-08-16T09:51:16.9686741Z ##[debug] -validate=false | |
2022-08-16T09:51:16.9687678Z ##[debug] /home/vsts/work/1/s/virtual-environments/images/linux/ubuntu2004.json | |
2022-08-16T09:51:16.9688701Z [command]/usr/local/bin/packer fix -validate=false /home/vsts/work/1/s/virtual-environments/images/linux/ubuntu2004.json | |
2022-08-16T09:51:17.3904859Z { | |
2022-08-16T09:51:17.3905562Z "builders": [ | |
2022-08-16T09:51:17.3905994Z { | |
2022-08-16T09:51:17.3906519Z "allowed_inbound_ip_addresses": "{{user `allowed_inbound_ip_addresses`}}", | |
2022-08-16T09:51:17.3907126Z "build_resource_group_name": "{{user `build_resource_group_name`}}", | |
2022-08-16T09:51:17.3907911Z "client_cert_path": "{{user `client_cert_path`}}", | |
2022-08-16T09:51:17.3908419Z "client_id": "{{user `client_id`}}", | |
2022-08-16T09:51:17.3908924Z "client_secret": "{{user `client_secret`}}", | |
2022-08-16T09:51:17.3910061Z "image_offer": "0001-com-ubuntu-server-focal", | |
2022-08-16T09:51:17.3910609Z "image_publisher": "canonical", | |
2022-08-16T09:51:17.3911241Z "image_sku": "20_04-lts", | |
2022-08-16T09:51:17.3911891Z "location": "{{user `location`}}", | |
2022-08-16T09:51:17.3912404Z "managed_image_name": "{{user `managed_image_name`}}", | |
2022-08-16T09:51:17.3912968Z "managed_image_resource_group_name": "{{user `resource_group`}}", | |
2022-08-16T09:51:17.3913493Z "os_disk_size_gb": "86", | |
2022-08-16T09:51:17.3913947Z "os_type": "Linux", | |
2022-08-16T09:51:17.3914509Z "private_virtual_network_with_public_ip": "{{user `private_virtual_network_with_public_ip`}}", | |
2022-08-16T09:51:17.3915119Z "subscription_id": "{{user `subscription_id`}}", | |
2022-08-16T09:51:17.3915679Z "temp_resource_group_name": "{{user `temp_resource_group_name`}}", | |
2022-08-16T09:51:17.3916206Z "tenant_id": "{{user `tenant_id`}}", | |
2022-08-16T09:51:17.3916817Z "type": "azure-arm", | |
2022-08-16T09:51:17.3917345Z "virtual_network_name": "{{user `virtual_network_name`}}", | |
2022-08-16T09:51:17.3917943Z "virtual_network_resource_group_name": "{{user `virtual_network_resource_group_name`}}", | |
2022-08-16T09:51:17.3918567Z "virtual_network_subnet_name": "{{user `virtual_network_subnet_name`}}", | |
2022-08-16T09:51:17.3919093Z "vm_size": "{{user `vm_size`}}" | |
2022-08-16T09:51:17.3919520Z } | |
2022-08-16T09:51:17.3919910Z ], | |
2022-08-16T09:51:17.3920323Z "provisioners": [ | |
2022-08-16T09:51:17.3920732Z { | |
2022-08-16T09:51:17.3921364Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3921855Z "inline": [ | |
2022-08-16T09:51:17.3922308Z "mkdir {{user `image_folder`}}", | |
2022-08-16T09:51:17.3922800Z "chmod 777 {{user `image_folder`}}" | |
2022-08-16T09:51:17.3923241Z ], | |
2022-08-16T09:51:17.3923655Z "type": "shell" | |
2022-08-16T09:51:17.3924073Z }, | |
2022-08-16T09:51:17.3924465Z { | |
2022-08-16T09:51:17.3925083Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3925800Z "script": "{{template_dir}}/scripts/base/apt-mock.sh", | |
2022-08-16T09:51:17.3926301Z "type": "shell" | |
2022-08-16T09:51:17.3926718Z }, | |
2022-08-16T09:51:17.3927109Z { | |
2022-08-16T09:51:17.3927523Z "environment_vars": [ | |
2022-08-16T09:51:17.3927996Z "DEBIAN_FRONTEND=noninteractive" | |
2022-08-16T09:51:17.3928438Z ], | |
2022-08-16T09:51:17.3929062Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3929558Z "scripts": [ | |
2022-08-16T09:51:17.3930650Z "{{template_dir}}/scripts/base/repos.sh" | |
2022-08-16T09:51:17.3931092Z ], | |
2022-08-16T09:51:17.3931452Z "type": "shell" | |
2022-08-16T09:51:17.3931806Z }, | |
2022-08-16T09:51:17.3932128Z { | |
2022-08-16T09:51:17.3932480Z "environment_vars": [ | |
2022-08-16T09:51:17.3932889Z "DEBIAN_FRONTEND=noninteractive" | |
2022-08-16T09:51:17.3933267Z ], | |
2022-08-16T09:51:17.3933888Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3934371Z "script": "{{template_dir}}/scripts/base/apt.sh", | |
2022-08-16T09:51:17.3934786Z "type": "shell" | |
2022-08-16T09:51:17.3935137Z }, | |
2022-08-16T09:51:17.3935467Z { | |
2022-08-16T09:51:17.3936016Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3936498Z "script": "{{template_dir}}/scripts/base/limits.sh", | |
2022-08-16T09:51:17.3936920Z "type": "shell" | |
2022-08-16T09:51:17.3937264Z }, | |
2022-08-16T09:51:17.3937591Z { | |
2022-08-16T09:51:17.3937988Z "destination": "{{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.3938443Z "source": "{{template_dir}}/scripts/helpers", | |
2022-08-16T09:51:17.3938968Z "type": "file" | |
2022-08-16T09:51:17.3939327Z }, | |
2022-08-16T09:51:17.3939653Z { | |
2022-08-16T09:51:17.3940054Z "destination": "{{user `installer_script_folder`}}", | |
2022-08-16T09:51:17.3940526Z "source": "{{template_dir}}/scripts/installers", | |
2022-08-16T09:51:17.3940933Z "type": "file" | |
2022-08-16T09:51:17.3941282Z }, | |
2022-08-16T09:51:17.3941611Z { | |
2022-08-16T09:51:17.3941990Z "destination": "{{user `image_folder`}}", | |
2022-08-16T09:51:17.3942589Z "source": "{{ template_dir }}/post-generation", | |
2022-08-16T09:51:17.3943089Z "type": "file" | |
2022-08-16T09:51:17.3943443Z }, | |
2022-08-16T09:51:17.3943768Z { | |
2022-08-16T09:51:17.3944278Z "destination": "{{user `image_folder`}}", | |
2022-08-16T09:51:17.3944738Z "source": "{{template_dir}}/scripts/tests", | |
2022-08-16T09:51:17.3945143Z "type": "file" | |
2022-08-16T09:51:17.3945497Z }, | |
2022-08-16T09:51:17.3945820Z { | |
2022-08-16T09:51:17.3946198Z "destination": "{{user `image_folder`}}", | |
2022-08-16T09:51:17.3946662Z "source": "{{ template_dir }}/scripts/SoftwareReport", | |
2022-08-16T09:51:17.3947077Z "type": "file" | |
2022-08-16T09:51:17.3947425Z }, | |
2022-08-16T09:51:17.3947748Z { | |
2022-08-16T09:51:17.3948172Z "destination": "{{user `installer_script_folder`}}/toolset.json", | |
2022-08-16T09:51:17.3948854Z "source": "{{template_dir}}/toolsets/toolset-2004.json", | |
2022-08-16T09:51:17.3949284Z "type": "file" | |
2022-08-16T09:51:17.3949632Z }, | |
2022-08-16T09:51:17.3949964Z { | |
2022-08-16T09:51:17.3950321Z "environment_vars": [ | |
2022-08-16T09:51:17.3950740Z "IMAGE_VERSION={{user `image_version`}}", | |
2022-08-16T09:51:17.3951184Z "IMAGEDATA_FILE={{user `imagedata_file`}}" | |
2022-08-16T09:51:17.3951572Z ], | |
2022-08-16T09:51:17.3952141Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3952573Z "scripts": [ | |
2022-08-16T09:51:17.3952993Z "{{template_dir}}/scripts/installers/preimagedata.sh" | |
2022-08-16T09:51:17.3953401Z ], | |
2022-08-16T09:51:17.3953746Z "type": "shell" | |
2022-08-16T09:51:17.3954109Z }, | |
2022-08-16T09:51:17.3954434Z { | |
2022-08-16T09:51:17.3954787Z "environment_vars": [ | |
2022-08-16T09:51:17.3955203Z "IMAGE_VERSION={{user `image_version`}}", | |
2022-08-16T09:51:17.3955629Z "IMAGE_OS={{user `image_os`}}", | |
2022-08-16T09:51:17.3956070Z "HELPER_SCRIPTS={{user `helper_script_folder`}}" | |
2022-08-16T09:51:17.3956468Z ], | |
2022-08-16T09:51:17.3957050Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3957475Z "scripts": [ | |
2022-08-16T09:51:17.3958066Z "{{template_dir}}/scripts/installers/configure-environment.sh" | |
2022-08-16T09:51:17.3958496Z ], | |
2022-08-16T09:51:17.3958842Z "type": "shell" | |
2022-08-16T09:51:17.3959191Z }, | |
2022-08-16T09:51:17.3959519Z { | |
2022-08-16T09:51:17.3959877Z "environment_vars": [ | |
2022-08-16T09:51:17.3960304Z "HELPER_SCRIPTS={{user `helper_script_folder`}}" | |
2022-08-16T09:51:17.3960700Z ], | |
2022-08-16T09:51:17.3961267Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3961686Z "scripts": [ | |
2022-08-16T09:51:17.3962359Z "{{template_dir}}/scripts/installers/complete-snap-setup.sh", | |
2022-08-16T09:51:17.3962876Z "{{template_dir}}/scripts/installers/powershellcore.sh" | |
2022-08-16T09:51:17.3963284Z ], | |
2022-08-16T09:51:17.3963622Z "type": "shell" | |
2022-08-16T09:51:17.3963981Z }, | |
2022-08-16T09:51:17.3964305Z { | |
2022-08-16T09:51:17.3964663Z "environment_vars": [ | |
2022-08-16T09:51:17.3965092Z "HELPER_SCRIPTS={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.3965594Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}" | |
2022-08-16T09:51:17.3966153Z ], | |
2022-08-16T09:51:17.3969962Z "execute_command": "sudo sh -c '{{ .Vars }} pwsh -f {{ .Path }}'", | |
2022-08-16T09:51:17.3970281Z "scripts": [ | |
2022-08-16T09:51:17.3970768Z "{{template_dir}}/scripts/installers/Install-PowerShellModules.ps1", | |
2022-08-16T09:51:17.3971468Z "{{template_dir}}/scripts/installers/Install-AzureModules.ps1" | |
2022-08-16T09:51:17.3971774Z ], | |
2022-08-16T09:51:17.3971994Z "type": "shell" | |
2022-08-16T09:51:17.3972228Z }, | |
2022-08-16T09:51:17.3972443Z { | |
2022-08-16T09:51:17.3972681Z "environment_vars": [ | |
2022-08-16T09:51:17.3972996Z "HELPER_SCRIPTS={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.3973366Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}", | |
2022-08-16T09:51:17.3973796Z "DOCKERHUB_LOGIN={{user `dockerhub_login`}}", | |
2022-08-16T09:51:17.3974145Z "DOCKERHUB_PASSWORD={{user `dockerhub_password`}}" | |
2022-08-16T09:51:17.3974424Z ], | |
2022-08-16T09:51:17.3974860Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3975152Z "scripts": [ | |
2022-08-16T09:51:17.3975603Z "{{template_dir}}/scripts/installers/docker-compose.sh", | |
2022-08-16T09:51:17.3976111Z "{{template_dir}}/scripts/installers/docker-moby.sh" | |
2022-08-16T09:51:17.3976401Z ], | |
2022-08-16T09:51:17.3976630Z "type": "shell" | |
2022-08-16T09:51:17.3976856Z }, | |
2022-08-16T09:51:17.3977068Z { | |
2022-08-16T09:51:17.3977303Z "environment_vars": [ | |
2022-08-16T09:51:17.3977617Z "HELPER_SCRIPTS={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.3977975Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}", | |
2022-08-16T09:51:17.3978320Z "DEBIAN_FRONTEND=noninteractive" | |
2022-08-16T09:51:17.3978585Z ], | |
2022-08-16T09:51:17.3979015Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.3979310Z "scripts": [ | |
2022-08-16T09:51:17.3979603Z "{{template_dir}}/scripts/installers/azcopy.sh", | |
2022-08-16T09:51:17.3980095Z "{{template_dir}}/scripts/installers/azure-cli.sh", | |
2022-08-16T09:51:17.3980607Z "{{template_dir}}/scripts/installers/azure-devops-cli.sh", | |
2022-08-16T09:51:17.3980968Z "{{template_dir}}/scripts/installers/basic.sh", | |
2022-08-16T09:51:17.3981311Z "{{template_dir}}/scripts/installers/bicep.sh", | |
2022-08-16T09:51:17.3981795Z "{{template_dir}}/scripts/installers/aliyun-cli.sh", | |
2022-08-16T09:51:17.3982151Z "{{template_dir}}/scripts/installers/apache.sh", | |
2022-08-16T09:51:17.3982490Z "{{template_dir}}/scripts/installers/aws.sh", | |
2022-08-16T09:51:17.3982824Z "{{template_dir}}/scripts/installers/clang.sh", | |
2022-08-16T09:51:17.3983167Z "{{template_dir}}/scripts/installers/swift.sh", | |
2022-08-16T09:51:17.3983511Z "{{template_dir}}/scripts/installers/cmake.sh", | |
2022-08-16T09:51:17.3984007Z "{{template_dir}}/scripts/installers/codeql-bundle.sh", | |
2022-08-16T09:51:17.3984576Z "{{template_dir}}/scripts/installers/containers.sh", | |
2022-08-16T09:51:17.3985103Z "{{template_dir}}/scripts/installers/dotnetcore-sdk.sh", | |
2022-08-16T09:51:17.3985469Z "{{template_dir}}/scripts/installers/erlang.sh", | |
2022-08-16T09:51:17.3985816Z "{{template_dir}}/scripts/installers/firefox.sh", | |
2022-08-16T09:51:17.3986309Z "{{template_dir}}/scripts/installers/microsoft-edge.sh", | |
2022-08-16T09:51:17.3986668Z "{{template_dir}}/scripts/installers/gcc.sh", | |
2022-08-16T09:51:17.3987010Z "{{template_dir}}/scripts/installers/gfortran.sh", | |
2022-08-16T09:51:17.3987345Z "{{template_dir}}/scripts/installers/git.sh", | |
2022-08-16T09:51:17.3987835Z "{{template_dir}}/scripts/installers/github-cli.sh", | |
2022-08-16T09:51:17.3988346Z "{{template_dir}}/scripts/installers/google-chrome.sh", | |
2022-08-16T09:51:17.3988864Z "{{template_dir}}/scripts/installers/google-cloud-sdk.sh", | |
2022-08-16T09:51:17.3989232Z "{{template_dir}}/scripts/installers/haskell.sh", | |
2022-08-16T09:51:17.3989583Z "{{template_dir}}/scripts/installers/heroku.sh", | |
2022-08-16T09:51:17.3989921Z "{{template_dir}}/scripts/installers/hhvm.sh", | |
2022-08-16T09:51:17.3990413Z "{{template_dir}}/scripts/installers/java-tools.sh", | |
2022-08-16T09:51:17.3991019Z "{{template_dir}}/scripts/installers/kubernetes-tools.sh", | |
2022-08-16T09:51:17.3991371Z "{{template_dir}}/scripts/installers/oc.sh", | |
2022-08-16T09:51:17.3991712Z "{{template_dir}}/scripts/installers/leiningen.sh", | |
2022-08-16T09:51:17.3992063Z "{{template_dir}}/scripts/installers/miniconda.sh", | |
2022-08-16T09:51:17.3992412Z "{{template_dir}}/scripts/installers/mono.sh", | |
2022-08-16T09:51:17.3992755Z "{{template_dir}}/scripts/installers/kotlin.sh", | |
2022-08-16T09:51:17.3993161Z "{{template_dir}}/scripts/installers/mysql.sh", | |
2022-08-16T09:51:17.3993670Z "{{template_dir}}/scripts/installers/mssql-cmd-tools.sh", | |
2022-08-16T09:51:17.3994037Z "{{template_dir}}/scripts/installers/sqlpackage.sh", | |
2022-08-16T09:51:17.3994383Z "{{template_dir}}/scripts/installers/nginx.sh", | |
2022-08-16T09:51:17.3994715Z "{{template_dir}}/scripts/installers/nvm.sh", | |
2022-08-16T09:51:17.3995051Z "{{template_dir}}/scripts/installers/nodejs.sh", | |
2022-08-16T09:51:17.3995384Z "{{template_dir}}/scripts/installers/bazel.sh", | |
2022-08-16T09:51:17.3995871Z "{{template_dir}}/scripts/installers/oras-cli.sh", | |
2022-08-16T09:51:17.3996224Z "{{template_dir}}/scripts/installers/phantomjs.sh", | |
2022-08-16T09:51:17.3996563Z "{{template_dir}}/scripts/installers/php.sh", | |
2022-08-16T09:51:17.3996905Z "{{template_dir}}/scripts/installers/postgresql.sh", | |
2022-08-16T09:51:17.3997257Z "{{template_dir}}/scripts/installers/pulumi.sh", | |
2022-08-16T09:51:17.3997598Z "{{template_dir}}/scripts/installers/ruby.sh", | |
2022-08-16T09:51:17.3997934Z "{{template_dir}}/scripts/installers/r.sh", | |
2022-08-16T09:51:17.3998266Z "{{template_dir}}/scripts/installers/rust.sh", | |
2022-08-16T09:51:17.3998605Z "{{template_dir}}/scripts/installers/julia.sh", | |
2022-08-16T09:51:17.3998936Z "{{template_dir}}/scripts/installers/sbt.sh", | |
2022-08-16T09:51:17.3999266Z "{{template_dir}}/scripts/installers/selenium.sh", | |
2022-08-16T09:51:17.3999622Z "{{template_dir}}/scripts/installers/terraform.sh", | |
2022-08-16T09:51:17.3999972Z "{{template_dir}}/scripts/installers/packer.sh", | |
2022-08-16T09:51:17.4000311Z "{{template_dir}}/scripts/installers/vcpkg.sh", | |
2022-08-16T09:51:17.4000807Z "{{template_dir}}/scripts/installers/dpkg-config.sh", | |
2022-08-16T09:51:17.4001163Z "{{template_dir}}/scripts/installers/mongodb.sh", | |
2022-08-16T09:51:17.4001502Z "{{template_dir}}/scripts/installers/yq.sh", | |
2022-08-16T09:51:17.4001842Z "{{template_dir}}/scripts/installers/android.sh", | |
2022-08-16T09:51:17.4002183Z "{{template_dir}}/scripts/installers/pypy.sh", | |
2022-08-16T09:51:17.4002520Z "{{template_dir}}/scripts/installers/python.sh", | |
2022-08-16T09:51:17.4002861Z "{{template_dir}}/scripts/installers/graalvm.sh" | |
2022-08-16T09:51:17.4003130Z ], | |
2022-08-16T09:51:17.4003363Z "type": "shell" | |
2022-08-16T09:51:17.4003595Z }, | |
2022-08-16T09:51:17.4003806Z { | |
2022-08-16T09:51:17.4004041Z "destination": "/tmp", | |
2022-08-16T09:51:17.4004305Z "source": "packer", | |
2022-08-16T09:51:17.4004558Z "type": "file" | |
2022-08-16T09:51:17.4004786Z }, | |
2022-08-16T09:51:17.4004988Z ... | |
... | |
... | |
2022-08-16T09:51:17.4023123Z { | |
2022-08-16T09:51:17.4023358Z "environment_vars": [ | |
2022-08-16T09:51:17.4023665Z "HELPER_SCRIPTS={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.4024027Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}" | |
2022-08-16T09:51:17.4025762Z ], | |
2022-08-16T09:51:17.4026280Z "execute_command": "sudo sh -c '{{ .Vars }} pwsh -f {{ .Path }}'", | |
2022-08-16T09:51:17.4026588Z "scripts": [ | |
2022-08-16T09:51:17.4027059Z "{{template_dir}}/scripts/installers/Install-Toolset.ps1", | |
2022-08-16T09:51:17.4027584Z "{{template_dir}}/scripts/installers/Configure-Toolset.ps1" | |
2022-08-16T09:51:17.4027886Z ], | |
2022-08-16T09:51:17.4028114Z "type": "shell" | |
2022-08-16T09:51:17.4028343Z }, | |
2022-08-16T09:51:17.4028553Z { | |
2022-08-16T09:51:17.4028791Z "environment_vars": [ | |
2022-08-16T09:51:17.4029106Z "HELPER_SCRIPTS={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.4029479Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}" | |
2022-08-16T09:51:17.4029771Z ], | |
2022-08-16T09:51:17.4030196Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4030491Z "scripts": [ | |
2022-08-16T09:51:17.4030937Z "{{template_dir}}/scripts/installers/pipx-packages.sh" | |
2022-08-16T09:51:17.4031228Z ], | |
2022-08-16T09:51:17.4031453Z "type": "shell" | |
2022-08-16T09:51:17.4031684Z }, | |
2022-08-16T09:51:17.4031891Z { | |
2022-08-16T09:51:17.4032215Z "environment_vars": [ | |
2022-08-16T09:51:17.4032524Z "HELPER_SCRIPTS={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.4032845Z "DEBIAN_FRONTEND=noninteractive", | |
2022-08-16T09:51:17.4033197Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}" | |
2022-08-16T09:51:17.4033490Z ], | |
2022-08-16T09:51:17.4033926Z "execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4034227Z "scripts": [ | |
2022-08-16T09:51:17.4034581Z "{{template_dir}}/scripts/installers/homebrew.sh" | |
2022-08-16T09:51:17.4034856Z ], | |
2022-08-16T09:51:17.4035082Z "type": "shell" | |
2022-08-16T09:51:17.4035310Z }, | |
2022-08-16T09:51:17.4035507Z { | |
2022-08-16T09:51:17.4035936Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4036294Z "script": "{{template_dir}}/scripts/base/snap.sh", | |
2022-08-16T09:51:17.4036587Z "type": "shell" | |
2022-08-16T09:51:17.4036812Z }, | |
2022-08-16T09:51:17.4037024Z { | |
2022-08-16T09:51:17.4037450Z "execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4037769Z "expect_disconnect": true, | |
2022-08-16T09:51:17.4038032Z "scripts": [ | |
2022-08-16T09:51:17.4038316Z "{{template_dir}}/scripts/base/reboot.sh" | |
2022-08-16T09:51:17.4038576Z ], | |
2022-08-16T09:51:17.4038811Z "type": "shell" | |
2022-08-16T09:51:17.4039034Z }, | |
2022-08-16T09:51:17.4039239Z { | |
2022-08-16T09:51:17.4039657Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4039974Z "pause_before": "60s", | |
2022-08-16T09:51:17.4040232Z "scripts": [ | |
2022-08-16T09:51:17.4040524Z "{{template_dir}}/scripts/installers/cleanup.sh" | |
2022-08-16T09:51:17.4040797Z ], | |
2022-08-16T09:51:17.4041041Z "start_retry_timeout": "10m", | |
2022-08-16T09:51:17.4041309Z "type": "shell" | |
2022-08-16T09:51:17.4041538Z }, | |
2022-08-16T09:51:17.4041742Z { | |
2022-08-16T09:51:17.4042165Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4042685Z "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", | |
2022-08-16T09:51:17.4042998Z "type": "shell" | |
2022-08-16T09:51:17.4043227Z }, | |
2022-08-16T09:51:17.4043431Z { | |
2022-08-16T09:51:17.4043657Z "environment_vars": [ | |
2022-08-16T09:51:17.4043951Z "IMAGE_VERSION={{user `image_version`}}", | |
2022-08-16T09:51:17.4044307Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}" | |
2022-08-16T09:51:17.4044602Z ], | |
2022-08-16T09:51:17.4044823Z "inline": [ | |
2022-08-16T09:51:17.4045419Z "pwsh -File {{user `image_folder`}}/SoftwareReport/SoftwareReport.Generator.ps1 -OutputDirectory {{user `image_folder`}}", | |
2022-08-16T09:51:17.4046129Z "pwsh -File {{user `image_folder`}}/tests/RunAll-Tests.ps1 -OutputDirectory {{user `image_folder`}}" | |
2022-08-16T09:51:17.4046493Z ], | |
2022-08-16T09:51:17.4046720Z "type": "shell" | |
2022-08-16T09:51:17.4046949Z }, | |
2022-08-16T09:51:17.4047146Z { | |
2022-08-16T09:51:17.4047587Z "destination": "{{template_dir}}/Ubuntu2004-Readme.md", | |
2022-08-16T09:51:17.4047909Z "direction": "download", | |
2022-08-16T09:51:17.4048368Z "source": "{{user `image_folder`}}/Ubuntu-Readme.md", | |
2022-08-16T09:51:17.4048670Z "type": "file" | |
2022-08-16T09:51:17.4048900Z }, | |
2022-08-16T09:51:17.4049108Z { | |
2022-08-16T09:51:17.4049344Z "environment_vars": [ | |
2022-08-16T09:51:17.4049665Z "HELPER_SCRIPT_FOLDER={{user `helper_script_folder`}}", | |
2022-08-16T09:51:17.4050044Z "INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}", | |
2022-08-16T09:51:17.4050381Z "IMAGE_FOLDER={{user `image_folder`}}" | |
2022-08-16T09:51:17.4050642Z ], | |
2022-08-16T09:51:17.4051068Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4051362Z "scripts": [ | |
2022-08-16T09:51:17.4051814Z "{{template_dir}}/scripts/installers/post-deployment.sh" | |
2022-08-16T09:51:17.4052105Z ], | |
2022-08-16T09:51:17.4052386Z "type": "shell" | |
2022-08-16T09:51:17.4052613Z }, | |
2022-08-16T09:51:17.4052817Z { | |
2022-08-16T09:51:17.4053043Z "environment_vars": [ | |
2022-08-16T09:51:17.4053356Z "RUN_VALIDATION={{user `run_validation_diskspace`}}" | |
2022-08-16T09:51:17.4053635Z ], | |
2022-08-16T09:51:17.4053865Z "scripts": [ | |
2022-08-16T09:51:17.4054330Z "{{template_dir}}/scripts/installers/validate-disk-space.sh" | |
2022-08-16T09:51:17.4054632Z ], | |
2022-08-16T09:51:17.4054913Z "type": "shell" | |
2022-08-16T09:51:17.4055143Z }, | |
2022-08-16T09:51:17.4055352Z { | |
2022-08-16T09:51:17.4055581Z "destination": "/tmp/", | |
2022-08-16T09:51:17.4055894Z "source": "{{template_dir}}/config/ubuntu2004.conf", | |
2022-08-16T09:51:17.4056185Z "type": "file" | |
2022-08-16T09:51:17.4056421Z }, | |
2022-08-16T09:51:17.4056625Z { | |
2022-08-16T09:51:17.4057063Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4057357Z "inline": [ | |
2022-08-16T09:51:17.4057739Z "mkdir -p /etc/vsts", | |
2022-08-16T09:51:17.4058065Z "cp /tmp/ubuntu2004.conf /etc/vsts/machine_instance.conf" | |
2022-08-16T09:51:17.4058347Z ], | |
2022-08-16T09:51:17.4058574Z "type": "shell" | |
2022-08-16T09:51:17.4058797Z }, | |
2022-08-16T09:51:17.4059003Z { | |
2022-08-16T09:51:17.4059426Z "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'", | |
2022-08-16T09:51:17.4059723Z "inline": [ | |
2022-08-16T09:51:17.4059959Z "sleep 30", | |
2022-08-16T09:51:17.4060507Z "/usr/sbin/waagent -force -deprovision+user \u0026\u0026 export HISTSIZE=0 \u0026\u0026 sync" | |
2022-08-16T09:51:17.4060861Z ], | |
2022-08-16T09:51:17.4061083Z "type": "shell" | |
2022-08-16T09:51:17.4061310Z } | |
2022-08-16T09:51:17.4061518Z ], | |
2022-08-16T09:51:17.4061878Z "sensitive-variables": [ | |
2022-08-16T09:51:17.4062142Z "client_secret" | |
2022-08-16T09:51:17.4062376Z ], | |
2022-08-16T09:51:17.4062596Z "variables": { | |
2022-08-16T09:51:17.4062896Z "allowed_inbound_ip_addresses": "{{env `AGENT_IP`}}", | |
2022-08-16T09:51:17.4063267Z "build_resource_group_name": "{{env `BUILD_RESOURCE_GROUP_NAME`}}", | |
2022-08-16T09:51:17.4063641Z "client_cert_path": "{{env `ARM_CLIENT_CERT_PATH`}}", | |
2022-08-16T09:51:17.4063968Z "client_id": "{{env `ARM_CLIENT_ID`}}", | |
2022-08-16T09:51:17.4065137Z "client_secret": "{{env `ARM_CLIENT_SECRET`}}", | |
2022-08-16T09:51:17.4065479Z "dockerhub_login": "{{env `DOCKERHUB_LOGIN`}}", | |
2022-08-16T09:51:17.4065817Z "dockerhub_password": "{{env `DOCKERHUB_PASSWORD`}}", | |
2022-08-16T09:51:17.4066168Z "helper_script_folder": "/imagegeneration/helpers", | |
2022-08-16T09:51:17.4066498Z "image_folder": "/imagegeneration", | |
2022-08-16T09:51:17.4066787Z "image_os": "ubuntu20", | |
2022-08-16T09:51:17.4067056Z "image_version": "dev", | |
2022-08-16T09:51:17.4067371Z "imagedata_file": "/imagegeneration/imagedata.json", | |
2022-08-16T09:51:17.4067729Z "installer_script_folder": "/imagegeneration/installers", | |
2022-08-16T09:51:17.4068077Z "location": "{{env `ARM_RESOURCE_LOCATION`}}", | |
2022-08-16T09:51:17.4068429Z "managed_image_name": "{{env `ARM_MANAGED_IMAGE_NAME`}}", | |
2022-08-16T09:51:17.4068853Z "private_virtual_network_with_public_ip": "{{env `PRIVATE_VIRTUAL_NETWORK_WITH_PUBLIC_IP`}}", | |
2022-08-16T09:51:17.4069264Z "resource_group": "{{env `ARM_RESOURCE_GROUP`}}", | |
2022-08-16T09:51:17.4069584Z "run_validation_diskspace": "false", | |
2022-08-16T09:51:17.4069904Z "storage_account": "{{env `ARM_STORAGE_ACCOUNT`}}", | |
2022-08-16T09:51:17.4070256Z "subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}", | |
2022-08-16T09:51:17.4070619Z "temp_resource_group_name": "{{env `TEMP_RESOURCE_GROUP_NAME`}}", | |
2022-08-16T09:51:17.4070962Z "tenant_id": "{{env `ARM_TENANT_ID`}}", | |
2022-08-16T09:51:17.4071279Z "virtual_network_name": "{{env `VNET_NAME`}}", | |
2022-08-16T09:51:17.4071645Z "virtual_network_resource_group_name": "{{env `VNET_RESOURCE_GROUP`}}", | |
2022-08-16T09:51:17.4072025Z "virtual_network_subnet_name": "{{env `VNET_SUBNET`}}", | |
2022-08-16T09:51:17.4072444Z "vm_size": "Standard_D4s_v4" | |
2022-08-16T09:51:17.4072690Z } | |
2022-08-16T09:51:17.4072896Z } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment