Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-2113 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-plt-xapp-frame-sonar-prescan-script [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-KohfjNWkbC6H/agent.2069 SSH_AGENT_PID=2071 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-plt-xapp-frame-sonar-prescan-script@tmp/private_key_9400674960593001708.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-plt/xapp-frame > git init /w/workspace/ric-plt-xapp-frame-sonar-prescan-script # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame > 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-plt/xapp-frame +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame # 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 79b65340782e696c1c0c471798793d1498231b9b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 79b65340782e696c1c0c471798793d1498231b9b # timeout=10 Commit message: "Adding Akansha as committer" > git rev-list --no-walk 79b65340782e696c1c0c471798793d1498231b9b # 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-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins15943642776714558409.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-E8wY 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-E8wY/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-E8wY/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.7 botocore==1.34.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.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 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.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 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.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 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.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 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.9.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 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/sh /tmp/jenkins2725113398220612067.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/sh /tmp/jenkins1012216436992201434.sh Docker version 20.10.20, build 9fdeb9c Unit Test Sending build context to Docker daemon 1.784MB Step 1/21 : FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.1.0 as xapp-base 1.1.0: Pulling from o-ran-sc/bldr-ubuntu20-c-go eaead16dc43b: Pulling fs layer 54cd83c3e1c2: Pulling fs layer ae28b6acf6f1: Pulling fs layer 4ea9066545e1: Pulling fs layer b883034e4807: Pulling fs layer e018b0ccca62: Pulling fs layer 4ea9066545e1: Waiting b883034e4807: Waiting e018b0ccca62: Waiting a4fc8b85b2bf: Pulling fs layer a4fc8b85b2bf: Waiting 7fe92f986395: Pulling fs layer b6bb5771e098: Pulling fs layer 7fe92f986395: Waiting b6bb5771e098: Waiting ae28b6acf6f1: Verifying Checksum ae28b6acf6f1: Download complete eaead16dc43b: Verifying Checksum eaead16dc43b: Download complete 4ea9066545e1: Verifying Checksum 4ea9066545e1: Download complete eaead16dc43b: Pull complete b883034e4807: Verifying Checksum b883034e4807: Download complete 54cd83c3e1c2: Verifying Checksum 54cd83c3e1c2: Download complete a4fc8b85b2bf: Verifying Checksum a4fc8b85b2bf: Download complete b6bb5771e098: Verifying Checksum b6bb5771e098: Download complete 7fe92f986395: Verifying Checksum 7fe92f986395: Download complete e018b0ccca62: Verifying Checksum e018b0ccca62: Download complete 54cd83c3e1c2: Pull complete ae28b6acf6f1: Pull complete 4ea9066545e1: Pull complete b883034e4807: Pull complete e018b0ccca62: Pull complete a4fc8b85b2bf: Pull complete 7fe92f986395: Pull complete b6bb5771e098: Pull complete Digest: sha256:51b9caf5688418c648653263c363fff9e8c8617b61b153c106c17dab57e7e0f9 Status: Downloaded newer image for nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.1.0 ---> 1590675bd66a Step 2/21 : RUN apt-get update -y &&apt-get install -y apt-utils cmake gawk sudo nano jq gettext-base bison flex curl tree ---> Running in ac5f11a4243a Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:5 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.3 kB] Get:6 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3130 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1444 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3761 kB] Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1149 kB] Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3283 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.0 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3279 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB] Fetched 16.5 MB in 2s (9271 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... gettext-base is already the newest version (0.19.8.1-10build1). gettext-base set to manually installed. The following additional packages will be installed: apt cmake-data libapt-pkg6.0 libcurl4 libfl-dev libfl2 libjq1 libonig5 Suggested packages: apt-doc aptitude | synaptic | wajig powermgmt-base bison-doc cmake-doc ninja-build flex-doc gawk-doc hunspell The following NEW packages will be installed: apt-utils bison curl flex gawk jq libfl-dev libfl2 libjq1 libonig5 nano tree The following packages will be upgraded: apt cmake cmake-data libapt-pkg6.0 libcurl4 sudo 6 upgraded, 12 newly installed, 0 to remove and 130 not upgraded. Need to get 10.6 MB of archives. After this operation, 8176 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libapt-pkg6.0 amd64 2.0.10 [843 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 apt amd64 2.0.10 [1280 kB] Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 flex amd64 2.6.4-6.2 [317 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gawk amd64 1:5.0.1+dfsg-1ubuntu0.1 [415 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 apt-utils amd64 2.0.10 [213 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 sudo amd64 1.8.31-1ubuntu1.5 [515 kB] Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 nano amd64 4.8-1ubuntu1 [269 kB] Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 bison amd64 2:3.5.1+dfsg-1 [657 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.21 [235 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.21 [161 kB] Get:13 http://archive.ubuntu.com/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libjq1 amd64 1.6-1ubuntu0.20.04.1 [121 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 jq amd64 1.6-1ubuntu0.20.04.1 [50.2 kB] Get:16 http://archive.ubuntu.com/ubuntu focal/main amd64 libfl2 amd64 2.6.4-6.2 [11.5 kB] Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libfl-dev amd64 2.6.4-6.2 [6316 B] Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 tree amd64 1.8.0-1 [43.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 10.6 MB in 3s (3415 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 46362 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.0.10_amd64.deb ... Unpacking libapt-pkg6.0:amd64 (2.0.10) over (2.0.9) ... Setting up libapt-pkg6.0:amd64 (2.0.10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 46362 files and directories currently installed.) Preparing to unpack .../archives/apt_2.0.10_amd64.deb ... Unpacking apt (2.0.10) over (2.0.9) ... Setting up apt (2.0.10) ... Selecting previously unselected package flex. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 46360 files and directories currently installed.) Preparing to unpack .../00-flex_2.6.4-6.2_amd64.deb ... Unpacking flex (2.6.4-6.2) ... Selecting previously unselected package gawk. Preparing to unpack .../01-gawk_1%3a5.0.1+dfsg-1ubuntu0.1_amd64.deb ... Unpacking gawk (1:5.0.1+dfsg-1ubuntu0.1) ... Selecting previously unselected package apt-utils. Preparing to unpack .../02-apt-utils_2.0.10_amd64.deb ... Unpacking apt-utils (2.0.10) ... Preparing to unpack .../03-sudo_1.8.31-1ubuntu1.5_amd64.deb ... Unpacking sudo (1.8.31-1ubuntu1.5) over (1.8.31-1ubuntu1.2) ... Selecting previously unselected package nano. Preparing to unpack .../04-nano_4.8-1ubuntu1_amd64.deb ... Unpacking nano (4.8-1ubuntu1) ... Selecting previously unselected package bison. Preparing to unpack .../05-bison_2%3a3.5.1+dfsg-1_amd64.deb ... Unpacking bison (2:3.5.1+dfsg-1) ... Preparing to unpack .../06-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Unpacking cmake (3.16.3-1ubuntu1.20.04.1) over (3.16.3-1ubuntu1) ... Preparing to unpack .../07-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) over (3.16.3-1ubuntu1) ... Preparing to unpack .../08-libcurl4_7.68.0-1ubuntu2.21_amd64.deb ... Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.21) over (7.68.0-1ubuntu2.14) ... Selecting previously unselected package curl. Preparing to unpack .../09-curl_7.68.0-1ubuntu2.21_amd64.deb ... Unpacking curl (7.68.0-1ubuntu2.21) ... Selecting previously unselected package libonig5:amd64. Preparing to unpack .../10-libonig5_6.9.4-1_amd64.deb ... Unpacking libonig5:amd64 (6.9.4-1) ... Selecting previously unselected package libjq1:amd64. Preparing to unpack .../11-libjq1_1.6-1ubuntu0.20.04.1_amd64.deb ... Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) ... Selecting previously unselected package jq. Preparing to unpack .../12-jq_1.6-1ubuntu0.20.04.1_amd64.deb ... Unpacking jq (1.6-1ubuntu0.20.04.1) ... Selecting previously unselected package libfl2:amd64. Preparing to unpack .../13-libfl2_2.6.4-6.2_amd64.deb ... Unpacking libfl2:amd64 (2.6.4-6.2) ... Selecting previously unselected package libfl-dev:amd64. Preparing to unpack .../14-libfl-dev_2.6.4-6.2_amd64.deb ... Unpacking libfl-dev:amd64 (2.6.4-6.2) ... Selecting previously unselected package tree. Preparing to unpack .../15-tree_1.8.0-1_amd64.deb ... Unpacking tree (1.8.0-1) ... Setting up flex (2.6.4-6.2) ... Setting up apt-utils (2.0.10) ... Setting up gawk (1:5.0.1+dfsg-1ubuntu0.1) ... Setting up tree (1.8.0-1) ... Setting up sudo (1.8.31-1ubuntu1.5) ... Setting up libfl2:amd64 (2.6.4-6.2) ... Setting up nano (4.8-1ubuntu1) ... update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/nano.1.gz (of link group editor) doesn't exist update-alternatives: using /bin/nano to provide /usr/bin/pico (pico) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/pico.1.gz because associated file /usr/share/man/man1/nano.1.gz (of link group pico) doesn't exist Setting up bison (2:3.5.1+dfsg-1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/yacc.1.gz because associated file /usr/share/man/man1/bison.yacc.1.gz (of link group yacc) doesn't exist Setting up libcurl4:amd64 (7.68.0-1ubuntu2.21) ... Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Setting up curl (7.68.0-1ubuntu2.21) ... Setting up libonig5:amd64 (6.9.4-1) ... Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ... Setting up libfl-dev:amd64 (2.6.4-6.2) ... Setting up jq (1.6-1ubuntu0.20.04.1) ... Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... Removing intermediate container ac5f11a4243a ---> 31d4744dd87d Step 3/21 : RUN curl -s https://packagecloud.io/install/repositories/o-ran-sc/master/script.deb.sh | bash ---> Running in c8d292a64bcd Detected operating system as Ubuntu/focal. Checking for curl... Detected curl... Checking for gpg... Detected gpg... Detected apt version as 2.0.10 Running apt-get update... done. Installing apt-transport-https... done. Installing /etc/apt/sources.list.d/o-ran-sc_master.list...done. Importing packagecloud gpg key... Packagecloud gpg key imported to /etc/apt/keyrings/o-ran-sc_master-archive-keyring.gpg done. Running apt-get update... done. The repository is setup! You can now install packages. Removing intermediate container c8d292a64bcd ---> 1d562b83dce8 Step 4/21 : ARG RMRVERSION=4.9.4 ---> Running in f3471ddee583 Removing intermediate container f3471ddee583 ---> 40a34a5ef5f9 Step 5/21 : RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb ---> Running in 886e1a9df0e7 --2023-12-27 15:35:57-- https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.4_amd64.deb/download.deb Resolving packagecloud.io (packagecloud.io)... 52.8.138.231, 18.144.105.32, 2600:1f1c:2e5:6900:14e6:906b:aa91:d4f4, ... Connecting to packagecloud.io (packagecloud.io)|52.8.138.231|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1703691657&Signature=i9~UbSKit1Nvmf7AtH7t2RqjqP7JbuiwRnB4t-aSM7qaclP~5~HATYvoUBorhWMTbd6bMjSTgehSEi2qhBtWd5u-d9jCIAj9K4bwl0e~ikOuE3esS30kp4gBFgkczZ1QitXGj4uORNmD8N0bY3P1XBhP00TYPRI1C4ATYu2MSAeAzJDnFwjIFF6ZPLjajC8Zxqf4eqako6vau4b4B~xoIicohiPM8~E105KNlTigTQzRwIjikvWw~0FiPuuDOZm6wnxujRTUrUAj7M3w9QY40lcEqDAmbwTE1Q768HWB-9ro~VVC~M92~jKiC82SHojyyHVIc518qi-AYp7bjcM1iQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [following] --2023-12-27 15:35:57-- https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1703691657&Signature=i9~UbSKit1Nvmf7AtH7t2RqjqP7JbuiwRnB4t-aSM7qaclP~5~HATYvoUBorhWMTbd6bMjSTgehSEi2qhBtWd5u-d9jCIAj9K4bwl0e~ikOuE3esS30kp4gBFgkczZ1QitXGj4uORNmD8N0bY3P1XBhP00TYPRI1C4ATYu2MSAeAzJDnFwjIFF6ZPLjajC8Zxqf4eqako6vau4b4B~xoIicohiPM8~E105KNlTigTQzRwIjikvWw~0FiPuuDOZm6wnxujRTUrUAj7M3w9QY40lcEqDAmbwTE1Q768HWB-9ro~VVC~M92~jKiC82SHojyyHVIc518qi-AYp7bjcM1iQ__&Key-Pair-Id=K1ZMSF1EKC3AZL Resolving d3fo0g5hm7lbuv.cloudfront.net (d3fo0g5hm7lbuv.cloudfront.net)... 18.173.117.132, 18.173.117.128, 18.173.117.205, ... Connecting to d3fo0g5hm7lbuv.cloudfront.net (d3fo0g5hm7lbuv.cloudfront.net)|18.173.117.132|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 246552 (241K) [application/x-debian-package] Saving to: 'rmr_4.9.4_amd64.deb'  0K .......... .......... .......... .......... .......... 20% 16.9M 0s 50K .......... .......... .......... .......... .......... 41% 23.9M 0s 100K .......... .......... .......... .......... .......... 62% 45.5M 0s 150K .......... .......... .......... .......... .......... 83% 20.8M 0s 200K .......... .......... .......... .......... 100% 49.3M=0.009s 2023-12-27 15:35:57 (25.7 MB/s) - 'rmr_4.9.4_amd64.deb' saved [246552/246552] Selecting previously unselected package rmr. (Reading database ... 46841 files and directories currently installed.) Preparing to unpack rmr_4.9.4_amd64.deb ... Unpacking rmr (4.9.4) ... Setting up rmr (4.9.4) ... Removing intermediate container 886e1a9df0e7 ---> 3a7ea7df2d41 Step 6/21 : RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb ---> Running in 5c3fbf25c42b --2023-12-27 15:35:58-- https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.4_amd64.deb/download.deb Resolving packagecloud.io (packagecloud.io)... 52.8.138.231, 18.144.105.32, 2600:1f1c:2e5:6900:14e6:906b:aa91:d4f4, ... Connecting to packagecloud.io (packagecloud.io)|52.8.138.231|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1703691658&Signature=XtiOcNGwWMWJVZnkjs5GOqes5lLpLa3XsBqVIDjhNSSx5A1ZDFamKrBBVAdeWe9ucLgV10aqu15MhTySnClHLt0ACo7MkRQIWHXsaCiDv435Rp0oqpj2GbXS2oktjID5D9VhHFUnyxZPr6OD0iXxaTP4dqGAaEUMl0Z4T8Vu6ojJxrzsLnEVjXgDgyKgFhI8kPpRJXcUvr0jqUSH22LaGx4gYoO-FlzLwaXm8hx9lyIZvXDn9k7j6evEhgetD4rdIKLUSYuDYD6nh14R77Q3X4MPIEwIHDdE4LqK-LECTxtEwondyjTwkTQhK4IW39mZQ89L1x~c83bS~2Jw3eW2rg__&Key-Pair-Id=K1ZMSF1EKC3AZL [following] --2023-12-27 15:35:58-- https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1703691658&Signature=XtiOcNGwWMWJVZnkjs5GOqes5lLpLa3XsBqVIDjhNSSx5A1ZDFamKrBBVAdeWe9ucLgV10aqu15MhTySnClHLt0ACo7MkRQIWHXsaCiDv435Rp0oqpj2GbXS2oktjID5D9VhHFUnyxZPr6OD0iXxaTP4dqGAaEUMl0Z4T8Vu6ojJxrzsLnEVjXgDgyKgFhI8kPpRJXcUvr0jqUSH22LaGx4gYoO-FlzLwaXm8hx9lyIZvXDn9k7j6evEhgetD4rdIKLUSYuDYD6nh14R77Q3X4MPIEwIHDdE4LqK-LECTxtEwondyjTwkTQhK4IW39mZQ89L1x~c83bS~2Jw3eW2rg__&Key-Pair-Id=K1ZMSF1EKC3AZL Resolving d3fo0g5hm7lbuv.cloudfront.net (d3fo0g5hm7lbuv.cloudfront.net)... 18.173.117.132, 18.173.117.128, 18.173.117.205, ... Connecting to d3fo0g5hm7lbuv.cloudfront.net (d3fo0g5hm7lbuv.cloudfront.net)|18.173.117.132|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 128860 (126K) [application/x-debian-package] Saving to: 'rmr-dev_4.9.4_amd64.deb'  0K .......... .......... .......... .......... .......... 39% 87.9M 0s 50K .......... .......... .......... .......... .......... 79% 22.6M 0s 100K .......... .......... ..... 100% 20.5M=0.004s 2023-12-27 15:35:58 (31.1 MB/s) - 'rmr-dev_4.9.4_amd64.deb' saved [128860/128860] Selecting previously unselected package rmr-dev. (Reading database ... 46849 files and directories currently installed.) Preparing to unpack rmr-dev_4.9.4_amd64.deb ... Unpacking rmr-dev (4.9.4) ... Setting up rmr-dev (4.9.4) ... Removing intermediate container 5c3fbf25c42b ---> 37a82b5a7e08 Step 7/21 : RUN rm -f rmr_${RMRVERSION}_amd64.deb rmr-dev_${RMRVERSION}_amd64.deb ---> Running in d603227264e2 Removing intermediate container d603227264e2 ---> 4147d372778d Step 8/21 : RUN ldconfig ---> Running in ce05b23ca073 Removing intermediate container ce05b23ca073 ---> abb6396353cb Step 9/21 : ENV PATH="/usr/local/go/bin:${PATH}" ---> Running in 2998c3508685 Removing intermediate container 2998c3508685 ---> e5b07541aef5 Step 10/21 : WORKDIR "/" ---> Running in fd45c0d33757 Removing intermediate container fd45c0d33757 ---> 86cb87cc6b9d Step 11/21 : CMD ["/bin/bash"] ---> Running in 86c27c105ea9 Removing intermediate container 86c27c105ea9 ---> cb16b112c005 Step 12/21 : FROM xapp-base as xapp-base-testbuild ---> cb16b112c005 Step 13/21 : RUN mkdir -p /ws ---> Running in ac4ab8ab0f9f Removing intermediate container ac4ab8ab0f9f ---> 292f7b137af9 Step 14/21 : WORKDIR "/ws" ---> Running in c030ab87a899 Removing intermediate container c030ab87a899 ---> 4c3ab9bb30fd Step 15/21 : COPY go.mod /ws ---> b2dd05e414dd Step 16/21 : COPY go.sum /ws ---> 27aefb7b4b8c Step 17/21 : RUN go mod download ---> Running in 2d19bc090101 Removing intermediate container 2d19bc090101 ---> b456d9c69af7 Step 18/21 : COPY . /ws ---> 902c82bbc12e Step 19/21 : RUN make -C /ws go-build ---> Running in de1e4457155a make: Entering directory '/ws' Building: test/xapp Building: pkg/xapp make: Leaving directory '/ws' Removing intermediate container de1e4457155a ---> 27c8c6dd3b9c Step 20/21 : RUN make -C /ws go-test-fmt ---> Running in deb45bfc9209 make: Entering directory '/ws' make: Leaving directory '/ws' Removing intermediate container deb45bfc9209 ---> 92d91f77341b Step 21/21 : RUN make -C /ws go-test ---> Running in f32e271ccac5 make: Entering directory '/ws' Testing: test/xapp ? gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/test/xapp [no test files] Testing: pkg/xapp {"ts":1703691430387,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"Using config file: /ws/config/config-file.json"} {"ts":1703691430388,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"Config mtypes before RICMessageTypes:94 RicMessageTypeToName:94"} {"ts":1703691430388,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"Config mtypes rmr.mtypes entry added abdc(true) 1234(true) "} {"ts":1703691430388,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"Config mtypes after RICMessageTypes:95 RicMessageTypeToName:95"} {"ts":1703691430388,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"Serving metrics on: url=/ric/v1/metrics namespace=ricxapp"} dial tcp 127.0.0.1:6379: connect: connection refused dial tcp 127.0.0.1:6379: connect: connection refused 1703691430452 2271/RMR [INFO] ric message routing library on SI95 p=4560 mv=3 flg=00 id=a (f447e29 4.9.4 built: Dec 13 2023) {"ts":1703691430453,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"new rmrClient with parameters: ProtPort=4560 MaxSize=0 ThreadType=0 StatDesc=RMR LowLatency=false FastAck=false Policies=[801111 902222]"} {"ts":1703691430453,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"IP address is not able to resolve Interface () route ip+net: invalid network interface name"} {"ts":1703691430453,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"Xapp started, listening on: :8086"} {"ts":1703691430453,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:10"},"msg":"rmrClient: Waiting for RMR to be ready ..."} {"ts":1703691431454,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:11"},"msg":"rmrClient: RMR is ready after 1 seconds waiting..."} 1703691431454 2271/RMR [INFO] sends: ts=1703691431 src=prd-ubuntu1804-docker-4c-4g-2113:4560 target=localhost:4591 open=0 succ=0 fail=0 (hard=0 soft=0) 1703691431454 2271/RMR [INFO] sends: ts=1703691431 src=prd-ubuntu1804-docker-4c-4g-2113:4560 target=localhost:4560 open=0 succ=0 fail=0 (hard=0 soft=0) RMR is ready now ... === RUN TestNewAlarmClient {"ts":1703691435453,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"TestNewAlarmClient"} --- PASS: TestNewAlarmClient (0.00s) === RUN TestAlarmRaise {"ts":1703691435453,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"TestAlarmRaise"} 2023/12/27 15:37:15 Sending alarm: {"managedObjectId":"prd-ubuntu1804-docker-4c-4g-2113","applicationId":"/ws/cache/go/pkg/xapp_test","specificProblem":1234,"perceivedSeverity":"CRITICAL","identifyingInfo":"eth 0 1","additionalInfo":"Some App data","AlarmAction":"RAISE","AlarmTime":1703691435453783269} --- PASS: TestAlarmRaise (0.00s) === RUN TestAlarmClear {"ts":1703691435455,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"TestAlarmClear"} 2023/12/27 15:37:15 Alarm sent error RmrError=rmr not ready and HttpError=Post failed with error: Post "http://service--alarmmanager-http.:8080/ric/v1/alarms": dial tcp: lookup service--alarmmanager-http.: Temporary failure in name resolution 2023/12/27 15:37:15 Sending alarm: {"managedObjectId":"prd-ubuntu1804-docker-4c-4g-2113","applicationId":"/ws/cache/go/pkg/xapp_test","specificProblem":1234,"perceivedSeverity":"CRITICAL","identifyingInfo":"eth 0 1","additionalInfo":"Some App data","AlarmAction":"CLEAR","AlarmTime":1703691435455805412} 2023/12/27 15:37:15 Alarm sent error RmrError=rmr not ready and HttpError=Post failed with error: Post "http://service--alarmmanager-http.:8080/ric/v1/alarms": dial tcp: lookup service--alarmmanager-http.: Temporary failure in name resolution --- PASS: TestAlarmClear (0.00s) === RUN TestAlarmReraise {"ts":1703691435457,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"TestAlarmReraise"} 2023/12/27 15:37:15 Sending alarm: {"managedObjectId":"prd-ubuntu1804-docker-4c-4g-2113","applicationId":"/ws/cache/go/pkg/xapp_test","specificProblem":1234,"perceivedSeverity":"CRITICAL","identifyingInfo":"eth 0 1","additionalInfo":"Some App data","AlarmAction":"CLEAR","AlarmTime":1703691435457032548} 2023/12/27 15:37:15 Alarm sent error RmrError=rmr not ready and HttpError=Post failed with error: Post "http://service--alarmmanager-http.:8080/ric/v1/alarms": dial tcp: lookup service--alarmmanager-http.: Temporary failure in name resolution --- PASS: TestAlarmReraise (0.00s) === RUN TestAlarmClearall {"ts":1703691435458,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"TestAlarmClearall"} 2023/12/27 15:37:15 Sending alarm: {"managedObjectId":"prd-ubuntu1804-docker-4c-4g-2113","applicationId":"/ws/cache/go/pkg/xapp_test","specificProblem":0,"perceivedSeverity":"DEFAULT","identifyingInfo":"","additionalInfo":"","AlarmAction":"CLEARALL","AlarmTime":1703691435458303717} --- PASS: TestAlarmClearall (0.00s) === RUN TestMetricCounter 2023/12/27 15:37:15 Alarm sent error RmrError=rmr not ready and HttpError=Post failed with error: Post "http://service--alarmmanager-http.:8080/ric/v1/alarms": dial tcp: lookup service--alarmmanager-http.: Temporary failure in name resolution --- PASS: TestMetricCounter (0.00s) === RUN TestMetricCounterGroup --- PASS: TestMetricCounterGroup (0.00s) === RUN TestMetricLabeledCounter --- PASS: TestMetricLabeledCounter (0.00s) === RUN TestMetricLabeledCounterMissmatch {"ts":1703691435459,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"id:ricxapp_SUBSYSTEMLERRMISSMATCH_counter1_ cached counter vec labels dont match [name event] != [name eventmiss]"} {"ts":1703691435459,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"id:ricxapp_SUBSYSTEMLERRMISSMATCH_counter1_ cached counter vec labels dont match [name event] != [name]"} --- PASS: TestMetricLabeledCounterMissmatch (0.00s) === RUN TestMetricLabeledCounterWrongOrder {"ts":1703691435459,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"id:ricxapp_SUBSYSTEMLERRWRONGORDER_counter1_ cached counter vec labels dont match [name event] != [event name]"} --- PASS: TestMetricLabeledCounterWrongOrder (0.00s) === RUN TestMetricLabeledCounterCounterNameExists {"ts":1703691435459,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"Register new counter vector with opts: {ricxapp SUBSYSTEMLERRNAMEEXISTS counter1 counter1 map[]} labelNames: [name event], name conflicts existing counter"} --- PASS: TestMetricLabeledCounterCounterNameExists (0.00s) === RUN TestMetricCounterLabeledCounterNameExists {"ts":1703691435459,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"Register new counter with opts: {ricxapp SUBSYSTEMLERRNAMEEXISTS counter2 counter2 map[]}, name conflicts existing counter vector"} --- PASS: TestMetricCounterLabeledCounterNameExists (0.00s) === RUN TestMetricLabeledCounterGroup --- PASS: TestMetricLabeledCounterGroup (0.00s) === RUN TestMetricGauge --- PASS: TestMetricGauge (0.00s) === RUN TestMetricGaugeGroup --- PASS: TestMetricGaugeGroup (0.00s) === RUN TestMetricLabeledGauge --- PASS: TestMetricLabeledGauge (0.00s) === RUN TestMetricLabeledGaugeMissmatch {"ts":1703691435460,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"id:ricxapp_SUBSYSTEMLERRMISSMATCH_gauge1_ cached gauge vec labels dont match [name event] != [name eventmiss]"} {"ts":1703691435460,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"id:ricxapp_SUBSYSTEMLERRMISSMATCH_gauge1_ cached gauge vec labels dont match [name event] != [name]"} --- PASS: TestMetricLabeledGaugeMissmatch (0.00s) === RUN TestMetricLabeledGaugeWrongOrder {"ts":1703691435460,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"id:ricxapp_SUBSYSTEMLERRWRONGORDER_gauge1_ cached gauge vec labels dont match [name event] != [event name]"} --- PASS: TestMetricLabeledGaugeWrongOrder (0.00s) === RUN TestMetricLabeledGaugeGaugeNameExists {"ts":1703691435460,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"Register new gauge vector with opts: {ricxapp SUBSYSTEMLERRNAMEEXISTS gauge1 gauge1 map[]} labelNames: [name event], name conflicts existing counter"} --- PASS: TestMetricLabeledGaugeGaugeNameExists (0.00s) === RUN TestMetricGaugeLabeledGaugeNameExists {"ts":1703691435460,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"Register new gauge with opts: {ricxapp SUBSYSTEMLERRNAMEEXISTS gauge2 gauge2 map[]}, name conflicts existing gauge vector"} --- PASS: TestMetricGaugeLabeledGaugeNameExists (0.00s) === RUN TestMetricLabeledGaugeGroup --- PASS: TestMetricLabeledGaugeGroup (0.00s) === RUN TestMetricGroupCache --- PASS: TestMetricGroupCache (0.00s) === RUN TestMetricCounterAutoCGetNoReg --- PASS: TestMetricCounterAutoCGetNoReg (0.00s) === RUN TestMetricCounterAutoCGetFunc --- PASS: TestMetricCounterAutoCGetFunc (0.00s) === RUN TestMetricCounterAutoCGet --- PASS: TestMetricCounterAutoCGet (0.00s) === RUN TestMetricCounterAutoCInc --- PASS: TestMetricCounterAutoCInc (0.00s) === RUN TestMetricCounterAutoCAdd --- PASS: TestMetricCounterAutoCAdd (0.00s) === RUN TestMetricCounterAutoGGetNoReg --- PASS: TestMetricCounterAutoGGetNoReg (0.00s) === RUN TestMetricCounterAutoGGetFunc --- PASS: TestMetricCounterAutoGGetFunc (0.00s) === RUN TestMetricCounterAutoGGet --- PASS: TestMetricCounterAutoGGet (0.00s) === RUN TestMetricCounterAutoGInc --- PASS: TestMetricCounterAutoGInc (0.00s) === RUN TestMetricCounterAutoGSet --- PASS: TestMetricCounterAutoGSet (0.00s) === RUN TestMetricCounterAutoGAdd --- PASS: TestMetricCounterAutoGAdd (0.00s) === RUN TestMetricCounterAutoGDec --- PASS: TestMetricCounterAutoGDec (0.00s) === RUN TestGetHealthReadyCheck --- PASS: TestGetHealthReadyCheck (0.00s) === RUN TestGetHealthAliveCheck --- PASS: TestGetHealthAliveCheck (0.00s) === RUN TestRmrEndpoint {"ts":1703691435460,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"CASE: TestRmrEndpoint"} --- PASS: TestRmrEndpoint (0.00s) === RUN TestRmrEndpoint1 {"ts":1703691435460,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"CASE: TestRmrEndpoint1 127.0.0.1:8080"} --- PASS: TestRmrEndpoint1 (0.00s) === RUN TestRmrEndpoint2 {"ts":1703691435460,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"CASE: TestRmrEndpoint2 [2001:2003:fb69:ea00:c894:288b:4582:b5c/64]:8080"} --- PASS: TestRmrEndpoint2 (0.00s) === RUN TestRmrEndpoint3 {"ts":1703691435460,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"CASE: TestRmrEndpoint3 127.0.0.1:port"} --- PASS: TestRmrEndpoint3 (0.00s) === RUN TestRmrEndpoint4 {"ts":1703691435461,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"CASE: TestRmrEndpoint4 127.0.0.1:port"} --- PASS: TestRmrEndpoint4 (0.00s) === RUN TestRmrEndpointList {"ts":1703691435461,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"CASE: TestRmrEndpointList"} {"ts":1703691435461,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"127.0.0.1:8080,127.0.0.1:8081 -- [127.0.0.1:8080 127.0.0.1:8081] -- 2"} --- PASS: TestRmrEndpointList (0.00s) === RUN TestSetup {"ts":1703691435466,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:15"},"msg":"Serving subscriptions on 0.0.0.0:8088\n"} 2023/12/27 15:37:15 Serving xapp framework at http://[::]:8088 RMR is ready now ... RMR is ready now ... RMR is ready now ... --- PASS: TestSetup (2.00s) === RUN TestSubscriptionQueryHandling RMR is ready now ... RMR is ready now ... --- PASS: TestSubscriptionQueryHandling (1.00s) === RUN TestSubscriptionHandling Sending successful notification TestSubscriptionHandling: notification received --- PASS: TestSubscriptionHandling (1.00s) === RUN TestSubscriptionWithClientProvidedIdHandling Sending successful notification TestSubscriptionWithClientProvidedIdHandling: notification received {"ts":1703691440454,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:20"},"msg":"getService: SERVICE_RICXAPP_PRD-UBUNTU1804-DOCKER-4C-4G-2113_HTTP_PORT []"} {"ts":1703691440454,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:20"},"msg":"getService: SERVICE_RICXAPP_PRD-UBUNTU1804-DOCKER-4C-4G-2113_RMR_PORT []"} {"ts":1703691440454,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:20"},"msg":"Couldn't resolve service endpoints: httpEp= rmrEp="} {"ts":1703691440454,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:20"},"msg":"Registration done, proceeding with startup ..."} --- PASS: TestSubscriptionWithClientProvidedIdHandling (1.00s) === RUN TestFailureNotificationHandling Sending error notification --- PASS: TestFailureNotificationHandling (1.00s) === RUN TestBadRequestSubscriptionHandling send_400_bad_request_response Error: [POST /subscriptions][400] subscribeBadRequest --- PASS: TestBadRequestSubscriptionHandling (0.00s) === RUN TestNotFoundRequestSubscriptionHandling send_404_not_found_response Error: [POST /subscriptions][404] subscribeNotFound --- PASS: TestNotFoundRequestSubscriptionHandling (0.00s) === RUN TestInternalServerErrorSubscriptionHandling send_500_internal_server_error_response Error: [POST /subscriptions][500] subscribeInternalServerError --- PASS: TestInternalServerErrorSubscriptionHandling (0.01s) === RUN TestServiceUnavailableSubscriptionHandling send_503_Service_Unavailable_response Error: [POST /subscriptions][503] subscribeServiceUnavailable --- PASS: TestServiceUnavailableSubscriptionHandling (0.00s) === RUN TestSuccessfulSubscriptionDeleteHandling Error: --- PASS: TestSuccessfulSubscriptionDeleteHandling (0.00s) === RUN TestBadRequestSubscriptionDeleteHandling Error: [DELETE /subscriptions/{subscriptionId}][400] unsubscribeBadRequest --- PASS: TestBadRequestSubscriptionDeleteHandling (0.00s) === RUN TestInternalServerErrorSubscriptionDeleteHandling Error: [DELETE /subscriptions/{subscriptionId}][500] unsubscribeInternalServerError --- PASS: TestInternalServerErrorSubscriptionDeleteHandling (0.00s) === RUN TestResponseHandler --- PASS: TestResponseHandler (2.00s) === RUN TestNewUtils --- PASS: TestNewUtils (0.01s) === RUN TestSymptomdata --- PASS: TestSymptomdata (0.00s) === RUN TestSymptomdataCollection --- PASS: TestSymptomdataCollection (0.00s) === RUN TestSymptomdataCollectionError --- PASS: TestSymptomdataCollectionError (0.00s) === RUN TestGetSymptomDataParams {"ts":1703691443501,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"GetSymptomDataParams: map[fromtime:[1] timeout:[10] totime:[2]]"} --- PASS: TestGetSymptomDataParams (0.00s) === RUN TestAppconfigHandler {"ts":1703691443502,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"Inside appconfigHandler"} {"ts":1703691443502,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"Cannot open config file: /opt/ric/config/config-file.json err: open /opt/ric/config/config-file.json: no such file or directory"} {"ts":1703691443502,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"Cannot open any of listed config files: [/ws/config/config-file.json /opt/ric/config/config-file.json]"} --- PASS: TestAppconfigHandler (0.00s) === RUN TestGetHealthCheckRetursServiceUnavailableError {"ts":1703691443503,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"CASE: TestGetHealthCheckRetursServiceUnavailableError"} --- PASS: TestGetHealthCheckRetursServiceUnavailableError (0.00s) === RUN TestGetHealthCheckReturnsSuccess {"ts":1703691443503,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"CASE: TestGetHealthCheckReturnsSuccess"} --- PASS: TestGetHealthCheckReturnsSuccess (0.00s) === RUN TestInjectQuerySinglePath {"ts":1703691443504,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"CASE: TestInjectQuerySinglePath"} --- PASS: TestInjectQuerySinglePath (0.00s) === RUN TestInjectQueryMultiplePaths {"ts":1703691443504,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"CASE: TestInjectQueryMultiplePaths"} --- PASS: TestInjectQueryMultiplePaths (0.00s) === RUN TestInjectQueryFailures {"ts":1703691443505,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"CASE: TestInjectQueryFailures"} --- PASS: TestInjectQueryFailures (0.00s) === RUN TestMessagesReceivedSuccessfully {"ts":1703691443506,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:23"},"msg":"CASE: TestMessagesReceivedSuccessfully"} --- PASS: TestMessagesReceivedSuccessfully (10.01s) === RUN TestMessagesReceivedSuccessfullyUsingWh {"ts":1703691453513,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:33"},"msg":"CASE: TestMessagesReceivedSuccessfullyUsingWh"} {"ts":1703691459515,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:39"},"msg":"params(Src= Mtype=10004 SubId=-1 Xid=TestXID Meid=meid(PlmnID=1234 EnbID=7788 RanName=RanName-1234) Paylens=0/6 Paymd5=6ac1e56bc78f031059be7be854522c4c)"} 1703691462458 2271/RMR [INFO] sends: ts=1703691462 src=prd-ubuntu1804-docker-4c-4g-2113:4560 target=localhost:4591 open=0 succ=0 fail=0 (hard=0 soft=0) 1703691462458 2271/RMR [INFO] sends: ts=1703691462 src=prd-ubuntu1804-docker-4c-4g-2113:4560 target=localhost:4560 open=1 succ=200 fail=0 (hard=0 soft=0) --- PASS: TestMessagesReceivedSuccessfullyUsingWh (11.01s) === RUN TestMessagesReceivedSuccessfullyUsingWhCall {"ts":1703691464518,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:44"},"msg":"CASE: TestMessagesReceivedSuccessfullyUsingWhCall"} --- PASS: TestMessagesReceivedSuccessfullyUsingWhCall (8.00s) === RUN TestSubscribeChannels {"ts":1703691472522,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestSubscribeChannels"} --- PASS: TestSubscribeChannels (0.00s) === RUN TestGetRicMessageSuccess {"ts":1703691472523,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestGetRicMessageSuccess"} --- PASS: TestGetRicMessageSuccess (0.00s) === RUN TestGetRicMessageFails {"ts":1703691472523,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestGetRicMessageFails"} --- PASS: TestGetRicMessageFails (0.00s) === RUN TestIsErrorFunctions {"ts":1703691472523,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestIsErrorFunctions"} --- PASS: TestIsErrorFunctions (0.00s) === RUN TestAddConfigChangeListener {"ts":1703691472523,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: AddConfigChangeListener"} --- PASS: TestAddConfigChangeListener (0.00s) === RUN TestConfigAccess {"ts":1703691472523,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestConfigAccess"} --- PASS: TestConfigAccess (0.00s) === RUN TestPublishConfigChange {"ts":1703691472523,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestPublishConfigChange"} {"ts":1703691472546,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"Sdl.Store failed: dial tcp 127.0.0.1:6379: connect: connection refused"} --- PASS: TestPublishConfigChange (0.05s) === RUN TestNewSubscriber {"ts":1703691472570,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"CASE: TestNewSubscriber"} --- PASS: TestNewSubscriber (0.00s) === RUN TestNewRMRClient {"ts":1703691472570,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:52"},"msg":"new rmrClient with parameters: ProtPort=4560 MaxSize=0 ThreadType=0 StatDesc=RMR LowLatency=false FastAck=false Policies=[801111 902222]"} --- PASS: TestNewRMRClient (1.00s) === RUN TestInjectRoutePrefix {"ts":1703691473573,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestInjectRoutePrefix"} --- PASS: TestInjectRoutePrefix (0.00s) === RUN TestInjectStatusCb {"ts":1703691473573,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestInjectStatusCb"} --- PASS: TestInjectStatusCb (0.00s) === RUN TestSdlInterfaces --- PASS: TestSdlInterfaces (0.13s) === RUN TestRnibInterfaces --- PASS: TestRnibInterfaces (0.25s) === RUN TestLogger {"ts":1703691473946,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestNewSubscriber"} {"ts":1703691473946,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestNewSubscriber"} --- PASS: TestLogger (0.00s) === RUN TestConfigHandler {"ts":1703691473946,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestConfigHandler"} {"ts":1703691473953,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Sdl.Store failed: dial tcp 127.0.0.1:6379: connect: connection refused"} --- PASS: TestConfigHandler (0.01s) === RUN TestConfigChange {"ts":1703691473954,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestConfigChange: /ws/config/config-file.json"} --- PASS: TestConfigChange (0.00s) === RUN TestRegisterXapp {"ts":1703691473954,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestRegisterXapp"} {"ts":1703691473954,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"getService: SERVICE_RICXAPP_PRD-UBUNTU1804-DOCKER-4C-4G-2113_HTTP_PORT []"} {"ts":1703691473954,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"getService: SERVICE_RICXAPP_PRD-UBUNTU1804-DOCKER-4C-4G-2113_RMR_PORT []"} {"ts":1703691473954,"crit":"WARNING","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Couldn't resolve service endpoints: httpEp= rmrEp="} --- PASS: TestRegisterXapp (0.00s) {"ts":1703691473954,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"config file /ws/config/config-file.json changed "} === RUN TestDeregisterXapp {"ts":1703691473955,"crit":"ERROR","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"CASE: TestDeregisterXapp"} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Config mtypes before RICMessageTypes:95 RicMessageTypeToName:95"} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Config mtypes rmr.mtypes entry skipped abdc(false) 1234(false) "} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Config mtypes after RICMessageTypes:95 RicMessageTypeToName:95"} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"config file /ws/config/config-file.json changed "} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Config mtypes before RICMessageTypes:95 RicMessageTypeToName:95"} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Config mtypes rmr.mtypes entry skipped abdc(false) 1234(false) "} {"ts":1703691473955,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:53"},"msg":"Config mtypes after RICMessageTypes:95 RicMessageTypeToName:95"} {"ts":1703691474036,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:54"},"msg":"http.Post to 'http://service-ricplt-appmgr-http.ricplt:8080/ric/v1/deregister' failed with resp: nil err: Post \"http://service-ricplt-appmgr-http.ricplt:8080/ric/v1/deregister\": dial tcp: lookup service-ricplt-appmgr-http.ricplt: no such host"} --- PASS: TestDeregisterXapp (0.08s) === RUN TestMisc {"ts":1703691474037,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:54"},"msg":"CASE: TestMisc"} {"ts":1703691474040,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:54"},"msg":"http.Post to 'http://service-ricplt-appmgr-http.ricplt:8080/ric/v1/deregister' failed with resp: nil err: Post \"http://service-ricplt-appmgr-http.ricplt:8080/ric/v1/deregister\": dial tcp: lookup service-ricplt-appmgr-http.ricplt: no such host"} {"ts":1703691474040,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:54"},"msg":"xApp deregistration failed: http.Post to 'http://service-ricplt-appmgr-http.ricplt:8080/ric/v1/deregister' failed with resp: nil err: Post \"http://service-ricplt-appmgr-http.ricplt:8080/ric/v1/deregister\": dial tcp: lookup service-ricplt-appmgr-http.ricplt: no such host, terminating ungracefully!"} {"ts":1703691474040,"crit":"INFO","id":"xapp_test","mdc":{"time":"2023-12-27T15:37:54"},"msg":"getService: SERVICE_RICXAPP_UEEC_HTTP_PORT [tcp: localhost:8080]"} --- PASS: TestMisc (0.00s) === RUN TestTeardown RMR is ready now ... --- PASS: TestTeardown (2.04s) PASS coverage: 85.4% of statements make: Leaving directory '/ws' Removing intermediate container f32e271ccac5 ---> 7c96de85ccb6 Successfully built 7c96de85ccb6 Successfully tagged nexus3.o-ran-sc.org:10004/ric-plt-xapp-frame:latest 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-2113 [ric-plt-xapp-frame-sonar-prescan-script] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-plt-xapp-frame -Dsonar.projectName=ric-plt-xapp-frame -Dsonar.language=go -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.go.coverage.reportPaths=**/cover.out -Dsonar.organization=o-ran-sc -Dsonar.sources=. -Dsonar.inclusions=**/*.go -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=**/*_test.go -Dsonar.projectBaseDir=/w/workspace/ric-plt-xapp-frame-sonar-prescan-script 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 17.0.4 Private Build (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=632ms 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=238ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=919ms INFO: Found an active CI vendor: 'Jenkins' INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame' INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame' (done) | time=500ms INFO: Process project properties INFO: Project key: o-ran-sc_ric-plt-xapp-frame INFO: Base dir: /w/workspace/ric-plt-xapp-frame-sonar-prescan-script INFO: Working dir: /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=212ms INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame' INFO: Detected project binding: BOUND INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame' (done) | time=181ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=186ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=2ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=265ms INFO: Load active rules INFO: Load active rules (done) | time=11476ms 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: 1 language detected in 82 preprocessed files INFO: 43 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Loading plugins for detected languages INFO: Load/download plugins INFO: Load/download plugins (done) | time=132ms INFO: Load project repositories INFO: Load project repositories (done) | time=577ms INFO: Indexing files... INFO: Project configuration: INFO: Included sources: **/*.go INFO: Excluded sources: **/build-wrapper-dump.json, **/*_test.go INFO: 82 files indexed INFO: Quality profile for go: Sonar way INFO: ------------- Run sensors on module ric-plt-xapp-frame INFO: Load metrics repository INFO: Load metrics repository (done) | time=184ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (404) | time=590ms 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 Code Quality and Security for Go [go] INFO: 82 source files to be analyzed INFO: 82/82 source files have been analyzed INFO: Sensor Code Quality and Security for Go [go] (done) | time=1541ms INFO: Sensor Go Cover sensor for Go coverage [go] ERROR: Coverage report can't be loaded, file(s) not found for pattern: '**/cover.out', ignoring this file. INFO: Sensor Go Cover sensor for Go coverage [go] (done) | time=10ms INFO: Sensor TextAndSecretsSensor [text] INFO: 82 source files to be analyzed INFO: 82/82 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=1485ms 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=1ms 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=63ms INFO: ------------- Run sensors on project INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=31ms INFO: CPD Executor 5 files had no CPD blocks INFO: CPD Executor Calculating CPD for 77 files INFO: CPD Executor CPD calculation finished (done) | time=42ms INFO: Analysis report generated in 202ms, dir size=754 KB INFO: Analysis report compressed in 116ms, zip size=293 KB INFO: Analysis report uploaded in 1080ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-plt-xapp-frame 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=AYyr7U7A7mqWszH0zsGb INFO: Analysis total time: 20.888 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 26.134s INFO: Final Memory: 17M/64M INFO: ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2071 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins12316039536324232474.sh ---> sysstat.sh [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins10473204137470200317.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-plt-xapp-frame-sonar-prescan-script + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ric-plt-xapp-frame-sonar-prescan-script ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ric-plt-xapp-frame-sonar-prescan-script ']' + mkdir -p /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/archives/ [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins340526109944660168.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-E8wY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-E8wY/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins11492141760495331695.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-sonar-prescan-script@tmp/config5425896228616852530tmp 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-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins10549192343450094058.sh ---> create-netrc.sh [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins14714723722723782558.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-E8wY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-E8wY/bin to PATH [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins14301243341797995924.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash /tmp/jenkins15993901961870389354.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-E8wY 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-E8wY/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [ric-plt-xapp-frame-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins9963842497087961656.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-E8wY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-E8wY/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-sonar-prescan-script/1127 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-2113 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 13G 6.9G 65% / 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 502 941 0 2499 3158 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:fc:eb:fe brd ff:ff:ff:ff:ff:ff inet 10.32.6.72/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85995sec preferred_lft 85995sec inet6 fe80::f816:3eff:fefc:ebfe/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:2e:f6:77:8e 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-2113) 12/27/23 _x86_64_ (4 CPU) 15:32:44 LINUX RESTART (4 CPU) 15:33:01 tps rtps wtps bread/s bwrtn/s 15:34:02 147.29 78.62 68.67 6162.31 41247.41 15:35:01 203.37 28.54 174.83 4429.44 96141.43 15:36:01 448.27 65.03 383.23 13826.53 55614.40 15:37:01 221.10 14.91 206.18 1108.08 28732.14 15:38:01 44.98 24.20 20.78 1113.95 4053.72 15:39:01 56.12 37.38 18.75 1769.71 5042.36 Average: 186.80 41.48 145.33 4735.51 38326.92 15:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:34:02 1571760 3253084 2466896 61.08 42844 1796356 946740 18.61 681904 1609668 160436 15:35:01 116680 3280832 3921976 97.11 93416 3143624 1153408 22.67 538480 3081104 185824 15:36:01 190988 3289292 3847668 95.27 140344 2997476 1238880 24.35 591492 2917912 292 15:37:01 632864 3289912 3405792 84.33 158436 2571980 1148080 22.57 656268 2443740 180 15:38:01 1241340 3247772 2797316 69.26 159188 1941160 1046044 20.56 741232 1771152 2452 15:39:01 1017608 3252588 3021048 74.80 162892 2158104 933800 18.36 806728 1921508 40476 Average: 795207 3268913 3243449 80.31 126187 2434783 1077825 21.19 669351 2290847 64943 15:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:34:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:34:02 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 15:34:02 ens3 354.94 256.77 1367.14 67.48 0.00 0.00 0.00 0.00 15:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:35:01 lo 2.44 2.44 0.22 0.22 0.00 0.00 0.00 0.00 15:35:01 ens3 452.00 303.69 14658.45 23.40 0.00 0.00 0.00 0.00 15:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:36:01 lo 1.43 1.43 0.16 0.16 0.00 0.00 0.00 0.00 15:36:01 ens3 125.80 88.42 458.23 7.68 0.00 0.00 0.00 0.00 15:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:37:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 15:37:01 ens3 92.27 72.47 433.32 6.55 0.00 0.00 0.00 0.00 15:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:38:01 lo 10.95 10.95 1.84 1.84 0.00 0.00 0.00 0.00 15:38:01 ens3 16.18 9.53 26.16 2.83 0.00 0.00 0.00 0.00 15:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 15:39:01 ens3 219.08 170.25 2099.49 26.69 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 2.86 2.86 0.41 0.41 0.00 0.00 0.00 0.00 Average: ens3 209.44 149.81 3145.09 22.44 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-docker-4c-4g-2113) 12/27/23 _x86_64_ (4 CPU) 15:32:44 LINUX RESTART (4 CPU) 15:33:01 CPU %user %nice %system %iowait %steal %idle 15:34:02 all 18.71 0.00 2.48 4.33 0.06 74.42 15:34:02 0 31.30 0.00 2.22 2.89 0.07 63.53 15:34:02 1 24.97 0.00 2.86 4.60 0.05 67.53 15:34:02 2 7.55 0.00 2.94 3.50 0.05 85.96 15:34:02 3 10.95 0.00 1.85 6.35 0.05 80.80 15:35:01 all 24.11 0.00 5.75 3.02 0.07 67.05 15:35:01 0 31.80 0.00 5.26 0.68 0.07 62.19 15:35:01 1 25.93 0.00 5.98 3.35 0.07 64.67 15:35:01 2 25.79 0.00 6.75 1.51 0.10 65.84 15:35:01 3 12.89 0.00 5.06 6.53 0.07 75.45 15:36:01 all 10.43 0.00 4.90 13.35 0.07 71.26 15:36:01 0 9.42 0.00 3.99 1.86 0.05 84.67 15:36:01 1 12.54 0.00 4.61 1.86 0.05 80.94 15:36:01 2 9.76 0.00 6.34 35.48 0.10 48.32 15:36:01 3 9.98 0.00 4.65 14.38 0.05 70.93 15:37:01 all 53.78 0.00 7.64 6.18 0.11 32.30 15:37:01 0 52.70 0.00 7.77 5.61 0.12 33.80 15:37:01 1 53.30 0.00 7.71 13.86 0.10 25.03 15:37:01 2 53.86 0.00 7.65 1.89 0.10 36.50 15:37:01 3 55.26 0.00 7.39 3.37 0.10 33.89 15:38:01 all 10.27 0.00 1.85 1.18 0.04 86.66 15:38:01 0 10.72 0.00 1.72 0.03 0.03 87.50 15:38:01 1 8.99 0.00 2.03 1.87 0.03 87.08 15:38:01 2 9.91 0.00 1.77 1.47 0.03 86.81 15:38:01 3 11.48 0.00 1.92 1.32 0.03 85.24 15:39:01 all 19.59 0.00 1.16 1.24 0.05 77.96 15:39:01 0 25.03 0.00 1.05 0.22 0.05 73.65 15:39:01 1 13.00 0.00 0.69 0.20 0.03 86.08 15:39:01 2 13.62 0.00 1.42 1.91 0.05 83.00 15:39:01 3 26.68 0.00 1.45 2.64 0.07 69.16 Average: all 22.78 0.00 3.95 4.88 0.06 68.33 Average: 0 26.75 0.00 3.65 1.88 0.06 67.66 Average: 1 23.08 0.00 3.97 4.28 0.06 68.61 Average: 2 20.03 0.00 4.46 7.62 0.07 67.82 Average: 3 21.22 0.00 3.71 5.75 0.06 69.26