Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-4760 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-plt-alarm-go-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-KGjhAjuqRn37/agent.2136 SSH_AGENT_PID=2138 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-plt-alarm-go-sonar-prescan-script@tmp/private_key_8767196957804639284.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/alarm-go > git init /w/workspace/ric-plt-alarm-go-sonar-prescan-script # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/alarm-go > 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/alarm-go +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/alarm-go # 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 552a278c592256645a4d09d72a70781010cc5211 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 552a278c592256645a4d09d72a70781010cc5211 # timeout=10 Commit message: "I release step 2 of 2" > git rev-list --no-walk 552a278c592256645a4d09d72a70781010cc5211 # 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-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins6782794100065593150.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-RRME 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-RRME/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-RRME/lib/python3.10/site-packages/pip (python 3.10) 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.64 botocore==1.34.64 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.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.2 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.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.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.5.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.4.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 [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-alarm-go-sonar-prescan-script] $ /bin/sh /tmp/jenkins5479716744909950808.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-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins1149011563565005011.sh --> prescan-alarm-go-ubuntu.sh + sudo apt-get install -y cmake ninja-build Reading package lists... Building dependency tree... Reading state information... Package ninja-build is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'ninja-build' has no installation candidate Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2138 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins978818839647865423.sh ---> sysstat.sh [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins16372035229030212343.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-plt-alarm-go-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-alarm-go-sonar-prescan-script ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ric-plt-alarm-go-sonar-prescan-script ']' + mkdir -p /w/workspace/ric-plt-alarm-go-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-alarm-go-sonar-prescan-script/archives/ [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins1365060372816856342.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-alarm-go-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RRME from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RRME/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins8805434839746119594.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-alarm-go-sonar-prescan-script@tmp/config9851720598990666950tmp 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-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins1867054810629424854.sh ---> create-netrc.sh [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins10670702019896355737.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-alarm-go-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RRME from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RRME/bin to PATH [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins17288016903084599661.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash /tmp/jenkins15742747365911182780.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-alarm-go-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RRME 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-RRME/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [ric-plt-alarm-go-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins2444225106704595232.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-alarm-go-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RRME from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RRME/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-alarm-go-sonar-prescan-script/1460 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-4760 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 8.9G 11G 47% / 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 444 1437 0 2062 3243 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:fd:a2:87 brd ff:ff:ff:ff:ff:ff inet 10.32.6.150/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86201sec preferred_lft 86201sec inet6 fe80::f816:3eff:fefd:a287/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:90:62:bc:02 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-4760) 03/16/24 _x86_64_ (4 CPU) 18:30:44 LINUX RESTART (4 CPU) 18:31:01 tps rtps wtps bread/s bwrtn/s 18:32:01 134.64 69.01 65.64 5603.87 40722.16 18:33:01 82.57 25.66 56.91 2010.06 8502.72 Average: 108.61 47.33 61.27 3806.97 24612.44 18:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:32:01 1699784 3286252 2338868 57.91 39596 1710004 959008 18.85 614844 1561592 79612 18:33:01 1503096 3342932 2535556 62.78 59504 1928860 882336 17.34 583128 1760844 97412 Average: 1601440 3314592 2437212 60.35 49550 1819432 920672 18.10 598986 1661218 88512 18:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:32:01 ens3 380.05 226.81 1394.20 60.05 0.00 0.00 0.00 0.00 18:32:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 18:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:33:01 ens3 32.64 30.64 236.58 13.10 0.00 0.00 0.00 0.00 18:33:01 lo 1.87 1.87 0.17 0.17 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 206.35 128.73 815.39 36.58 0.00 0.00 0.00 0.00 Average: lo 1.50 1.50 0.14 0.14 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-4760) 03/16/24 _x86_64_ (4 CPU) 18:30:44 LINUX RESTART (4 CPU) 18:31:01 CPU %user %nice %system %iowait %steal %idle 18:32:01 all 20.17 0.00 2.25 4.11 0.19 73.28 18:32:01 0 28.59 0.00 2.24 2.22 0.20 66.75 18:32:01 1 15.00 0.00 1.91 2.51 0.17 80.42 18:32:01 2 28.13 0.00 3.07 2.88 0.22 65.70 18:32:01 3 9.02 0.00 1.72 8.83 0.17 80.26 18:33:01 all 21.79 0.00 1.56 1.85 0.15 74.64 18:33:01 0 27.67 0.00 1.97 1.55 0.17 68.64 18:33:01 1 33.56 0.00 1.90 0.20 0.15 64.19 18:33:01 2 16.33 0.00 1.26 1.12 0.23 81.06 18:33:01 3 9.59 0.00 1.18 4.50 0.10 84.63 Average: all 20.98 0.00 1.91 2.98 0.17 73.96 Average: 0 28.13 0.00 2.10 1.89 0.18 67.70 Average: 1 24.29 0.00 1.90 1.35 0.16 72.30 Average: 2 22.23 0.00 2.16 2.00 0.23 73.38 Average: 3 9.31 0.00 1.45 6.66 0.13 82.45