Started by GitHub push by MightyNerdEric Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-2c-1g-1893 (centos7-builder-2c-1g) in workspace /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-1rTUCupymwWC/agent.8031 SSH_AGENT_PID=8033 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker@tmp/private_key_14123533108405383049.key (/w/workspace/ci-management-packer-merge-ubuntu-20.04-docker@tmp/private_key_14123533108405383049.key) [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) The recommended git tool is: NONE using credential edgex-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-management > git init /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-management > git --version # timeout=10 > git --version # 'git version 2.36.1' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker@tmp/jenkins-gitclient-ssh9147009258481709068.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-management # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-management # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-management using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker@tmp/jenkins-gitclient-ssh3766827215416752318.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-management +refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 5ef09fd076b4755274b56006e6a6f7411c06b7c3 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ef09fd076b4755274b56006e6a6f7411c06b7c3 # timeout=10 Commit message: "Merge pull request #686 from MightyNerdEric/add-s7-cc-token" > git rev-list --no-walk c3b5abb4317db6ab95f924aa5aefffa9aa5f6c37 # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.packer/common-packer.url # timeout=10 > git config -f .gitmodules --get submodule.packer/common-packer.path # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive packer/common-packer # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf provisioning config files... copy managed file [ansible.cfg] to file:/home/jenkins/.ansible/ansible.cfg [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] provisioning config files... copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content OS_CLOUD=vex [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [packer-cloud-env-hcl] to file:/home/jenkins/.config/jenkins_jobs/cloud-env.pkrvars.hcl [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PACKER_TEMPLATE=docker PACKER_PLATFORM=ubuntu-20.04 PACKER_VERSION=1.9.1 PACKER_BUILDER=openstack UPDATE_CLOUD_IMAGE=False [EnvInject] - Variables injected successfully. [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins9594626867636369220.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker 2024-02-28 22:18:13 URL:https://releases.hashicorp.com/packer/1.9.1/packer_1.9.1_linux_amd64.zip [23043796/23043796] -> "packer_1.9.1_linux_amd64.zip" [1] Archive: packer_1.9.1_linux_amd64.zip inflating: /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/bin/packer /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker ---> packer-build.sh packer init templates/docker.pkr.hcl ... Installed plugin github.com/hashicorp/openstack v1.1.1 in "/home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.1_x5.0_linux_amd64" Warning: Undefined variable The variable "stack_tenant" was set but was not declared as an input variable. To declare variable "stack_tenant" place this block in one of your .pkr.hcl files, such as variables.pkr.hcl variable "stack_tenant" { type = string default = null } Warning: Undefined variable The variable "stack_network" was set but was not declared as an input variable. To declare variable "stack_network" place this block in one of your .pkr.hcl files, such as variables.pkr.hcl variable "stack_network" { type = string default = null } Warning: Undefined variable The variable "stack_user" was set but was not declared as an input variable. To declare variable "stack_user" place this block in one of your .pkr.hcl files, such as variables.pkr.hcl variable "stack_user" { type = string default = null } Warning: Undefined variable The variable "stack_pass" was set but was not declared as an input variable. To declare variable "stack_pass" place this block in one of your .pkr.hcl files, such as variables.pkr.hcl variable "stack_pass" { type = string default = null } The configuration is valid. + [[ -n '' ]] + [[ https://github.com/edgexfoundry/ci-management =~ https://github.com ]] ++ git log --no-merges -1 --format=%H + LAST_CHANGE_SHA=aa883cb5e605250cf8ddba5ac3dd90615d38426b ++ echo https://github.com/edgexfoundry/ci-management ++ sed -E 's#(www.)?github.com#api.github.com/repos#' + API_BASE=https://api.github.com/repos/edgexfoundry/ci-management + CONTEXT_VALUE='"Packer ubuntu-20.04-docker Verify Build"' + JQ_QUERY='.[] | select(.state == "success" and .context == "Packer ubuntu-20.04-docker Verify Build")' ++ curl https://api.github.com/repos/edgexfoundry/ci-management/statuses/aa883cb5e605250cf8ddba5ac3dd90615d38426b ++ jq '.[] | select(.state == "success" and .context == "Packer ubuntu-20.04-docker Verify Build")' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10171 100 10171 0 0 43998 0 --:--:-- --:--:-- --:--:-- 44030 + STATUS= + [[ -n '' ]] + set +x ==> openstack.docker: Loading flavor: v2-highcpu-1 openstack.docker: Verified flavor. ID: c04abb7a-2b61-4ed3-8ce8-6c40ad9df750 ==> openstack.docker: Creating temporary RSA SSH key for instance... ==> openstack.docker: Creating temporary keypair: packer_65dfb129-ede6-ebce-70c0-c99fe16a6dc4 ... ==> openstack.docker: Created temporary keypair: packer_65dfb129-ede6-ebce-70c0-c99fe16a6dc4 openstack.docker: Found Image ID: 0f154d1e-6d2b-4cfd-ac09-f5c52730cc03 ==> openstack.docker: Creating volume... ==> openstack.docker: Waiting for volume packer_65dfb129-fcf8-f9f6-ea9e-772780ced891 (volume id: 93914417-5a83-4b1b-934e-0a62079f5450) to become available... openstack.docker: Volume ID: 93914417-5a83-4b1b-934e-0a62079f5450 ==> openstack.docker: Launching server... ==> openstack.docker: Launching server... openstack.docker: Server ID: 606f10a4-7d58-499d-875f-c00932b8b82c ==> openstack.docker: Waiting for server to become ready... openstack.docker: Floating IP not required ==> openstack.docker: Using SSH communicator to connect: 10.30.122.57 ==> openstack.docker: Waiting for SSH to become available... ==> openstack.docker: Connected to SSH! ==> openstack.docker: Provisioning with shell script: common-packer/provision/install-python.sh openstack.docker: ----> install-python.sh openstack.docker: Distro is Ubuntu openstack.docker: NetSelect version to install is netselect_0.3.ds1-28+b1_amd64.deb openstack.docker: Install netselect from debian to choose a mirror. ==> openstack.docker: ==> openstack.docker: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.docker: openstack.docker: Reading package lists... openstack.docker: Building dependency tree... openstack.docker: Reading state information... openstack.docker: wget is already the newest version (1.20.3-1ubuntu2). openstack.docker: wget set to manually installed. openstack.docker: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ==> openstack.docker: --2024-02-28 22:18:57-- http://ftp.au.debian.org/debian/pool/main/n/netselect/netselect_0.3.ds1-28+b1_amd64.deb ==> openstack.docker: Resolving ftp.au.debian.org (ftp.au.debian.org)... 103.84.224.37, 2400:a4c0::25 ==> openstack.docker: Connecting to ftp.au.debian.org (ftp.au.debian.org)|103.84.224.37|:80... connected. ==> openstack.docker: HTTP request sent, awaiting response... 200 OK ==> openstack.docker: Length: 31920 (31K) [application/x-debian-package] ==> openstack.docker: Saving to: ‘netselect_0.3.ds1-28+b1_amd64.deb’ ==> openstack.docker: ==> openstack.docker: 0K .......... .......... .......... . 100% 107K=0.3s ==> openstack.docker: ==> openstack.docker: 2024-02-28 22:18:58 (107 KB/s) - ‘netselect_0.3.ds1-28+b1_amd64.deb’ saved [31920/31920] ==> openstack.docker: openstack.docker: Selecting previously unselected package netselect. openstack.docker: (Reading database ... 63795 files and directories currently installed.) openstack.docker: Preparing to unpack netselect_0.3.ds1-28+b1_amd64.deb ... openstack.docker: Unpacking netselect (0.3.ds1-28+b1) ... openstack.docker: Setting up netselect (0.3.ds1-28+b1) ... ==> openstack.docker: debconf: unable to initialize frontend: Dialog ==> openstack.docker: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) ==> openstack.docker: debconf: falling back to frontend: Readline ==> openstack.docker: debconf: unable to initialize frontend: Readline ==> openstack.docker: debconf: (This frontend requires a controlling tty.) ==> openstack.docker: debconf: falling back to frontend: Teletype openstack.docker: Processing triggers for man-db (2.9.1-1) ... ==> openstack.docker: ==> openstack.docker: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.docker: openstack.docker: Reading package lists... openstack.docker: Building dependency tree... openstack.docker: Reading state information... openstack.docker: netselect is already the newest version (0.3.ds1-28+b1). openstack.docker: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. openstack.docker: Old mirror : http://nova.clouds.archive.ubuntu.com/ubuntu/ openstack.docker: New mirror : http://mirrors.layeronline.com/ubuntu/ openstack.docker: Update and Remove unwanted packages... ==> openstack.docker: ==> openstack.docker: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.docker: ==> openstack.docker: ==> openstack.docker: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.docker: openstack.docker: Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] openstack.docker: Get:1 https://mirrors.edge.kernel.org/ubuntu focal InRelease [265 kB] openstack.docker: Get:3 https://mirrors.edge.kernel.org/ubuntu focal-updates InRelease [114 kB] openstack.docker: Get:4 https://mirrors.edge.kernel.org/ubuntu focal-backports InRelease [108 kB] openstack.docker: Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2752 kB] openstack.docker: Get:6 https://mirrors.edge.kernel.org/ubuntu focal/main amd64 Packages [970 kB] openstack.docker: Get:7 https://mirrors.edge.kernel.org/ubuntu focal/main Translation-en [506 kB] openstack.docker: Get:8 https://mirrors.edge.kernel.org/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB] openstack.docker: Get:9 https://mirrors.edge.kernel.org/ubuntu focal/restricted amd64 Packages [22.0 kB] openstack.docker: Get:10 https://mirrors.edge.kernel.org/ubuntu focal/restricted Translation-en [6212 B] openstack.docker: Get:11 https://mirrors.edge.kernel.org/ubuntu focal/restricted amd64 c-n-f Metadata [392 B] openstack.docker: Get:12 https://mirrors.edge.kernel.org/ubuntu focal/universe amd64 Packages [8628 kB] openstack.docker: Get:13 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [418 kB] openstack.docker: Get:14 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.2 kB] openstack.docker: Get:15 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2606 kB] openstack.docker: Get:16 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [363 kB] openstack.docker: Get:17 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [552 B] openstack.docker: Get:18 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [943 kB] openstack.docker: Get:19 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [198 kB] openstack.docker: Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [19.2 kB] openstack.docker: Get:21 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [23.9 kB] openstack.docker: Get:22 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5796 B] openstack.docker: Get:23 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [548 B] openstack.docker: Get:24 https://mirrors.edge.kernel.org/ubuntu focal/universe Translation-en [5124 kB] openstack.docker: Get:25 https://mirrors.edge.kernel.org/ubuntu focal/universe amd64 c-n-f Metadata [265 kB] openstack.docker: Get:26 https://mirrors.edge.kernel.org/ubuntu focal/multiverse amd64 Packages [144 kB] openstack.docker: Get:27 https://mirrors.edge.kernel.org/ubuntu focal/multiverse Translation-en [104 kB] openstack.docker: Get:28 https://mirrors.edge.kernel.org/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B] openstack.docker: Get:29 https://mirrors.edge.kernel.org/ubuntu focal-updates/main amd64 Packages [3129 kB] openstack.docker: Get:30 https://mirrors.edge.kernel.org/ubuntu focal-updates/main Translation-en [501 kB] openstack.docker: Get:31 https://mirrors.edge.kernel.org/ubuntu focal-updates/main amd64 c-n-f Metadata [17.2 kB] openstack.docker: Get:32 https://mirrors.edge.kernel.org/ubuntu focal-updates/restricted amd64 Packages [2723 kB] openstack.docker: Get:33 https://mirrors.edge.kernel.org/ubuntu focal-updates/restricted Translation-en [379 kB] openstack.docker: Get:34 https://mirrors.edge.kernel.org/ubuntu focal-updates/restricted amd64 c-n-f Metadata [552 B] openstack.docker: Get:35 https://mirrors.edge.kernel.org/ubuntu focal-updates/universe amd64 Packages [1167 kB] openstack.docker: Get:36 https://mirrors.edge.kernel.org/ubuntu focal-updates/universe Translation-en [280 kB] openstack.docker: Get:37 https://mirrors.edge.kernel.org/ubuntu focal-updates/universe amd64 c-n-f Metadata [25.7 kB] openstack.docker: Get:38 https://mirrors.edge.kernel.org/ubuntu focal-updates/multiverse amd64 Packages [26.1 kB] openstack.docker: Get:39 https://mirrors.edge.kernel.org/ubuntu focal-updates/multiverse Translation-en [7768 B] openstack.docker: Get:40 https://mirrors.edge.kernel.org/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [620 B] openstack.docker: Get:41 https://mirrors.edge.kernel.org/ubuntu focal-backports/main amd64 Packages [45.7 kB] openstack.docker: Get:42 https://mirrors.edge.kernel.org/ubuntu focal-backports/main Translation-en [16.3 kB] openstack.docker: Get:43 https://mirrors.edge.kernel.org/ubuntu focal-backports/main amd64 c-n-f Metadata [1420 B] openstack.docker: Get:44 https://mirrors.edge.kernel.org/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B] openstack.docker: Get:45 https://mirrors.edge.kernel.org/ubuntu focal-backports/universe amd64 Packages [25.0 kB] openstack.docker: Get:46 https://mirrors.edge.kernel.org/ubuntu focal-backports/universe Translation-en [16.3 kB] openstack.docker: Get:47 https://mirrors.edge.kernel.org/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B] openstack.docker: Get:48 https://mirrors.edge.kernel.org/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B] openstack.docker: Fetched 32.1 MB in 5s (5859 kB/s) openstack.docker: Reading package lists... openstack.docker: Building dependency tree... openstack.docker: Reading state information... openstack.docker: 232 packages can be upgraded. Run 'apt list --upgradable' to see them. openstack.docker: Installing Python... openstack.docker: Package: python-is-python3 openstack.docker: Architecture: all openstack.docker: Version: 3.8.2-4 openstack.docker: Multi-Arch: allowed openstack.docker: Priority: optional openstack.docker: Section: python openstack.docker: Source: what-is-python (4) openstack.docker: Origin: Ubuntu openstack.docker: Maintainer: Dimitri John Ledkov openstack.docker: Bugs: https://bugs.launchpad.net/ubuntu/+filebug openstack.docker: Installed-Size: 10 openstack.docker: Depends: python3 openstack.docker: Breaks: python, python-is-python2, python-is-python2-but-deprecated openstack.docker: Replaces: python, python-is-python2, python-is-python2-but-deprecated openstack.docker: Filename: pool/main/w/what-is-python/python-is-python3_3.8.2-4_all.deb openstack.docker: Size: 2364 openstack.docker: MD5sum: 72d89bf720c220a183e9fa666d42073d openstack.docker: SHA1: 4f5aa631c3c0efa778fe29cb97e5bd249775c96d openstack.docker: SHA256: 3d9f8a6c0d9c0726d4ffa0e63805bf6e358a55e79d66fdb325d4df6d920a3b89 openstack.docker: Description-en: symlinks /usr/bin/python to python3 openstack.docker: In Ubuntu, all python packages use explicit python3 or python2 openstack.docker: interpreter and do not use unversioned /usr/bin/python at all. Some openstack.docker: third-party code is now predominantly python3 based, yet may use openstack.docker: /usr/bin/python. openstack.docker: . openstack.docker: This is a convenience package which ships a symlink to point openstack.docker: the /usr/bin/python interpreter at the current default python3. It may openstack.docker: improve compatibility with other modern systems, whilst breaking some openstack.docker: obsolete or 3rd-party software. openstack.docker: . openstack.docker: No packages may declare dependencies on this package. openstack.docker: Description-md5: 5d9334f25f93f880e351bd3490ffeb4e openstack.docker: Cnf-Ignore-Commands: python openstack.docker: openstack.docker: Reading package lists... openstack.docker: Building dependency tree... openstack.docker: Reading state information... openstack.docker: The following NEW packages will be installed: openstack.docker: python-is-python3 openstack.docker: 0 upgraded, 1 newly installed, 0 to remove and 232 not upgraded. openstack.docker: Need to get 2364 B of archives. openstack.docker: After this operation, 10.2 kB of additional disk space will be used. openstack.docker: Get:1 https://mirrors.edge.kernel.org/ubuntu focal/main amd64 python-is-python3 all 3.8.2-4 [2364 B] ==> openstack.docker: debconf: unable to initialize frontend: Dialog ==> openstack.docker: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) ==> openstack.docker: debconf: falling back to frontend: Readline ==> openstack.docker: debconf: unable to initialize frontend: Readline ==> openstack.docker: debconf: (This frontend requires a controlling tty.) ==> openstack.docker: debconf: falling back to frontend: Teletype ==> openstack.docker: dpkg-preconfigure: unable to re-open stdin: openstack.docker: Fetched 2364 B in 0s (18.2 kB/s) openstack.docker: Selecting previously unselected package python-is-python3. openstack.docker: (Reading database ... 63807 files and directories currently installed.) openstack.docker: Preparing to unpack .../python-is-python3_3.8.2-4_all.deb ... openstack.docker: Unpacking python-is-python3 (3.8.2-4) ... openstack.docker: Setting up python-is-python3 (3.8.2-4) ... openstack.docker: python3 is /usr/bin/python3 openstack.docker: Distro is NOT CentOS 8 openstack.docker: /usr/bin/sudo openstack.docker: sudo is /usr/bin/sudo ==> openstack.docker: Running local shell script: /tmp/packer-shell2106777901 openstack.docker: ----> ansible-galaxy.sh openstack.docker: Setup pyenv: openstack.docker: system openstack.docker: * 3.8.13 (set by /opt/pyenv/version) openstack.docker: * 3.9.13 (set by /opt/pyenv/version) openstack.docker: lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Zn50 openstack.docker: lf-activate-venv(): INFO: Save venv in file: /tmp/.ansible_venv openstack.docker: lf-activate-venv(): INFO: Installing: ansible~=2.9.27 openstack.docker: lf-activate-venv(): INFO: Adding /tmp/venv-Zn50/bin to PATH openstack.docker: Running: ansible-galaxy install -p .galaxy -r ./common-packer/requirements.yaml openstack.docker: - downloading role 'docker-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-docker-install/archive/master.tar.gz openstack.docker: - extracting lfit.docker-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.docker-install openstack.docker: - lfit.docker-install (master) was installed successfully openstack.docker: - downloading role 'haveged-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-haveged-install/archive/master.tar.gz openstack.docker: - extracting lfit.haveged-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.haveged-install openstack.docker: - lfit.haveged-install (master) was installed successfully openstack.docker: - downloading role 'java-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-java-install/archive/master.tar.gz openstack.docker: - extracting lfit.java-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.java-install openstack.docker: - lfit.java-install (master) was installed successfully openstack.docker: - downloading role 'lf-dev-libs', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-lf-dev-libs/archive/master.tar.gz openstack.docker: - extracting lfit.lf-dev-libs to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.lf-dev-libs openstack.docker: - lfit.lf-dev-libs (master) was installed successfully openstack.docker: - downloading role 'lf-recommended-tools', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-lf-recommended-tools/archive/master.tar.gz openstack.docker: - extracting lfit.lf-recommended-tools to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.lf-recommended-tools openstack.docker: - lfit.lf-recommended-tools (master) was installed successfully openstack.docker: - downloading role 'mono-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-mono-install/archive/master.tar.gz openstack.docker: - extracting lfit.mono-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.mono-install openstack.docker: - lfit.mono-install (master) was installed successfully openstack.docker: - downloading role 'packer-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-packer-install/archive/master.tar.gz openstack.docker: - extracting lfit.packer-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.packer-install openstack.docker: - lfit.packer-install (master) was installed successfully openstack.docker: - downloading role 'protobuf-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-protobuf-install/archive/master.tar.gz openstack.docker: - extracting lfit.protobuf-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.protobuf-install openstack.docker: - lfit.protobuf-install (master) was installed successfully openstack.docker: - downloading role 'puppet-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-puppet-install/archive/master.tar.gz openstack.docker: - extracting lfit.puppet-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.puppet-install openstack.docker: - lfit.puppet-install (master) was installed successfully openstack.docker: - downloading role 'python-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-python-install/archive/master.tar.gz openstack.docker: - extracting lfit.python-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.python-install openstack.docker: - lfit.python-install (master) was installed successfully openstack.docker: - downloading role 'shellcheck-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-shellcheck-install/archive/master.tar.gz openstack.docker: - extracting lfit.shellcheck-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.shellcheck-install openstack.docker: - lfit.shellcheck-install (master) was installed successfully openstack.docker: - downloading role 'sysstat-install', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-sysstat-install/archive/master.tar.gz openstack.docker: - extracting lfit.sysstat-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.sysstat-install openstack.docker: - lfit.sysstat-install (master) was installed successfully openstack.docker: - downloading role 'system-update', owned by lfit openstack.docker: - downloading role from https://github.com/lfit/ansible-roles-system-update/archive/master.tar.gz openstack.docker: - extracting lfit.system-update to /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.system-update openstack.docker: - lfit.system-update (master) was installed successfully ==> openstack.docker: Provisioning with Ansible... openstack.docker: Setting up proxy adapter for Ansible.... ==> openstack.docker: Executing Ansible: ./common-packer/ansible-playbook.sh -e packer_build_name="docker" -e packer_builder_type=openstack --ssh-extra-args '-o IdentitiesOnly=yes' --ssh-extra-args -o IdentitiesOnly=yes -o HostKeyAlgorithms=+ssh-rsa -e ansible_ssh_private_key_file=/tmp/ansible-key443570591 -i /tmp/packer-provisioner-ansible1738300718 /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/provision/local-docker.yaml openstack.docker: ERROR! couldn't resolve module/action 'community.general.alternatives'. This often indicates a misspelling, missing collection, or incorrect module path. openstack.docker:  openstack.docker: The error appears to be in '/w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/packer/.galaxy/lfit.java-install/tasks/main.yml': line 12, column 7, but may openstack.docker: be elsewhere in the file depending on the exact syntax problem. openstack.docker:  openstack.docker: The offending line appears to be: openstack.docker:  openstack.docker:  block: openstack.docker:  - name: Set java alternatives openstack.docker:  ^ here ==> openstack.docker: Provisioning step had errors: Running the cleanup provisioner, if present... ==> openstack.docker: Terminating the source server: 606f10a4-7d58-499d-875f-c00932b8b82c ... ==> openstack.docker: Deleting volume: 93914417-5a83-4b1b-934e-0a62079f5450 ... ==> openstack.docker: Deleting temporary keypair: packer_65dfb129-ede6-ebce-70c0-c99fe16a6dc4 ... Build 'openstack.docker' errored after 2 minutes 1 second: Error executing Ansible: Non-zero exit status: exit status 4 ==> Wait completed after 2 minutes 1 second ==> Some builds didn't complete successfully and had errors: --> openstack.docker: Error executing Ansible: Non-zero exit status: exit status 4 ==> Builds finished but no artifacts were created. Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 8033 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins7533977746226310495.sh ---> sysstat.sh [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins14360723484594857949.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/ci-management-packer-merge-ubuntu-20.04-docker + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker ']' + mkdir -p /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/archives/ [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins5699263352150782882.sh ---> capture-instance-metadata.sh Setup pyenv: system * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nj4r lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-nj4r/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins688111380447978220.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-packer-merge-ubuntu-20.04-docker@tmp/config14170969994771497406tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins1400214357634639970.sh ---> create-netrc.sh [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins13333384717817982262.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nj4r from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-nj4r/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.9.13 pip 24.0 from /tmp/venv-nj4r/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.52 botocore==1.34.52 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.4.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins1468228747595932675.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash /tmp/jenkins10116959085031436701.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nj4r from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-nj4r/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [ci-management-packer-merge-ubuntu-20.04-docker] $ /bin/bash -l /tmp/jenkins10823453249188411222.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nj4r from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-nj4r/bin to PATH INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/ci-management-packer-merge-ubuntu-20.04-docker/44 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-2c-1g-1893.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 3.9G 17M 3.9G 1% /run tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/vda1 40G 6.1G 34G 16% / tmpfs 783M 0 783M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 7821 525 5054 16 2241 6997 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:44:02:d3 brd ff:ff:ff:ff:ff:ff inet 10.30.123.93/23 brd 10.30.123.255 scope global dynamic eth0 valid_lft 86130sec preferred_lft 86130sec inet6 fe80::f816:3eff:fe44:2d3/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 3.10.0-1160.76.1.el7.x86_64 (centos-7-builder-632a22cb-d922-16a5-8334-39b2c44d85fc.novalocal) 02/28/2024 _x86_64_ (2 CPU) 10:17:36 PM LINUX RESTART 10:18:01 PM tps rtps wtps bread/s bwrtn/s 10:19:01 PM 66.47 7.68 58.79 1779.35 7130.70 10:20:01 PM 53.71 8.78 44.93 825.45 3489.86 10:21:01 PM 295.82 1.92 293.90 161.39 10202.72 10:22:01 PM 218.62 0.37 218.25 65.16 7641.36 Average: 158.65 4.68 153.97 707.85 7116.18 10:18:01 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:19:01 PM 5813060 2195848 27.42 2620 1621852 884068 9.76 531172 1424360 52 10:20:01 PM 5173492 2835416 35.40 2620 2075408 945908 10.44 833620 1635604 394832 10:21:01 PM 5219752 2789156 34.83 2620 2099428 659556 7.28 883996 1567776 175560 10:22:01 PM 5193780 2815128 35.15 2620 2160880 595240 6.57 822944 1628584 95736 Average: 5350021 2658887 33.20 2620 1989392 771193 8.51 767933 1564081 166545 10:18:01 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 10:19:01 PM eth0 261.78 172.49 1219.93 59.06 0.00 0.00 0.00 10:19:01 PM lo 0.05 0.05 0.00 0.00 0.00 0.00 0.00 10:20:01 PM eth0 34.78 23.65 477.93 2.87 0.00 0.00 0.00 10:20:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:01 PM eth0 50.11 39.91 553.49 7.64 0.00 0.00 0.00 10:21:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:22:01 PM eth0 37.28 28.83 301.62 8.14 0.00 0.00 0.00 10:22:01 PM lo 0.03 0.03 0.00 0.00 0.00 0.00 0.00 Average: eth0 95.99 66.22 638.25 19.43 0.00 0.00 0.00 Average: lo 0.02 0.02 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 3.10.0-1160.76.1.el7.x86_64 (centos-7-builder-632a22cb-d922-16a5-8334-39b2c44d85fc.novalocal) 02/28/2024 _x86_64_ (2 CPU) 10:17:36 PM LINUX RESTART 10:18:01 PM CPU %user %nice %system %iowait %steal %idle 10:19:01 PM all 15.31 0.00 1.43 2.45 0.07 80.74 10:19:01 PM 0 13.19 0.00 1.67 1.69 0.09 83.36 10:19:01 PM 1 17.41 0.00 1.20 3.20 0.07 78.12 10:20:01 PM all 21.76 0.00 4.00 0.98 0.08 73.18 10:20:01 PM 0 14.55 0.00 2.81 0.51 0.07 82.06 10:20:01 PM 1 29.09 0.00 5.21 1.47 0.07 64.16 10:21:01 PM all 23.72 0.00 2.92 9.87 0.10 63.39 10:21:01 PM 0 10.67 0.00 2.20 10.26 0.10 76.77 10:21:01 PM 1 37.21 0.00 3.68 9.44 0.11 49.56 10:22:01 PM all 34.76 0.00 3.11 5.98 0.11 56.04 10:22:01 PM 0 30.10 0.00 3.03 5.79 0.10 60.98 10:22:01 PM 1 39.49 0.00 3.15 6.18 0.12 51.05 Average: all 23.81 0.00 2.86 4.80 0.09 68.44 Average: 0 17.04 0.00 2.42 4.55 0.09 75.89 Average: 1 30.68 0.00 3.30 5.04 0.09 60.88