Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-11765 (centos7-builder-1c-1g) in workspace /w/workspace/ci-management-packer-merge-centos-cs-8-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-C9bRL6bDzc4D/agent.1593 SSH_AGENT_PID=1594 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ci-management-packer-merge-centos-cs-8-docker@tmp/private_key_14836361122954337938.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-centos-cs-8-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-centos-cs-8-docker@tmp/jenkins-gitclient-ssh11988960265187881791.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 e2347553292468cd4afb2e9218fe67e0ce59414c (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f e2347553292468cd4afb2e9218fe67e0ce59414c # timeout=10 Commit message: "Chore: Update global-jjb to latest v0.90.10" First time build. Skipping changelog. > 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=centos-cs-8 PACKER_VERSION=1.9.1 PACKER_BUILDER=openstack UPDATE_CLOUD_IMAGE=False [EnvInject] - Variables injected successfully. [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins3623890420444999351.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/ci-management-packer-merge-centos-cs-8-docker /w/workspace/ci-management-packer-merge-centos-cs-8-docker 2024-12-01 05:01:17 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-centos-cs-8-docker/bin/packer /w/workspace/ci-management-packer-merge-centos-cs-8-docker ---> packer-build.sh packer init templates/docker.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.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_674beda2-b5ed-5329-5219-dd33291fcb71 ... ==> openstack.docker: Created temporary keypair: packer_674beda2-b5ed-5329-5219-dd33291fcb71 openstack.docker: Found Image ID: 859ecb6a-33dd-4be1-b446-42c851b4c973 ==> openstack.docker: Creating volume... ==> openstack.docker: Waiting for volume packer_674beda2-1c7a-ef1c-af19-109658ad549b (volume id: ef4a3138-9098-45ae-93f5-e3beab987263) to become available... openstack.docker: Volume ID: ef4a3138-9098-45ae-93f5-e3beab987263 ==> openstack.docker: Launching server... ==> openstack.docker: Launching server... openstack.docker: Server ID: 08d89d14-6ee6-4936-9da0-9671724722f6 ==> openstack.docker: Waiting for server to become ready... openstack.docker: Floating IP not required ==> openstack.docker: Using SSH communicator to connect: 10.32.6.23 ==> 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 NOT Ubuntu openstack.docker: Distro is CentOS 8 openstack.docker: Install python38 openstack.docker: 0 files removed ==> openstack.docker: Errors during downloading metadata for repository 'appstream': ==> openstack.docker: - Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=genclo [Could not resolve host: mirrorlist.centos.org] openstack.docker: CentOS Stream 8 - AppStream 0.0 B/s | 0 B 00:00 ==> openstack.docker: Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=genclo [Could not resolve host: mirrorlist.centos.org] ==> openstack.docker: Provisioning step had errors: Running the cleanup provisioner, if present... ==> openstack.docker: Terminating the source server: 08d89d14-6ee6-4936-9da0-9671724722f6 ... ==> openstack.docker: Deleting volume: ef4a3138-9098-45ae-93f5-e3beab987263 ... ==> openstack.docker: Deleting temporary keypair: packer_674beda2-b5ed-5329-5219-dd33291fcb71 ... Build 'openstack.docker' errored after 2 minutes 12 seconds: Script exited with non-zero exit status: 1. Allowed exit codes are: [0] ==> Wait completed after 2 minutes 12 seconds ==> Some builds didn't complete successfully and had errors: --> openstack.docker: Script exited with non-zero exit status: 1. Allowed exit codes are: [0] ==> 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 1594 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins7765508709003579705.sh ---> sysstat.sh [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins15147230237231582500.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/ci-management-packer-merge-centos-cs-8-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-centos-cs-8-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-centos-cs-8-docker ']' + mkdir -p /w/workspace/ci-management-packer-merge-centos-cs-8-docker/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-packer-merge-centos-cs-8-docker/archives/ [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins7738185050225069701.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-q1VX 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-q1VX/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins9392892147799086167.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-packer-merge-centos-cs-8-docker@tmp/config14512306015816095524tmp 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-centos-cs-8-docker] $ /bin/bash /tmp/jenkins14772423271686673682.sh ---> create-netrc.sh [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins4823981639332887141.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-centos-cs-8-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-q1VX from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-q1VX/bin to PATH Generating Requirements File Python 3.9.13 pip 24.3.1 from /tmp/venv-q1VX/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.5.1 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.71 botocore==1.35.71 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.0 click==8.1.7 cliff==4.8.0 cmd2==2.5.7 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.15 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.36.0 httplib2==0.22.0 identify==2.6.3 idna==3.10 importlib-resources==1.5.0 importlib_metadata==8.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keystoneauth1==5.9.1 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.2 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.2.0 oslo.config==9.7.0 oslo.context==5.7.0 oslo.i18n==6.5.0 oslo.log==6.2.0 oslo.serialization==5.6.0 oslo.utils==7.4.0 packaging==24.2 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.12.0 psutil==6.1.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.5.0 PyJWT==2.10.1 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.2.1 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.21.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.12 s3transfer==0.10.4 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.4.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.67.1 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.28.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.17.0 xdg==6.0.0 xmltodict==0.14.2 yq==3.4.3 zipp==3.21.0 [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins1001456621112761794.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash /tmp/jenkins10050182758422185602.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-centos-cs-8-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-q1VX 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-q1VX/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-1 INFO: Archiving Costs [ci-management-packer-merge-centos-cs-8-docker] $ /bin/bash -l /tmp/jenkins6980703478115901149.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-centos-cs-8-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-q1VX from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-q1VX/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ci-management-packer-merge-centos-cs-8-docker/31 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-11765.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.6G 15G 28% / tmpfs 100M 0 100M 0% /run/user/0 tmpfs 100M 0 100M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 990 324 87 12 578 499 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 1450 qdisc pfifo_fast state UP group default qlen 1000 link/ether fa:16:3e:a3:9a:1c brd ff:ff:ff:ff:ff:ff inet 10.32.6.245/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86132sec preferred_lft 86132sec inet6 fe80::f816:3eff:fea3:9a1c/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) 12/01/2024 _x86_64_ (1 CPU) 05:00:40 AM LINUX RESTART 05:01:01 AM tps rtps wtps bread/s bwrtn/s 05:02:01 AM 65.68 12.88 52.79 3250.09 7038.24 05:03:01 AM 0.52 0.00 0.52 0.00 8.39 05:04:01 AM 91.08 63.35 27.73 4968.11 3130.90 05:05:01 AM 141.47 9.89 131.58 908.42 12564.05 Average: 73.11 21.47 51.64 2280.29 5544.72 05:01:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:02:01 AM 133976 880480 86.79 2088 514368 714408 34.63 342156 417472 36 05:03:01 AM 133024 881432 86.89 2088 514380 714232 34.62 352852 407908 24 05:04:01 AM 88464 925992 91.28 2088 572688 449760 21.80 313036 485220 11772 05:05:01 AM 129732 884724 87.21 2088 536236 406376 19.70 314072 408048 17276 Average: 121299 893157 88.04 2088 534418 571194 27.69 330529 429662 7277 05:01:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 05:02:01 AM eth0 350.62 214.87 1362.48 65.49 0.00 0.00 0.00 05:02:01 AM lo 0.09 0.09 0.01 0.01 0.00 0.00 0.00 05:03:01 AM eth0 0.90 0.95 0.55 0.05 0.00 0.00 0.00 05:03:01 AM lo 0.25 0.25 0.02 0.02 0.00 0.00 0.00 05:04:01 AM eth0 49.68 45.93 451.74 9.39 0.00 0.00 0.00 05:04:01 AM lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 05:05:01 AM eth0 59.63 60.02 573.74 13.05 0.00 0.00 0.00 05:05:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 115.25 80.19 593.13 21.98 0.00 0.00 0.00 Average: lo 0.11 0.11 0.01 0.01 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) 12/01/2024 _x86_64_ (1 CPU) 05:00:40 AM LINUX RESTART 05:01:01 AM CPU %user %nice %system %iowait %steal %idle 05:02:01 AM all 22.27 0.00 2.54 4.02 0.09 71.09 05:02:01 AM 0 22.27 0.00 2.54 4.02 0.09 71.09 05:03:01 AM all 0.37 0.00 0.08 0.00 0.03 99.51 05:03:01 AM 0 0.37 0.00 0.08 0.00 0.03 99.51 05:04:01 AM all 26.13 0.00 2.29 7.95 0.09 63.54 05:04:01 AM 0 26.13 0.00 2.29 7.95 0.09 63.54 05:05:01 AM all 72.42 0.00 5.53 2.33 0.13 19.60 05:05:01 AM 0 72.42 0.00 5.53 2.33 0.13 19.60 Average: all 29.45 0.00 2.55 3.56 0.08 64.36 Average: 0 29.45 0.00 2.55 3.56 0.08 64.36