Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/ric-app/kpimon-go/+/12139 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-1101 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-app-kpimon-go-docker-verify-master [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-rPTdYtDeaEas/agent.2097 SSH_AGENT_PID=2099 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/private_key_13563858800003257994.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/kpimon-go > git init /w/workspace/ric-app-kpimon-go-docker-verify-master # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/kpimon-go > 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/kpimon-go +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/kpimon-go # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/kpimon-go # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/kpimon-go using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/kpimon-go refs/changes/39/12139/1 # timeout=10 > git rev-parse 233e697c71b9074ca84674db52154baf8d2a25f7^{commit} # timeout=10 Checking out Revision 233e697c71b9074ca84674db52154baf8d2a25f7 (refs/changes/39/12139/1) > git config core.sparsecheckout # timeout=10 > git checkout -f 233e697c71b9074ca84674db52154baf8d2a25f7 # timeout=10 Commit message: "RICAPP-223:- Creating UE/CELL metrics hashmap based upon the KPIS supported by each E2 node" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 138ddd6f66de28b9b3637629e0fa710356d531d7 # 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-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins7814629337216496788.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-YU8S 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-YU8S/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-YU8S/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.1 botocore==1.33.1 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.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.6 importlib-metadata==6.8.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.1 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.0.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.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.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.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 provisioning config files... copy managed file [global-settings] to file:/w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/config4806177245836427105tmp copy managed file [ric-app-kpimon-go-settings] to file:/w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/config12146078672971055080tmp [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins16692947317711390314.sh ---> docker-login.sh nexus3.o-ran-sc.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.o-ran-sc.org:10002 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.o-ran-sc.org:10003 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.o-ran-sc.org:10004 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ---> docker-login.sh ends [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins15947619235492272568.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/sh -xe /tmp/jenkins14439358985183055549.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content DOCKER_ROOT=$WORKSPACE CONTAINER_TAG_YAML_DIR= CONTAINER_TAG_METHOD=yaml-file [EnvInject] - Variables injected successfully. [ric-app-kpimon-go-docker-verify-master] $ /bin/bash -l /tmp/jenkins18069762348015783930.sh ---> docker-get-container-tag.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-kpimon-go-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YU8S from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: yq lf-activate-venv(): INFO: Adding /tmp/venv-YU8S/bin to PATH ---> Docker image tag found: 1.0.1 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path 'env_docker_inject.txt' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content DOCKER_ARGS=--network=host DOCKER_ROOT=/w/workspace/ric-app-kpimon-go-docker-verify-master CONTAINER_PULL_REGISTRY=nexus3.o-ran-sc.org:10001 CONTAINER_PUSH_REGISTRY=nexus3.o-ran-sc.org:10004 DOCKER_NAME=o-ran-sc/ric-app-kpimon-go [EnvInject] - Variables injected successfully. [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins9442024113720276780.sh ---> docker-build.sh Docker version 20.10.20, build 9fdeb9c Building image: nexus3.o-ran-sc.org:10004/o-ran-sc/ric-app-kpimon-go:1.0.1 docker build --network=host -t nexus3.o-ran-sc.org:10004/o-ran-sc/ric-app-kpimon-go:1.0.1 . Sending build context to Docker daemon 5.991MB Step 1/27 : FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as build-kpimon 1.9.0: Pulling from o-ran-sc/bldr-ubuntu18-c-go f22ccc0b8772: Pulling fs layer 3cf8fb62ba5f: Pulling fs layer e80c964ece6a: Pulling fs layer d4194511dbdc: Pulling fs layer 2d489c440bae: Pulling fs layer 33ee3c77506b: Pulling fs layer 7cdf3f1d17d0: Pulling fs layer cf153de296b0: Pulling fs layer e1920709a3af: Pulling fs layer 6cdcae3380c6: Pulling fs layer 6dbdb1c3e5fd: Pulling fs layer 1710cd1faa0e: Pulling fs layer d44308ed4b3e: Pulling fs layer cf153de296b0: Waiting d4194511dbdc: Waiting e1920709a3af: Waiting 6cdcae3380c6: Waiting 6dbdb1c3e5fd: Waiting 33ee3c77506b: Waiting d44308ed4b3e: Waiting 1710cd1faa0e: Waiting 7cdf3f1d17d0: Waiting 2d489c440bae: Waiting e80c964ece6a: Verifying Checksum e80c964ece6a: Download complete 3cf8fb62ba5f: Verifying Checksum 3cf8fb62ba5f: Download complete 2d489c440bae: Verifying Checksum 2d489c440bae: Download complete f22ccc0b8772: Verifying Checksum f22ccc0b8772: Download complete 33ee3c77506b: Verifying Checksum 33ee3c77506b: Download complete 7cdf3f1d17d0: Verifying Checksum 7cdf3f1d17d0: Download complete d4194511dbdc: Verifying Checksum d4194511dbdc: Download complete f22ccc0b8772: Pull complete 3cf8fb62ba5f: Pull complete cf153de296b0: Verifying Checksum cf153de296b0: Download complete 6cdcae3380c6: Verifying Checksum 6cdcae3380c6: Download complete e1920709a3af: Verifying Checksum e1920709a3af: Download complete 1710cd1faa0e: Verifying Checksum 1710cd1faa0e: Download complete 6dbdb1c3e5fd: Verifying Checksum 6dbdb1c3e5fd: Download complete d44308ed4b3e: Verifying Checksum d44308ed4b3e: Download complete e80c964ece6a: Pull complete d4194511dbdc: Pull complete 2d489c440bae: Pull complete 33ee3c77506b: Pull complete 7cdf3f1d17d0: Pull complete cf153de296b0: Pull complete e1920709a3af: Pull complete 6cdcae3380c6: Pull complete 6dbdb1c3e5fd: Pull complete 1710cd1faa0e: Pull complete d44308ed4b3e: Pull complete Digest: sha256:f9c41a15dc8d55b758a9ff3886426099e616b9a83ec5fe09ed9b07f1d7fab6cd Status: Downloaded newer image for nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 ---> cdcad96bd128 Step 2/27 : WORKDIR /opt ---> Running in fb616beda876 Removing intermediate container fb616beda876 ---> fd3f6c94d041 Step 3/27 : ARG RMRVERSION=4.9.0 ---> Running in da978066f59f Removing intermediate container da978066f59f ---> db60afba8eba Step 4/27 : 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 d8d90085f098 --2023-11-29 12:14:31-- https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb Resolving packagecloud.io (packagecloud.io)... 54.215.244.145, 50.18.215.106, 2600:1f1c:2e5:6901:1750:a70d:515a:d603, ... Connecting to packagecloud.io (packagecloud.io)|54.215.244.145|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/4069581.deb?t=1701260371_9c7197c8ca9773e4bc4a6709af18a84a701ba558 [following] --2023-11-29 12:14:31-- https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/4069581.deb?t=1701260371_9c7197c8ca9773e4bc4a6709af18a84a701ba558 Resolving d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)... 18.173.117.103, 18.173.117.219, 18.173.117.149, ... Connecting to d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)|18.173.117.103|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 242746 (237K) [application/x-debian-package] Saving to: 'rmr_4.9.0_amd64.deb' 0K .......... .......... .......... .......... .......... 21% 24.9M 0s 50K .......... .......... .......... .......... .......... 42% 21.3M 0s 100K .......... .......... .......... .......... .......... 63% 16.4M 0s 150K .......... .......... .......... .......... .......... 84% 26.0M 0s 200K .......... .......... .......... ....... 100% 57.2M=0.01s 2023-11-29 12:14:31 (23.7 MB/s) - 'rmr_4.9.0_amd64.deb' saved [242746/242746] Selecting previously unselected package rmr. (Reading database ... 24853 files and directories currently installed.) Preparing to unpack rmr_4.9.0_amd64.deb ... Unpacking rmr (4.9.0) ... Setting up rmr (4.9.0) ... Removing intermediate container d8d90085f098 ---> eb07027baa4f Step 5/27 : 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 a72abdf8af82 --2023-11-29 12:14:32-- https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb Resolving packagecloud.io (packagecloud.io)... 50.18.215.106, 54.215.244.145, 2600:1f1c:2e5:6900:8ecb:f25a:27d:e647, ... Connecting to packagecloud.io (packagecloud.io)|50.18.215.106|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/4069580.deb?t=1701260372_308a0fade3084198245ab9f1ce3c313e76fa7b79 [following] --2023-11-29 12:14:32-- https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/4069580.deb?t=1701260372_308a0fade3084198245ab9f1ce3c313e76fa7b79 Resolving d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)... 18.173.117.193, 18.173.117.149, 18.173.117.219, ... Connecting to d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)|18.173.117.193|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 126094 (123K) [application/x-debian-package] Saving to: 'rmr-dev_4.9.0_amd64.deb'  0K .......... .......... .......... .......... .......... 40% 9.98M 0s 50K .......... .......... .......... .......... .......... 81% 14.6M 0s 100K .......... .......... ...  100% 57.7M=0.009s 2023-11-29 12:14:32 (13.9 MB/s) - 'rmr-dev_4.9.0_amd64.deb' saved [126094/126094] Selecting previously unselected package rmr-dev. (Reading database ... 24861 files and directories currently installed.) Preparing to unpack rmr-dev_4.9.0_amd64.deb ... Unpacking rmr-dev (4.9.0) ... Setting up rmr-dev (4.9.0) ... Removing intermediate container a72abdf8af82 ---> 7f01f99d9dd3 Step 6/27 : RUN rm -f rmr_${RMRVERSION}_amd64.deb rmr-dev_${RMRVERSION}_amd64.deb ---> Running in 425735b16603 Removing intermediate container 425735b16603 ---> f1f4e9ddfd10 Step 7/27 : RUN apt-get update && apt-get -y install gcc ---> Running in bbf31331cc26 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1637 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2411 kB] Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3373 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3785 kB] Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [23.8 kB] Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1688 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.8 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1728 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.6 kB] Fetched 15.0 MB in 2s (8484 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... gcc is already the newest version (4:7.4.0-1ubuntu2.3). 0 upgraded, 0 newly installed, 0 to remove and 147 not upgraded. Removing intermediate container bbf31331cc26 ---> 428e61dd1de2 Step 8/27 : COPY e2ap/ e2ap/ ---> 5950c9055651 Step 9/27 : COPY e2sm/ e2sm/ ---> 7931bec6a955 Step 10/27 : RUN cd e2ap && gcc -c -fPIC -Iheaders/ lib/*.c wrapper.c && gcc *.o -shared -o libe2apwrapper.so && cp libe2apwrapper.so /usr/local/lib/ && mkdir /usr/local/include/e2ap && cp wrapper.h headers/*.h /usr/local/include/e2ap && ldconfig ---> Running in 69e711aa4e13 wrapper.c: In function 'e2ap_decode_ric_indication_m': wrapper.c:662:17: warning: format not a string literal and no format arguments [-Wformat-security] printf(text); ^~~~~~ Removing intermediate container 69e711aa4e13 ---> 6ddfc733ee83 Step 11/27 : RUN cd e2sm && gcc -c -fPIC -Iheaders/ lib/*.c wrapper.c && gcc *.o -shared -o libe2smwrapper.so&& cp libe2smwrapper.so /usr/local/lib/ && mkdir /usr/local/include/e2sm && cp wrapper.h headers/*.h /usr/local/include/e2sm && ldconfig ---> Running in ff94576dfe67 lib/REAL.c:835:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes] asn_double2float(double d, float *outcome) { ^~~~~~~~~~~~~~~~ wrapper.c: In function 'encode_action_Definition': wrapper.c:244:42: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("declared size of buff= %ld \n",BUFFER_SIZE); ~~^ %d wrapper.c:245:43: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("encoded length of buff= %ld \n",encodedLengthFormat3ByName); ~~^ %d wrapper.c:264:126: warning: passing argument 3 of 'e2sm_encode_ric_action_definition_format1_by_name' from incompatible pointer type [-Wincompatible-pointer-types] int encodedLengthFormat1ByName = e2sm_encode_ric_action_definition_format1_by_name(&bufFormat1[0], &buf_sizeFormat1, name_format1, sz1, ricStyleTypeFormat1, granulPeriod, p, nR); ^~~~~~~~~~~~ In file included from wrapper.c:2:0: wrapper.h:122:8: note: expected 'const char **' but argument is of type 'char **' size_t e2sm_encode_ric_action_definition_format1_by_name(unsigned char *buf, size_t *buf_size, const char **id_tmp , size_t measIdcount, long ric_style_type, unsigned long granulPeriod, unsigned char *p, unsigned char *nR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Removing intermediate container ff94576dfe67 ---> d4d14d917600 Step 12/27 : COPY control/ control/ ---> ed29161f23a0 Step 13/27 : COPY ./go.mod ./go.mod ---> eafe891d3adc Step 14/27 : COPY ./kpimon.go ./kpimon.go ---> 455a89a2ca04 Step 15/27 : COPY testfile1.txt testfile1.txt ---> 7da194e0721c Step 16/27 : COPY testfile2.txt testfile2.txt ---> a94e0f44f056 Step 17/27 : RUN wget -nv --no-check-certificate https://dl.google.com/go/go1.18.linux-amd64.tar.gz && tar -xf go1.18.linux-amd64.tar.gz && rm -f go*.gz ---> Running in 8e22eca410f7 2023-11-29 12:15:00 URL:https://dl.google.com/go/go1.18.linux-amd64.tar.gz [141702072/141702072] -> "go1.18.linux-amd64.tar.gz" [1] Removing intermediate container 8e22eca410f7 ---> 52a36506a7db Step 18/27 : ENV DEFAULTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ---> Running in b26298ae7d87 Removing intermediate container b26298ae7d87 ---> ca0e8d69eb7c Step 19/27 : ENV PATH=$DEFAULTPATH:/usr/local/go/bin:/opt/go/bin:/root/go/bin ---> Running in 648edbd2c303 Removing intermediate container 648edbd2c303 ---> 0b70131ceaa0 Step 20/27 : COPY go.sum go.sum ---> ba941b1311c7 Step 21/27 : RUN go build ./kpimon.go ---> Running in 4ad3bfbe4feb go: downloading gerrit.o-ran-sc.org/r/ric-plt/xapp-frame.git v0.9.21 go: downloading github.com/influxdata/influxdb-client-go v1.4.0 go: downloading github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 go: downloading github.com/deepmap/oapi-codegen v1.3.6 go: downloading github.com/pkg/errors v0.9.1 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/go-openapi/errors v0.20.3 go: downloading github.com/go-openapi/strfmt v0.21.7 go: downloading github.com/go-openapi/swag v0.22.3 go: downloading github.com/go-openapi/validate v0.22.1 go: downloading gerrit.o-ran-sc.org/r/com/golog.git v0.0.2 go: downloading gerrit.o-ran-sc.org/r/ric-plt/alarm-go.git/alarm v0.5.14 go: downloading gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common v1.2.1 go: downloading gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities v1.2.1 go: downloading gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/reader v1.2.1 go: downloading gerrit.o-ran-sc.org/r/ric-plt/sdlgo.git v0.7.0 go: downloading github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/go-openapi/loads v0.21.2 go: downloading github.com/go-openapi/runtime v0.26.0 go: downloading github.com/gorilla/mux v1.8.0 go: downloading github.com/prometheus/client_golang v1.15.1 go: downloading github.com/prometheus/common v0.43.0 go: downloading github.com/spf13/viper v1.15.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/oklog/ulid v1.3.1 go: downloading go.mongodb.org/mongo-driver v1.11.3 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/labstack/echo/v4 v4.1.11 go: downloading k8s.io/utils v0.0.0-20230505201702-9f6742963106 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/stretchr/testify v1.8.2 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading golang.org/x/net v0.10.0 go: downloading github.com/go-openapi/spec v0.20.9 go: downloading google.golang.org/protobuf v1.30.0 go: downloading golang.org/x/sys v0.8.0 go: downloading github.com/go-openapi/analysis v0.21.4 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading go.opentelemetry.io/otel v1.14.0 go: downloading go.opentelemetry.io/otel/trace v1.14.0 go: downloading github.com/prometheus/client_model v0.4.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/prometheus/procfs v0.9.0 go: downloading github.com/go-openapi/jsonpointer v0.19.5 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 go: downloading github.com/spf13/afero v1.9.3 go: downloading github.com/spf13/cast v1.5.0 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/labstack/gommon v0.3.0 go: downloading golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/stretchr/objx v0.5.0 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/go-openapi/jsonreference v0.20.0 go: downloading github.com/go-redis/redis v6.15.9+incompatible go: downloading github.com/go-logr/logr v1.2.3 go: downloading golang.org/x/text v0.9.0 go: downloading github.com/subosito/gotenv v1.4.2 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading github.com/magiconair/properties v1.8.7 go: downloading github.com/pelletier/go-toml/v2 v2.0.6 go: downloading github.com/mattn/go-colorable v0.1.12 go: downloading github.com/mattn/go-isatty v0.0.14 go: downloading github.com/valyala/fasttemplate v1.1.0 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/valyala/bytebufferpool v1.0.0 Removing intermediate container 4ad3bfbe4feb ---> 302266d490fd Step 22/27 : COPY config-file.yaml . ---> b160aeb838d2 Step 23/27 : ENV CFG_FILE=/opt/config-file.yaml ---> Running in 8322a53dbdf8 Removing intermediate container 8322a53dbdf8 ---> bd095a76268f Step 24/27 : COPY routes.txt . ---> 94c57a0d0dab Step 25/27 : ENV RMR_SEED_RT=/opt/routes.txt ---> Running in 700a8ba6d96c Removing intermediate container 700a8ba6d96c ---> d99c3fe86989 Step 26/27 : ENV RMR_SRC_ID=service-ricxapp-kpimon-go-rmr.ricxapp:4560 ---> Running in 956c09d7413f Removing intermediate container 956c09d7413f ---> a99250a27386 Step 27/27 : ENTRYPOINT ["env","LD_LIBRARY_PATH=/usr/local/lib","./kpimon"] ---> Running in e4b42ffbdd34 Removing intermediate container e4b42ffbdd34 ---> 99e0a390572d Successfully built 99e0a390572d Successfully tagged nexus3.o-ran-sc.org:10004/o-ran-sc/ric-app-kpimon-go:1.0.1 ---> docker-build.sh ends [ric-app-kpimon-go-docker-verify-master] $ /bin/sh -xe /tmp/jenkins1461653255560949749.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins5266766578595414517.sh $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2099 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins739871199007810816.sh ---> sysstat.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins11030698556146888800.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-app-kpimon-go-docker-verify-master + 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-kpimon-go-docker-verify-master ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + grep '^ii' + dpkg -l + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ric-app-kpimon-go-docker-verify-master ']' + mkdir -p /w/workspace/ric-app-kpimon-go-docker-verify-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-kpimon-go-docker-verify-master/archives/ [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins3121229599668960407.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-kpimon-go-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YU8S from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-YU8S/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins7904134471371356035.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/config3406669209472651584tmp 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-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins6723989969979323654.sh ---> create-netrc.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins5644395057868975720.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-kpimon-go-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YU8S from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-YU8S/bin to PATH [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins1296120656814550576.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins14454610747508756669.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-kpimon-go-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YU8S 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-YU8S/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [ric-app-kpimon-go-docker-verify-master] $ /bin/bash -l /tmp/jenkins15401413780958601434.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-kpimon-go-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YU8S from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-YU8S/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-kpimon-go-docker-verify-master/14 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-1101 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: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 688K 394M 1% /run /dev/vda1 20G 13G 7.1G 64% / 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 473 1395 0 2075 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:da:da:61 brd ff:ff:ff:ff:ff:ff inet 10.32.6.204/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86107sec preferred_lft 86107sec inet6 fe80::f816:3eff:feda:da61/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:a1:88:dc:cb 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-1101) 11/29/23 _x86_64_ (4 CPU) 12:11:58 LINUX RESTART (4 CPU) 12:12:01 tps rtps wtps bread/s bwrtn/s 12:13:02 205.53 121.98 83.55 8277.42 39707.67 12:14:01 82.02 20.87 61.15 2258.76 9620.20 12:15:01 292.17 52.63 239.54 5693.27 116104.06 12:16:01 297.83 142.64 155.19 6001.67 64871.99 Average: 219.97 84.79 135.18 5571.46 57781.90 12:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:13:02 1815408 3336320 2223248 55.05 35276 1649500 889344 17.48 556300 1505932 73768 12:14:01 1463408 3340652 2575248 63.76 59208 1964232 865500 17.01 613668 1764312 140104 12:15:01 296576 3315492 3742080 92.66 114608 2970548 1058628 20.81 592252 2838388 252660 12:16:01 1498160 3268252 2540496 62.90 144848 1766748 962296 18.92 705244 1623280 7708 Average: 1268388 3315179 2770268 68.59 88485 2087757 943942 18.56 616866 1932978 118560 12:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:13:02 lo 2.13 2.13 0.19 0.19 0.00 0.00 0.00 0.00 12:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:13:02 ens3 397.15 231.71 1043.34 66.06 0.00 0.00 0.00 0.00 12:14:01 lo 1.97 1.97 0.17 0.17 0.00 0.00 0.00 0.00 12:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:01 ens3 67.67 60.61 850.82 8.81 0.00 0.00 0.00 0.00 12:15:01 lo 2.07 2.07 0.19 0.19 0.00 0.00 0.00 0.00 12:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:15:01 ens3 661.46 483.28 15818.45 33.25 0.00 0.00 0.00 0.00 12:16:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 12:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:16:01 ens3 95.98 79.60 486.20 9.71 0.00 0.00 0.00 0.00 Average: lo 1.59 1.59 0.14 0.14 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 306.60 214.47 4566.43 29.55 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-docker-4c-4g-1101) 11/29/23 _x86_64_ (4 CPU) 12:11:58 LINUX RESTART (4 CPU) 12:12:01 CPU %user %nice %system %iowait %steal %idle 12:13:02 all 14.36 0.00 2.19 7.55 0.05 75.84 12:13:02 0 18.98 0.00 1.87 5.83 0.03 73.28 12:13:02 1 11.27 0.00 2.17 7.98 0.03 78.54 12:13:02 2 14.78 0.00 3.18 10.12 0.05 71.86 12:13:02 3 12.43 0.00 1.52 6.30 0.05 79.71 12:14:01 all 19.51 0.00 1.41 2.41 0.05 76.62 12:14:01 0 19.24 0.00 1.46 0.73 0.05 78.52 12:14:01 1 3.85 0.00 0.65 1.32 0.05 94.12 12:14:01 2 22.87 0.00 1.77 7.38 0.05 67.94 12:14:01 3 32.26 0.00 1.78 0.24 0.05 65.67 12:15:01 all 22.91 0.00 9.81 4.87 0.08 62.34 12:15:01 0 20.90 0.00 10.99 6.24 0.08 61.77 12:15:01 1 19.30 0.00 7.56 7.54 0.08 65.51 12:15:01 2 23.77 0.00 11.20 2.82 0.10 62.11 12:15:01 3 27.65 0.00 9.47 2.85 0.08 59.95 12:16:01 all 32.17 0.00 5.91 5.77 0.09 56.06 12:16:01 0 34.89 0.00 5.65 3.82 0.08 55.54 12:16:01 1 39.36 0.00 6.18 10.62 0.08 43.75 12:16:01 2 27.66 0.00 5.48 3.99 0.08 62.79 12:16:01 3 26.81 0.00 6.33 4.70 0.08 62.08 Average: all 22.23 0.00 4.82 5.16 0.07 67.73 Average: 0 23.52 0.00 4.98 4.16 0.06 67.27 Average: 1 18.38 0.00 4.13 6.86 0.06 70.58 Average: 2 22.26 0.00 5.40 6.08 0.07 66.18 Average: 3 24.75 0.00 4.77 3.53 0.07 66.88