Started by user Jessica Wagantall Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-1010 (centos7-builder-1c-1g) in workspace /w/workspace/ci-management-packer-merge-ubuntu-18.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-QMNsREZUjNFg/agent.1588 SSH_AGENT_PID=1589 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker@tmp/private_key_827259778354881669.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management > git init /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management > git --version # timeout=10 > git --version # 'git version 2.36.6' using GIT_SSH to set credentials jenkins [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-18.04-docker@tmp/jenkins-gitclient-ssh11477573092005050761.key > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 43a6ecfd3dbf5efced793711f53decbb52b7703c (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 43a6ecfd3dbf5efced793711f53decbb52b7703c # timeout=10 Commit message: "Fix: Define ansible_user in local-docker provisioning file" > git rev-list --no-walk 43a6ecfd3dbf5efced793711f53decbb52b7703c # 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-18.04 PACKER_VERSION=1.9.1 PACKER_BUILDER=openstack UPDATE_CLOUD_IMAGE=False [EnvInject] - Variables injected successfully. [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins3484031042899484452.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker 2024-02-06 18:07:53 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-18.04-docker/bin/packer /w/workspace/ci-management-packer-merge-ubuntu-18.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 "cloud_availability_zone" was set but was not declared as an input variable. To declare variable "cloud_availability_zone" place this block in one of your .pkr.hcl files, such as variables.pkr.hcl variable "cloud_availability_zone" { type = string default = null } The configuration is valid. + [[ -n https://gerrit.o-ran-sc.org/r ]] + [[ -n '' ]] + [[ '' =~ https://github.com ]] + 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_65c2757e-48f4-a4ae-eb0c-d88aac8989ab ... ==> openstack.docker: Created temporary keypair: packer_65c2757e-48f4-a4ae-eb0c-d88aac8989ab openstack.docker: Found Image ID: dfc6c440-631c-4b27-9b6a-4b1e488276ff ==> openstack.docker: Creating volume... ==> openstack.docker: Waiting for volume packer_65c2757e-fb43-8f93-3489-1582d8013146 (volume id: 48921f7d-68f4-4a36-90c7-6ee7e59b6ab9) to become available... openstack.docker: Volume ID: 48921f7d-68f4-4a36-90c7-6ee7e59b6ab9 ==> openstack.docker: Launching server... ==> openstack.docker: Launching server... openstack.docker: Server ID: 3511d841-a27d-4e9f-a200-7fecc24cd8f4 ==> openstack.docker: Waiting for server to become ready... openstack.docker: Floating IP not required ==> openstack.docker: Using SSH communicator to connect: 10.32.7.114 ==> 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.19.4-1ubuntu2.2). 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-06 18:08:46-- 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% 191K=0.2s ==> openstack.docker: ==> openstack.docker: 2024-02-06 18:08:47 (191 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 ... 60491 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.8.3-2ubuntu0.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://mirror.us-sc.kamatera.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:1 http://mirror.us-sc.kamatera.com/ubuntu bionic InRelease [242 kB] openstack.docker: Get:2 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates InRelease [88.7 kB] openstack.docker: Get:3 http://mirror.us-sc.kamatera.com/ubuntu bionic-backports InRelease [83.3 kB] openstack.docker: Get:4 http://mirror.us-sc.kamatera.com/ubuntu bionic/main amd64 Packages [1019 kB] openstack.docker: Get:5 http://mirror.us-sc.kamatera.com/ubuntu bionic/main Translation-en [516 kB] openstack.docker: Get:6 http://mirror.us-sc.kamatera.com/ubuntu bionic/restricted amd64 Packages [9184 B] openstack.docker: Get:7 http://mirror.us-sc.kamatera.com/ubuntu bionic/restricted Translation-en [3584 B] openstack.docker: Get:8 http://mirror.us-sc.kamatera.com/ubuntu bionic/universe amd64 Packages [8570 kB] openstack.docker: Get:9 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] openstack.docker: Get:10 http://mirror.us-sc.kamatera.com/ubuntu bionic/universe Translation-en [4941 kB] openstack.docker: Get:11 http://mirror.us-sc.kamatera.com/ubuntu bionic/multiverse amd64 Packages [151 kB] openstack.docker: Get:12 http://mirror.us-sc.kamatera.com/ubuntu bionic/multiverse Translation-en [108 kB] openstack.docker: Get:13 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/main amd64 Packages [3045 kB] openstack.docker: Get:14 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/main Translation-en [554 kB] openstack.docker: Get:15 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB] openstack.docker: Get:16 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/restricted Translation-en [187 kB] openstack.docker: Get:17 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/universe amd64 Packages [1915 kB] openstack.docker: Get:18 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/universe Translation-en [421 kB] openstack.docker: Get:19 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB] openstack.docker: Get:20 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/multiverse Translation-en [6088 B] openstack.docker: Get:21 http://mirror.us-sc.kamatera.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB] openstack.docker: Get:22 http://mirror.us-sc.kamatera.com/ubuntu bionic-backports/main Translation-en [14.6 kB] openstack.docker: Get:23 http://mirror.us-sc.kamatera.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB] openstack.docker: Get:24 http://mirror.us-sc.kamatera.com/ubuntu bionic-backports/universe Translation-en [8668 B] openstack.docker: Get:25 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2717 kB] openstack.docker: Get:26 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [467 kB] openstack.docker: Get:27 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1317 kB] openstack.docker: Get:28 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [182 kB] openstack.docker: Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1303 kB] openstack.docker: Get:30 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [308 kB] openstack.docker: Get:31 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB] openstack.docker: Get:32 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [3928 B] openstack.docker: Fetched 29.7 MB in 5s (6011 kB/s) openstack.docker: Reading package lists... openstack.docker: Building dependency tree... openstack.docker: Reading state information... openstack.docker: 130 packages can be upgraded. Run 'apt list --upgradable' to see them. openstack.docker: Installing Python... ==> openstack.docker: E: No packages found openstack.docker: Reading package lists... openstack.docker: Building dependency tree... openstack.docker: Reading state information... openstack.docker: The following additional packages will be installed: openstack.docker: libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python2.7 openstack.docker: python2.7-minimal openstack.docker: Suggested packages: openstack.docker: python-doc python-tk python2.7-doc binutils binfmt-support openstack.docker: The following NEW packages will be installed: openstack.docker: libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python openstack.docker: python-minimal python2.7 python2.7-minimal openstack.docker: 0 upgraded, 7 newly installed, 0 to remove and 130 not upgraded. openstack.docker: Need to get 3972 kB of archives. openstack.docker: After this operation, 16.8 MB of additional disk space will be used. openstack.docker: Get:1 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04ubuntu1.11 [335 kB] openstack.docker: Get:2 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1.11 [1294 kB] openstack.docker: Get:3 http://mirror.us-sc.kamatera.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB] openstack.docker: Get:4 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04ubuntu1.11 [1919 kB] openstack.docker: Get:5 http://mirror.us-sc.kamatera.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1.11 [248 kB] openstack.docker: Get:6 http://mirror.us-sc.kamatera.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7620 B] openstack.docker: Get:7 http://mirror.us-sc.kamatera.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB] ==> 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 3972 kB in 0s (48.7 MB/s) openstack.docker: Selecting previously unselected package libpython2.7-minimal:amd64. openstack.docker: (Reading database ... 60503 files and directories currently installed.) openstack.docker: Preparing to unpack .../0-libpython2.7-minimal_2.7.17-1~18.04ubuntu1.11_amd64.deb ... openstack.docker: Unpacking libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Selecting previously unselected package python2.7-minimal. openstack.docker: Preparing to unpack .../1-python2.7-minimal_2.7.17-1~18.04ubuntu1.11_amd64.deb ... openstack.docker: Unpacking python2.7-minimal (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Selecting previously unselected package python-minimal. openstack.docker: Preparing to unpack .../2-python-minimal_2.7.15~rc1-1_amd64.deb ... openstack.docker: Unpacking python-minimal (2.7.15~rc1-1) ... openstack.docker: Selecting previously unselected package libpython2.7-stdlib:amd64. openstack.docker: Preparing to unpack .../3-libpython2.7-stdlib_2.7.17-1~18.04ubuntu1.11_amd64.deb ... openstack.docker: Unpacking libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Selecting previously unselected package python2.7. openstack.docker: Preparing to unpack .../4-python2.7_2.7.17-1~18.04ubuntu1.11_amd64.deb ... openstack.docker: Unpacking python2.7 (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Selecting previously unselected package libpython-stdlib:amd64. openstack.docker: Preparing to unpack .../5-libpython-stdlib_2.7.15~rc1-1_amd64.deb ... openstack.docker: Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ... openstack.docker: Setting up libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Setting up python2.7-minimal (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Linking and byte-compiling packages for runtime python2.7... openstack.docker: Setting up python-minimal (2.7.15~rc1-1) ... openstack.docker: Selecting previously unselected package python. openstack.docker: (Reading database ... 61251 files and directories currently installed.) openstack.docker: Preparing to unpack .../python_2.7.15~rc1-1_amd64.deb ... openstack.docker: Unpacking python (2.7.15~rc1-1) ... openstack.docker: Setting up libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Setting up python2.7 (2.7.17-1~18.04ubuntu1.11) ... openstack.docker: Setting up libpython-stdlib:amd64 (2.7.15~rc1-1) ... openstack.docker: Setting up python (2.7.15~rc1-1) ... openstack.docker: Processing triggers for man-db (2.8.3-2ubuntu0.1) ... openstack.docker: Processing triggers for mime-support (3.60ubuntu1) ... openstack.docker: python is /usr/bin/python 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-shell874672001 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-nhCG 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-nhCG/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-18.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-18.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-18.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-18.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-18.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-18.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-18.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-18.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-18.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-18.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-18.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-18.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-18.04-docker/packer/.galaxy/lfit.system-update openstack.docker: - lfit.system-update (master) was installed successfully openstack.docker: Running: ansible-galaxy install -p .galaxy -r requirements.yaml openstack.docker: - downloading role 'ruby', owned by geerlingguy openstack.docker: - downloading role from https://github.com/geerlingguy/ansible-role-ruby/archive/3.2.0.tar.gz openstack.docker: - extracting geerlingguy.ruby to /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/packer/.galaxy/geerlingguy.ruby openstack.docker: - geerlingguy.ruby (3.2.0) was installed successfully openstack.docker: - downloading role 'golang', owned by gantsign openstack.docker: - downloading role from https://github.com/gantsign/ansible-role-golang/archive/3.2.6.tar.gz openstack.docker: - extracting gantsign.golang to /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/packer/.galaxy/gantsign.golang openstack.docker: - gantsign.golang (3.2.6) 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-key3086239991 -i /tmp/packer-provisioner-ansible861402206 /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/packer/provision/local-docker.yaml openstack.docker: ERROR! 'ansible_user' is not a valid attribute for a Play openstack.docker:  openstack.docker: The error appears to be in '/w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/packer/provision/local-docker.yaml': line 6, column 3, 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:  openstack.docker: - hosts: all openstack.docker:  ^ here ==> openstack.docker: Provisioning step had errors: Running the cleanup provisioner, if present... ==> openstack.docker: Terminating the source server: 3511d841-a27d-4e9f-a200-7fecc24cd8f4 ... ==> openstack.docker: Deleting volume: 48921f7d-68f4-4a36-90c7-6ee7e59b6ab9 ... ==> openstack.docker: Deleting temporary keypair: packer_65c2757e-48f4-a4ae-eb0c-d88aac8989ab ... Build 'openstack.docker' errored after 2 minutes 27 seconds: Error executing Ansible: Non-zero exit status: exit status 4 ==> Wait completed after 2 minutes 27 seconds ==> 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 1589 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins13978086875958367684.sh ---> sysstat.sh [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins14076410346280482273.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/ci-management-packer-merge-ubuntu-18.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-18.04-docker ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + sort + rpm -qa + '[' -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-18.04-docker ']' + mkdir -p /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/archives/ [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins10873369632390174206.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-9nWV 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-9nWV/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins17693295846143706307.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-packer-merge-ubuntu-18.04-docker@tmp/config1395356434861489752tmp 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-18.04-docker] $ /bin/bash /tmp/jenkins3444275683801729183.sh ---> create-netrc.sh [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins14313591550084494556.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9nWV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-9nWV/bin to PATH Generating Requirements File Python 3.9.13 pip 24.0 from /tmp/venv-9nWV/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.34 botocore==1.34.34 bs4==0.0.2 cachetools==5.3.2 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.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.33 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.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.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.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.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.0 python-swiftclient==4.4.0 pytz==2024.1 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.17.1 rsa==4.9 ruamel.yaml==0.18.5 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.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 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-18.04-docker] $ /bin/bash /tmp/jenkins12389162364159810172.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash /tmp/jenkins9214780557672754758.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9nWV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-9nWV/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-1 INFO: Archiving Costs [ci-management-packer-merge-ubuntu-18.04-docker] $ /bin/bash -l /tmp/jenkins15187695296008581888.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-18.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9nWV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-9nWV/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ci-management-packer-merge-ubuntu-18.04-docker/106 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-1010.novalocal 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 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): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 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 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 ssbd rsb_ctxsw 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: 1 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 459M 0 459M 0% /dev tmpfs 496M 0 496M 0% /dev/shm tmpfs 496M 13M 483M 3% /run tmpfs 496M 0 496M 0% /sys/fs/cgroup /dev/vda1 20G 5.8G 15G 29% / tmpfs 100M 0 100M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 990 331 105 7 553 487 Swap: 1023 5 1018 ---> 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 1450 qdisc pfifo_fast state UP group default qlen 1000 link/ether fa:16:3e:ef:88:1b brd ff:ff:ff:ff:ff:ff inet 10.32.6.192/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86092sec preferred_lft 86092sec inet6 fe80::f816:3eff:feef:881b/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 3.10.0-1160.108.1.el7.x86_64 (centos-7-builder-e2bfffa3-670a-44cc-9bdf-77539580edb4.novalocal) 02/06/2024 _x86_64_ (1 CPU) 06:07:18 PM LINUX RESTART 06:08:01 PM tps rtps wtps bread/s bwrtn/s 06:09:01 PM 1.79 0.05 1.74 1.74 954.61 06:10:02 PM 248.68 72.21 176.47 3996.60 22607.50 06:11:01 PM 169.68 97.61 72.08 8418.28 6912.11 06:12:01 PM 139.53 13.26 126.28 1279.21 11725.47 Average: 137.82 45.16 92.67 3371.36 10416.34 06:08:01 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:09:01 PM 125480 888976 87.63 2088 509748 708000 34.32 375728 393716 32 06:10:02 PM 73820 940636 92.72 0 410904 771440 37.39 361916 370176 9392 06:11:01 PM 78684 935772 92.24 0 516340 476840 23.11 379932 405820 676 06:12:01 PM 161756 852700 84.05 0 476560 447760 21.70 247792 410080 35776 Average: 109935 904521 89.16 522 478388 601010 29.13 341342 394948 11469 06:08:01 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 06:09:01 PM eth0 8.13 7.09 1.85 3.04 0.00 0.00 0.00 06:09:01 PM lo 0.08 0.08 0.01 0.01 0.00 0.00 0.00 06:10:02 PM eth0 35.11 32.81 502.75 3.16 0.00 0.00 0.00 06:10:02 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:01 PM eth0 63.17 60.11 566.05 9.61 0.00 0.00 0.00 06:11:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:12:01 PM eth0 35.07 36.14 393.84 8.92 0.00 0.00 0.00 06:12:01 PM lo 0.04 0.04 0.00 0.00 0.00 0.00 0.00 Average: eth0 34.88 33.54 359.96 6.11 0.00 0.00 0.00 Average: lo 0.03 0.03 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 3.10.0-1160.108.1.el7.x86_64 (centos-7-builder-e2bfffa3-670a-44cc-9bdf-77539580edb4.novalocal) 02/06/2024 _x86_64_ (1 CPU) 06:07:18 PM LINUX RESTART 06:08:01 PM CPU %user %nice %system %iowait %steal %idle 06:09:01 PM all 0.45 0.00 0.22 0.02 0.05 99.26 06:09:01 PM 0 0.45 0.00 0.22 0.02 0.05 99.26 06:10:02 PM all 49.55 0.00 9.38 9.42 0.12 31.53 06:10:02 PM 0 49.55 0.00 9.38 9.42 0.12 31.53 06:11:01 PM all 43.90 0.00 4.57 10.98 0.11 40.45 06:11:01 PM 0 43.90 0.00 4.57 10.98 0.11 40.45 06:12:01 PM all 74.51 0.00 5.96 3.15 0.13 16.25 06:12:01 PM 0 74.51 0.00 5.96 3.15 0.13 16.25 Average: all 41.27 0.00 4.96 5.81 0.10 47.86 Average: 0 41.27 0.00 4.96 5.81 0.10 47.86