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