2024/09/15 02:48:22 [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2024/09/15 02:48:22 [TRACE] discovering plugins in /w/workspace/ci-management-packer-merge-centos-7-builder/bin 2024/09/15 02:48:22 [TRACE] discovering plugins in /home/jenkins/.config/packer/plugins 2024/09/15 02:48:22 [TRACE] discovering plugins in . 2024/09/15 02:48:22 [INFO] PACKER_CONFIG env var not set; checking the default config file path 2024/09/15 02:48:22 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2024/09/15 02:48:22 [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2024/09/15 02:48:22 [INFO] Setting cache directory: /home/jenkins/.cache/packer e: Running in background, not using a TTY 2024/09/15 02:48:22 [TRACE] Starting internal plugin packer-builder-openstack 2024/09/15 02:48:22 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io", "plugin", "packer-builder-openstack"} 2024/09/15 02:48:22 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io 2024/09/15 02:48:22 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2024/09/15 02:48:22 packer.io plugin: args: []string{"packer-builder-openstack"} 2024/09/15 02:48:22 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: addr is /tmp/packer-plugin4053375192 2024/09/15 02:48:22 packer.io plugin: Plugin address: unix /tmp/packer-plugin4053375192 2024/09/15 02:48:22 packer.io plugin: Waiting for connection... 2024/09/15 02:48:22 packer.io plugin: Serving a plugin connection... 2024/09/15 02:48:22 [TRACE] Starting internal plugin packer-provisioner-shell 2024/09/15 02:48:22 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io", "plugin", "packer-provisioner-shell"} 2024/09/15 02:48:22 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io 2024/09/15 02:48:22 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: addr is /tmp/packer-plugin2168347298 2024/09/15 02:48:22 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2024/09/15 02:48:22 packer.io plugin: args: []string{"packer-provisioner-shell"} 2024/09/15 02:48:22 packer.io plugin: Plugin address: unix /tmp/packer-plugin2168347298 2024/09/15 02:48:22 packer.io plugin: Waiting for connection... 2024/09/15 02:48:22 [TRACE] Starting internal plugin packer-provisioner-shell-local 2024/09/15 02:48:22 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io", "plugin", "packer-provisioner-shell-local"} 2024/09/15 02:48:22 packer.io plugin: Serving a plugin connection... 2024/09/15 02:48:22 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io 2024/09/15 02:48:22 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2024/09/15 02:48:22 packer.io plugin: args: []string{"packer-provisioner-shell-local"} 2024/09/15 02:48:22 packer.io plugin: Plugin address: unix /tmp/packer-plugin4011460550 2024/09/15 02:48:22 packer.io plugin: Waiting for connection... 2024/09/15 02:48:22 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: addr is /tmp/packer-plugin4011460550 2024/09/15 02:48:22 packer.io plugin: Serving a plugin connection... 2024/09/15 02:48:22 [TRACE] Starting internal plugin packer-provisioner-ansible 2024/09/15 02:48:22 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io", "plugin", "packer-provisioner-ansible"} 2024/09/15 02:48:22 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io 2024/09/15 02:48:22 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2024/09/15 02:48:22 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2024/09/15 02:48:22 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2024/09/15 02:48:22 packer.io plugin: args: []string{"packer-provisioner-ansible"} 2024/09/15 02:48:22 packer.io plugin: Plugin address: unix /tmp/packer-plugin3500152926 2024/09/15 02:48:22 packer.io plugin: Waiting for connection... 2024/09/15 02:48:22 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: addr is /tmp/packer-plugin3500152926 2024/09/15 02:48:22 packer.io plugin: Serving a plugin connection... 2024/09/15 02:48:22 Preparing build: openstack 2024/09/15 02:48:25 [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=709a1672-5b0f-5883-4a80-0a33c05e172c&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/09/15 02:48:25 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=709a1672-5b0f-5883-4a80-0a33c05e172c&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/09/15 02:48:25 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=709a1672-5b0f-5883-4a80-0a33c05e172c&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/09/15 02:48:25 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=709a1672-5b0f-5883-4a80-0a33c05e172c&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/09/15 02:48:25 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=709a1672-5b0f-5883-4a80-0a33c05e172c&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/09/15 02:48:28 Build debug mode: false 2024/09/15 02:48:28 Force build: false 2024/09/15 02:48:28 On error: 2024/09/15 02:48:28 Waiting on builds to complete... 2024/09/15 02:48:28 Starting build run: openstack 2024/09/15 02:48:28 Running builder: openstack 2024/09/15 02:48:28 [INFO] (telemetry) Starting builder openstack 2024/09/15 02:48:28 ui: ==> openstack: Loading flavor: v2-highcpu-1 2024/09/15 02:48:28 packer.io plugin: [INFO] Loading flavor by ID: v2-highcpu-1 2024/09/15 02:48:33 packer.io plugin: [ERROR] Failed to find flavor by ID: Resource not found 2024/09/15 02:48:33 packer.io plugin: [INFO] Loading flavor by name: v2-highcpu-1 2024/09/15 02:48:38 ui: openstack: Verified flavor. ID: c04abb7a-2b61-4ed3-8ce8-6c40ad9df750 2024/09/15 02:48:38 ui: ==> openstack: Creating temporary RSA SSH key for instance... 2024/09/15 02:48:39 ui: ==> openstack: Creating temporary keypair: packer_66e64afc-3450-203f-4dbe-1debbebe251e ... 2024/09/15 02:48:44 ui: ==> openstack: Created temporary keypair: packer_66e64afc-3450-203f-4dbe-1debbebe251e 2024/09/15 02:48:44 packer.io plugin: Using Image Filters {ID: Limit:0 Marker: Name:CentOS 7-x86_64 [2020-04-22] Visibility: MemberStatus: Owner: Status: SizeMin:0 SizeMax:0 Sort: SortKey: SortDir: Tags:[] CreatedAtQuery: UpdatedAtQuery: ContainerFormat: DiskFormat:} 2024/09/15 02:48:49 ui: openstack: Found Image ID: d28ae974-0ff8-4f14-8cbd-68dbd476ec79 2024/09/15 02:48:49 ui: ==> openstack: Creating volume... 2024/09/15 02:48:55 ui: ==> openstack: Waiting for volume packer_66e64afc-8786-f6f6-aad2-7410779a6b51 (volume id: 1b97f427-f561-47a8-8ccd-e061e986f9ef) to become available... 2024/09/15 02:49:00 ui: openstack: Volume ID: 1b97f427-f561-47a8-8ccd-e061e986f9ef 2024/09/15 02:49:00 ui: ==> openstack: Launching server... 2024/09/15 02:49:00 ui: ==> openstack: Launching server... 2024/09/15 02:49:06 ui: openstack: Server ID: 57899500-b1ab-490b-a08e-8064e9668dbc 2024/09/15 02:49:06 packer.io plugin: server id: 57899500-b1ab-490b-a08e-8064e9668dbc 2024/09/15 02:49:06 ui: ==> openstack: Waiting for server to become ready... 2024/09/15 02:49:06 packer.io plugin: Waiting for state to become: [ACTIVE] 2024/09/15 02:49:11 packer.io plugin: Waiting for state to become: [ACTIVE] currently BUILD (0%) 2024/09/15 02:49:19 ui: openstack: Floating IP not required 2024/09/15 02:49:19 packer.io plugin: [INFO] Not using winrm communicator, skipping get password... 2024/09/15 02:49:19 ui: ==> openstack: Using SSH communicator to connect: 10.30.86.234 2024/09/15 02:49:19 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:19 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:19 packer.io plugin: [INFO] Waiting for SSH, up to timeout: 5m0s 2024/09/15 02:49:19 ui: ==> openstack: Waiting for SSH to become available... 2024/09/15 02:49:19 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:19 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:22 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: no route to host 2024/09/15 02:49:27 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:27 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:27 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:49:32 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:32 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:32 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:49:37 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:37 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:37 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:49:42 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:42 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:42 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:49:47 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:47 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:47 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:49:52 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:52 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:52 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:49:57 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:49:57 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:49:57 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:50:02 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:50:02 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:50:02 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:50:07 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:50:07 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:50:07 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:50:12 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:50:12 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:50:12 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.86.234:22: connect: connection refused 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Detected address: 10.30.86.234 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Using IP address 10.30.86.234 to connect 2024/09/15 02:50:17 packer.io plugin: [INFO] Attempting SSH connection to 10.30.86.234:22... 2024/09/15 02:50:17 packer.io plugin: [DEBUG] reconnecting to TCP connection for SSH 2024/09/15 02:50:17 packer.io plugin: [DEBUG] handshaking with SSH 2024/09/15 02:50:17 packer.io plugin: [DEBUG] handshake complete! 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Opening new ssh session 2024/09/15 02:50:17 packer.io plugin: [INFO] agent forwarding enabled 2024/09/15 02:50:17 ui: ==> openstack: Connected to SSH! 2024/09/15 02:50:17 packer.io plugin: Running the provision hook 2024/09/15 02:50:17 [INFO] (telemetry) Starting provisioner shell 2024/09/15 02:50:17 ui: ==> openstack: Provisioning with shell script: common-packer/provision/install-python.sh 2024/09/15 02:50:17 packer.io plugin: Opening common-packer/provision/install-python.sh for reading 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Opening new ssh session 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2024/09/15 02:50:17 packer.io plugin: [INFO] 3713 bytes written for 'uploadData' 2024/09/15 02:50:17 [INFO] 3713 bytes written for 'uploadData' 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Started SCP session, beginning transfers... 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Copying input data into temporary file so we can read the length 2024/09/15 02:50:17 packer.io plugin: [DEBUG] scp: Uploading script_3525.sh: perms=C0644 size=3713 2024/09/15 02:50:17 packer.io plugin: [DEBUG] SCP session complete, closing stdin pipe. 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Waiting for SSH session to complete. 2024/09/15 02:50:17 packer.io plugin: [DEBUG] scp stderr (length 32): Sink: C0644 3713 script_3525.sh 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Opening new ssh session 2024/09/15 02:50:17 packer.io plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_3525.sh 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Opening new ssh session 2024/09/15 02:50:17 packer.io plugin: [DEBUG] starting remote command: chmod +x /tmp/script_3525.sh; if [ "$UID" == "0" ]; then PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' '/tmp/script_3525.sh'; else PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' sudo -E '/tmp/script_3525.sh'; fi 2024/09/15 02:50:17 ui: openstack: ----> install-python.sh 2024/09/15 02:50:17 ui: openstack: Distro is NOT Ubuntu 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] 96 bytes written for 'stdout' 2024/09/15 02:50:17 [INFO] 0 bytes written for 'stderr' 2024/09/15 02:50:17 [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 packer.io plugin: [INFO] 96 bytes written for 'stdout' 2024/09/15 02:50:17 packer.io plugin: [INFO] 0 bytes written for 'stderr' 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 ui: openstack: Distro is NOT CentOS 8 2024/09/15 02:50:17 ui: openstack: /bin/sudo 2024/09/15 02:50:17 ui: openstack: sudo is /bin/sudo 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Opening new ssh session 2024/09/15 02:50:17 packer.io plugin: [DEBUG] starting remote command: rm -f /tmp/script_3525.sh 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 packer.io plugin: [DEBUG] Opening new ssh session 2024/09/15 02:50:17 packer.io plugin: [DEBUG] starting remote command: rm -f 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] RPC endpoint: Communicator ended with: 0 2024/09/15 02:50:17 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2024/09/15 02:50:17 [INFO] (telemetry) ending shell 2024/09/15 02:50:17 [INFO] (telemetry) Starting provisioner shell-local 2024/09/15 02:50:17 packer.io plugin: [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2024/09/15 02:50:17 ui: ==> openstack: Running local shell script: /tmp/packer-shell2330307007 2024/09/15 02:50:17 packer.io plugin: [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' /tmp/packer-shell2330307007 2024/09/15 02:50:17 packer.io plugin: [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' /tmp/packer-shell2330307007] 2024/09/15 02:50:17 ui: openstack: ----> ansible-galaxy.sh 2024/09/15 02:50:22 ui: openstack: Setup pyenv: 2024/09/15 02:50:22 ui: openstack: system 2024/09/15 02:50:22 ui: openstack: * 3.8.13 (set by /opt/pyenv/version) 2024/09/15 02:50:22 ui: openstack: * 3.9.13 (set by /opt/pyenv/version) 2024/09/15 02:50:22 ui: openstack: * 3.10.6 (set by /opt/pyenv/version) 2024/09/15 02:50:27 ui: openstack: lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uf7a 2024/09/15 02:50:27 ui: openstack: lf-activate-venv(): INFO: Save venv in file: /tmp/.ansible_venv 2024/09/15 02:50:47 ui: openstack: lf-activate-venv(): INFO: Installing: ansible~=2.9.27 2024/09/15 02:51:41 ui: openstack: lf-activate-venv(): INFO: Adding /tmp/venv-uf7a/bin to PATH 2024/09/15 02:51:41 ui: openstack: Running: ansible-galaxy install -p .galaxy -r ./common-packer/requirements.yaml 2024/09/15 02:51:47 ui: openstack: - downloading role 'docker-install', owned by lfit 2024/09/15 02:51:57 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-docker-install/archive/master.tar.gz 2024/09/15 02:52:07 ui: openstack: - extracting lfit.docker-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.docker-install 2024/09/15 02:52:07 ui: openstack: - lfit.docker-install (master) was installed successfully 2024/09/15 02:52:07 ui: openstack: - downloading role 'haveged-install', owned by lfit 2024/09/15 02:52:18 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-haveged-install/archive/master.tar.gz 2024/09/15 02:52:28 ui: openstack: - extracting lfit.haveged-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.haveged-install 2024/09/15 02:52:28 ui: openstack: - lfit.haveged-install (master) was installed successfully 2024/09/15 02:52:28 ui: openstack: - downloading role 'java-install', owned by lfit 2024/09/15 02:52:39 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-java-install/archive/master.tar.gz 2024/09/15 02:52:49 ui: openstack: - extracting lfit.java-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.java-install 2024/09/15 02:52:49 ui: openstack: - lfit.java-install (master) was installed successfully 2024/09/15 02:52:49 ui: openstack: - downloading role 'lf-dev-libs', owned by lfit 2024/09/15 02:52:59 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-lf-dev-libs/archive/master.tar.gz 2024/09/15 02:53:10 ui: openstack: - extracting lfit.lf-dev-libs to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.lf-dev-libs 2024/09/15 02:53:10 ui: openstack: - lfit.lf-dev-libs (master) was installed successfully 2024/09/15 02:53:10 ui: openstack: - downloading role 'lf-recommended-tools', owned by lfit 2024/09/15 02:53:20 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-lf-recommended-tools/archive/master.tar.gz 2024/09/15 02:53:30 ui: openstack: - extracting lfit.lf-recommended-tools to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.lf-recommended-tools 2024/09/15 02:53:30 ui: openstack: - lfit.lf-recommended-tools (master) was installed successfully 2024/09/15 02:53:30 ui: openstack: - downloading role 'mono-install', owned by lfit 2024/09/15 02:53:41 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-mono-install/archive/master.tar.gz 2024/09/15 02:53:46 ui: openstack: - extracting lfit.mono-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.mono-install 2024/09/15 02:53:46 ui: openstack: - lfit.mono-install (master) was installed successfully 2024/09/15 02:53:46 ui: openstack: - downloading role 'packer-install', owned by lfit 2024/09/15 02:53:56 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-packer-install/archive/master.tar.gz 2024/09/15 02:54:07 ui: openstack: - extracting lfit.packer-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.packer-install 2024/09/15 02:54:07 ui: openstack: - lfit.packer-install (master) was installed successfully 2024/09/15 02:54:07 ui: openstack: - downloading role 'protobuf-install', owned by lfit 2024/09/15 02:54:17 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-protobuf-install/archive/master.tar.gz 2024/09/15 02:54:28 ui: openstack: - extracting lfit.protobuf-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.protobuf-install 2024/09/15 02:54:28 ui: openstack: - lfit.protobuf-install (master) was installed successfully 2024/09/15 02:54:28 ui: openstack: - downloading role 'puppet-install', owned by lfit 2024/09/15 02:54:38 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-puppet-install/archive/master.tar.gz 2024/09/15 02:54:48 ui: openstack: - extracting lfit.puppet-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.puppet-install 2024/09/15 02:54:48 ui: openstack: - lfit.puppet-install (master) was installed successfully 2024/09/15 02:54:48 ui: openstack: - downloading role 'python-install', owned by lfit 2024/09/15 02:54:59 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-python-install/archive/master.tar.gz 2024/09/15 02:55:09 ui: openstack: - extracting lfit.python-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.python-install 2024/09/15 02:55:09 ui: openstack: - lfit.python-install (master) was installed successfully 2024/09/15 02:55:09 ui: openstack: - downloading role 'shellcheck-install', owned by lfit 2024/09/15 02:55:19 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-shellcheck-install/archive/master.tar.gz 2024/09/15 02:55:30 ui: openstack: - extracting lfit.shellcheck-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.shellcheck-install 2024/09/15 02:55:30 ui: openstack: - lfit.shellcheck-install (master) was installed successfully 2024/09/15 02:55:30 ui: openstack: - downloading role 'sysstat-install', owned by lfit 2024/09/15 02:55:40 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-sysstat-install/archive/master.tar.gz 2024/09/15 02:55:45 ui: openstack: - extracting lfit.sysstat-install to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.sysstat-install 2024/09/15 02:55:45 ui: openstack: - lfit.sysstat-install (master) was installed successfully 2024/09/15 02:55:45 ui: openstack: - downloading role 'system-update', owned by lfit 2024/09/15 02:55:56 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-system-update/archive/master.tar.gz 2024/09/15 02:56:06 ui: openstack: - extracting lfit.system-update to /w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.system-update 2024/09/15 02:56:06 ui: openstack: - lfit.system-update (master) was installed successfully 2024/09/15 02:56:06 [INFO] (telemetry) ending shell-local 2024/09/15 02:56:06 [INFO] (telemetry) Starting provisioner ansible 2024/09/15 02:56:06 ui: ==> openstack: Provisioning with Ansible... 2024/09/15 02:56:06 ui: openstack: Setting up proxy adapter for Ansible.... 2024/09/15 02:56:06 packer.io plugin: Creating inventory file for Ansible run... 2024/09/15 02:56:06 packer.io plugin: SSH proxy: serving on 127.0.0.1:36911 2024/09/15 02:56:06 ui: ==> openstack: Executing Ansible: ./common-packer/ansible-playbook.sh -e packer_build_name="openstack" -e packer_builder_type=openstack --ssh-extra-args '-o IdentitiesOnly=yes' -e ansible_ssh_private_key_file=/tmp/ansible-key1800610652 -i /tmp/packer-provisioner-ansible3931901522 /w/workspace/ci-management-packer-merge-centos-7-builder/packer/provision/local-builder.yaml 2024/09/15 02:56:07 ui: openstack: ERROR! couldn't resolve module/action 'community.general.alternatives'. This often indicates a misspelling, missing collection, or incorrect module path. 2024/09/15 02:56:07 ui: openstack:  2024/09/15 02:56:07 ui: openstack: The error appears to be in '/w/workspace/ci-management-packer-merge-centos-7-builder/packer/.galaxy/lfit.java-install/tasks/main.yml': line 12, column 7, but may 2024/09/15 02:56:07 ui: openstack: be elsewhere in the file depending on the exact syntax problem. 2024/09/15 02:56:07 ui: openstack:  2024/09/15 02:56:07 ui: openstack: The offending line appears to be: 2024/09/15 02:56:07 ui: openstack:  2024/09/15 02:56:07 ui: openstack:  block: 2024/09/15 02:56:07 ui: openstack:  - name: Set java alternatives 2024/09/15 02:56:07 ui: openstack:  ^ here 2024/09/15 02:56:07 [INFO] (telemetry) ending ansible 2024/09/15 02:56:07 packer.io plugin: shutting down the SSH proxy 2024/09/15 02:56:07 ui: ==> openstack: Provisioning step had errors: Running the cleanup provisioner, if present... 2024/09/15 02:56:07 ui: ==> openstack: Terminating the source server: 57899500-b1ab-490b-a08e-8064e9668dbc ... 2024/09/15 02:56:12 packer.io plugin: Waiting for state to become: [DELETED] 2024/09/15 02:56:18 packer.io plugin: [INFO] 404 on ServerStateRefresh, returning DELETED 2024/09/15 02:56:23 ui: ==> openstack: Deleting volume: 1b97f427-f561-47a8-8ccd-e061e986f9ef ... 2024/09/15 02:56:28 ui: ==> openstack: Deleting temporary keypair: packer_66e64afc-3450-203f-4dbe-1debbebe251e ... 2024/09/15 02:56:33 [INFO] (telemetry) ending openstack 2024/09/15 02:56:33 ui error: Build 'openstack' errored after 8 minutes 5 seconds: Error executing Ansible: Non-zero exit status: exit status 4 2024/09/15 02:56:33 ui: ==> Wait completed after 8 minutes 5 seconds 2024/09/15 02:56:33 machine readable: error-count []string{"1"} 2024/09/15 02:56:33 ui error: ==> Some builds didn't complete successfully and had errors: 2024/09/15 02:56:33 machine readable: openstack,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"} 2024/09/15 02:56:33 ui error: --> openstack: Error executing Ansible: Non-zero exit status: exit status 4 2024/09/15 02:56:33 ui: ==> Builds finished but no artifacts were created. 2024/09/15 02:56:33 [INFO] (telemetry) Finalizing. 2024/09/15 02:56:35 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post "https://checkpoint-api.hashicorp.com/v1/telemetry/packer": context deadline exceeded 2024/09/15 02:56:35 waiting for all plugin processes to complete... 2024/09/15 02:56:35 /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: plugin process exited 2024/09/15 02:56:35 /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: plugin process exited 2024/09/15 02:56:35 /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: plugin process exited 2024/09/15 02:56:35 /w/workspace/ci-management-packer-merge-centos-7-builder/bin/packer.io: plugin process exited