Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-1372 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-plt-vespamgr-sonar-prescan-script [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-Xz0jWRFpFFQo/agent.2037 SSH_AGENT_PID=2039 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-plt-vespamgr-sonar-prescan-script@tmp/private_key_17301030881639825859.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/ric-plt/vespamgr > git init /w/workspace/ric-plt-vespamgr-sonar-prescan-script # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/vespamgr > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/vespamgr +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/vespamgr # 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 93583d93c2fceab7e37b507c3fccfdd514dfa019 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 93583d93c2fceab7e37b507c3fccfdd514dfa019 # timeout=10 Commit message: "RIC:1060: Change in PTL" > git rev-list --no-walk 93583d93c2fceab7e37b507c3fccfdd514dfa019 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins1097839360012008257.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 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-A5wq 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-A5wq/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-A5wq/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.108 botocore==1.34.108 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.7.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.3 email_validator==2.1.1 filelock==3.14.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.2 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.1.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.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.2 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.35.1 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 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.5 tqdm==4.66.4 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.2 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [ric-plt-vespamgr-sonar-prescan-script] $ /bin/sh /tmp/jenkins7427537205168536154.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins15090501658266365319.sh --> prescan-ric-plt-vespamgr-ubuntu.sh starts + GO111MODULE=on + go mod download + export GOPATH=/home/jenkins/go + GOPATH=/home/jenkins/go + export PATH=/home/jenkins/go/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/go/1.19/bin + PATH=/home/jenkins/go/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/go/1.19/bin + go test ./... -v -coverprofile cover.out # gerrit.o-ran-sc.org/r/ric-plt/alarm-go.git/alarm In file included from /home/jenkins/go/pkg/mod/gerrit.o-ran-sc.org/r/ric-plt/alarm-go.git/alarm@v0.5.0/alarm.go:40:0: ./utils.h:28:10: fatal error: rmr/rmr.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. FAIL gerrit.o-ran-sc.org/r/ric-plt/vespamgr/cmd/vespamgr [build failed] FAIL Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2039 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins5692075332724536595.sh ---> sysstat.sh [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins17204965756778948617.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/ric-plt-vespamgr-sonar-prescan-script + 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/ric-plt-vespamgr-sonar-prescan-script ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + grep '^ii' + dpkg -l + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ric-plt-vespamgr-sonar-prescan-script ']' + mkdir -p /w/workspace/ric-plt-vespamgr-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-vespamgr-sonar-prescan-script/archives/ [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins3570284592480102656.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-vespamgr-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-A5wq from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-A5wq/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins7541565414775295009.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-vespamgr-sonar-prescan-script@tmp/config13718407716718506450tmp 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. [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins4215871617276794862.sh ---> create-netrc.sh [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins11769374309682065160.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-vespamgr-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-A5wq from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-A5wq/bin to PATH [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins3057072068639511270.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash /tmp/jenkins12021845956862162561.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-vespamgr-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-A5wq 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-A5wq/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [ric-plt-vespamgr-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins13029124440565043424.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-vespamgr-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-A5wq from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-A5wq/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-vespamgr-sonar-prescan-script/1276 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-1372 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 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): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 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-3 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 xtopology 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 arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 696K 394M 1% /run /dev/vda1 20G 9.2G 10G 48% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3943 464 941 0 2538 3199 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: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:dd:e0:6d brd ff:ff:ff:ff:ff:ff inet 10.32.6.87/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86054sec preferred_lft 86054sec inet6 fe80::f816:3eff:fedd:e06d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:0c:16:6d:67 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.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-1372) 05/19/24 _x86_64_ (4 CPU) 21:47:49 LINUX RESTART (4 CPU) 21:48:01 tps rtps wtps bread/s bwrtn/s 21:49:02 118.48 49.79 68.69 4941.08 38020.87 21:50:01 55.93 24.02 31.91 970.05 4186.72 21:51:01 56.42 11.18 45.24 719.91 7084.59 21:52:01 154.87 90.84 64.03 3642.18 14632.82 21:53:01 25.38 1.02 24.37 106.46 4205.33 Average: 82.31 35.41 46.90 2079.72 13658.61 21:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:49:02 1960920 3384804 2077732 51.45 26836 1567004 846192 16.63 490348 1439360 6660 21:50:01 1666992 3260260 2371660 58.72 40472 1715640 976228 19.19 642508 1565324 43756 21:51:01 1527412 3273368 2511240 62.18 54380 1845424 950508 18.68 650576 1678608 47576 21:52:01 902964 3287744 3135688 77.64 85216 2422032 1119908 22.01 806428 2081364 177164 21:53:01 973724 3284640 3064928 75.89 86976 2347764 907780 17.84 748588 2071740 13788 Average: 1406402 3298163 2632250 65.18 58776 1979573 960123 18.87 667690 1767279 57789 21:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:49:02 lo 0.73 0.73 0.06 0.06 0.00 0.00 0.00 0.00 21:49:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:02 ens3 137.90 103.21 687.94 54.48 0.00 0.00 0.00 0.00 21:50:01 lo 0.81 0.81 0.07 0.07 0.00 0.00 0.00 0.00 21:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:01 ens3 55.40 44.60 690.48 5.06 0.00 0.00 0.00 0.00 21:51:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 21:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:51:01 ens3 20.82 16.48 222.24 2.68 0.00 0.00 0.00 0.00 21:52:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:52:01 ens3 157.27 68.87 799.60 7.86 0.00 0.00 0.00 0.00 21:53:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:01 ens3 13.19 14.44 11.38 9.65 0.00 0.00 0.00 0.00 Average: lo 0.84 0.84 0.07 0.07 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 Average: ens3 76.99 49.54 481.64 15.98 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-1372) 05/19/24 _x86_64_ (4 CPU) 21:47:49 LINUX RESTART (4 CPU) 21:48:01 CPU %user %nice %system %iowait %steal %idle 21:49:02 all 9.09 0.00 3.50 7.00 14.83 65.58 21:49:02 0 5.16 0.00 5.27 7.63 16.94 65.01 21:49:02 1 11.39 0.00 2.57 5.81 13.59 66.65 21:49:02 2 8.24 0.00 3.22 7.16 16.45 64.94 21:49:02 3 11.68 0.00 2.94 7.39 12.26 65.73 21:50:01 all 15.95 0.00 1.68 3.72 5.83 72.82 21:50:01 0 3.48 0.00 1.40 2.06 4.27 88.79 21:50:01 1 20.76 0.00 1.24 5.39 5.94 66.67 21:50:01 2 7.07 0.00 1.94 4.03 5.18 81.78 21:50:01 3 32.39 0.00 2.13 3.35 7.93 54.20 21:51:01 all 16.26 0.00 2.16 3.33 7.26 70.99 21:51:01 0 9.37 0.00 1.56 1.83 5.98 81.26 21:51:01 1 24.02 0.00 1.73 1.11 6.75 66.39 21:51:01 2 5.38 0.00 2.07 4.60 6.59 81.37 21:51:01 3 26.26 0.00 3.28 5.77 9.72 54.97 21:52:01 all 26.06 0.00 9.39 9.26 19.55 35.74 21:52:01 0 20.35 0.00 8.62 7.80 18.94 44.29 21:52:01 1 22.54 0.00 9.68 10.47 18.58 38.72 21:52:01 2 36.52 0.00 9.78 9.39 21.52 22.79 21:52:01 3 24.79 0.00 9.51 9.37 19.15 37.19 21:53:01 all 18.89 0.00 2.63 1.44 8.85 68.20 21:53:01 0 26.01 0.00 1.98 0.50 8.89 62.61 21:53:01 1 12.26 0.00 3.17 2.99 8.52 73.05 21:53:01 2 26.89 0.00 2.88 1.50 8.17 60.56 21:53:01 3 10.48 0.00 2.47 0.75 9.79 76.51 Average: all 17.31 0.00 3.93 5.00 11.38 62.38 Average: 0 13.01 0.00 3.83 4.03 11.15 67.98 Average: 1 18.19 0.00 3.74 5.21 10.78 62.08 Average: 2 17.00 0.00 4.04 5.39 11.74 61.83 Average: 3 21.04 0.00 4.12 5.36 11.85 57.64