Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-1792 (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-2TEryz3vx0Oz/agent.2075 SSH_AGENT_PID=2077 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-mc-cmake-sonarqube@tmp/private_key_5933423833881325226.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 bb056430307c0edebd3fbac8adc168ca379d3101 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f bb056430307c0edebd3fbac8adc168ca379d3101 # timeout=10 Commit message: "Add INFO.yaml file" > git rev-list --no-walk bb056430307c0edebd3fbac8adc168ca379d3101 # 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/jenkins12031686489310551383.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-MpiN 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-MpiN/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-MpiN/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.33.7 botocore==1.33.7 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.24.0 httplib2==0.22.0 identify==2.5.32 idna==3.6 importlib-metadata==7.0.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [ric-app-mc-cmake-sonarqube] $ /bin/sh -xe /tmp/jenkins5837859907081668432.sh [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins9221547357896896029.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.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) 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: 2023-12-06 08:12:38 URL:https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/1757933.deb?t=1701850657_fb8f69bea6918da5b1d287f10bb84d50362f5f99 [215804/215804] -> "rmr_4.2.1_amd64.deb" [1] 1: 2023-12-06 08:12:38 URL:https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/1757934.deb?t=1701850658_4abc999b58eb3027f2914b93cf57408ac706c695 [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.47 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: 2023-12-06 08:13:39 URL:https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/1757933.deb?t=1701850719_c51d382450b1f6c4ddca3daf6c86bee8ded2a0c9 [215804/215804] -> "rmr_4.2.1_amd64.deb.1" [1] 2: 2023-12-06 08:13:39 URL:https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/1757934.deb?t=1701850719_c967a528fd9cec8893d6455e565c0ceeed56e167 [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 1 2: starting pipe reader 0 2: starting pipe reader 2 2: + set +x 2: + set +x 2: + set +x 2: + ./pipe_reader -m 0 -d /tmp/fifos 2: starting pipe reader 4 2: starting pipe reader 6 -M 10 2: + set +x 2: + set +x 2: starting pipe reader 5 2: + set +x 2: + ./pipe_reader -m 1 -d /tmp/fifos 2: + ./pipe_reader -m 2 -d /tmp/fifos 2: + ./pipe_reader -m 5 -d /tmp/fifos 2: starting pipe reader 3 2: + ./pipe_reader -M 10 -m 6 -d /tmp/fifos 2: + ./pipe_reader -m 4 -d /tmp/fifos 2: + set +x 2: + ./pipe_reader -m 3 -d /tmp/fifos 2: starting sender 2: stopping listener 2978 2: stopping sender 3007 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: (2997) - No such process 2: stopping pipe reader 2: stopping pipe reader 2: all functions stopped; looking at logs 2: ----- logs --------- 2: -rw-rw-r-- 1 jenkins jenkins 4444 Dec 6 08:13 /tmp/listen.log 2: -rw-rw-r-- 1 jenkins jenkins 149 Dec 6 08:13 /tmp/pr.0.log 2: -rw-rw-r-- 1 jenkins jenkins 11967 Dec 6 08:13 /tmp/pr.1.log 2: -rw-rw-r-- 1 jenkins jenkins 11962 Dec 6 08:13 /tmp/pr.2.log 2: -rw-rw-r-- 1 jenkins jenkins 11968 Dec 6 08:13 /tmp/pr.3.log 2: -rw-rw-r-- 1 jenkins jenkins 11971 Dec 6 08:13 /tmp/pr.4.log 2: -rw-rw-r-- 1 jenkins jenkins 11977 Dec 6 08:13 /tmp/pr.5.log 2: -rw-rw-r-- 1 jenkins jenkins 1104 Dec 6 08:13 /tmp/pr.6.log 2: -rw-rw-r-- 1 jenkins jenkins 24149 Dec 6 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 Dec 6 08:13 . 2: drwxr-xr-x 4 jenkins jenkins 4096 Dec 6 08:13 .. 2: --w------- 1 jenkins jenkins 101665 Dec 6 08:13 MCLT_1701850200 2: [OK] Found final direcory (/tmp/rdc/final) 2: total 8 2: drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 08:13 . 2: drwxr-xr-x 4 jenkins jenkins 4096 Dec 6 08:13 .. 2: [PASS] 2: starting pipe reader 1 2: starting pipe reader 3 2: starting pipe reader 4 2: starting pipe reader 5 2: starting pipe reader 6 2: starting pipe reader 2 2: starting pipe reader 0 2: starting replayer 2: + ./rdc_replay -f /tmp/rdc/stage/MCLT_1701850200 -d /tmp/fifos 2: + lpid=3036 2: + set +x 2: replay finished 2: stopping pipe reader 3 2: stopping pipe reader 5 2: stopping pipe reader 4 2: stopping pipe reader 6 2: stopping pipe reader 1 2: stopping pipe reader 2 2: stopping pipe reader 0 2: all functions stopped; looking at logs 2: ----- logs --------- 2: -rw-rw-r-- 1 jenkins jenkins 15 Dec 6 08:14 /tmp/mcl_verify/pr.0.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Dec 6 08:14 /tmp/mcl_verify/pr.1.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Dec 6 08:14 /tmp/mcl_verify/pr.2.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Dec 6 08:14 /tmp/mcl_verify/pr.3.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Dec 6 08:14 /tmp/mcl_verify/pr.4.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Dec 6 08:14 /tmp/mcl_verify/pr.5.log 2: -rw-rw-r-- 1 jenkins jenkins 8207 Dec 6 08:14 /tmp/mcl_verify/pr.6.log 2: -rw-rw-r-- 1 jenkins jenkins 40 Dec 6 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 Dec 6 08:14 . 2: drwxrwxrwt 20 root root 4096 Dec 6 08:14 .. 2: -rw-rw-r-- 1 jenkins jenkins 8431 Dec 6 08:14 mc_listener.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 38285 Dec 6 08:12 mcl.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 8060 Dec 6 08:14 pipe_reader.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 23463 Dec 6 08:12 rdc.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 7901 Dec 6 08:14 rdc_replay.c.gcov 2: -rw-rw-r-- 1 jenkins jenkins 7075 Dec 6 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.95 sec 100% tests passed, 0 tests failed out of 2 Total Test time (real) = 109.42 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-1792 [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 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 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.16 Ubuntu (64-bit) INFO: Linux 4.15.0-194-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: Load global settings INFO: Load global settings (done) | time=306ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /home/jenkins/.sonar/cache INFO: Loading required plugins INFO: Load plugins index INFO: Load plugins index (done) | time=225ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=1144ms INFO: Found an active CI vendor: 'Jenkins' INFO: Load project settings for component key: 'o-ran-sc_ric-app-mc' INFO: Load project settings for component key: 'o-ran-sc_ric-app-mc' (done) | time=202ms INFO: Process project properties INFO: Project key: o-ran-sc_ric-app-mc INFO: Base dir: /w/workspace/ric-app-mc-cmake-sonarqube INFO: Working dir: /w/workspace/ric-app-mc-cmake-sonarqube/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=204ms INFO: Check ALM binding of project 'o-ran-sc_ric-app-mc' INFO: Detected project binding: BOUND INFO: Check ALM binding of project 'o-ran-sc_ric-app-mc' (done) | time=190ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=260ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=2ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=557ms INFO: Load active rules INFO: Load active rules (done) | time=10672ms INFO: Organization key: o-ran-sc WARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. INFO: Preprocessing files... INFO: 2 languages detected in 25 preprocessed files INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 16 files ignored because of scm ignore settings WARN: The version of Java (11.0.16) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. INFO: Loading plugins for detected languages INFO: Load/download plugins INFO: Load/download plugins (done) | time=943ms INFO: Load project repositories INFO: Load project repositories (done) | time=217ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json INFO: 25 files indexed INFO: Quality profile for c: Sonar way INFO: Quality profile for cpp: Sonar way INFO: ------------- Run sensors on module ric-app-mc INFO: Load metrics repository INFO: Load metrics repository (done) | time=183ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (22 KB) | time=1334ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms INFO: Sensor TextAndSecretsSensor [text] INFO: 12 source files to be analyzed INFO: 12/12 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=791ms INFO: Sensor CSS Rules [javascript] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=0ms INFO: Sensor IaC Docker Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=68ms INFO: Sensor CFamily [cpp] INFO: CFamily plugin version: 6.51.0.65468 INFO: Using build-wrapper output: /w/workspace/ric-app-mc-cmake-sonarqube/bw-output/build-wrapper-dump.json INFO: Available processors: 4 INFO: Using 2 threads for analysis, according to value of "sonar.cfamily.threads" property. INFO: Loading cache from: server INFO: Existing cache invalidated and deleted, change detected in plugin version, the existing cache was generate by version "6.50.0.64514" INFO: [pool-5-thread-2] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/rdc.c INFO: [pool-5-thread-1] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/mcl.c INFO: [pool-5-thread-2] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/mc_listener.c INFO: [pool-5-thread-2] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/rdc_replay.c INFO: [pool-5-thread-2] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/rdc_extract.c INFO: [pool-5-thread-1] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/sender.c INFO: [pool-5-thread-1] /w/workspace/ric-app-mc-cmake-sonarqube/sidecars/listener/src/pipe_reader.c INFO: PCH: unique=0 use=0 (forceInclude=0,throughHeader=0,firstInclude=0) out of 7 (forceInclude=0,throughHeader=0) INFO: Z3 refutation rate: 0 out of 0 INFO: SE: 7 out of 7 INFO: Subprocess(es) done in 7546ms INFO: 4/12 files marked as unchanged INFO: Cache: 0/7 hits, 38684 bytes INFO: 7 compilation units analyzed INFO: Sensor CFamily [cpp] (done) | time=10044ms INFO: Sensor javabugs [dbd] INFO: Reading IR files from: /w/workspace/ric-app-mc-cmake-sonarqube/.scannerwork/ir/java INFO: No IR files have been included for analysis. INFO: Sensor javabugs [dbd] (done) | time=10ms INFO: Sensor pythonbugs [dbd] INFO: Reading IR files from: /w/workspace/ric-app-mc-cmake-sonarqube/.scannerwork/ir/python INFO: No IR files have been included for analysis. INFO: Sensor pythonbugs [dbd] (done) | time=0ms INFO: ------------- Run sensors on project INFO: Sensor gcov [cpp] INFO: Parsing /tmp/gcov_rpts/mcl.c.gcov INFO: Parsing /tmp/gcov_rpts/mc_listener.c.gcov INFO: Parsing /tmp/gcov_rpts/rdc.c.gcov INFO: Parsing /tmp/gcov_rpts/sender.c.gcov INFO: Parsing /tmp/gcov_rpts/rdc_replay.c.gcov INFO: Parsing /tmp/gcov_rpts/pipe_reader.c.gcov INFO: Sensor gcov [cpp] (done) | time=17ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=8ms INFO: CPD Executor Calculating CPD for 12 files INFO: CPD Executor CPD calculation finished (done) | time=23ms INFO: Analysis report generated in 175ms, dir size=436 KB INFO: Analysis report compressed in 37ms, zip size=133 KB INFO: Analysis report uploaded in 1134ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-app-mc INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYw-MdJneQDKj6e-l4u_ INFO: Sensor cache published successfully INFO: Analysis total time: 30.245 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 34.808s INFO: Final Memory: 18M/67M INFO: ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2077 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins6971255635233562276.sh ---> sysstat.sh [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins12514416819838114486.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/jenkins15391922231888074185.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-MpiN from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MpiN/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins2937862423682371894.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-mc-cmake-sonarqube@tmp/config16956998861850636132tmp 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/jenkins16891982680608864174.sh ---> create-netrc.sh [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins12480921099216816059.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-MpiN from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MpiN/bin to PATH [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins1683057035635240851.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-mc-cmake-sonarqube] $ /bin/bash /tmp/jenkins2665667526870149075.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-MpiN 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.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-MpiN/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/jenkins77097132367031954.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-MpiN from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MpiN/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/196 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-1792 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 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 688K 394M 1% /run /dev/vda1 20G 9.4G 9.9G 49% / 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 4.4M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3944 479 1170 0 2294 3202 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:80:96:77 brd ff:ff:ff:ff:ff:ff inet 10.32.7.136/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86073sec preferred_lft 86073sec inet6 fe80::f816:3eff:fe80:9677/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1b:74:c3:60 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-194-generic (prd-ubuntu1804-docker-4c-4g-1792) 12/06/23 _x86_64_ (4 CPU) 08:10:37 LINUX RESTART (4 CPU) 08:11:01 tps rtps wtps bread/s bwrtn/s 08:12:02 134.51 72.17 62.34 5442.43 42223.38 08:13:01 59.13 11.64 47.48 525.33 9785.60 08:14:01 17.70 0.00 17.70 0.00 2809.93 08:15:01 16.80 11.91 4.88 349.81 4296.88 08:16:01 28.95 1.48 27.46 100.38 4038.53 Average: 51.39 19.47 31.92 1286.13 12640.38 08:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:12:02 1642592 3333648 2396064 59.33 49324 1796036 856484 16.84 578628 1635520 142500 08:13:01 1493052 3359248 2545604 63.03 59636 1952592 824660 16.21 566416 1779076 77956 08:14:01 1475964 3342944 2562692 63.45 59696 1953344 834968 16.41 583884 1778668 360 08:15:01 877568 3046736 3161088 78.27 59912 2251652 1089856 21.42 968776 1983904 162048 08:16:01 1196696 3278328 2841960 70.37 64928 2160008 900608 17.70 716236 1919952 31748 Average: 1337174 3272181 2701482 66.89 58699 2022726 901315 17.72 682788 1819424 82922 08:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:12:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:12:02 ens3 346.71 230.63 1405.13 62.00 0.00 0.00 0.00 0.00 08:12:02 lo 1.00 1.00 0.09 0.09 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 42.87 39.87 491.13 5.76 0.00 0.00 0.00 0.00 08:13:01 lo 1.90 1.90 0.19 0.19 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 3.23 2.98 6.55 0.68 0.00 0.00 0.00 0.00 08:14:01 lo 29.71 29.71 7.28 7.28 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 420.66 326.30 3042.03 32.32 0.00 0.00 0.00 0.00 08:15:01 lo 0.60 0.60 0.06 0.06 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 23.68 23.35 43.66 10.08 0.00 0.00 0.00 0.00 08:16:01 lo 0.90 0.90 0.08 0.08 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 167.85 124.91 999.39 22.23 0.00 0.00 0.00 0.00 Average: lo 6.84 6.84 1.55 1.55 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-docker-4c-4g-1792) 12/06/23 _x86_64_ (4 CPU) 08:10:37 LINUX RESTART (4 CPU) 08:11:01 CPU %user %nice %system %iowait %steal %idle 08:12:02 all 20.31 0.00 2.37 3.79 0.05 73.48 08:12:02 0 21.04 0.00 1.60 1.10 0.03 76.22 08:12:02 1 13.34 0.00 2.29 7.75 0.05 76.57 08:12:02 2 28.94 0.00 3.40 2.66 0.08 64.91 08:12:02 3 17.95 0.00 2.18 3.67 0.05 76.15 08:13:01 all 11.66 0.00 0.96 1.38 0.05 85.95 08:13:01 0 29.05 0.00 1.73 0.92 0.05 68.25 08:13:01 1 1.32 0.00 0.66 3.43 0.00 94.59 08:13:01 2 4.67 0.00 0.66 0.36 0.03 94.28 08:13:01 3 11.59 0.00 0.73 0.83 0.10 86.74 08:14:01 all 0.62 0.00 1.64 0.28 0.02 97.44 08:14:01 0 1.05 0.00 1.58 0.10 0.00 97.27 08:14:01 1 0.52 0.00 1.60 0.00 0.02 97.87 08:14:01 2 0.38 0.00 1.72 0.00 0.03 97.86 08:14:01 3 0.52 0.00 1.66 1.02 0.02 96.79 08:15:01 all 19.18 0.00 14.91 0.23 0.05 65.63 08:15:01 0 23.70 0.00 15.06 0.43 0.05 60.75 08:15:01 1 14.96 0.00 14.41 0.03 0.03 70.57 08:15:01 2 22.59 0.00 15.37 0.40 0.05 61.59 08:15:01 3 15.47 0.00 14.80 0.07 0.03 69.63 08:16:01 all 18.35 0.00 0.95 0.92 0.04 79.74 08:16:01 0 33.67 0.00 1.27 2.97 0.05 62.04 08:16:01 1 20.29 0.00 0.77 0.10 0.03 78.81 08:16:01 2 14.74 0.00 1.08 0.07 0.05 84.06 08:16:01 3 4.77 0.00 0.68 0.55 0.02 93.98 Average: all 14.03 0.00 4.17 1.32 0.04 80.44 Average: 0 21.67 0.00 4.26 1.11 0.04 72.93 Average: 1 10.11 0.00 3.95 2.26 0.03 83.65 Average: 2 14.28 0.00 4.46 0.70 0.05 80.51 Average: 3 10.05 0.00 4.02 1.23 0.04 84.66