Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-4c-4g-8919 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-app-mc-cmake-sonarqube
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-gTMNsSdjwjQs/agent.2068
SSH_AGENT_PID=2070
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/ric-app-mc-cmake-sonarqube@tmp/private_key_10302965373862082511.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-app/mc
 > git init /w/workspace/ric-app-mc-cmake-sonarqube # timeout=10
Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/mc
 > 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-app/mc +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/mc # 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 cac71f7cc77d728edeac709dc7eed7b5d95d5dd9 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cac71f7cc77d728edeac709dc7eed7b5d95d5dd9 # timeout=10
Commit message: "Fix: update the correct pre-built script to cmake-sonar.sh"
 > git rev-list --no-walk cac71f7cc77d728edeac709dc7eed7b5d95d5dd9 # 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-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins8579260701989270489.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-SYeO
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-SYeO/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.31.0 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible.
Python 3.10.6
pip 25.3 from /tmp/venv-SYeO/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==25.4.0
autopage==0.5.2
beautifulsoup4==4.14.2
boto3==1.40.71
botocore==1.40.71
bs4==0.0.2
cachetools==6.2.1
certifi==2025.10.5
cffi==2.0.0
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.4.4
click==8.3.0
cliff==4.11.0
cmd2==2.7.0
cryptography==3.3.2
debtcollector==3.0.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.20.0
future==1.0.0
gitdb==4.0.12
GitPython==3.1.45
google-auth==2.43.0
httplib2==0.31.0
identify==2.6.15
idna==3.11
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.25.1
jsonschema-specifications==2025.9.1
keystoneauth1==5.12.0
kubernetes==34.1.0
lftools==0.37.15
lxml==6.0.2
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.9.1
oauth2client==4.1.3
oauthlib==3.3.1
openstacksdk==4.7.1
os-service-types==1.8.1
osc-lib==4.2.0
oslo.config==10.0.0
oslo.context==6.1.0
oslo.i18n==6.6.0
oslo.log==7.2.1
oslo.serialization==5.8.0
oslo.utils==9.1.0
packaging==25.0
pbr==7.0.3
platformdirs==4.5.0
prettytable==3.16.0
psutil==7.1.3
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycparser==2.23
pygerrit2==2.0.15
PyGithub==2.8.1
Pygments==2.19.2
PyJWT==2.10.1
PyNaCl==1.6.1
pyparsing==2.4.7
pyperclip==1.11.0
pyrsistent==0.20.0
python-cinderclient==9.8.0
python-dateutil==2.9.0.post0
python-heatclient==4.3.0
python-jenkins==1.8.3
python-keystoneclient==5.7.0
python-magnumclient==4.9.0
python-openstackclient==8.2.0
python-swiftclient==4.8.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.32.5
requests-oauthlib==2.0.0
requestsexceptions==1.4.0
rfc3986==2.0.0
rich==14.2.0
rich-argparse==1.7.2
rpds-py==0.28.0
rsa==4.9.1
ruamel.yaml==0.18.16
ruamel.yaml.clib==0.2.14
s3transfer==0.14.0
simplejson==3.20.2
six==1.17.0
smmap==5.0.2
soupsieve==2.8
stevedore==5.5.0
tabulate==0.9.0
toml==0.10.2
tomlkit==0.13.3
tqdm==4.67.1
typing_extensions==4.15.0
tzdata==2025.2
urllib3==1.26.20
virtualenv==20.35.4
wcwidth==0.2.14
websocket-client==1.9.0
wrapt==2.0.1
xdg==6.0.0
xmltodict==1.0.2
yq==3.4.3
[ric-app-mc-cmake-sonarqube] $ /bin/sh -xe /tmp/jenkins1758082024602276468.sh
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins5931842577642150478.sh
---> cmake-sonarqube.sh
+ build_dir=/w/workspace/ric-app-mc-cmake-sonarqube/.build
+ build_wrap_dir=/w/workspace/ric-app-mc-cmake-sonarqube/bw-output
+ cmake_opts=
+ make_opts='test ARGS=-V'
+ cd /tmp
+ wget -q -O bw.zip https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
+ unzip -q bw.zip
+ sudo mv build-wrapper-linux-x86 /opt/build-wrapper
+ export SET_JDK_VERSION=openjdk11
+ SET_JDK_VERSION=openjdk11
+ echo openjdk11
openjdk11
+ GITHUB_RAW_BASE_URL=https://raw.githubusercontent.com
+ GITHUB_FILE=lfit/releng-global-jjb/master/shell/update-java-alternatives.sh
+ bash /dev/fd/63
++ curl -s https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.sh
---> update-java-alternatives.sh
---> Updating Java version
---> Ubuntu/Debian system detected
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
+ source /tmp/java.env
++ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
+ mkdir -p /w/workspace/ric-app-mc-cmake-sonarqube/.build
+ cd /w/workspace/ric-app-mc-cmake-sonarqube/.build
+ eval cmake -DCMAKE_INSTALL_PREFIX=/w/workspace/ric-app-mc-cmake-sonarqube/.build/output ..
++ cmake -DCMAKE_INSTALL_PREFIX=/w/workspace/ric-app-mc-cmake-sonarqube/.build/output ..
-- The C compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /w/workspace/ric-app-mc-cmake-sonarqube/.build
+ /opt/build-wrapper/build-wrapper-linux-x86-64 --out-dir /w/workspace/ric-app-mc-cmake-sonarqube/bw-output make test ARGS=-V
Running tests...
UpdateCTestConfiguration  from :/w/workspace/ric-app-mc-cmake-sonarqube/.build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/w/workspace/ric-app-mc-cmake-sonarqube/.build/DartConfiguration.tcl
Test project /w/workspace/ric-app-mc-cmake-sonarqube/.build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: drive_listener_tests

1: Test command: /bin/bash "run_unit_test.ksh" "CMBUILD=/w/workspace/ric-app-mc-cmake-sonarqube/.build"
1: Test timeout computed to be: 9.99988e+06
1: [INFO] making /tmp/gcov_rpts
1: grep: ../../rmr-version.yaml: No such file or directory
1: grep: ../../rmr-version.yaml: No such file or directory
1: [INFO] RMR seems not to be installed in /usr/local; pulling private copy: v=4.2.1
1: 2025-11-12 08:13:11 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757933.deb?Expires=1762936091&Signature=hPqrPbpQM2j8jT-R3Px-OeNywz2BpsK~hLGGvUS2pNQANlnJe2vlrK4TOW4WL~hFzDFdIK87JCaTP~WLaaOEp6uidUjAR6bGtUXwF6QBUbZvxNHkFRUCdgiXTq6g--yM1ZGQiJqkQILRgI3niqvj9s2W~0Dw1vay~cLZuj36HvODMLCgn1R6crA0Pw-8HNd1nWOelPxFRcJwZhGY3PJTTKzFY2AdW~~ZpVZefoGgkUywjV1n5bM7FLMJ6lfroGHhp6mQG1GxEzbMgwEWG2QENZ4FQ9I~vDrIC7YSYbqOU6E~IGlWObejSVLtVfNTuJfLb6JLtivxZ3LIUVSOmlx0og__&Key-Pair-Id=K1ZMSF1EKC3AZL [215804/215804] -> "rmr_4.2.1_amd64.deb" [1]
1: 2025-11-12 08:13:11 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757934.deb?Expires=1762936091&Signature=ytuqiE6iAkkqcUNkNd7ivBuHNM9YHkEfoQ-9zNkhQ2QWJHeJfXgySuffHfLM-Q34fXBUJ5tarrd~uYStzSBKusGe4q9Phq13od0mO6YrAJlH~YjN2hN36-INu9iQK4p1fo9Qb~Zk2rYxrz1Z6Hr~fWSzScxsPtk3lXGo5X~ilm-wj6Ecxti2j5j6L~anCqTLmLx9-qqU9zPkQn1PSU71A8N-j0QzddOiDJ1UPd6mbFjKozH-JXs0K0DDImXe1YRcSrFJ1-hESACvKJcW-qoU-JdZdo31RgY12hxi4DZi3Kr86LKLwwv4s6d0jzN7oTb4Vaenmo~UiGLelkafoQQ7Pg__&Key-Pair-Id=K1ZMSF1EKC3AZL [114764/114764] -> "rmr-dev_4.2.1_amd64.deb" [1]
1: unit_test: building in src for sonar build wrapper capture
1: ar: creating libmcl.a
1: a - mcl.o
1: a - rdc.o
1: [INFO] unit_test: building unit test(s)
1: [INFO] unit_test: unit test(s) successfully built
1: [INFO] unit_test: directories set up
1: [INFO] unit_test: running tests -- may take as long as 120 seconds
1: [PASS] base unit tests all pass
1: [INFO] file/directory verification begins....
1: [LOW]   67% main
1: [MARG]  76% rdc_init_buf
1: [MARG]  77% rdc_init
1: [MARG]  76% copy_unlink
1: [LOW]   63% fifo_read1
1: [MARG]  72% mcl_mk_context
1: [MARG]  77% mcl_get_msg
1: [LOW]   46% mcl_start_listening
1: [MARG]  71% write_all_nb
1: 
1: [INFO] default target coverage for modules is 80%
1: [PASS]  84% ../src/rdc.c
1: [PASS]  81% ../src/mcl.c
1: 
1: Coverage with discounting (raw values in parens)
1: [PASS] 85% (81%) mcl.c.gcov
1: [PASS] 88% (84%) rdc.c.gcov
1: [PASS] overall test passes
1: publishing gcov files to: /tmp/gcov_rpts
1: publishing: mcl.c.gcov to /tmp/gcov_rpts/mcl.c.gcov
1: publishing: rdc.c.gcov to /tmp/gcov_rpts/rdc.c.gcov
1/2 Test #1: drive_listener_tests .............   Passed   61.28 sec
test 2
    Start 2: drive_mcl_app_tests

2: Test command: /bin/bash "run_app_tests.ksh" "CMBUILD=/w/workspace/ric-app-mc-cmake-sonarqube/.build"
2: Test timeout computed to be: 9.99988e+06
2: <INFO> making /tmp/gcov_rpts
2: mkdir: cannot create directory ‘/tmp/gcov_rpts’: File exists
2: grep: ../../rmr-version.yaml: No such file or directory
2: grep: ../../rmr-version.yaml: No such file or directory
2: [INFO] RMR seems not to be installed in /usr/local; pulling private copy: v=4.2.1
2: 2025-11-12 08:14:12 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757933.deb?Expires=1762936152&Signature=e6TYVSAsAXsk2o3j5bxOzlTD~vBpbq2xTcZLuwPfFAUAFdr0anEp0IcrKwyJQk2ZoDl-JMtlA2YRUXIZ1dxt3veybA045z-vNlaFyyUO0YAiV6iePr2QRupUEFhNThBuXPlgK1ab~WcFSqYnuXrtQ7C48LI1Oc~DBFPW9Dg~WlqSy73lmiTN~xv9dUYT2HDk9swdXVge-qezWWPhXIOcBqhRqWKLn1EsT2uY-ZulOpIa6386DcDOy7xYHMaf93SUJD8UPiWquc~G9Y9llswqZMG6Y24dEH5~ocPYRFwnbGPZN-WdAGEW5LbeOvF9Y-SPijQtxc6qm9yA9-Tc5h7~Rw__&Key-Pair-Id=K1ZMSF1EKC3AZL [215804/215804] -> "rmr_4.2.1_amd64.deb.1" [1]
2: 2025-11-12 08:14:12 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757934.deb?Expires=1762936152&Signature=P0IX53h0G1L5hfcW91U2lqyqyREXmO9H0qMqcQ7S6rJM5cBWQBOWQfXVESD~vDng6D4kqzAiqsGGNQwBw0pvH7XgxG0qljPtHUT4~F6CMP~hs2kgSZbv~CSgkfs3c4lqhrVhFJvfbavimFlMJL47R5K3EA0uutRjXFpF4MqY-uODIyfvRtvDMqM08dvuLaxwUvvj-PImVkbUS2KBV4Lg4GGYHMROfEl5gblc3XrndJjHW~xhlckC7EcZCI37sKwiwI2u0Ij361VF6mwcBa1MLzncqm0sSH7kLrPFxaS~8BcZ8lwxIr8ahevDTfZZi0g57C7ECrGVq5kjxtzXbi-NjQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [114764/114764] -> "rmr-dev_4.2.1_amd64.deb.1" [1]
2: r - mcl.o
2: r - rdc.o
2: File 'mc_listener.c'
2: Lines executed:81.08% of 74
2: Creating 'mc_listener.c.gcov'
2: 
2: starting listener
2: starting pipe reader 0  
2: + set +x
2: + ./pipe_reader -m 0 -d /tmp/fifos
2: starting pipe reader 4  
2: + set +x
2: starting pipe reader 1  
2: starting pipe reader 2  
2: starting pipe reader 5  
2: + set +x
2: + set +x
2: + ./pipe_reader -m 5 -d /tmp/fifos
2: + set +x
2: + ./pipe_reader -m 1 -d /tmp/fifos
2: + ./pipe_reader -m 4 -d /tmp/fifos
2: starting pipe reader 6  -M 10
2: + ./pipe_reader -m 2 -d /tmp/fifos
2: + set +x
2: starting pipe reader 3  
2: + set +x
2: + ./pipe_reader -M 10 -m 6 -d /tmp/fifos
2: + ./pipe_reader -m 3 -d /tmp/fifos
2: starting sender
2: stopping listener 2754
2: stopping sender 2783
2: stopping pipe reader 
2: stopping pipe reader 
2: stopping pipe reader 
2: stopping pipe reader 
2: stopping pipe reader 
2: stopping pipe reader 
2: ./verify.sh: line 90: kill: (2777) - No such process
2: stopping pipe reader 
2: all functions stopped; looking at logs
2: ----- logs ---------
2: -rw-rw-r-- 1 jenkins jenkins  4444 Nov 12 08:14 /tmp/listen.log
2: -rw-rw-r-- 1 jenkins jenkins   149 Nov 12 08:14 /tmp/pr.0.log
2: -rw-rw-r-- 1 jenkins jenkins 12077 Nov 12 08:14 /tmp/pr.1.log
2: -rw-rw-r-- 1 jenkins jenkins 12072 Nov 12 08:14 /tmp/pr.2.log
2: -rw-rw-r-- 1 jenkins jenkins 12078 Nov 12 08:14 /tmp/pr.3.log
2: -rw-rw-r-- 1 jenkins jenkins 11971 Nov 12 08:14 /tmp/pr.4.log
2: -rw-rw-r-- 1 jenkins jenkins 11977 Nov 12 08:14 /tmp/pr.5.log
2: -rw-rw-r-- 1 jenkins jenkins  1104 Nov 12 08:14 /tmp/pr.6.log
2: -rw-rw-r-- 1 jenkins jenkins 24230 Nov 12 08:14 /tmp/sender.log
2: [OK]    All logs seem good
2: [OK]    Found expected fifos
2: [OK]    Found staging direcory (/tmp/rdc/stage)
2: total 108
2: drwxr-xr-x 2 jenkins jenkins   4096 Nov 12 08:14 .
2: drwxr-xr-x 4 jenkins jenkins   4096 Nov 12 08:14 ..
2: --w------- 1 jenkins jenkins 102013 Nov 12 08:14 MCLT_1762935000
2: [OK]    Found final direcory (/tmp/rdc/final)
2: total 8
2: drwxr-xr-x 2 jenkins jenkins 4096 Nov 12 08:14 .
2: drwxr-xr-x 4 jenkins jenkins 4096 Nov 12 08:14 ..
2: [PASS]
2: starting pipe reader 0
2: starting pipe reader 3
2: starting pipe reader 6
2: starting pipe reader 5
2: starting pipe reader 1
2: starting pipe reader 2
2: starting pipe reader 4
2: starting replayer
2: + ./rdc_replay -f /tmp/rdc/stage/MCLT_1762935000 -d /tmp/fifos
2: + lpid=2808
2: + set +x
2: replay finished
2: stopping pipe reader 5
2: stopping pipe reader 3
2: stopping pipe reader 6
2: stopping pipe reader 0
2: stopping pipe reader 4
2: stopping pipe reader 2
2: stopping pipe reader 1
2: all functions stopped; looking at logs
2: ----- logs ---------
2: -rw-rw-r-- 1 jenkins jenkins   15 Nov 12 08:14 /tmp/mcl_verify/pr.0.log
2: -rw-rw-r-- 1 jenkins jenkins 8207 Nov 12 08:14 /tmp/mcl_verify/pr.1.log
2: -rw-rw-r-- 1 jenkins jenkins 8207 Nov 12 08:14 /tmp/mcl_verify/pr.2.log
2: -rw-rw-r-- 1 jenkins jenkins 8207 Nov 12 08:14 /tmp/mcl_verify/pr.3.log
2: -rw-rw-r-- 1 jenkins jenkins 8207 Nov 12 08:14 /tmp/mcl_verify/pr.4.log
2: -rw-rw-r-- 1 jenkins jenkins 8207 Nov 12 08:14 /tmp/mcl_verify/pr.5.log
2: -rw-rw-r-- 1 jenkins jenkins 8207 Nov 12 08:14 /tmp/mcl_verify/pr.6.log
2: -rw-rw-r-- 1 jenkins jenkins   40 Nov 12 08:14 /tmp/mcl_verify/replay.log
2: [OK]    All logs seem good
2: [OK]    Found expected fifos
2: [PASS]
2: File 'mc_listener.c'
2: Lines executed:91.89% of 74
2: Creating 'mc_listener.c.gcov'
2: 
2: File 'sender.c'
2: Lines executed:81.48% of 54
2: Creating 'sender.c.gcov'
2: 
2: File 'rdc_replay.c'
2: Lines executed:85.23% of 88
2: Creating 'rdc_replay.c.gcov'
2: 
2: File 'pipe_reader.c'
2: Lines executed:90.32% of 93
2: Creating 'pipe_reader.c.gcov'
2: 
2: publishing gcov files to: /tmp/gcov_rpts
2: publishing: mc_listener.c.gcov to /tmp/gcov_rpts/mc_listener.c.gcov
2: publishing: pipe_reader.c.gcov to /tmp/gcov_rpts/pipe_reader.c.gcov
2: publishing: rdc_replay.c.gcov to /tmp/gcov_rpts/rdc_replay.c.gcov
2: publishing: sender.c.gcov to /tmp/gcov_rpts/sender.c.gcov
2: [INFO] ----- published coverage information ----------------------------------
2: total 108
2: drwxrwxr-x  2 jenkins jenkins  4096 Nov 12 08:15 .
2: drwxrwxrwt 21 root    root     4096 Nov 12 08:14 ..
2: -rw-rw-r--  1 jenkins jenkins  8431 Nov 12 08:15 mc_listener.c.gcov
2: -rw-rw-r--  1 jenkins jenkins 38285 Nov 12 08:13 mcl.c.gcov
2: -rw-rw-r--  1 jenkins jenkins  8060 Nov 12 08:15 pipe_reader.c.gcov
2: -rw-rw-r--  1 jenkins jenkins 23463 Nov 12 08:13 rdc.c.gcov
2: -rw-rw-r--  1 jenkins jenkins  7901 Nov 12 08:15 rdc_replay.c.gcov
2: -rw-rw-r--  1 jenkins jenkins  7075 Nov 12 08:15 sender.c.gcov
2: /tmp/gcov_rpts/mc_listener.c.gcov:        -:    0:Source:sidecars/listener/src/mc_listener.c
2: /tmp/gcov_rpts/mcl.c.gcov:        -:    0:Source:sidecars/listener/src/mcl.c
2: /tmp/gcov_rpts/pipe_reader.c.gcov:        -:    0:Source:sidecars/listener/src/pipe_reader.c
2: /tmp/gcov_rpts/rdc.c.gcov:        -:    0:Source:sidecars/listener/src/rdc.c
2: /tmp/gcov_rpts/rdc_replay.c.gcov:        -:    0:Source:sidecars/listener/src/rdc_replay.c
2: /tmp/gcov_rpts/sender.c.gcov:        -:    0:Source:sidecars/listener/src/sender.c
2: ------------------------------------------------------------------------------
2: run_app_tests finished
2/2 Test #2: drive_mcl_app_tests ..............   Passed   48.04 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) = 109.33 sec
+ echo '---> cmake-sonarqube.sh ends'
---> cmake-sonarqube.sh ends
Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-docker-4c-4g-8919
[ric-app-mc-cmake-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-app-mc -Dsonar.projectName=ric-app-mc -Dsonar.cfamily.threads=2 -Dsonar.cfamily.build-wrapper-output=/w/workspace/ric-app-mc-cmake-sonarqube/bw-output -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=sidecars/listener/src,mc-core/mc/mcnib -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.cfamily.gcov.reportsPath=/tmp/gcov_rpts -Dsonar.projectBaseDir=/w/workspace/ric-app-mc-cmake-sonarqube
INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 4.6.2.2472
INFO: Java 11.0.19 Ubuntu (64-bit)
INFO: Linux 4.15.0-213-generic amd64
INFO: User cache: /home/jenkins/.sonar/cache
INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: Analyzing on SonarCloud
INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 2.495s
INFO: Final Memory: 4M/20M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:555)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451)
	at org.sonarsource.scanner.api.internal.IsolatedClassloader.loadClass(IsolatedClassloader.java:82)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at org.sonarsource.scanner.api.internal.batch.DefaultBatchFactory.createBatch(DefaultBatchFactory.java:32)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
ERROR: 
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 2070 killed;
[ssh-agent] Stopped.
ERROR: SonarQube scanner exited with non-zero code: 1
[PostBuildScript] - [INFO] Executing post build scripts.
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins4388687007390509876.sh
---> sysstat.sh
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins295989596093447512.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=debian
+ workspace=/w/workspace/ric-app-mc-cmake-sonarqube
+ 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-app-mc-cmake-sonarqube ']'
+ 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-app-mc-cmake-sonarqube ']'
+ mkdir -p /w/workspace/ric-app-mc-cmake-sonarqube/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-mc-cmake-sonarqube/archives/
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins7284763827180661153.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-mc-cmake-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SYeO 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-SYeO/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins767163508073955809.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-mc-cmake-sonarqube@tmp/config9388596963139094897tmp
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-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins6221796044931289747.sh
---> create-netrc.sh
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins15060344490697742414.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-mc-cmake-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SYeO 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-SYeO/bin to PATH
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins9203130686199671739.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins3203282291932781551.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-mc-cmake-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SYeO 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-SYeO/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-starter-4
INFO: Archiving Costs
[ric-app-mc-cmake-sonarqube] $ /bin/bash -l /tmp/jenkins14099129812702204966.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-mc-cmake-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SYeO 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-SYeO/bin to PATH
INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-mc-cmake-sonarqube/297
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-4c-4g-8919 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            3.9G     0  3.9G   0% /dev
tmpfs           798M  696K  797M   1% /run
/dev/vda1        20G  9.0G   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         501        5343           0        2131        7199
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:18:a8:90 brd ff:ff:ff:ff:ff:ff
    inet 10.32.6.23/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86055sec preferred_lft 86055sec
    inet6 fe80::f816:3eff:fe18:a890/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:92:de:44:31 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-8919) 	11/12/25 	_x86_64_	(4 CPU)

08:10:50     LINUX RESTART	(4 CPU)

08:11:01          tps      rtps      wtps   bread/s   bwrtn/s
08:12:01       152.06     69.02     83.04   5587.47  39462.37
08:13:01        57.78      0.25     57.53     27.86   8491.97
08:14:01        54.24     20.73     33.51   1333.11   5625.60
08:15:01         8.36      5.35      3.02    156.88    152.35
08:16:01        22.14      1.30     20.84     96.90   2650.45
Average:        58.91     19.33     39.59   1440.31  11275.80

08:11:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
08:12:01      5877212   7387896   2290216     28.04     35384   1656564   1008952     10.95    609972   1513696     57904
08:13:01      5577680   7354676   2589748     31.71     56364   1886740   1035600     11.24    658696   1733844    133640
08:14:01      5609928   7453140   2557500     31.31     60748   1945172    941848     10.22    581096   1771156       236
08:15:01      5575164   7425040   2592264     31.74     60852   1951704   1140988     12.38    613868   1773360       972
08:16:01      5474536   7373196   2692892     32.97     63292   1997804   1010716     10.97    681224   1806596     11180
Average:      5622904   7398790   2544524     31.15     55328   1887597   1027621     11.15    628971   1719730     40786

08:11:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
08:12:01           lo      0.93      0.93      0.09      0.09      0.00      0.00      0.00      0.00
08:12:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
08:12:01         ens3    313.70    177.32   1071.51     62.74      0.00      0.00      0.00      0.00
08:13:01           lo      0.60      0.60      0.05      0.05      0.00      0.00      0.00      0.00
08:13:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
08:13:01         ens3     56.01     44.54    702.66      5.86      0.00      0.00      0.00      0.00
08:14:01           lo      1.33      1.33      0.15      0.15      0.00      0.00      0.00      0.00
08:14:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
08:14:01         ens3     10.28      8.80     16.99      1.91      0.00      0.00      0.00      0.00
08:15:01           lo     30.07     30.07      7.33      7.33      0.00      0.00      0.00      0.00
08:15:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
08:15:01         ens3     10.65      8.88     22.36      5.08      0.00      0.00      0.00      0.00
08:16:01           lo      0.73      0.73      0.07      0.07      0.00      0.00      0.00      0.00
08:16:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
08:16:01         ens3    144.99     72.96    644.63     11.52      0.00      0.00      0.00      0.00
Average:           lo      6.73      6.73      1.54      1.54      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    107.12     62.50    491.63     17.42      0.00      0.00      0.00      0.00


---> sar -P ALL:
Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-8919) 	11/12/25 	_x86_64_	(4 CPU)

08:10:50     LINUX RESTART	(4 CPU)

08:11:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
08:12:01        all     17.52      0.00      2.67      5.05      1.23     73.54
08:12:01          0     17.37      0.00      4.65      5.35      1.20     71.43
08:12:01          1     34.12      0.00      2.65      3.43      1.43     58.37
08:12:01          2      8.40      0.00      1.92     10.21      1.17     78.30
08:12:01          3     10.15      0.00      1.45      1.22      1.17     86.02
08:13:01        all     20.38      0.00      1.13      1.86      1.04     75.60
08:13:01          0     18.38      0.00      0.63      0.71      1.53     78.74
08:13:01          1     18.28      0.00      1.18      0.07      0.62     79.85
08:13:01          2     30.23      0.00      1.70      5.51      1.20     61.36
08:13:01          3     14.66      0.00      0.97      1.13      0.77     82.48
08:14:01        all      3.26      0.00      0.56      0.98      0.29     94.91
08:14:01          0      2.43      0.00      0.43      0.68      0.23     96.21
08:14:01          1      4.61      0.00      0.93      2.00      0.37     92.09
08:14:01          2      3.08      0.00      0.38      0.73      0.28     95.52
08:14:01          3      2.92      0.00      0.50      0.50      0.28     95.80
08:15:01        all      3.79      0.00     15.25      0.14      0.88     79.94
08:15:01          0      4.21      0.00     14.95      0.00      1.03     79.80
08:15:01          1      3.20      0.00     15.54      0.43      0.88     79.94
08:15:01          2      4.25      0.00     15.12      0.02      0.88     79.73
08:15:01          3      3.47      0.00     15.39      0.08      0.73     80.32
08:16:01        all     21.66      0.00      1.09      0.79      1.10     75.37
08:16:01          0     20.59      0.00      1.05      0.15      0.78     77.43
08:16:01          1     17.12      0.00      1.09      0.55      1.38     79.86
08:16:01          2     46.04      0.00      1.50      0.17      1.81     50.48
08:16:01          3      2.81      0.00      0.72      2.29      0.43     93.75
Average:        all     13.32      0.00      4.14      1.76      0.91     79.87
Average:          0     12.60      0.00      4.34      1.38      0.96     80.73
Average:          1     15.47      0.00      4.28      1.29      0.94     78.03
Average:          2     18.42      0.00      4.12      3.32      1.07     73.06
Average:          3      6.81      0.00      3.80      1.04      0.68     87.67


