Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-2497 (centos7-builder-1c-1g) in workspace /w/workspace/ci-management-packer-merge-centos-8-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-HX33oXQvZ7cV/agent.1612 SSH_AGENT_PID=1613 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ci-management-packer-merge-centos-8-builder@tmp/private_key_3873282051785513535.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-8-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.5' 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-8-builder@tmp/jenkins-gitclient-ssh3929659496638507416.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 3350452d28f853a3c19e31519c71e2eb3b45ad8e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3350452d28f853a3c19e31519c71e2eb3b45ad8e # timeout=10 Commit message: "pti-rtp: add stream for i-release" > git rev-list --no-walk 5a5e596e3083c1b661177d319f3e363128b018e2 # 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=centos-8 PACKER_VERSION=1.9.1 PACKER_BUILDER=openstack UPDATE_CLOUD_IMAGE=False [EnvInject] - Variables injected successfully. [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins17749522471048035886.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/ci-management-packer-merge-centos-8-builder /w/workspace/ci-management-packer-merge-centos-8-builder 2024-01-01 02: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-8-builder/bin/packer /w/workspace/ci-management-packer-merge-centos-8-builder ---> packer-build.sh packer init templates/builder.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.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_65921cf2-235c-2828-0da6-ebb5cab7d9d2 ... ==> openstack.builder: Created temporary keypair: packer_65921cf2-235c-2828-0da6-ebb5cab7d9d2 openstack.builder: Found Image ID: 761f7087-a7a9-43af-8e1f-6a2ac3d2624d ==> openstack.builder: Creating volume... ==> openstack.builder: Waiting for volume packer_65921cf2-b07f-9159-2699-86517597da55 (volume id: 0538113f-17e6-4d9e-8e3a-732dc9d15644) to become available... openstack.builder: Volume ID: 0538113f-17e6-4d9e-8e3a-732dc9d15644 ==> openstack.builder: Launching server... ==> openstack.builder: Launching server... openstack.builder: Server ID: d576d205-6418-4b46-b863-83dd5d3255a1 ==> openstack.builder: Waiting for server to become ready... openstack.builder: Floating IP not required ==> openstack.builder: Using SSH communicator to connect: 10.32.7.132 ==> 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 NOT Ubuntu openstack.builder: Distro is CentOS 8 openstack.builder: Install python38 openstack.builder: 0 files removed openstack.builder: CentOS-8 - AppStream 115 B/s | 38 B 00:00 ==> openstack.builder: Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist ==> openstack.builder: Provisioning step had errors: Running the cleanup provisioner, if present... ==> openstack.builder: Terminating the source server: d576d205-6418-4b46-b863-83dd5d3255a1 ... ==> openstack.builder: Deleting volume: 0538113f-17e6-4d9e-8e3a-732dc9d15644 ... ==> openstack.builder: Deleting temporary keypair: packer_65921cf2-235c-2828-0da6-ebb5cab7d9d2 ... Build 'openstack.builder' errored after 1 minute 13 seconds: Script exited with non-zero exit status: 1. Allowed exit codes are: [0] ==> Wait completed after 1 minute 13 seconds ==> Some builds didn't complete successfully and had errors: --> openstack.builder: 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 1613 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins15380311355907570661.sh ---> sysstat.sh [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins9968450043511857551.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/ci-management-packer-merge-centos-8-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-centos-8-builder ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ci-management-packer-merge-centos-8-builder ']' + mkdir -p /w/workspace/ci-management-packer-merge-centos-8-builder/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-packer-merge-centos-8-builder/archives/ [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins2208890589870473161.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-AJx3 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-AJx3/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins10457073435844870101.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-packer-merge-centos-8-builder@tmp/config14049184781361367677tmp 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-8-builder] $ /bin/bash /tmp/jenkins1597158696161780769.sh ---> create-netrc.sh [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins17811979250119944768.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-centos-8-builder/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AJx3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-AJx3/bin to PATH Generating Requirements File Python 3.9.13 pip 23.3.2 from /tmp/venv-AJx3/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.11 botocore==1.34.11 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.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.4.2 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.40 google-auth==2.25.2 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.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.0 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==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 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.12 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-centos-8-builder] $ /bin/bash /tmp/jenkins10200055009156053357.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ci-management-packer-merge-centos-8-builder] $ /bin/bash /tmp/jenkins11709925521162759232.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-centos-8-builder/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AJx3 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.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-AJx3/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-1 INFO: Archiving Costs [ci-management-packer-merge-centos-8-builder] $ /bin/bash -l /tmp/jenkins5765367825284356409.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ci-management-packer-merge-centos-8-builder/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AJx3 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.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-AJx3/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-8-builder/49 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-2497.novalocal 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 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 462M 0 462M 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 307 101 12 581 513 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:d7:e6:db brd ff:ff:ff:ff:ff:ff inet 10.32.7.210/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86156sec preferred_lft 86156sec inet6 fe80::f816:3eff:fed7:e6db/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 3.10.0-1160.88.1.el7.x86_64 (centos-7-builder-645028a3-691c-92a3-68cd-c5cb772ca423.novalocal) 01/01/2024 _x86_64_ (1 CPU) 02:00:41 AM LINUX RESTART 02:01:02 AM tps rtps wtps bread/s bwrtn/s 02:02:01 AM 33.85 16.56 17.30 3670.51 6618.86 02:03:01 AM 91.16 77.85 13.31 4971.55 1026.25 02:04:02 AM 117.29 5.30 111.99 468.15 13444.13 Average: 80.41 33.75 46.66 3074.23 6930.81 02:01:02 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:02:01 AM 135344 879116 86.66 2088 520636 701844 34.02 354208 405312 36 02:03:01 AM 79688 934772 92.14 2088 571128 461904 22.39 378712 432616 50208 02:04:02 AM 66564 947896 93.44 2088 539628 478744 23.21 379440 417412 18488 Average: 93865 920595 90.75 2088 543797 547497 26.54 370787 418447 22911 02:01:02 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 02:02:01 AM eth0 361.08 219.24 1325.20 85.72 0.00 0.00 0.00 02:02:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:01 AM eth0 36.64 34.04 336.72 6.00 0.00 0.00 0.00 02:03:01 AM lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 02:04:02 AM eth0 72.78 72.73 987.08 11.22 0.00 0.00 0.00 02:04:02 AM lo 0.02 0.02 0.00 0.00 0.00 0.00 0.00 Average: eth0 157.23 108.73 879.36 34.44 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.88.1.el7.x86_64 (centos-7-builder-645028a3-691c-92a3-68cd-c5cb772ca423.novalocal) 01/01/2024 _x86_64_ (1 CPU) 02:00:41 AM LINUX RESTART 02:01:02 AM CPU %user %nice %system %iowait %steal %idle 02:02:01 AM all 23.45 0.00 2.67 0.56 0.07 73.25 02:02:01 AM 0 23.45 0.00 2.67 0.56 0.07 73.25 02:03:01 AM all 22.85 0.00 2.08 10.02 0.07 64.99 02:03:01 AM 0 22.85 0.00 2.08 10.02 0.07 64.99 02:04:02 AM all 67.30 0.00 4.72 1.74 0.15 26.09 02:04:02 AM 0 67.30 0.00 4.72 1.74 0.15 26.09 Average: all 37.47 0.00 3.13 4.16 0.09 55.14 Average: 0 37.47 0.00 3.13 4.16 0.09 55.14