2025/01/01 01:03:07 [INFO] Packer version: 1.9.1 [go1.20.4 linux amd64] 2025/01/01 01:03:07 [TRACE] discovering plugins in /w/workspace/builder-packer-merge-centos-cs-8-robot/bin 2025/01/01 01:03:07 [TRACE] discovering plugins in /home/jenkins/.config/packer/plugins 2025/01/01 01:03:07 [DEBUG] Discovered plugin: openstack = /home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 2025/01/01 01:03:07 [INFO] found external [-packer-default-plugin-name-] builders from openstack plugin 2025/01/01 01:03:07 [TRACE] discovering plugins in . 2025/01/01 01:03:07 [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/01/01 01:03:07 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/01/01 01:03:07 [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/01/01 01:03:07 [INFO] Setting cache directory: /home/jenkins/.cache/packer e: Running in background, not using a TTY 2025/01/01 01:03:07 [TRACE] listing potential installations for "github.com/hashicorp/openstack" that match ">= 1.0.0". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io", ".", "/home/jenkins/.config/packer/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc000068b00)}}}} 2025/01/01 01:03:07 [TRACE] Found the following "github.com/hashicorp/openstack" installations: [{/home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 v1.1.2}] 2025/01/01 01:03:07 [INFO] found external [-packer-default-plugin-name-] builders from openstack plugin 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_region, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for docker_source_image, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for flavor, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_network, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for base_image, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_auth_url, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_user, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_pass, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_user_data, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for ssh_proxy_host, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for source_ami_filter_product_code, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for arch, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for ssh_user, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for vm_image_disk_format, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for vm_use_block_storage, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for distro, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for cloud_tenant, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for source_ami_filter_name, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for source_ami_filter_owner, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for vm_volume_size, so skipping 2025/01/01 01:03:07 [TRACE] validateValue: not active for ansible_roles_path, so skipping 2025/01/01 01:03:07 [TRACE] Starting external plugin /home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 start builder -packer-default-plugin-name- 2025/01/01 01:03:07 Starting plugin: /home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 []string{"/home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64", "start", "builder", "-packer-default-plugin-name-"} 2025/01/01 01:03:07 Waiting for RPC address for: /home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 2025/01/01 01:03:07 Received unix RPC address for /home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64: addr is /tmp/packer-plugin3101660789 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 Plugin address: unix /tmp/packer-plugin3101660789 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 Waiting for connection... 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 Serving a plugin connection... 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 [TRACE] starting builder -packer-default-plugin-name- 2025/01/01 01:03:07 [TRACE] Starting internal plugin packer-provisioner-shell 2025/01/01 01:03:07 Starting plugin: /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io []string{"/w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io", "plugin", "packer-provisioner-shell"} 2025/01/01 01:03:07 Waiting for RPC address for: /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io 2025/01/01 01:03:07 packer.io plugin: [INFO] Packer version: 1.9.1 [go1.20.4 linux amd64] 2025/01/01 01:03:07 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/01/01 01:03:07 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/01/01 01:03:07 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/01/01 01:03:07 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/01/01 01:03:07 packer.io plugin: args: []string{"packer-provisioner-shell"} 2025/01/01 01:03:07 packer.io plugin: Plugin address: unix /tmp/packer-plugin598208677 2025/01/01 01:03:07 Received unix RPC address for /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io: addr is /tmp/packer-plugin598208677 2025/01/01 01:03:07 packer.io plugin: Waiting for connection... 2025/01/01 01:03:07 packer.io plugin: Serving a plugin connection... 2025/01/01 01:03:07 [TRACE] Starting internal plugin packer-provisioner-shell-local 2025/01/01 01:03:07 Starting plugin: /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io []string{"/w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io", "plugin", "packer-provisioner-shell-local"} 2025/01/01 01:03:07 Waiting for RPC address for: /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io 2025/01/01 01:03:07 packer.io plugin: [INFO] Packer version: 1.9.1 [go1.20.4 linux amd64] 2025/01/01 01:03:07 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/01/01 01:03:07 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/01/01 01:03:07 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/01/01 01:03:07 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/01/01 01:03:07 packer.io plugin: args: []string{"packer-provisioner-shell-local"} 2025/01/01 01:03:07 packer.io plugin: Plugin address: unix /tmp/packer-plugin3775008392 2025/01/01 01:03:07 Received unix RPC address for /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io: addr is /tmp/packer-plugin3775008392 2025/01/01 01:03:07 packer.io plugin: Waiting for connection... 2025/01/01 01:03:07 packer.io plugin: Serving a plugin connection... 2025/01/01 01:03:07 [TRACE] Starting internal plugin packer-provisioner-ansible 2025/01/01 01:03:07 Starting plugin: /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io []string{"/w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io", "plugin", "packer-provisioner-ansible"} 2025/01/01 01:03:07 Waiting for RPC address for: /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io 2025/01/01 01:03:07 packer.io plugin: [INFO] Packer version: 1.9.1 [go1.20.4 linux amd64] 2025/01/01 01:03:07 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/01/01 01:03:07 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/01/01 01:03:07 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/01/01 01:03:07 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/01/01 01:03:07 packer.io plugin: args: []string{"packer-provisioner-ansible"} 2025/01/01 01:03:07 packer.io plugin: Plugin address: unix /tmp/packer-plugin2999623860 2025/01/01 01:03:07 Received unix RPC address for /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io: addr is /tmp/packer-plugin2999623860 2025/01/01 01:03:07 packer.io plugin: Waiting for connection... 2025/01/01 01:03:07 packer.io plugin: Serving a plugin connection... 2025/01/01 01:03:07 Build debug mode: false 2025/01/01 01:03:07 Force build: false 2025/01/01 01:03:07 On error: 2025/01/01 01:03:07 Waiting on builds to complete... 2025/01/01 01:03:07 Starting build run: openstack.robot 2025/01/01 01:03:07 Running builder: 2025/01/01 01:03:07 [INFO] (telemetry) Starting builder openstack.robot 2025/01/01 01:03:07 ui: ==> openstack.robot: Loading flavor: v3-standard-2 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 [INFO] Loading flavor by ID: v3-standard-2 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 [ERROR] Failed to find flavor by ID: Resource not found 2025/01/01 01:03:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:07 [INFO] Loading flavor by name: v3-standard-2 2025/01/01 01:03:08 ui: openstack.robot: Verified flavor. ID: d6906d2a-e83f-42be-b33e-fbaeb5c511cb 2025/01/01 01:03:08 ui: ==> openstack.robot: Creating temporary RSA SSH key for instance... 2025/01/01 01:03:10 ui: ==> openstack.robot: Creating temporary keypair: packer_6774944b-366e-e8c5-d3d0-29dcbc9d3c2a ... 2025/01/01 01:03:10 ui: ==> openstack.robot: Created temporary keypair: packer_6774944b-366e-e8c5-d3d0-29dcbc9d3c2a 2025/01/01 01:03:10 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:10 Using Image Filters {ID: Limit:0 Marker: Name:CentOS Stream 8 (x86_64) [2022-01-25] Visibility: MemberStatus: Owner: Status: SizeMin:0 SizeMax:0 Sort: SortKey: SortDir: Tags:[] CreatedAtQuery: UpdatedAtQuery: ContainerFormat: DiskFormat:} 2025/01/01 01:03:10 ui: openstack.robot: Found Image ID: cc1a8d67-b5cc-42eb-b1c2-92ef61075752 2025/01/01 01:03:10 ui: ==> openstack.robot: Creating volume... 2025/01/01 01:03:11 ui: ==> openstack.robot: Waiting for volume packer_6774944b-ce96-ddbe-9be2-0cf993ecf431 (volume id: e3aedd52-c54a-4c85-b340-8d74b41bf87b) to become available... 2025/01/01 01:03:11 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:11 Waiting for volume creation status: creating 2025/01/01 01:03:13 ui: openstack.robot: Volume ID: e3aedd52-c54a-4c85-b340-8d74b41bf87b 2025/01/01 01:03:13 ui: ==> openstack.robot: Launching server... 2025/01/01 01:03:13 ui: ==> openstack.robot: Launching server... 2025/01/01 01:03:14 ui: openstack.robot: Server ID: f571c360-0afe-4242-8ac9-7f3d182c878c 2025/01/01 01:03:14 ui: ==> openstack.robot: Waiting for server to become ready... 2025/01/01 01:03:14 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:14 server id: f571c360-0afe-4242-8ac9-7f3d182c878c 2025/01/01 01:03:14 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:14 Waiting for state to become: [ACTIVE] 2025/01/01 01:03:14 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:14 Waiting for state to become: [ACTIVE] currently BUILD (0%) 2025/01/01 01:03:16 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:16 Waiting for state to become: [ACTIVE] currently BUILD (0%) 2025/01/01 01:03:19 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:19 Waiting for state to become: [ACTIVE] currently BUILD (0%) 2025/01/01 01:03:21 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:21 [INFO] Not using winrm communicator, skipping get password... 2025/01/01 01:03:21 ui: openstack.robot: Floating IP not required 2025/01/01 01:03:21 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:21 [DEBUG] Detected address: 10.30.171.75 2025/01/01 01:03:21 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:21 [DEBUG] Using IP address 10.30.171.75 to connect 2025/01/01 01:03:21 ui: ==> openstack.robot: Using SSH communicator to connect: 10.30.171.75 2025/01/01 01:03:21 ui: ==> openstack.robot: Waiting for SSH to become available... 2025/01/01 01:03:21 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:21 [INFO] Waiting for SSH, up to timeout: 5m0s 2025/01/01 01:03:21 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:21 [DEBUG] Detected address: 10.30.171.75 2025/01/01 01:03:21 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:21 [DEBUG] Using IP address 10.30.171.75 to connect 2025/01/01 01:03:24 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:24 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.171.75:22: connect: no route to host 2025/01/01 01:03:29 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:29 [DEBUG] Detected address: 10.30.171.75 2025/01/01 01:03:29 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:29 [DEBUG] Using IP address 10.30.171.75 to connect 2025/01/01 01:03:32 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:32 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.171.75:22: connect: no route to host 2025/01/01 01:03:37 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:37 [DEBUG] Detected address: 10.30.171.75 2025/01/01 01:03:37 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:37 [DEBUG] Using IP address 10.30.171.75 to connect 2025/01/01 01:03:39 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:39 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.171.75:22: connect: connection refused 2025/01/01 01:03:44 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:44 [DEBUG] Detected address: 10.30.171.75 2025/01/01 01:03:44 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:44 [DEBUG] Using IP address 10.30.171.75 to connect 2025/01/01 01:03:44 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:44 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.171.75:22: connect: connection refused 2025/01/01 01:03:49 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:49 [DEBUG] Detected address: 10.30.171.75 2025/01/01 01:03:49 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:49 [DEBUG] Using IP address 10.30.171.75 to connect 2025/01/01 01:03:49 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:49 [INFO] Attempting SSH connection to 10.30.171.75:22... 2025/01/01 01:03:49 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:49 [DEBUG] reconnecting to TCP connection for SSH 2025/01/01 01:03:49 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:49 [DEBUG] handshaking with SSH 2025/01/01 01:03:50 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:50 [DEBUG] handshake complete! 2025/01/01 01:03:50 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:50 [DEBUG] Opening new ssh session 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [INFO] agent forwarding enabled 2025/01/01 01:03:51 ui: ==> openstack.robot: Connected to SSH! 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 Running the provision hook 2025/01/01 01:03:51 [INFO] (telemetry) Starting provisioner shell 2025/01/01 01:03:51 ui: ==> openstack.robot: Provisioning with shell script: common-packer/provision/install-python.sh 2025/01/01 01:03:51 packer.io plugin: Opening common-packer/provision/install-python.sh for reading 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] Opening new ssh session 2025/01/01 01:03:51 [INFO] 3713 bytes written for 'uploadData' 2025/01/01 01:03:51 packer.io plugin: [INFO] 3713 bytes written for 'uploadData' 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] Starting remote scp process: scp -vt /tmp 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] Started SCP session, beginning transfers... 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] Copying input data into temporary file so we can read the length 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] scp: Uploading script_1005.sh: perms=C0644 size=3713 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] SCP session complete, closing stdin pipe. 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] Waiting for SSH session to complete. 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] scp stderr (length 32): Sink: C0644 3713 script_1005.sh 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] Opening new ssh session 2025/01/01 01:03:51 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:51 [DEBUG] starting remote command: chmod 0755 /tmp/script_1005.sh 2025/01/01 01:03:52 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:52 [INFO] RPC endpoint: Communicator ended with: 0 2025/01/01 01:03:52 [INFO] RPC client: Communicator ended with: 0 2025/01/01 01:03:52 [INFO] RPC endpoint: Communicator ended with: 0 2025/01/01 01:03:52 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2025/01/01 01:03:52 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:52 [DEBUG] Opening new ssh session 2025/01/01 01:03:52 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:52 [DEBUG] starting remote command: chmod +x /tmp/script_1005.sh; if [ "$UID" == "0" ]; then PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='robot' '/tmp/script_1005.sh'; else PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='robot' sudo -E '/tmp/script_1005.sh'; fi 2025/01/01 01:03:52 ui: openstack.robot: ----> install-python.sh 2025/01/01 01:03:52 ui: openstack.robot: Distro is NOT Ubuntu 2025/01/01 01:03:52 ui: openstack.robot: Distro is CentOS 8 2025/01/01 01:03:52 ui: openstack.robot: Install python38 2025/01/01 01:03:54 ui: openstack.robot: 0 files removed 2025/01/01 01:03:55 ui error: ==> openstack.robot: Errors during downloading metadata for repository 'appstream': 2025/01/01 01:03:55 ui: openstack.robot: CentOS Stream 8 - AppStream 0.0 B/s | 0 B 00:00 2025/01/01 01:03:55 ui error: ==> openstack.robot: - Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=genclo [Could not resolve host: mirrorlist.centos.org] 2025/01/01 01:03:55 ui error: ==> openstack.robot: Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=genclo [Could not resolve host: mirrorlist.centos.org] 2025/01/01 01:03:55 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:55 [ERROR] Remote command exited with '1': chmod +x /tmp/script_1005.sh; if [ "$UID" == "0" ]; then PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='robot' '/tmp/script_1005.sh'; else PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='robot' sudo -E '/tmp/script_1005.sh'; fi 2025/01/01 01:03:55 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:55 [INFO] RPC endpoint: Communicator ended with: 1 2025/01/01 01:03:55 [INFO] 177 bytes written for 'stdout' 2025/01/01 01:03:55 [INFO] 524 bytes written for 'stderr' 2025/01/01 01:03:55 [INFO] RPC client: Communicator ended with: 1 2025/01/01 01:03:55 [INFO] RPC endpoint: Communicator ended with: 1 2025/01/01 01:03:55 packer.io plugin: [INFO] 177 bytes written for 'stdout' 2025/01/01 01:03:55 packer.io plugin: [INFO] 524 bytes written for 'stderr' 2025/01/01 01:03:55 packer.io plugin: [INFO] RPC client: Communicator ended with: 1 2025/01/01 01:03:55 [INFO] (telemetry) ending shell 2025/01/01 01:03:55 ui: ==> openstack.robot: Provisioning step had errors: Running the cleanup provisioner, if present... 2025/01/01 01:03:55 ui: ==> openstack.robot: Terminating the source server: f571c360-0afe-4242-8ac9-7f3d182c878c ... 2025/01/01 01:03:56 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:56 Waiting for state to become: [DELETED] 2025/01/01 01:03:56 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:56 Waiting for state to become: [DELETED] currently ACTIVE (0%) 2025/01/01 01:03:58 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:03:58 Waiting for state to become: [DELETED] currently ACTIVE (0%) 2025/01/01 01:04:00 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2025/01/01 01:04:00 [INFO] 404 on ServerStateRefresh, returning DELETED 2025/01/01 01:04:00 ui: ==> openstack.robot: Deleting volume: e3aedd52-c54a-4c85-b340-8d74b41bf87b ... 2025/01/01 01:04:00 ui: ==> openstack.robot: Deleting temporary keypair: packer_6774944b-366e-e8c5-d3d0-29dcbc9d3c2a ... 2025/01/01 01:04:00 [INFO] (telemetry) ending openstack.robot 2025/01/01 01:04:00 ui error: Build 'openstack.robot' errored after 53 seconds 91 milliseconds: Script exited with non-zero exit status: 1. Allowed exit codes are: [0] 2025/01/01 01:04:00 ui: ==> Wait completed after 53 seconds 91 milliseconds 2025/01/01 01:04:00 machine readable: error-count []string{"1"} 2025/01/01 01:04:00 ui error: ==> Some builds didn't complete successfully and had errors: 2025/01/01 01:04:00 machine readable: openstack.robot,error []string{"Script exited with non-zero exit status: 1. Allowed exit codes are: [0]"} 2025/01/01 01:04:00 ui error: --> openstack.robot: Script exited with non-zero exit status: 1. Allowed exit codes are: [0] 2025/01/01 01:04:00 ui: ==> Builds finished but no artifacts were created. 2025/01/01 01:04:00 [INFO] (telemetry) Finalizing. 2025/01/01 01:04:01 waiting for all plugin processes to complete... 2025/01/01 01:04:01 /home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_x5.0_linux_amd64: plugin process exited 2025/01/01 01:04:01 /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io: plugin process exited 2025/01/01 01:04:01 /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io: plugin process exited 2025/01/01 01:04:01 /w/workspace/builder-packer-merge-centos-cs-8-robot/bin/packer.io: plugin process exited