Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-4c-4g-610 (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-3au0j0PB5o8Q/agent.2113
SSH_AGENT_PID=2115
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/com-golog-sonar-prescan-script@tmp/private_key_11155971559921630308.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/jenkins11528887125814242295.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-ktk7
lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-ktk7/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.
httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible.
Python 3.10.6
pip 26.0.1 from /tmp/venv-ktk7/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==26.1.0
autopage==0.6.0
backports.strenum==1.3.1
beautifulsoup4==4.14.3
boto3==1.42.89
botocore==1.42.89
bs4==0.0.2
certifi==2026.2.25
cffi==2.0.0
cfgv==3.5.0
chardet==7.4.3
charset-normalizer==3.4.7
click==8.3.2
cliff==4.13.3
cmd2==3.5.0
cryptography==3.3.2
debtcollector==3.1.0
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.3.1
distlib==0.4.0
dnspython==2.8.0
docker==7.1.0
dogpile.cache==1.5.0
durationpy==0.10
email-validator==2.3.0
filelock==3.28.0
future==1.0.0
gitdb==4.0.12
GitPython==3.1.46
httplib2==0.30.2
identify==2.6.18
idna==3.11
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.6
jmespath==1.1.0
jsonpatch==1.33
jsonpointer==3.1.1
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
keystoneauth1==5.13.1
kubernetes==35.0.0
lftools==0.37.22
lxml==6.0.4
markdown-it-py==4.0.0
MarkupSafe==3.0.3
mdurl==0.1.2
msgpack==1.1.2
multi_key_dict==2.0.3
munch==4.0.0
netaddr==1.3.0
niet==1.4.2
nodeenv==1.10.0
oauth2client==4.1.3
oauthlib==3.3.1
openstacksdk==4.11.0
os-service-types==1.8.2
osc-lib==4.5.0
oslo.config==10.3.0
oslo.context==6.3.0
oslo.i18n==6.7.2
oslo.log==8.1.0
oslo.serialization==5.9.1
oslo.utils==10.0.1
packaging==26.1
pbr==7.0.3
platformdirs==4.9.6
prettytable==3.17.0
psutil==7.2.2
pyasn1==0.6.3
pyasn1_modules==0.4.2
pycparser==3.0
pygerrit2==2.0.15
PyGithub==2.9.1
Pygments==2.20.0
PyJWT==2.12.1
PyNaCl==1.6.2
pyparsing==2.4.7
pyperclip==1.11.0
pyrsistent==0.20.0
python-cinderclient==9.9.0
python-dateutil==2.9.0.post0
python-discovery==1.2.2
python-heatclient==5.1.0
python-jenkins==1.8.3
python-keystoneclient==5.8.0
python-magnumclient==4.10.0
python-openstackclient==9.0.0
python-swiftclient==4.10.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.33.1
requests-oauthlib==2.0.0
rfc3986==2.0.0
rich==15.0.0
rich-argparse==1.7.2
rpds-py==0.30.0
rsa==4.9.1
ruamel.yaml==0.19.1
ruamel.yaml.clib==0.2.15
s3transfer==0.16.0
simplejson==3.20.2
six==1.17.0
smmap==5.0.3
soupsieve==2.8.3
stevedore==5.7.0
tabulate==0.10.0
toml==0.10.2
tomlkit==0.14.0
tqdm==4.67.3
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==21.2.4
wcwidth==0.6.0
websocket-client==1.9.0
wrapt==2.1.2
xdg==6.0.0
xmltodict==1.0.4
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/jenkins1670187478441423131.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/jenkins4671417035118372278.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 2115 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins17255787379890338498.sh
---> sysstat.sh
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins770657613330959830.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/jenkins6202962728929221449.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-ktk7 from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-ktk7/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins11343872770636129823.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/com-golog-sonar-prescan-script@tmp/config10605913581056417766tmp
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/jenkins1094609739017084112.sh
---> create-netrc.sh
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins1822969870731365881.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-ktk7 from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-ktk7/bin to PATH
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins9143007633570732396.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[com-golog-sonar-prescan-script] $ /bin/bash /tmp/jenkins12625755340008019439.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-ktk7 from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 
lf-activate-venv(): INFO: Adding /tmp/venv-ktk7/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-starter-4
INFO: Archiving Costs
[com-golog-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins2370357875715686061.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-ktk7 from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 
lf-activate-venv(): INFO: Adding /tmp/venv-ktk7/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/1967
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-4c-4g-610 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            3.9G     0  3.9G   0% /dev
tmpfs           798M  696K  797M   1% /run
/dev/vda1        20G  8.9G   11G  47% /
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/vda15      105M  5.3M  100M   5% /boot/efi
tmpfs           798M     0  798M   0% /run/user/1001


---> free -m:
              total        used        free      shared  buff/cache   available
Mem:           7976         499        5420           0        2056        7203
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:71:55:44 brd ff:ff:ff:ff:ff:ff
    inet 10.32.7.63/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86180sec preferred_lft 86180sec
    inet6 fe80::f816:3eff:fe71:5544/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:b5:76:37:a1 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-610) 	04/15/26 	_x86_64_	(4 CPU)

18:12:50     LINUX RESTART	(4 CPU)

18:13:01          tps      rtps      wtps   bread/s   bwrtn/s
18:14:01       155.26     68.99     86.27   5587.07  39671.00
18:15:01        61.81      0.27     61.54     26.13   9318.45
18:16:01        52.19     12.90     39.29   1111.55   5349.11
Average:        89.75     27.38     62.37   2241.58  18112.85

18:13:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
18:14:01      5870952   7376460   2296476     28.12     36112   1650176    998588     10.84    617172   1510088     50936
18:15:01      5649936   7429388   2517492     30.82     57948   1885448    959740     10.41    571172   1743196    121180
18:16:01      5614084   7435792   2553344     31.26     61652   1923864    920844      9.99    578736   1770768     10748
Average:      5711657   7413880   2455771     30.07     51904   1819829    959724     10.41    589027   1674684     60955

18:13:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
18:14:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
18:14:01           lo      1.07      1.07      0.09      0.09      0.00      0.00      0.00      0.00
18:14:01         ens3    433.38    232.78   1054.63     67.11      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:15:01           lo      0.47      0.47      0.04      0.04      0.00      0.00      0.00      0.00
18:15:01         ens3     68.12     55.59    711.26      6.88      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
18:16:01           lo      1.67      1.67      0.16      0.16      0.00      0.00      0.00      0.00
18:16:01         ens3     18.46     17.21     14.09      8.19      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:           lo      1.07      1.07      0.10      0.10      0.00      0.00      0.00      0.00
Average:         ens3    173.32    101.86    593.33     27.39      0.00      0.00      0.00      0.00


---> sar -P ALL:
Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-610) 	04/15/26 	_x86_64_	(4 CPU)

18:12:50     LINUX RESTART	(4 CPU)

18:13:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
18:14:01        all     17.59      0.00      2.45      4.88      1.14     73.94
18:14:01          0     21.67      0.00      1.97      3.19      1.02     72.14
18:14:01          1     27.95      0.00      4.65      2.95      1.23     63.21
18:14:01          2     10.30      0.00      1.58      4.73      1.35     82.05
18:14:01          3     10.43      0.00      1.56      8.67      0.94     78.41
18:15:01        all     20.58      0.00      1.19      1.59      0.87     75.78
18:15:01          0     13.61      0.00      0.60      0.05      0.53     85.21
18:15:01          1     34.82      0.00      2.20      4.72      1.07     57.20
18:15:01          2     12.24      0.00      0.85      0.93      0.98     85.01
18:15:01          3     21.68      0.00      1.10      0.65      0.88     75.69
18:16:01        all     20.59      0.00      1.17      1.29      0.73     76.23
18:16:01          0      5.84      0.00      0.80      0.10      0.35     92.91
18:16:01          1     33.72      0.00      1.40      2.12      1.00     61.76
18:16:01          2      6.45      0.00      1.03      2.65      0.42     89.45
18:16:01          3     36.35      0.00      1.50      0.28      1.17     60.70
Average:        all     19.59      0.00      1.60      2.58      0.91     75.32
Average:          0     13.70      0.00      1.12      1.11      0.63     83.43
Average:          1     32.17      0.00      2.75      3.26      1.10     60.72
Average:          2      9.67      0.00      1.15      2.77      0.91     85.50
Average:          3     22.84      0.00      1.38      3.19      1.00     71.59


