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