2025/04/05 09:43:58 [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2025/04/05 09:43:58 [TRACE] discovering plugins in /w/workspace/ci-management-packer-merge-centos-7-docker/bin 2025/04/05 09:43:58 [TRACE] discovering plugins in /home/jenkins/.config/packer/plugins 2025/04/05 09:43:58 [TRACE] discovering plugins in . 2025/04/05 09:43:58 [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/04/05 09:43:58 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/04/05 09:43:58 [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/04/05 09:43:58 [INFO] Setting cache directory: /home/jenkins/.cache/packer e: Running in background, not using a TTY 2025/04/05 09:43:58 [TRACE] Starting internal plugin packer-builder-openstack 2025/04/05 09:43:58 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io", "plugin", "packer-builder-openstack"} 2025/04/05 09:43:58 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io 2025/04/05 09:43:58 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: addr is /tmp/packer-plugin2681861876 2025/04/05 09:43:58 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2025/04/05 09:43:58 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/04/05 09:43:58 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/04/05 09:43:58 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/04/05 09:43:58 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/04/05 09:43:58 packer.io plugin: args: []string{"packer-builder-openstack"} 2025/04/05 09:43:58 packer.io plugin: Plugin address: unix /tmp/packer-plugin2681861876 2025/04/05 09:43:58 packer.io plugin: Waiting for connection... 2025/04/05 09:43:58 [TRACE] Starting internal plugin packer-provisioner-shell 2025/04/05 09:43:58 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io", "plugin", "packer-provisioner-shell"} 2025/04/05 09:43:58 packer.io plugin: Serving a plugin connection... 2025/04/05 09:43:58 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io 2025/04/05 09:43:59 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2025/04/05 09:43:59 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/04/05 09:43:59 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/04/05 09:43:59 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/04/05 09:43:59 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/04/05 09:43:59 packer.io plugin: args: []string{"packer-provisioner-shell"} 2025/04/05 09:43:59 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: addr is /tmp/packer-plugin3534471639 2025/04/05 09:43:59 packer.io plugin: Plugin address: unix /tmp/packer-plugin3534471639 2025/04/05 09:43:59 packer.io plugin: Waiting for connection... 2025/04/05 09:43:59 packer.io plugin: Serving a plugin connection... 2025/04/05 09:43:59 [TRACE] Starting internal plugin packer-provisioner-shell-local 2025/04/05 09:43:59 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io", "plugin", "packer-provisioner-shell-local"} 2025/04/05 09:43:59 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io 2025/04/05 09:43:59 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2025/04/05 09:43:59 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/04/05 09:43:59 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/04/05 09:43:59 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/04/05 09:43:59 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/04/05 09:43:59 packer.io plugin: args: []string{"packer-provisioner-shell-local"} 2025/04/05 09:43:59 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: addr is /tmp/packer-plugin2904694238 2025/04/05 09:43:59 packer.io plugin: Plugin address: unix /tmp/packer-plugin2904694238 2025/04/05 09:43:59 packer.io plugin: Waiting for connection... 2025/04/05 09:43:59 packer.io plugin: Serving a plugin connection... 2025/04/05 09:43:59 [TRACE] Starting internal plugin packer-provisioner-ansible 2025/04/05 09:43:59 Starting plugin: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io []string{"/w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io", "plugin", "packer-provisioner-ansible"} 2025/04/05 09:43:59 Waiting for RPC address for: /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io 2025/04/05 09:43:59 Received unix RPC address for /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: addr is /tmp/packer-plugin4290876760 2025/04/05 09:43:59 packer.io plugin: [INFO] Packer version: 1.8.2 [go1.17.11 linux amd64] 2025/04/05 09:43:59 packer.io plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path 2025/04/05 09:43:59 packer.io plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/jenkins/.packerconfig 2025/04/05 09:43:59 packer.io plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig 2025/04/05 09:43:59 packer.io plugin: [INFO] Setting cache directory: /home/jenkins/.cache/packer 2025/04/05 09:43:59 packer.io plugin: args: []string{"packer-provisioner-ansible"} 2025/04/05 09:43:59 packer.io plugin: Plugin address: unix /tmp/packer-plugin4290876760 2025/04/05 09:43:59 packer.io plugin: Waiting for connection... 2025/04/05 09:43:59 packer.io plugin: Serving a plugin connection... 2025/04/05 09:43:59 Preparing build: openstack 2025/04/05 09:44:01 [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=e980e0b4-659c-d74f-8866-16d9d399a3bf&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2025/04/05 09:44:01 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=e980e0b4-659c-d74f-8866-16d9d399a3bf&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2025/04/05 09:44:02 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=e980e0b4-659c-d74f-8866-16d9d399a3bf&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2025/04/05 09:44:02 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=e980e0b4-659c-d74f-8866-16d9d399a3bf&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2025/04/05 09:44:02 packer.io plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=e980e0b4-659c-d74f-8866-16d9d399a3bf&version=1.8.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2025/04/05 09:44:04 Build debug mode: false 2025/04/05 09:44:04 Force build: false 2025/04/05 09:44:04 On error: 2025/04/05 09:44:04 Waiting on builds to complete... 2025/04/05 09:44:04 Starting build run: openstack 2025/04/05 09:44:04 Running builder: openstack 2025/04/05 09:44:04 [INFO] (telemetry) Starting builder openstack 2025/04/05 09:44:04 ui: ==> openstack: Loading flavor: v2-highcpu-1 2025/04/05 09:44:04 packer.io plugin: [INFO] Loading flavor by ID: v2-highcpu-1 2025/04/05 09:44:09 packer.io plugin: [ERROR] Failed to find flavor by ID: Resource not found 2025/04/05 09:44:09 packer.io plugin: [INFO] Loading flavor by name: v2-highcpu-1 2025/04/05 09:44:14 ui: openstack: Verified flavor. ID: c04abb7a-2b61-4ed3-8ce8-6c40ad9df750 2025/04/05 09:44:14 ui: ==> openstack: Creating temporary RSA SSH key for instance... 2025/04/05 09:44:18 ui: ==> openstack: Creating temporary keypair: packer_67f0fb64-716e-2736-da97-2df8ba66cef7 ... 2025/04/05 09:44:23 ui: ==> openstack: Created temporary keypair: packer_67f0fb64-716e-2736-da97-2df8ba66cef7 2025/04/05 09:44:23 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:} 2025/04/05 09:44:28 ui: openstack: Found Image ID: d28ae974-0ff8-4f14-8cbd-68dbd476ec79 2025/04/05 09:44:28 ui: ==> openstack: Creating volume... 2025/04/05 09:44:34 ui: ==> openstack: Waiting for volume packer_67f0fb64-e7a7-6002-6def-8c6f7733a6ea (volume id: 7d80ea01-e19f-47cb-bc72-a458137ab686) to become available... 2025/04/05 09:44:39 ui: openstack: Volume ID: 7d80ea01-e19f-47cb-bc72-a458137ab686 2025/04/05 09:44:39 ui: ==> openstack: Launching server... 2025/04/05 09:44:39 ui: ==> openstack: Launching server... 2025/04/05 09:44:45 ui: openstack: Server ID: 241fa3eb-608f-4166-8078-2761470c4d16 2025/04/05 09:44:45 packer.io plugin: server id: 241fa3eb-608f-4166-8078-2761470c4d16 2025/04/05 09:44:45 ui: ==> openstack: Waiting for server to become ready... 2025/04/05 09:44:45 packer.io plugin: Waiting for state to become: [ACTIVE] 2025/04/05 09:44:50 packer.io plugin: Waiting for state to become: [ACTIVE] currently BUILD (0%) 2025/04/05 09:44:57 packer.io plugin: [INFO] Not using winrm communicator, skipping get password... 2025/04/05 09:44:57 ui: openstack: Floating IP not required 2025/04/05 09:44:57 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:44:57 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:44:57 ui: ==> openstack: Using SSH communicator to connect: 10.30.87.205 2025/04/05 09:44:57 ui: ==> openstack: Waiting for SSH to become available... 2025/04/05 09:44:57 packer.io plugin: [INFO] Waiting for SSH, up to timeout: 5m0s 2025/04/05 09:44:57 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:44:57 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:00 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: no route to host 2025/04/05 09:45:05 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:05 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:05 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:10 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:10 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:10 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:15 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:15 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:15 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:20 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:20 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:20 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:25 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:25 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:25 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:30 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:30 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:30 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:35 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:35 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:35 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:40 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:40 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:43 packer.io plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.30.87.205:22: connect: connection refused 2025/04/05 09:45:48 packer.io plugin: [DEBUG] Detected address: 10.30.87.205 2025/04/05 09:45:48 packer.io plugin: [DEBUG] Using IP address 10.30.87.205 to connect 2025/04/05 09:45:48 packer.io plugin: [INFO] Attempting SSH connection to 10.30.87.205:22... 2025/04/05 09:45:48 packer.io plugin: [DEBUG] reconnecting to TCP connection for SSH 2025/04/05 09:45:48 packer.io plugin: [DEBUG] handshaking with SSH 2025/04/05 09:45:48 packer.io plugin: [DEBUG] handshake complete! 2025/04/05 09:45:48 packer.io plugin: [DEBUG] Opening new ssh session 2025/04/05 09:45:49 ui: ==> openstack: Connected to SSH! 2025/04/05 09:45:49 packer.io plugin: [INFO] agent forwarding enabled 2025/04/05 09:45:49 packer.io plugin: Running the provision hook 2025/04/05 09:45:49 [INFO] (telemetry) Starting provisioner shell 2025/04/05 09:45:49 ui: ==> openstack: Provisioning with shell script: common-packer/provision/install-python.sh 2025/04/05 09:45:49 packer.io plugin: Opening common-packer/provision/install-python.sh for reading 2025/04/05 09:45:49 [INFO] 3713 bytes written for 'uploadData' 2025/04/05 09:45:49 packer.io plugin: [INFO] 3713 bytes written for 'uploadData' 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Opening new ssh session 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Started SCP session, beginning transfers... 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Copying input data into temporary file so we can read the length 2025/04/05 09:45:49 packer.io plugin: [DEBUG] scp: Uploading script_6712.sh: perms=C0644 size=3713 2025/04/05 09:45:49 packer.io plugin: [DEBUG] SCP session complete, closing stdin pipe. 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Waiting for SSH session to complete. 2025/04/05 09:45:49 packer.io plugin: [DEBUG] scp stderr (length 32): Sink: C0644 3713 script_6712.sh 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Opening new ssh session 2025/04/05 09:45:49 packer.io plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_6712.sh 2025/04/05 09:45:49 [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Opening new ssh session 2025/04/05 09:45:49 packer.io plugin: [DEBUG] starting remote command: chmod +x /tmp/script_6712.sh; if [ "$UID" == "0" ]; then PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' '/tmp/script_6712.sh'; else PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' sudo -E '/tmp/script_6712.sh'; fi 2025/04/05 09:45:49 ui: openstack: ----> install-python.sh 2025/04/05 09:45:49 ui: openstack: Distro is NOT Ubuntu 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 [INFO] 0 bytes written for 'stderr' 2025/04/05 09:45:49 [INFO] 96 bytes written for 'stdout' 2025/04/05 09:45:49 [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] 0 bytes written for 'stderr' 2025/04/05 09:45:49 packer.io plugin: [INFO] 96 bytes written for 'stdout' 2025/04/05 09:45:49 ui: openstack: Distro is NOT CentOS 8 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 ui: openstack: /bin/sudo 2025/04/05 09:45:49 ui: openstack: sudo is /bin/sudo 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Opening new ssh session 2025/04/05 09:45:49 packer.io plugin: [DEBUG] starting remote command: rm -f /tmp/script_6712.sh 2025/04/05 09:45:49 [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [DEBUG] Opening new ssh session 2025/04/05 09:45:49 packer.io plugin: [DEBUG] starting remote command: rm -f 2025/04/05 09:45:49 [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC endpoint: Communicator ended with: 0 2025/04/05 09:45:49 packer.io plugin: [INFO] RPC client: Communicator ended with: 0 2025/04/05 09:45:49 [INFO] (telemetry) ending shell 2025/04/05 09:45:49 [INFO] (telemetry) Starting provisioner shell-local 2025/04/05 09:45:49 packer.io plugin: [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2025/04/05 09:45:49 ui: ==> openstack: Running local shell script: /tmp/packer-shell267443496 2025/04/05 09:45:49 packer.io plugin: [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' /tmp/packer-shell267443496 2025/04/05 09:45:49 packer.io plugin: [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='openstack' PACKER_BUILD_NAME='openstack' /tmp/packer-shell267443496] 2025/04/05 09:45:49 ui: openstack: ----> ansible-galaxy.sh 2025/04/05 09:45:54 ui: openstack: Setup pyenv: 2025/04/05 09:45:54 ui: openstack: system 2025/04/05 09:45:54 ui: openstack: * 3.8.13 (set by /opt/pyenv/version) 2025/04/05 09:45:54 ui: openstack: * 3.9.13 (set by /opt/pyenv/version) 2025/04/05 09:45:54 ui: openstack: * 3.10.6 (set by /opt/pyenv/version) 2025/04/05 09:45:58 ui: openstack: lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qT08 2025/04/05 09:45:58 ui: openstack: lf-activate-venv(): INFO: Save venv in file: /tmp/.ansible_venv 2025/04/05 09:46:16 ui: openstack: lf-activate-venv(): INFO: Installing: ansible~=2.9.27 2025/04/05 09:47:04 ui: openstack: lf-activate-venv(): INFO: Adding /tmp/venv-qT08/bin to PATH 2025/04/05 09:47:04 ui: openstack: Running: ansible-galaxy install -p .galaxy -r ./common-packer/requirements.yaml 2025/04/05 09:47:10 ui: openstack: - downloading role 'docker-install', owned by lfit 2025/04/05 09:47:20 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-docker-install/archive/master.tar.gz 2025/04/05 09:47:30 ui: openstack: - extracting lfit.docker-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.docker-install 2025/04/05 09:47:30 ui: openstack: - lfit.docker-install (master) was installed successfully 2025/04/05 09:47:30 ui: openstack: - downloading role 'haveged-install', owned by lfit 2025/04/05 09:47:41 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-haveged-install/archive/master.tar.gz 2025/04/05 09:47:51 ui: openstack: - extracting lfit.haveged-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.haveged-install 2025/04/05 09:47:51 ui: openstack: - lfit.haveged-install (master) was installed successfully 2025/04/05 09:47:51 ui: openstack: - downloading role 'java-install', owned by lfit 2025/04/05 09:48:02 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-java-install/archive/master.tar.gz 2025/04/05 09:48:13 ui: openstack: - extracting lfit.java-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.java-install 2025/04/05 09:48:13 ui: openstack: - lfit.java-install (master) was installed successfully 2025/04/05 09:48:13 ui: openstack: - downloading role 'lf-dev-libs', owned by lfit 2025/04/05 09:48:23 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-lf-dev-libs/archive/master.tar.gz 2025/04/05 09:48:34 ui: openstack: - extracting lfit.lf-dev-libs to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.lf-dev-libs 2025/04/05 09:48:34 ui: openstack: - lfit.lf-dev-libs (master) was installed successfully 2025/04/05 09:48:34 ui: openstack: - downloading role 'lf-recommended-tools', owned by lfit 2025/04/05 09:48:44 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-lf-recommended-tools/archive/master.tar.gz 2025/04/05 09:48:54 ui: openstack: - extracting lfit.lf-recommended-tools to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.lf-recommended-tools 2025/04/05 09:48:54 ui: openstack: - lfit.lf-recommended-tools (master) was installed successfully 2025/04/05 09:48:54 ui: openstack: - downloading role 'mono-install', owned by lfit 2025/04/05 09:49:05 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-mono-install/archive/master.tar.gz 2025/04/05 09:49:15 ui: openstack: - extracting lfit.mono-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.mono-install 2025/04/05 09:49:15 ui: openstack: - lfit.mono-install (master) was installed successfully 2025/04/05 09:49:15 ui: openstack: - downloading role 'packer-install', owned by lfit 2025/04/05 09:49:26 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-packer-install/archive/master.tar.gz 2025/04/05 09:49:36 ui: openstack: - extracting lfit.packer-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.packer-install 2025/04/05 09:49:36 ui: openstack: - lfit.packer-install (master) was installed successfully 2025/04/05 09:49:36 ui: openstack: - downloading role 'protobuf-install', owned by lfit 2025/04/05 09:49:46 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-protobuf-install/archive/master.tar.gz 2025/04/05 09:49:57 ui: openstack: - extracting lfit.protobuf-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.protobuf-install 2025/04/05 09:49:57 ui: openstack: - lfit.protobuf-install (master) was installed successfully 2025/04/05 09:49:57 ui: openstack: - downloading role 'puppet-install', owned by lfit 2025/04/05 09:50:07 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-puppet-install/archive/master.tar.gz 2025/04/05 09:50:17 ui: openstack: - extracting lfit.puppet-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.puppet-install 2025/04/05 09:50:17 ui: openstack: - lfit.puppet-install (master) was installed successfully 2025/04/05 09:50:17 ui: openstack: - downloading role 'python-install', owned by lfit 2025/04/05 09:50:23 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-python-install/archive/master.tar.gz 2025/04/05 09:50:34 ui: openstack: - extracting lfit.python-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.python-install 2025/04/05 09:50:34 ui: openstack: - lfit.python-install (master) was installed successfully 2025/04/05 09:50:34 ui: openstack: - downloading role 'shellcheck-install', owned by lfit 2025/04/05 09:50:44 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-shellcheck-install/archive/master.tar.gz 2025/04/05 09:50:55 ui: openstack: - extracting lfit.shellcheck-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.shellcheck-install 2025/04/05 09:50:55 ui: openstack: - lfit.shellcheck-install (master) was installed successfully 2025/04/05 09:50:55 ui: openstack: - downloading role 'sysstat-install', owned by lfit 2025/04/05 09:51:05 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-sysstat-install/archive/master.tar.gz 2025/04/05 09:51:15 ui: openstack: - extracting lfit.sysstat-install to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.sysstat-install 2025/04/05 09:51:15 ui: openstack: - lfit.sysstat-install (master) was installed successfully 2025/04/05 09:51:15 ui: openstack: - downloading role 'system-update', owned by lfit 2025/04/05 09:51:26 ui: openstack: - downloading role from https://github.com/lfit/ansible-roles-system-update/archive/master.tar.gz 2025/04/05 09:51:36 ui: openstack: - extracting lfit.system-update to /w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.system-update 2025/04/05 09:51:36 ui: openstack: - lfit.system-update (master) was installed successfully 2025/04/05 09:51:36 [INFO] (telemetry) ending shell-local 2025/04/05 09:51:36 [INFO] (telemetry) Starting provisioner ansible 2025/04/05 09:51:36 ui: ==> openstack: Provisioning with Ansible... 2025/04/05 09:51:36 ui: openstack: Setting up proxy adapter for Ansible.... 2025/04/05 09:51:36 packer.io plugin: Creating inventory file for Ansible run... 2025/04/05 09:51:36 packer.io plugin: SSH proxy: serving on 127.0.0.1:43577 2025/04/05 09:51:36 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-key1154978095 -i /tmp/packer-provisioner-ansible1186102771 /w/workspace/ci-management-packer-merge-centos-7-docker/packer/provision/local-docker.yaml 2025/04/05 09:51:37 ui: openstack: ERROR! couldn't resolve module/action 'community.general.alternatives'. This often indicates a misspelling, missing collection, or incorrect module path. 2025/04/05 09:51:37 ui: openstack:  2025/04/05 09:51:37 ui: openstack: The error appears to be in '/w/workspace/ci-management-packer-merge-centos-7-docker/packer/.galaxy/lfit.java-install/tasks/main.yml': line 12, column 7, but may 2025/04/05 09:51:37 ui: openstack: be elsewhere in the file depending on the exact syntax problem. 2025/04/05 09:51:37 ui: openstack:  2025/04/05 09:51:37 ui: openstack: The offending line appears to be: 2025/04/05 09:51:37 ui: openstack:  2025/04/05 09:51:37 ui: openstack:  block: 2025/04/05 09:51:37 ui: openstack:  - name: Set java alternatives 2025/04/05 09:51:37 ui: openstack:  ^ here 2025/04/05 09:51:37 [INFO] (telemetry) ending ansible 2025/04/05 09:51:37 packer.io plugin: shutting down the SSH proxy 2025/04/05 09:51:37 ui: ==> openstack: Provisioning step had errors: Running the cleanup provisioner, if present... 2025/04/05 09:51:37 ui: ==> openstack: Terminating the source server: 241fa3eb-608f-4166-8078-2761470c4d16 ... 2025/04/05 09:51:43 packer.io plugin: Waiting for state to become: [DELETED] 2025/04/05 09:51:48 packer.io plugin: [INFO] 404 on ServerStateRefresh, returning DELETED 2025/04/05 09:51:53 ui: ==> openstack: Deleting volume: 7d80ea01-e19f-47cb-bc72-a458137ab686 ... 2025/04/05 09:51:58 ui: ==> openstack: Deleting temporary keypair: packer_67f0fb64-716e-2736-da97-2df8ba66cef7 ... 2025/04/05 09:52:04 [INFO] (telemetry) ending openstack 2025/04/05 09:52:04 ui error: Build 'openstack' errored after 8 minutes 330 milliseconds: Error executing Ansible: Non-zero exit status: exit status 4 2025/04/05 09:52:04 ui: ==> Wait completed after 8 minutes 330 milliseconds 2025/04/05 09:52:04 machine readable: error-count []string{"1"} 2025/04/05 09:52:04 ui error: ==> Some builds didn't complete successfully and had errors: 2025/04/05 09:52:04 machine readable: openstack,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"} 2025/04/05 09:52:04 ui error: --> openstack: Error executing Ansible: Non-zero exit status: exit status 4 2025/04/05 09:52:04 ui: ==> Builds finished but no artifacts were created. 2025/04/05 09:52:04 [INFO] (telemetry) Finalizing. 2025/04/05 09:52:06 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post "https://checkpoint-api.hashicorp.com/v1/telemetry/packer": context deadline exceeded 2025/04/05 09:52:06 waiting for all plugin processes to complete... 2025/04/05 09:52:06 /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: plugin process exited 2025/04/05 09:52:06 /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: plugin process exited 2025/04/05 09:52:06 /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: plugin process exited 2025/04/05 09:52:06 /w/workspace/ci-management-packer-merge-centos-7-docker/bin/packer.io: plugin process exited