Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-291 (centos7-builder-1c-1g) in workspace /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder [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-RkJampy2Umg9/agent.1583 SSH_AGENT_PID=1585 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder@tmp/private_key_7108648209094794975.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-20.04-builder # 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-20.04-builder@tmp/jenkins-gitclient-ssh6849683971247845798.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 5ee9050a86a8772fc1480bf54db7467513637b18 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ee9050a86a8772fc1480bf54db7467513637b18 # timeout=10 Commit message: "NONRTRIC Fix typo in docker image name of new sample uService" > git rev-list --no-walk b22579a109742a1773137109d7cf50cd56afe908 # 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=builder 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-builder] $ /bin/bash /tmp/jenkins6812132789860727470.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder 2024-04-01 02:02:11 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-builder/bin/packer /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder ---> packer-build.sh packer init templates/builder.pkr.hcl ... Installed plugin github.com/hashicorp/openstack v1.1.2 in "/home/jenkins/.config/packer/plugins/github.com/hashicorp/openstack/packer-plugin-openstack_v1.1.2_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.builder: Loading flavor: v2-highcpu-1 openstack.builder: Verified flavor. ID: c04abb7a-2b61-4ed3-8ce8-6c40ad9df750 ==> openstack.builder: Creating temporary RSA SSH key for instance... ==> openstack.builder: Creating temporary keypair: packer_660a15a8-b672-f863-430d-f7ffa01c9044 ... ==> openstack.builder: Created temporary keypair: packer_660a15a8-b672-f863-430d-f7ffa01c9044 openstack.builder: Found Image ID: ef65599d-2122-4554-9c46-60775d7435ef ==> openstack.builder: Creating volume... ==> openstack.builder: Waiting for volume packer_660a15a8-fa43-0ffa-e44a-0b1f98ac087d (volume id: 477a8012-5da7-4d08-94dc-9bacf236adf1) to become available... openstack.builder: Volume ID: 477a8012-5da7-4d08-94dc-9bacf236adf1 ==> openstack.builder: Launching server... ==> openstack.builder: Launching server... openstack.builder: Server ID: cbb0d24f-2380-42ac-8cdf-684e59a6fc6e ==> openstack.builder: Waiting for server to become ready... openstack.builder: Floating IP not required ==> openstack.builder: Using SSH communicator to connect: 10.32.7.44 ==> openstack.builder: Waiting for SSH to become available... ==> openstack.builder: Connected to SSH! ==> openstack.builder: Provisioning with shell script: common-packer/provision/install-python.sh openstack.builder: ----> install-python.sh openstack.builder: Distro is Ubuntu openstack.builder: NetSelect version to install is netselect_0.3.ds1-28+b1_amd64.deb openstack.builder: Install netselect from debian to choose a mirror. ==> openstack.builder: ==> openstack.builder: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.builder: openstack.builder: Reading package lists... openstack.builder: Building dependency tree... openstack.builder: Reading state information... openstack.builder: wget is already the newest version (1.20.3-1ubuntu2). openstack.builder: wget set to manually installed. openstack.builder: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ==> openstack.builder: --2024-04-01 02:02:55-- http://ftp.au.debian.org/debian/pool/main/n/netselect/netselect_0.3.ds1-28+b1_amd64.deb ==> openstack.builder: Resolving ftp.au.debian.org (ftp.au.debian.org)... 103.84.224.37, 2400:a4c0::25 ==> openstack.builder: Connecting to ftp.au.debian.org (ftp.au.debian.org)|103.84.224.37|:80... connected. ==> openstack.builder: HTTP request sent, awaiting response... 200 OK ==> openstack.builder: Length: 31920 (31K) [application/x-debian-package] ==> openstack.builder: Saving to: ‘netselect_0.3.ds1-28+b1_amd64.deb’ ==> openstack.builder: ==> openstack.builder: 0K .......... .......... .......... . 100% 188K=0.2s ==> openstack.builder: ==> openstack.builder: 2024-04-01 02:02:56 (188 KB/s) - ‘netselect_0.3.ds1-28+b1_amd64.deb’ saved [31920/31920] ==> openstack.builder: openstack.builder: Selecting previously unselected package netselect. openstack.builder: (Reading database ... 63795 files and directories currently installed.) openstack.builder: Preparing to unpack netselect_0.3.ds1-28+b1_amd64.deb ... openstack.builder: Unpacking netselect (0.3.ds1-28+b1) ... openstack.builder: Setting up netselect (0.3.ds1-28+b1) ... ==> openstack.builder: debconf: unable to initialize frontend: Dialog ==> openstack.builder: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) ==> openstack.builder: debconf: falling back to frontend: Readline ==> openstack.builder: debconf: unable to initialize frontend: Readline ==> openstack.builder: debconf: (This frontend requires a controlling tty.) ==> openstack.builder: debconf: falling back to frontend: Teletype openstack.builder: Processing triggers for man-db (2.9.1-1) ... ==> openstack.builder: ==> openstack.builder: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.builder: openstack.builder: Reading package lists... openstack.builder: Building dependency tree... openstack.builder: Reading state information... openstack.builder: netselect is already the newest version (0.3.ds1-28+b1). openstack.builder: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. openstack.builder: Old mirror : http://archive.ubuntu.com/ubuntu/ openstack.builder: New mirror : http://mirror.us-sc.kamatera.com/ubuntu/ openstack.builder: Update and Remove unwanted packages... ==> openstack.builder: ==> openstack.builder: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.builder: ==> openstack.builder: ==> openstack.builder: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ==> openstack.builder: openstack.builder: Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] openstack.builder: Hit:2 http://nova.clouds.archive.ubuntu.com/ubuntu focal InRelease openstack.builder: Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] openstack.builder: Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2821 kB] openstack.builder: Get:5 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [427 kB] openstack.builder: Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.2 kB] openstack.builder: Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2699 kB] openstack.builder: Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] openstack.builder: Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [377 kB] openstack.builder: Get:10 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [552 B] openstack.builder: Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [952 kB] openstack.builder: Get:12 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [200 kB] openstack.builder: Get:13 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [19.2 kB] openstack.builder: Get:14 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [23.9 kB] openstack.builder: Get:15 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5796 B] openstack.builder: Get:16 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [548 B] openstack.builder: Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB] openstack.builder: Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB] openstack.builder: Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB] openstack.builder: Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB] openstack.builder: Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB] openstack.builder: Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B] openstack.builder: Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3200 kB] openstack.builder: Get:24 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [510 kB] openstack.builder: Get:25 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.2 kB] openstack.builder: Get:26 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2816 kB] openstack.builder: Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [393 kB] openstack.builder: Get:28 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [552 B] openstack.builder: Get:29 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1177 kB] openstack.builder: Get:30 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [282 kB] openstack.builder: Get:31 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [25.7 kB] openstack.builder: Get:32 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [26.1 kB] openstack.builder: Get:33 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [7768 B] openstack.builder: Get:34 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [620 B] openstack.builder: Get:35 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [45.7 kB] openstack.builder: Get:36 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [16.3 kB] openstack.builder: Get:37 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1420 B] openstack.builder: Get:38 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B] openstack.builder: Get:39 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [25.0 kB] openstack.builder: Get:40 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [16.3 kB] openstack.builder: Get:41 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B] openstack.builder: Get:42 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B] openstack.builder: Fetched 30.7 MB in 5s (5825 kB/s) openstack.builder: Reading package lists... openstack.builder: Building dependency tree... openstack.builder: Reading state information... openstack.builder: 232 packages can be upgraded. Run 'apt list --upgradable' to see them. openstack.builder: Installing Python... openstack.builder: Package: python-is-python3 openstack.builder: Architecture: all openstack.builder: Version: 3.8.2-4 openstack.builder: Multi-Arch: allowed openstack.builder: Priority: optional openstack.builder: Section: python openstack.builder: Source: what-is-python (4) openstack.builder: Origin: Ubuntu openstack.builder: Maintainer: Dimitri John Ledkov openstack.builder: Bugs: https://bugs.launchpad.net/ubuntu/+filebug openstack.builder: Installed-Size: 10 openstack.builder: Depends: python3 openstack.builder: Breaks: python, python-is-python2, python-is-python2-but-deprecated openstack.builder: Replaces: python, python-is-python2, python-is-python2-but-deprecated openstack.builder: Filename: pool/main/w/what-is-python/python-is-python3_3.8.2-4_all.deb openstack.builder: Size: 2364 openstack.builder: MD5sum: 72d89bf720c220a183e9fa666d42073d openstack.builder: SHA1: 4f5aa631c3c0efa778fe29cb97e5bd249775c96d openstack.builder: SHA256: 3d9f8a6c0d9c0726d4ffa0e63805bf6e358a55e79d66fdb325d4df6d920a3b89 openstack.builder: Description-en: symlinks /usr/bin/python to python3 openstack.builder: In Ubuntu, all python packages use explicit python3 or python2 openstack.builder: interpreter and do not use unversioned /usr/bin/python at all. Some openstack.builder: third-party code is now predominantly python3 based, yet may use openstack.builder: /usr/bin/python. openstack.builder: . openstack.builder: This is a convenience package which ships a symlink to point openstack.builder: the /usr/bin/python interpreter at the current default python3. It may openstack.builder: improve compatibility with other modern systems, whilst breaking some openstack.builder: obsolete or 3rd-party software. openstack.builder: . openstack.builder: No packages may declare dependencies on this package. openstack.builder: Description-md5: 5d9334f25f93f880e351bd3490ffeb4e openstack.builder: Cnf-Ignore-Commands: python openstack.builder: openstack.builder: Reading package lists... openstack.builder: Building dependency tree... openstack.builder: Reading state information... openstack.builder: The following NEW packages will be installed: openstack.builder: python-is-python3 openstack.builder: 0 upgraded, 1 newly installed, 0 to remove and 232 not upgraded. openstack.builder: Need to get 2364 B of archives. openstack.builder: After this operation, 10.2 kB of additional disk space will be used. openstack.builder: Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 python-is-python3 all 3.8.2-4 [2364 B] ==> openstack.builder: debconf: unable to initialize frontend: Dialog ==> openstack.builder: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) ==> openstack.builder: debconf: falling back to frontend: Readline ==> openstack.builder: debconf: unable to initialize frontend: Readline ==> openstack.builder: debconf: (This frontend requires a controlling tty.) ==> openstack.builder: debconf: falling back to frontend: Teletype ==> openstack.builder: dpkg-preconfigure: unable to re-open stdin: openstack.builder: Fetched 2364 B in 0s (8394 B/s) openstack.builder: Selecting previously unselected package python-is-python3. openstack.builder: (Reading database ... 63807 files and directories currently installed.) openstack.builder: Preparing to unpack .../python-is-python3_3.8.2-4_all.deb ... openstack.builder: Unpacking python-is-python3 (3.8.2-4) ... openstack.builder: Setting up python-is-python3 (3.8.2-4) ... openstack.builder: python3 is /usr/bin/python3 openstack.builder: Distro is NOT CentOS 8 openstack.builder: /usr/bin/sudo openstack.builder: sudo is /usr/bin/sudo ==> openstack.builder: Running local shell script: /tmp/packer-shell1817161892 openstack.builder: ----> ansible-galaxy.sh openstack.builder: Setup pyenv: openstack.builder: system openstack.builder: * 3.8.13 (set by /opt/pyenv/version) openstack.builder: * 3.9.13 (set by /opt/pyenv/version) openstack.builder: lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7R2C openstack.builder: lf-activate-venv(): INFO: Save venv in file: /tmp/.ansible_venv openstack.builder: lf-activate-venv(): INFO: Installing: ansible~=2.9.27 openstack.builder: lf-activate-venv(): INFO: Adding /tmp/venv-7R2C/bin to PATH openstack.builder: Running: ansible-galaxy install -p .galaxy -r ./common-packer/requirements.yaml openstack.builder: - downloading role 'docker-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-docker-install/archive/master.tar.gz openstack.builder: - extracting lfit.docker-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.docker-install openstack.builder: - lfit.docker-install (master) was installed successfully openstack.builder: - downloading role 'haveged-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-haveged-install/archive/master.tar.gz openstack.builder: - extracting lfit.haveged-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.haveged-install openstack.builder: - lfit.haveged-install (master) was installed successfully openstack.builder: - downloading role 'java-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-java-install/archive/master.tar.gz openstack.builder: - extracting lfit.java-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.java-install openstack.builder: - lfit.java-install (master) was installed successfully openstack.builder: - downloading role 'lf-dev-libs', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-lf-dev-libs/archive/master.tar.gz openstack.builder: - extracting lfit.lf-dev-libs to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.lf-dev-libs openstack.builder: - lfit.lf-dev-libs (master) was installed successfully openstack.builder: - downloading role 'lf-recommended-tools', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-lf-recommended-tools/archive/master.tar.gz openstack.builder: - extracting lfit.lf-recommended-tools to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.lf-recommended-tools openstack.builder: - lfit.lf-recommended-tools (master) was installed successfully openstack.builder: - downloading role 'mono-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-mono-install/archive/master.tar.gz openstack.builder: - extracting lfit.mono-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.mono-install openstack.builder: - lfit.mono-install (master) was installed successfully openstack.builder: - downloading role 'packer-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-packer-install/archive/master.tar.gz openstack.builder: - extracting lfit.packer-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.packer-install openstack.builder: - lfit.packer-install (master) was installed successfully openstack.builder: - downloading role 'protobuf-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-protobuf-install/archive/master.tar.gz openstack.builder: - extracting lfit.protobuf-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.protobuf-install openstack.builder: - lfit.protobuf-install (master) was installed successfully openstack.builder: - downloading role 'puppet-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-puppet-install/archive/master.tar.gz openstack.builder: - extracting lfit.puppet-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.puppet-install openstack.builder: - lfit.puppet-install (master) was installed successfully openstack.builder: - downloading role 'python-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-python-install/archive/master.tar.gz openstack.builder: - extracting lfit.python-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.python-install openstack.builder: - lfit.python-install (master) was installed successfully openstack.builder: - downloading role 'shellcheck-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-shellcheck-install/archive/master.tar.gz openstack.builder: - extracting lfit.shellcheck-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.shellcheck-install openstack.builder: - lfit.shellcheck-install (master) was installed successfully openstack.builder: - downloading role 'sysstat-install', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-sysstat-install/archive/master.tar.gz openstack.builder: - extracting lfit.sysstat-install to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.sysstat-install openstack.builder: - lfit.sysstat-install (master) was installed successfully openstack.builder: - downloading role 'system-update', owned by lfit openstack.builder: - downloading role from https://github.com/lfit/ansible-roles-system-update/archive/master.tar.gz openstack.builder: - extracting lfit.system-update to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.system-update openstack.builder: - lfit.system-update (master) was installed successfully openstack.builder: Running: ansible-galaxy install -p .galaxy -r requirements.yaml openstack.builder: - downloading role 'ruby', owned by geerlingguy openstack.builder: - downloading role from https://github.com/geerlingguy/ansible-role-ruby/archive/3.2.0.tar.gz openstack.builder: - extracting geerlingguy.ruby to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/geerlingguy.ruby openstack.builder: - geerlingguy.ruby (3.2.0) was installed successfully openstack.builder: - downloading role 'golang', owned by gantsign openstack.builder: - downloading role from https://github.com/gantsign/ansible-role-golang/archive/3.3.1.tar.gz openstack.builder: - extracting gantsign.golang to /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/gantsign.golang openstack.builder: - gantsign.golang (3.3.1) was installed successfully ==> openstack.builder: Provisioning with Ansible... openstack.builder: Setting up proxy adapter for Ansible.... ==> openstack.builder: Executing Ansible: ./common-packer/ansible-playbook.sh -e packer_build_name="builder" -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-key1977214405 -i /tmp/packer-provisioner-ansible1232061834 /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/provision/local-builder.yaml openstack.builder: ERROR! couldn't resolve module/action 'community.general.alternatives'. This often indicates a misspelling, missing collection, or incorrect module path. openstack.builder:  openstack.builder: The error appears to be in '/w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/packer/.galaxy/lfit.java-install/tasks/main.yml': line 12, column 7, but may openstack.builder: be elsewhere in the file depending on the exact syntax problem. openstack.builder:  openstack.builder: The offending line appears to be: openstack.builder:  openstack.builder:  block: openstack.builder:  - name: Set java alternatives openstack.builder:  ^ here ==> openstack.builder: Provisioning step had errors: Running the cleanup provisioner, if present... ==> openstack.builder: Terminating the source server: cbb0d24f-2380-42ac-8cdf-684e59a6fc6e ... ==> openstack.builder: Deleting volume: 477a8012-5da7-4d08-94dc-9bacf236adf1 ... ==> openstack.builder: Deleting temporary keypair: packer_660a15a8-b672-f863-430d-f7ffa01c9044 ... Build 'openstack.builder' errored after 2 minutes 18 seconds: Error executing Ansible: Non-zero exit status: exit status 4 ==> Wait completed after 2 minutes 18 seconds ==> Some builds didn't complete successfully and had errors: --> openstack.builder: 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 1585 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins44349244482754474.sh ---> sysstat.sh [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins923750675827491417.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/ci-management-packer-merge-ubuntu-20.04-builder + 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-builder ']' + 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-20.04-builder ']' + mkdir -p /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/archives/ [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins12916733243919515756.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-69JA 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-69JA/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins6172777929135495955.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-packer-merge-ubuntu-20.04-builder@tmp/config18044788728696514899tmp 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-builder] $ /bin/bash /tmp/jenkins11474819420160365225.sh ---> create-netrc.sh [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins13648768083432659256.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-builder/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-69JA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-69JA/bin to PATH Generating Requirements File Python 3.9.13 pip 24.0 from /tmp/venv-69JA/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.74 botocore==1.34.74 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.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 importlib_metadata==7.1.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.10 lxml==5.2.0 MarkupSafe==2.1.5 msgpack==1.0.8 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==3.0.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.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 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.1 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.18.1 [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins10514413820794996738.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash /tmp/jenkins3649905349619941508.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-69JA 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-69JA/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-1 INFO: Archiving Costs [ci-management-packer-merge-ubuntu-20.04-builder] $ /bin/bash -l /tmp/jenkins14657474053178539231.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-builder/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-69JA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-69JA/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-20.04-builder/12 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-291.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: 2800.000 BogoMIPS: 5600.00 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 328 123 8 538 492 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:b2:74:b3 brd ff:ff:ff:ff:ff:ff inet 10.32.7.159/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86113sec preferred_lft 86113sec inet6 fe80::f816:3eff:feb2:74b3/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) 04/01/2024 _x86_64_ (1 CPU) 02:01:36 AM LINUX RESTART 02:02:01 AM tps rtps wtps bread/s bwrtn/s 02:03:01 AM 19.82 5.46 14.35 635.83 6443.85 02:04:02 AM 200.03 62.08 137.95 2962.94 18553.22 02:05:01 AM 177.47 96.74 80.72 9087.69 8219.60 02:06:01 AM 113.45 11.34 102.11 1307.33 10731.19 Average: 126.92 43.66 83.26 3465.63 10985.97 02:02:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:03:01 AM 131296 883160 87.06 2088 506928 712808 34.55 367056 396808 52 02:04:02 AM 72208 942248 92.88 0 417056 771860 37.41 346472 386676 25532 02:05:01 AM 98204 916252 90.32 0 538260 435764 21.12 307304 458456 5964 02:06:01 AM 81224 933232 91.99 0 502784 460264 22.31 339072 414872 44736 Average: 95733 918723 90.56 522 491257 595174 28.85 339976 414203 19071 02:02:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 02:03:01 AM eth0 173.98 120.57 851.36 39.89 0.00 0.00 0.00 02:03:01 AM lo 0.05 0.05 0.00 0.00 0.00 0.00 0.00 02:04:02 AM eth0 35.65 32.27 494.89 4.64 0.00 0.00 0.00 02:04:02 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:01 AM eth0 43.72 43.00 220.42 8.28 0.00 0.00 0.00 02:05:01 AM lo 0.04 0.04 0.00 0.00 0.00 0.00 0.00 02:06:01 AM eth0 51.11 52.62 558.78 10.54 0.00 0.00 0.00 02:06:01 AM lo 0.16 0.16 0.01 0.01 0.00 0.00 0.00 Average: eth0 77.12 62.66 535.00 16.07 0.00 0.00 0.00 Average: lo 0.06 0.06 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) 04/01/2024 _x86_64_ (1 CPU) 02:01:36 AM LINUX RESTART 02:02:01 AM CPU %user %nice %system %iowait %steal %idle 02:03:01 AM all 16.94 0.00 1.44 0.15 0.07 81.40 02:03:01 AM 0 16.94 0.00 1.44 0.15 0.07 81.40 02:04:02 AM all 37.69 0.00 8.15 8.43 0.10 45.63 02:04:02 AM 0 37.69 0.00 8.15 8.43 0.10 45.63 02:05:01 AM all 43.11 0.00 5.15 10.55 0.09 41.11 02:05:01 AM 0 43.11 0.00 5.15 10.55 0.09 41.11 02:06:01 AM all 75.61 0.00 4.98 1.99 0.11 17.32 02:06:01 AM 0 75.61 0.00 4.98 1.99 0.11 17.32 Average: all 42.87 0.00 4.91 5.25 0.09 46.88 Average: 0 42.87 0.00 4.91 5.25 0.09 46.88