Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-3572 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-app-mc-cmake-sonarqube [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-cMTYrNJpEe3j/agent.2109 SSH_AGENT_PID=2111 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-mc-cmake-sonarqube@tmp/private_key_323432065438700886.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/jenkins10808813840567405627.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-sRcd 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-sRcd/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-sRcd/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.7 botocore==1.35.7 bs4==0.0.2 cachetools==5.5.0 certifi==2024.7.4 cffi==1.17.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.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.34.0 httplib2==0.22.0 identify==2.6.0 idna==3.8 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.3.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.2.2 prettytable==3.11.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 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.5.0 python-magnumclient==4.6.0 python-openstackclient==7.0.0 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.19 virtualenv==20.26.3 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 [ric-app-mc-cmake-sonarqube] $ /bin/sh -xe /tmp/jenkins793330300642843438.sh [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins14219563515135813650.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: 2024-08-28 08:12:26 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757933.deb?Expires=1724833046&Signature=iCDISmmAn79U74BcdgsIfvVvpPD9l3pvzgMra1OzlwCMm9bIRvT-hN5Br2iJ9ffHBn7NSX76souQ1ncQX5tmt~QdDZQ0TBOnJXxbP2uHePbxYsyj624VhOsQSOvaBoOvEFS~nw6OoUwreMXmByV9xqC~AYIwp4TehyjYQdJXQLyQffntUUp8eYYK7Oapoes6BvTlfgdpi5Oi1mNIU-mEdiYfWkEuso3gleVAoAM9E75KL8hae7hT1SzNtB4Urv0XZZ6hMIX1vdb4M6Kk44pL1JWi8ROkn4IHdF3PZ-~BaDx7RVlZFF~o5oRBW9409oWj9SLDQyiqLFS7jlNlJ24nZA__&Key-Pair-Id=K1ZMSF1EKC3AZL [215804/215804] -> "rmr_4.2.1_amd64.deb" [1] 1: 2024-08-28 08:12:26 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757934.deb?Expires=1724833046&Signature=RxwIf~RR9oScgSjup7ccfTiDX-zPKB1eml0sxT8I-KFKtS901NT4DbSG9rNuDxT9p1xzXQ8MayxM~YSr8koRXYh34k1N08DXwKoLEoYL-f4TuZLvSGhaRSY5CH62DzJqEUVF9otHJp~1iErl8tf41B56oO0iMXIJL5lTB2Lqmr1QkAks3VJiCheaAdG6iIZwuT93oKNz0Nqf1GBSU8hbp66WvjGCNYMfhtDYpSjU2Sds0mPqZU9C6P1Um-wMmJevg9jxRa7WiTBUw6seZBQXUR88NUDdx5HwrBFYLZDQoMyQzMpswqvjLWeF9bmtoXTxtnDHgjCLtUAIQvHlFCfgng__&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.08 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: 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: 2024-08-28 08:13:27 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757933.deb?Expires=1724833107&Signature=cnsmtx48uoqhZixeRGsT8VFxoLdipm9eq2RRcVobc1ZkGcMwXCjaqULmtU8lp5~gI2OwhVO7knql2EO1iEvkiU~sZslo0pcqWJYmzJ5nvlCqUMnh95W-rhMxMmI7tA62sFjKMdiCS1YWYiKVZLlOfHLPjby6Mhlvie6TqUonXETPDYs50OXXOiPDL4CgOCeW2S0NoRFrK8i1KQ6mvflYiVkfABZKy-wsdzcqzzMZxPNLhNhi4r--pJnrmNIQ1obzFYrDGA0Qqcmv64WXJwLIBHM3Ax3u3iMxVv5VlEtFi72Dq29yfJ0JL0MoHWn8-cv2lk7WphyKgnGu42Ib3kT9Rg__&Key-Pair-Id=K1ZMSF1EKC3AZL [215804/215804] -> "rmr_4.2.1_amd64.deb.1" [1] 2: 2024-08-28 08:13:27 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1757934.deb?Expires=1724833107&Signature=o713w0RSq0QerRB1ubMtn1fEHwNuproq8Ho0RgHI7IZMQnyUH-ommcHXcT9GJ8G-M85pkwp~VxrYT1nBzp8dDgOHSrRR4LeNfg6MI6GH4SBnVtBQlClUZ3KeSDoVnKgJHBR4PO2XH60aJmdvsayLGOIzgTU6~19wQD1mz5FvMFtRBWLJb~vKBg3QBeCVoXl02gOyFFQVB0PQ7pVBQYnOFNL2lb7Bc8knV-iU5sTlCOVxuAevoF~YaovHz9LL-6BFPsgu3SsGaZBdXr3CMOpVeRJuJrxCDFPdRsDm~e4SGV0a1IgbVwGedJP2mFZOZwzAiEG7G9Rnr0bJ1GjYKuIJNg__&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: starting pipe reader 1 2: + set +x 2: + set +x 2: starting pipe reader 2 2: starting pipe reader 5 2: starting pipe reader 4 2: + ./pipe_reader -m 0 -d /tmp/fifos 2: + set +x 2: + set +x 2: + set +x 2: + ./pipe_reader -m 4 -d /tmp/fifos 2: + ./pipe_reader -m 1 -d /tmp/fifos 2: starting pipe reader 3 2: + set +x 2: + ./pipe_reader -m 3 -d /tmp/fifos 2: + ./pipe_reader -m 2 -d /tmp/fifos 2: + ./pipe_reader -m 5 -d /tmp/fifos 2: starting pipe reader 6 -M 10 2: + set +x 2: + ./pipe_reader -M 10 -m 6 -d /tmp/fifos 2: starting sender 2: stopping listener 2970 2: stopping sender 2999 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: stopping pipe reader 2: ./verify.sh: line 90: kill: (2995) - No such process 2: all functions stopped; looking at logs 2: ----- logs --------- 2: -rw-rw-r-- 1 jenkins jenkins 4442 Aug 28 08:13 /tmp/listen.log 2: -rw-rw-r-- 1 jenkins jenkins 149 Aug 28 08:13 /tmp/pr.0.log 2: -rw-rw-r-- 1 jenkins jenkins 11967 Aug 28 08:13 /tmp/pr.1.log 2: -rw-rw-r-- 1 jenkins jenkins 11962 Aug 28 08:13 /tmp/pr.2.log 2: -rw-rw-r-- 1 jenkins jenkins 11968 Aug 28 08:13 /tmp/pr.3.log 2: -rw-rw-r-- 1 jenkins jenkins 11971 Aug 28 08:13 /tmp/pr.4.log 2: -rw-rw-r-- 1 jenkins jenkins 11977 Aug 28 08:13 /tmp/pr.5.log 2: -rw-rw-r-- 1 jenkins jenkins 1104 Aug 28 08:13 /tmp/pr.6.log 2: -rw-rw-r-- 1 jenkins jenkins 24122 Aug 28 08:13 /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 Aug 28 08:13 . 2: drwxr-xr-x 4 jenkins jenkins 4096 Aug 28 08:13 .. 2: --w------- 1 jenkins jenkins 101549 Aug 28 08:13 MCLT_1724832600 2: [OK] Found final direcory (/tmp/rdc/final) 2: total 8 2: drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 08:13 . 2: drwxr-xr-x 4 jenkins jenkins 4096 Aug 28 08:13 .. 2: [PASS] 2: starting pipe reader 1 2: starting pipe reader 0 2: starting pipe reader 3 2: starting pipe reader 4 2: starting pipe reader 2 2: starting pipe reader 6 2: starting pipe reader 5 2: starting replayer 2: + ./rdc_replay -f /tmp/rdc/stage/MCLT_1724832600 -d /tmp/fifos 2: + lpid=3028 2: + set +x 2: replay finished 2: stopping pipe reader 1 2: stopping pipe reader 0 2: stopping pipe reader 5 2: stopping pipe reader 2 2: stopping pipe reader 4 2: stopping pipe reader 3 2: stopping pipe reader 6 2: all functions stopped; looking at logs 2: ----- logs --------- 2: -rw-rw-r-- 1 jenkins jenkins 15 Aug 28 08:13 /tmp/mcl_verify/pr.0.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Aug 28 08:13 /tmp/mcl_verify/pr.1.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Aug 28 08:13 /tmp/mcl_verify/pr.2.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Aug 28 08:13 /tmp/mcl_verify/pr.3.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Aug 28 08:13 /tmp/mcl_verify/pr.4.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Aug 28 08:13 /tmp/mcl_verify/pr.5.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Aug 28 08:13 /tmp/mcl_verify/pr.6.log 2: -rw-rw-r-- 1 jenkins jenkins 40 Aug 28 08:13 /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 Aug 28 08:14 . 2: drwxrwxrwt 21 root root 4096 Aug 28 08:13 .. 2: -rw-rw-r-- 1 jenkins jenkins 8431 Aug 28 08:14 mc_listener.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 38285 Aug 28 08:12 mcl.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 8060 Aug 28 08:14 pipe_reader.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 23463 Aug 28 08:12 rdc.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 7901 Aug 28 08:14 rdc_replay.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 7075 Aug 28 08:14 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 47.93 sec 100% tests passed, 0 tests failed out of 2 Total Test time (real) = 109.02 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-3572 [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: 1.197s 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 2111 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/jenkins18334674079079419335.sh ---> sysstat.sh [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins2403797066418438702.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/jenkins17971490399067459475.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-sRcd from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-sRcd/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins966070984223208020.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-mc-cmake-sonarqube@tmp/config18258667695796620862tmp 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/jenkins13892821827485518449.sh ---> create-netrc.sh [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins6906614141132443946.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-sRcd from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-sRcd/bin to PATH [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins1487579863644547049.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins8378753572609074440.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-sRcd 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-sRcd/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [ric-app-mc-cmake-sonarqube] $ /bin/bash -l /tmp/jenkins17435154507083929574.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-sRcd from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-sRcd/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/234 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-3572 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 445 1421 0 2076 3241 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:36:3e:c7 brd ff:ff:ff:ff:ff:ff inet 10.32.7.124/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86141sec preferred_lft 86141sec inet6 fe80::f816:3eff:fe36:3ec7/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:85:20:a4:6c 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-3572) 08/28/24 _x86_64_ (4 CPU) 08:10:43 LINUX RESTART (4 CPU) 08:11:01 tps rtps wtps bread/s bwrtn/s 08:12:01 188.25 84.04 104.22 6578.10 41728.80 08:13:01 73.37 11.15 62.22 513.91 10131.24 08:14:01 2.97 0.00 2.97 0.00 243.52 Average: 88.19 31.73 56.47 2363.87 17366.90 08:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:12:01 1552704 3297316 2485948 61.55 50652 1848072 939632 18.47 656268 1646896 193364 08:13:01 1568556 3394364 2470096 61.16 58948 1915468 836288 16.44 539344 1736692 3424 08:14:01 1556956 3383640 2481696 61.45 59008 1916340 845372 16.62 549324 1736356 320 Average: 1559405 3358440 2479247 61.39 56203 1893293 873764 17.18 581645 1706648 65703 08:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:12:01 lo 1.00 1.00 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 416.55 268.94 1439.36 70.70 0.00 0.00 0.00 0.00 08:13:01 lo 1.87 1.87 0.18 0.18 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 29.35 27.75 245.28 4.63 0.00 0.00 0.00 0.00 08:14:01 lo 29.67 29.67 7.27 7.27 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 7.98 5.58 11.59 0.96 0.00 0.00 0.00 0.00 Average: lo 10.85 10.85 2.52 2.52 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 151.28 100.75 565.38 25.43 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-3572) 08/28/24 _x86_64_ (4 CPU) 08:10:43 LINUX RESTART (4 CPU) 08:11:01 CPU %user %nice %system %iowait %steal %idle 08:12:01 all 17.55 0.00 2.22 6.13 0.06 74.05 08:12:01 0 34.35 0.00 2.86 8.93 0.07 53.79 08:12:01 1 12.34 0.00 1.71 3.76 0.07 82.13 08:12:01 2 14.67 0.00 1.74 3.68 0.07 79.85 08:12:01 3 8.82 0.00 2.52 8.15 0.05 80.46 08:13:01 all 8.27 0.00 0.89 1.62 0.04 89.18 08:13:01 0 4.42 0.00 0.98 4.11 0.05 90.44 08:13:01 1 21.65 0.00 1.35 0.50 0.03 76.47 08:13:01 2 1.73 0.00 0.45 0.27 0.05 97.50 08:13:01 3 5.26 0.00 0.77 1.60 0.02 92.36 08:14:01 all 2.45 0.00 10.11 0.02 0.03 87.39 08:14:01 0 2.00 0.00 10.24 0.00 0.05 87.71 08:14:01 1 1.98 0.00 10.22 0.00 0.03 87.76 08:14:01 2 3.13 0.00 9.93 0.05 0.03 86.86 08:14:01 3 2.68 0.00 10.04 0.00 0.03 87.25 Average: all 9.41 0.00 4.41 2.58 0.04 83.55 Average: 0 13.57 0.00 4.70 4.34 0.06 77.33 Average: 1 11.99 0.00 4.43 1.42 0.04 82.12 Average: 2 6.50 0.00 4.06 1.33 0.05 88.06 Average: 3 5.58 0.00 4.45 3.24 0.03 86.70