Started by user Anil Belur Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos8-builder-2c-1g-2199 (centos8-builder-2c-1g) in workspace /w/workspace/builder-packer-merge-ubuntu-22.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-yIw4xfy7lGEY/agent.5449 SSH_AGENT_PID=5450 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/builder-packer-merge-ubuntu-22.04-docker@tmp/private_key_7519943685564321238.key (/w/workspace/builder-packer-merge-ubuntu-22.04-docker@tmp/private_key_7519943685564321238.key) [ssh-agent] Using credentials jenkins (jenkins-ssh) The recommended git tool is: NONE using credential jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://devvexx.opendaylight.org/mirror/releng/builder > git init /w/workspace/builder-packer-merge-ubuntu-22.04-docker # timeout=10 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/releng/builder > git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_SSH to set credentials jenkins-ssh [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/builder-packer-merge-ubuntu-22.04-docker@tmp/jenkins-gitclient-ssh2666359919627224177.key Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/releng/builder +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/releng/builder # 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 8ff1d065d44a26d6ded62a321f906dcc43b336a7 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8ff1d065d44a26d6ded62a321f906dcc43b336a7 # timeout=10 Commit message: "Chore: Add Ubuntu 20.04 docker packer job" 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.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # 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 submodule update --init --recursive global-jjb # timeout=10 > git submodule update --init --recursive packer/common-packer # 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-22.04 PACKER_VERSION=1.9.1 PACKER_BUILDER=openstack UPDATE_CLOUD_IMAGE=True [EnvInject] - Variables injected successfully. [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins7950662435135745457.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/builder-packer-merge-ubuntu-22.04-docker /w/workspace/builder-packer-merge-ubuntu-22.04-docker 2024-03-27 03:02:40 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/builder-packer-merge-ubuntu-22.04-docker/bin/packer /w/workspace/builder-packer-merge-ubuntu-22.04-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" Error: Failed to read file The configuration file "common-packer/vars/ubuntu-22.04.pkrvars.hcl" could not be read. Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 5450 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins5277986140538070484.sh ---> sysstat.sh [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins9935310826607465883.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/builder-packer-merge-ubuntu-22.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/builder-packer-merge-ubuntu-22.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/builder-packer-merge-ubuntu-22.04-docker ']' + mkdir -p /w/workspace/builder-packer-merge-ubuntu-22.04-docker/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/builder-packer-merge-ubuntu-22.04-docker/archives/ [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins11653369112463869696.sh ---> capture-instance-metadata.sh Setup pyenv: system * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.13 (set by /opt/pyenv/version) * 3.11.7 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-z77j 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-z77j/bin to PATH INFO: Running in OpenStack, capturing instance metadata [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins818163079097670112.sh provisioning config files... Could not find credentials [logs] for builder-packer-merge-ubuntu-22.04-docker #1 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/builder-packer-merge-ubuntu-22.04-docker@tmp/config16481927671138294061tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] Run condition [Regular expression match] enabling perform for step [Provide Configuration files] provisioning config files... copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins5595159950042073200.sh ---> create-netrc.sh WARN: Log server credential not found. [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins18392099388990328133.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/builder-packer-merge-ubuntu-22.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-z77j from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-z77j/bin to PATH Generating Requirements File Python 3.11.7 pip 24.0 from /tmp/venv-z77j/lib/python3.11/site-packages/pip (python 3.11) 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.71 botocore==1.34.71 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.42 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.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.21 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 [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins7774217781786286029.sh ---> sudo-logs.sh Archiving 'sudo' log.. [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash /tmp/jenkins2506942574828598953.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/builder-packer-merge-ubuntu-22.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-z77j 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-z77j/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [builder-packer-merge-ubuntu-22.04-docker] $ /bin/bash -l /tmp/jenkins16324364755141813019.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/builder-packer-merge-ubuntu-22.04-docker/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-z77j from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-z77j/bin to PATH WARNING: Nexus logging server not set INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/builder-packer-merge-ubuntu-22.04-docker/1/ INFO: archiving logs to S3 ---> uname -a: Linux prd-centos8-builder-2c-1g-2199.novalocal 4.18.0-544.el8.x86_64 #1 SMP Thu Feb 22 21:29:23 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): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq 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 ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs 3.8G 17M 3.8G 1% /run tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/vda1 40G 8.6G 32G 22% / tmpfs 770M 0 770M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 7697 610 4715 19 2371 6792 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:37:62:14 brd ff:ff:ff:ff:ff:ff altname enp0s3 altname ens3 inet 10.30.170.52/23 brd 10.30.171.255 scope global dynamic noprefixroute eth0 valid_lft 86187sec preferred_lft 86187sec inet6 fe80::f816:3eff:fe37:6214/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1458 qdisc noqueue state DOWN group default link/ether 02:42:00:ea:c3:eb brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.18.0-544.el8.x86_64 (centos-stream-8-builder-ae393510-0a03-4d70-9a0d-820400f2e72e.nov) 03/27/2024 _x86_64_ (2 CPU) 03:01:34 LINUX RESTART (2 CPU) 03:02:01 AM tps rtps wtps bread/s bwrtn/s 03:03:01 AM 103.28 27.10 76.18 6406.80 39808.31 03:04:01 AM 74.81 7.66 67.14 1351.02 10433.24 03:05:01 AM 57.90 0.28 57.61 29.06 5144.52 Average: 78.66 11.68 66.98 2595.83 18463.21 03:02:01 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:03:01 AM 5168972 6988036 2713456 34.42 2688 2012412 1003084 11.23 427716 2001748 208324 03:04:01 AM 4997728 7010900 2884700 36.60 2688 2197104 942676 10.56 452788 2107908 82428 03:05:01 AM 4865904 6992748 3016524 38.27 2688 2304272 946656 10.60 456696 2217064 89424 Average: 5010868 6997228 2871560 36.43 2688 2171263 964139 10.80 445733 2108907 126725 03:02:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:03:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:01 AM eth0 285.66 169.15 1836.43 63.24 0.00 0.00 0.00 0.00 03:03:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:01 AM eth0 51.00 33.84 431.15 5.92 0.00 0.00 0.00 0.00 03:04:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:05:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:05:01 AM eth0 34.91 24.58 215.02 5.76 0.00 0.00 0.00 0.00 03:05:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 123.86 75.86 827.59 24.98 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.18.0-544.el8.x86_64 (centos-stream-8-builder-ae393510-0a03-4d70-9a0d-820400f2e72e.nov) 03/27/2024 _x86_64_ (2 CPU) 03:01:34 LINUX RESTART (2 CPU) 03:02:01 AM CPU %user %nice %system %iowait %steal %idle 03:03:01 AM all 34.70 0.00 7.08 17.42 0.10 40.70 03:03:01 AM 0 28.63 0.00 7.28 17.67 0.10 46.33 03:03:01 AM 1 40.75 0.00 6.88 17.18 0.10 35.09 03:04:01 AM all 29.46 0.00 4.41 12.93 0.11 53.09 03:04:01 AM 0 16.97 0.00 3.31 8.87 0.10 70.76 03:04:01 AM 1 41.94 0.00 5.50 16.99 0.12 35.44 03:05:01 AM all 28.46 0.00 3.69 12.43 0.09 55.33 03:05:01 AM 0 14.46 0.00 2.54 8.92 0.07 74.02 03:05:01 AM 1 42.47 0.00 4.84 15.94 0.12 36.64 Average: all 30.86 0.00 5.05 14.25 0.10 49.73 Average: 0 19.99 0.00 4.37 11.80 0.09 63.75 Average: 1 41.72 0.00 5.74 16.70 0.11 35.72