Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos8-builder-2c-1g-5744 (centos8-builder-2c-1g) in workspace /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached [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-xsBiOwOQobzK/agent.22047 SSH_AGENT_PID=22049 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached@tmp/private_key_9273844279335143073.key (/w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached@tmp/private_key_9273844279335143073.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/ci-management > git init /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/ci-management > git --version # timeout=10 > git --version # 'git version 2.39.0' using GIT_SSH to set credentials Gerrit user [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-memcached@tmp/jenkins-gitclient-ssh3518229578869448451.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- git://cloud.onap.org/mirror/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/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 e67635cb851fc40b9d42638f6e108f1c194ef0f8 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f e67635cb851fc40b9d42638f6e108f1c194ef0f8 # timeout=10 Commit message: "Merge "Chore: Automation adds modeling-yang-kit.yaml"" 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=memcached PACKER_PLATFORM=ubuntu-20.04 PACKER_VERSION=1.9.1 PACKER_BUILDER=openstack UPDATE_CLOUD_IMAGE=True [EnvInject] - Variables injected successfully. [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins5846599987913469891.sh ---> packer-install.sh Packer binary not available, installing Packer version 1.9.1. /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached 2024-02-16 11:16:29 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-memcached/bin/packer /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached ---> packer-build.sh packer init templates/memcached.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" The configuration is valid. + [[ -n https://gerrit.onap.org/r ]] + [[ -n '' ]] + [[ git://cloud.onap.org/mirror/ci-management.git =~ https://github.com ]] + set +x ==> openstack.memcached: Loading flavor: v2-highcpu-1 openstack.memcached: Verified flavor. ID: c04abb7a-2b61-4ed3-8ce8-6c40ad9df750 ==> openstack.memcached: Creating temporary RSA SSH key for instance... ==> openstack.memcached: Creating temporary keypair: packer_65cf4410-4bb3-9851-9830-de491439aa59 ... ==> openstack.memcached: Created temporary keypair: packer_65cf4410-4bb3-9851-9830-de491439aa59 openstack.memcached: Found Image ID: 0f154d1e-6d2b-4cfd-ac09-f5c52730cc03 ==> openstack.memcached: Launching server... ==> openstack.memcached: Launching server... ==> openstack.memcached: Error launching source server: Request forbidden: [POST https://compute.public.mtl1.vexxhost.net/v2.1/f4f2c3c809ba4bdbb7f65b0a6908c63a/servers], error message: {"forbidden": {"code": 403, "message": "Only volume-backed servers are allowed for flavors with zero disk."}} ==> openstack.memcached: Terminating the source server: ... ==> openstack.memcached: Error terminating server, may still be around: Resource not found ==> openstack.memcached: Deleting temporary keypair: packer_65cf4410-4bb3-9851-9830-de491439aa59 ... Build 'openstack.memcached' errored after 3 seconds 772 milliseconds: Error launching source server: Request forbidden: [POST https://compute.public.mtl1.vexxhost.net/v2.1/f4f2c3c809ba4bdbb7f65b0a6908c63a/servers], error message: {"forbidden": {"code": 403, "message": "Only volume-backed servers are allowed for flavors with zero disk."}} ==> Wait completed after 3 seconds 772 milliseconds ==> Some builds didn't complete successfully and had errors: --> openstack.memcached: Error launching source server: Request forbidden: [POST https://compute.public.mtl1.vexxhost.net/v2.1/f4f2c3c809ba4bdbb7f65b0a6908c63a/servers], error message: {"forbidden": {"code": 403, "message": "Only volume-backed servers are allowed for flavors with zero disk."}} ==> 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 22049 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins13114730119311148722.sh ---> sysstat.sh [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins9721599243347698044.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached + 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-memcached ']' + 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-memcached ']' + mkdir -p /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached/archives/ [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins7839374350500377730.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.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cEYe 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-cEYe/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins16243710472352213174.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached@tmp/config17649794600209041424tmp 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-memcached] $ /bin/bash /tmp/jenkins13979625038262018592.sh ---> create-netrc.sh [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins16776647878858457944.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cEYe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-cEYe/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-cEYe/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.43 botocore==1.34.43 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.0 httplib2==0.22.0 identify==2.5.34 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.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.1.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==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 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.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins11855906653879985274.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash /tmp/jenkins6898297733688478292.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cEYe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-cEYe/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [ci-management-packer-merge-ubuntu-20.04-memcached] $ /bin/bash -l /tmp/jenkins10329953106867346233.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ci-management-packer-merge-ubuntu-20.04-memcached/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cEYe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-cEYe/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/ci-management-packer-merge-ubuntu-20.04-memcached/35 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos8-builder-2c-1g-5744.novalocal 4.18.0-448.el8.x86_64 #1 SMP Wed Jan 18 15:02:46 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): 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: 7699 556 4897 19 2245 6837 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:b8:00:c0 brd ff:ff:ff:ff:ff:ff altname enp0s3 altname ens3 inet 10.30.107.206/23 brd 10.30.107.255 scope global dynamic noprefixroute eth0 valid_lft 86249sec preferred_lft 86249sec inet6 fe80::f816:3eff:feb8:c0/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.18.0-448.el8.x86_64 (centos-stream-8-builder-63d9752a-2c92-2a07-2618-33e2bb46e6c7.nov) 02/16/2024 _x86_64_ (2 CPU) 11:15:44 LINUX RESTART (2 CPU) 11:16:01 AM tps rtps wtps bread/s bwrtn/s 11:17:01 AM 290.60 198.02 92.59 8343.49 40602.98 11:18:01 AM 115.61 7.15 108.47 1345.64 14000.02 Average: 203.12 102.59 100.52 4844.86 27302.61 11:16:01 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:17:01 AM 5329348 7015852 2555096 32.41 2688 1868764 729164 8.16 440340 1807036 191436 11:18:01 AM 5017020 7001868 2867424 36.37 2688 2151052 704136 7.88 466540 2033280 113500 Average: 5173184 7008860 2711260 34.39 2688 2009908 716650 8.02 453440 1920158 152468 11:16:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:17:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:01 AM eth0 281.51 159.91 1630.38 62.35 0.00 0.00 0.00 0.00 11:18:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:18:01 AM eth0 56.42 39.03 916.83 8.61 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 168.97 99.48 1273.64 35.48 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.18.0-448.el8.x86_64 (centos-stream-8-builder-63d9752a-2c92-2a07-2618-33e2bb46e6c7.nov) 02/16/2024 _x86_64_ (2 CPU) 11:15:44 LINUX RESTART (2 CPU) 11:16:01 AM CPU %user %nice %system %iowait %steal %idle 11:17:01 AM all 40.01 2.85 21.65 11.40 0.10 23.98 11:17:01 AM 0 47.15 2.99 18.65 7.63 0.10 23.49 11:17:01 AM 1 32.81 2.71 24.67 15.22 0.10 24.49 11:18:01 AM all 41.84 0.00 4.09 3.45 0.11 50.52 11:18:01 AM 0 39.55 0.00 3.34 3.66 0.10 53.34 11:18:01 AM 1 44.13 0.00 4.83 3.23 0.12 47.69 Average: all 40.94 1.41 12.76 7.38 0.11 37.41 Average: 0 43.31 1.48 10.92 5.62 0.10 38.57 Average: 1 38.55 1.33 14.62 9.14 0.11 36.25