Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-4c-4g-114 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/com-golog-sonar-prescan-script
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-zghGDP7lpx6A/agent.2069
SSH_AGENT_PID=2071
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/com-golog-sonar-prescan-script@tmp/private_key_10056249010718839446.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/com/golog
 > git init /w/workspace/com-golog-sonar-prescan-script # timeout=10
Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/golog
 > 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/com/golog +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/golog # 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 78901281c985115b2b9497d89befa2efce154d4f (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 78901281c985115b2b9497d89befa2efce154d4f # timeout=10
Commit message: "RIC:1060: Change in PTL"
 > git rev-list --no-walk 78901281c985115b2b9497d89befa2efce154d4f # 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
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins5427608978436940288.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-IRNG
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-IRNG/bin to PATH
Generating Requirements File
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.12 requires requests<2.32.0, but you have requests 2.32.3 which is incompatible.
Python 3.10.6
pip 25.0.1 from /tmp/venv-IRNG/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.6.2
aspy.yaml==1.3.0
attrs==25.3.0
autopage==0.5.2
beautifulsoup4==4.13.3
boto3==1.37.32
botocore==1.37.32
bs4==0.0.2
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
cliff==4.9.1
cmd2==2.5.11
cryptography==3.3.2
debtcollector==3.0.0
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.2.18
distlib==0.3.9
dnspython==2.7.0
docker==4.2.2
dogpile.cache==1.3.4
durationpy==0.9
email_validator==2.2.0
filelock==3.18.0
future==1.0.0
gitdb==4.0.12
GitPython==3.1.44
google-auth==2.38.0
httplib2==0.22.0
identify==2.6.9
idna==3.10
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.6
jmespath==1.0.1
jsonpatch==1.33
jsonpointer==3.0.0
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
keystoneauth1==5.10.0
kubernetes==32.0.1
lftools==0.37.12
lxml==5.3.2
MarkupSafe==3.0.2
msgpack==1.1.0
multi_key_dict==2.0.3
munch==4.0.0
netaddr==1.3.0
niet==1.4.2
nodeenv==1.9.1
oauth2client==4.1.3
oauthlib==3.2.2
openstacksdk==4.5.0
os-client-config==2.1.0
os-service-types==1.7.0
osc-lib==4.0.0
oslo.config==9.7.1
oslo.context==5.7.1
oslo.i18n==6.5.1
oslo.log==7.1.0
oslo.serialization==5.7.0
oslo.utils==8.2.0
packaging==24.2
pbr==6.1.1
platformdirs==4.3.7
prettytable==3.16.0
psutil==7.0.0
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycparser==2.22
pygerrit2==2.0.15
PyGithub==2.6.1
PyJWT==2.10.1
PyNaCl==1.5.0
pyparsing==2.4.7
pyperclip==1.9.0
pyrsistent==0.20.0
python-cinderclient==9.7.0
python-dateutil==2.9.0.post0
python-heatclient==4.1.0
python-jenkins==1.8.2
python-keystoneclient==5.6.0
python-magnumclient==4.8.1
python-openstackclient==8.0.0
python-swiftclient==4.7.0
PyYAML==6.0.2
referencing==0.36.2
requests==2.32.3
requests-oauthlib==2.0.0
requestsexceptions==1.4.0
rfc3986==2.0.0
rpds-py==0.24.0
rsa==4.9
ruamel.yaml==0.18.10
ruamel.yaml.clib==0.2.12
s3transfer==0.11.4
simplejson==3.20.1
six==1.17.0
smmap==5.0.2
soupsieve==2.6
stevedore==5.4.1
tabulate==0.9.0
toml==0.10.2
tomlkit==0.13.2
tqdm==4.67.1
typing_extensions==4.13.2
tzdata==2025.2
urllib3==1.26.20
virtualenv==20.30.0
wcwidth==0.2.13
websocket-client==1.8.0
wrapt==1.17.2
xdg==6.0.0
xmltodict==0.14.2
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.
[com-golog-sonar-prescan-script] $ /bin/sh /tmp/jenkins10729817823482883494.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.
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins8538948488464818267.sh
--> prescan-golog-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 2071 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins9422205458074108076.sh
---> sysstat.sh
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins11686143369797434605.sh
---> package-listing.sh
++ tr '[:upper:]' '[:lower:]'
++ facter osfamily
+ OS_FAMILY=debian
+ workspace=/w/workspace/com-golog-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/com-golog-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/com-golog-sonar-prescan-script ']'
+ mkdir -p /w/workspace/com-golog-sonar-prescan-script/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/com-golog-sonar-prescan-script/archives/
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins16895685702134424290.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-golog-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-IRNG from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-IRNG/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins10217085626949172333.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/com-golog-sonar-prescan-script@tmp/config9054658412547461637tmp
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.
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins3223312555063142279.sh
---> create-netrc.sh
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins10074154387928376423.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-golog-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-IRNG from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-IRNG/bin to PATH
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins13732557497041176216.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins10664143954871146710.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-golog-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-IRNG 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.12 requires requests<2.32.0, but you have requests 2.32.3 which is incompatible.
lf-activate-venv(): INFO: Adding /tmp/venv-IRNG/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v2-highcpu-4
INFO: Archiving Costs
[com-golog-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins12258266988396941467.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-golog-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-IRNG from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-IRNG/bin to PATH
INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/com-golog-sonar-prescan-script/1601
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-4c-4g-114 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:             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-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:           3944         455        1454           0        2034        3231
Swap:          1023           0        1023


---> ip addr:
1: lo: <LOOPBACK,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:7e:ba:ce brd ff:ff:ff:ff:ff:ff
    inet 10.32.7.25/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86251sec preferred_lft 86251sec
    inet6 fe80::f816:3eff:fe7e:bace/64 scope link 
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:d3:66:72:e0 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-114) 	04/12/25 	_x86_64_	(4 CPU)

18:13:57     LINUX RESTART	(4 CPU)

18:14:01          tps      rtps      wtps   bread/s   bwrtn/s
18:15:01       197.40    105.00     92.40   7431.96  40227.71
18:16:01        80.02     12.71     67.31   1120.69   9101.77
Average:       138.71     58.85     79.86   4276.06  24663.44

18:14:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
18:15:01      1762636   3322644   2276024     56.36     39212   1683448    924364     18.17    574356   1536340     80832
18:16:01      1472464   3290616   2566196     63.54     59840   1907104    937264     18.42    617128   1756048     90828
Average:      1617550   3306630   2421110     59.95     49526   1795276    930814     18.30    595742   1646194     85830

18:14:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
18:15:01           lo      2.13      2.13      0.20      0.20      0.00      0.00      0.00      0.00
18:15:01         ens3    321.41    199.40   1129.31     63.18      0.00      0.00      0.00      0.00
18:15:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
18:16:01           lo      1.53      1.53      0.15      0.15      0.00      0.00      0.00      0.00
18:16:01         ens3     56.25     51.75    517.48     15.01      0.00      0.00      0.00      0.00
18:16:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
Average:           lo      1.83      1.83      0.17      0.17      0.00      0.00      0.00      0.00
Average:         ens3    188.82    125.57    823.37     39.10      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.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-114) 	04/12/25 	_x86_64_	(4 CPU)

18:13:57     LINUX RESTART	(4 CPU)

18:14:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
18:15:01        all     14.35      0.00      2.13      6.58      0.05     76.89
18:15:01          0      6.90      0.00      1.46      4.00      0.02     87.63
18:15:01          1     17.30      0.00      1.82     10.91      0.05     69.92
18:15:01          2     10.44      0.00      2.77      6.58      0.05     80.16
18:15:01          3     22.76      0.00      2.46      4.82      0.05     69.92
18:16:01        all     20.77      0.00      1.39      1.92      0.04     75.88
18:16:01          0     14.92      0.00      1.27      0.47      0.03     83.31
18:16:01          1     13.85      0.00      0.85      4.65      0.05     80.60
18:16:01          2     35.55      0.00      2.48      2.35      0.07     59.55
18:16:01          3     18.72      0.00      0.93      0.22      0.05     80.08
Average:        all     17.57      0.00      1.76      4.25      0.04     76.38
Average:          0     10.91      0.00      1.36      2.23      0.03     85.47
Average:          1     15.57      0.00      1.34      7.78      0.05     75.26
Average:          2     23.05      0.00      2.63      4.46      0.06     69.81
Average:          3     20.74      0.00      1.70      2.51      0.05     75.00