Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/ric-app/kpimon-go/+/12138 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-1097 (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-AiHBrXOcUWbW/agent.2087 SSH_AGENT_PID=2089 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/private_key_17086707899134522347.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/38/12138/1 # timeout=10 > git rev-parse 138ddd6f66de28b9b3637629e0fa710356d531d7^{commit} # timeout=10 Checking out Revision 138ddd6f66de28b9b3637629e0fa710356d531d7 (refs/changes/38/12138/1) > git config core.sparsecheckout # timeout=10 > git checkout -f 138ddd6f66de28b9b3637629e0fa710356d531d7 # timeout=10 Commit message: "RICAPP-222 :- ASN decoders for kpm ran function description and asn encoders for action definition format1 and format3" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 59af35fceb03d422f9dd7bab19505e504cd40ee9 # 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/jenkins8539359011841250929.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-irdt 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-irdt/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-irdt/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/config2776770768650006728tmp copy managed file [ric-app-kpimon-go-settings] to file:/w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/config8665397267517144924tmp [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins6906454953587129435.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/jenkins16518167716156780366.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/sh -xe /tmp/jenkins945213202107147214.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/jenkins15574552981440241559.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-irdt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: yq lf-activate-venv(): INFO: Adding /tmp/venv-irdt/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/jenkins9676580632897559738.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.968MB 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 d4194511dbdc: Waiting 2d489c440bae: Waiting 7cdf3f1d17d0: Pulling fs layer cf153de296b0: Pulling fs layer e1920709a3af: Pulling fs layer 6cdcae3380c6: Pulling fs layer 33ee3c77506b: Waiting 7cdf3f1d17d0: Waiting cf153de296b0: Waiting e1920709a3af: Waiting 6cdcae3380c6: Waiting 6dbdb1c3e5fd: Pulling fs layer 1710cd1faa0e: Pulling fs layer d44308ed4b3e: Pulling fs layer 6dbdb1c3e5fd: Waiting d44308ed4b3e: Waiting 1710cd1faa0e: Waiting 3cf8fb62ba5f: Verifying Checksum 3cf8fb62ba5f: Download complete e80c964ece6a: Verifying Checksum e80c964ece6a: Download complete 2d489c440bae: Verifying Checksum 2d489c440bae: Download complete f22ccc0b8772: Verifying Checksum f22ccc0b8772: Download complete f22ccc0b8772: Pull complete 3cf8fb62ba5f: Pull complete e80c964ece6a: Pull complete 33ee3c77506b: Verifying Checksum 33ee3c77506b: Download complete d4194511dbdc: Verifying Checksum d4194511dbdc: Download complete 7cdf3f1d17d0: Verifying Checksum 7cdf3f1d17d0: Download complete 6cdcae3380c6: Verifying Checksum 6cdcae3380c6: Download complete cf153de296b0: Verifying Checksum cf153de296b0: Download complete 1710cd1faa0e: Verifying Checksum 1710cd1faa0e: Download complete 6dbdb1c3e5fd: Verifying Checksum 6dbdb1c3e5fd: Download complete e1920709a3af: Verifying Checksum e1920709a3af: Download complete d44308ed4b3e: Verifying Checksum d44308ed4b3e: Download 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 8f10a49fe78c Removing intermediate container 8f10a49fe78c ---> da318974dd0f Step 3/27 : ARG RMRVERSION=4.9.0 ---> Running in ceb117962d7f Removing intermediate container ceb117962d7f ---> 0aa8d76f1fb7 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 992d7c8866a7 --2023-11-29 11:55:47-- https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_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/4069581.deb?t=1701259247_341008723c3eff64233fe929a24f277a9949a95b [following] --2023-11-29 11:55:47-- https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/4069581.deb?t=1701259247_341008723c3eff64233fe929a24f277a9949a95b Resolving d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)... 18.173.117.149, 18.173.117.193, 18.173.117.103, ... Connecting to d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)|18.173.117.149|: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.8M 0s 50K .......... .......... .......... .......... .......... 42% 32.0M 0s 100K .......... .......... .......... .......... .......... 63% 11.8M 0s 150K .......... .......... .......... .......... .......... 84% 15.8M 0s 200K .......... .......... .......... ....... 100% 187M=0.01s 2023-11-29 11:55:47 (21.2 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 992d7c8866a7 ---> 23d5705cb219 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 ba29aee8beff --2023-11-29 11:55:49-- https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_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/4069580.deb?t=1701259249_ea3bae04a98f64981c4af06058d9d639f9e1a382 [following] --2023-11-29 11:55:49-- https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/4069580.deb?t=1701259249_ea3bae04a98f64981c4af06058d9d639f9e1a382 Resolving d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)... 18.173.117.219, 18.173.117.103, 18.173.117.193, ... Connecting to d28dx6y1hfq314.cloudfront.net (d28dx6y1hfq314.cloudfront.net)|18.173.117.219|: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% 18.4M 0s 50K .......... .......... .......... .......... .......... 81% 20.1M 0s 100K .......... .......... ... 100% 12.7M=0.007s 2023-11-29 11:55:49 (17.5 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 ba29aee8beff ---> b509fda760fe Step 6/27 : RUN rm -f rmr_${RMRVERSION}_amd64.deb rmr-dev_${RMRVERSION}_amd64.deb ---> Running in a1e3ebdb4025 Removing intermediate container a1e3ebdb4025 ---> b460fae7f76f Step 7/27 : RUN apt-get update && apt-get -y install gcc ---> Running in a4c81fa9dbe1 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://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2411 kB] Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3373 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3785 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1728 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.8 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.6 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB] Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1637 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [23.8 kB] Get:14 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1688 kB] Fetched 15.0 MB in 2s (6665 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 a4c81fa9dbe1 ---> 5b81d82ee810 Step 8/27 : COPY e2ap/ e2ap/ ---> f1abba5dca64 Step 9/27 : COPY e2sm/ e2sm/ ---> 31335404c9f5 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 096e5dc1b44f 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 096e5dc1b44f ---> 77c86dddc63c 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 ae487f3cd396 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:136: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:137: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:156: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:111: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 ae487f3cd396 ---> bed7a9349df2 Step 12/27 : COPY control/ control/ ---> 1c6581dcbf95 Step 13/27 : COPY ./go.mod ./go.mod ---> 5b4bc777d691 Step 14/27 : COPY ./kpimon.go ./kpimon.go ---> 833e53598ce1 Step 15/27 : COPY testfile1.txt testfile1.txt ---> 10e87d5e715a Step 16/27 : COPY testfile2.txt testfile2.txt ---> 3c076da2ff44 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 20af12709512 2023-11-29 11:56:17 URL:https://dl.google.com/go/go1.18.linux-amd64.tar.gz [141702072/141702072] -> "go1.18.linux-amd64.tar.gz" [1] Removing intermediate container 20af12709512 ---> 59630827cdaa Step 18/27 : ENV DEFAULTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ---> Running in fee77acb5e23 Removing intermediate container fee77acb5e23 ---> 9f98e7e97c3d Step 19/27 : ENV PATH=$DEFAULTPATH:/usr/local/go/bin:/opt/go/bin:/root/go/bin ---> Running in 71006992f881 Removing intermediate container 71006992f881 ---> ace15a760807 Step 20/27 : COPY go.sum go.sum ---> 7798627ccba8 Step 21/27 : RUN go build ./kpimon.go ---> Running in 8108b765433f 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/strfmt v0.21.7 go: downloading github.com/go-openapi/errors v0.20.3 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/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 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 k8s.io/utils v0.0.0-20230505201702-9f6742963106 go: downloading github.com/go-openapi/analysis v0.21.4 go: downloading github.com/go-openapi/jsonpointer v0.19.5 go: downloading github.com/go-openapi/spec v0.20.9 go: downloading github.com/labstack/echo/v4 v4.1.11 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading golang.org/x/net v0.10.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading golang.org/x/sys v0.8.0 go: downloading github.com/stretchr/testify v1.8.2 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 google.golang.org/protobuf v1.30.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/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/matttproud/golang_protobuf_extensions v1.0.4 go: downloading github.com/go-openapi/jsonreference v0.20.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/docker/go-units v0.5.0 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/go-logr/logr v1.2.3 go: downloading github.com/go-redis/redis v6.15.9+incompatible 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 golang.org/x/text v0.9.0 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/valyala/bytebufferpool v1.0.0 Removing intermediate container 8108b765433f ---> 7fd7af2d9a37 Step 22/27 : COPY config-file.yaml . ---> 6ed846b5ceaf Step 23/27 : ENV CFG_FILE=/opt/config-file.yaml ---> Running in 3b51eba43812 Removing intermediate container 3b51eba43812 ---> cc65fb777503 Step 24/27 : COPY routes.txt . ---> 2ca34d55141e Step 25/27 : ENV RMR_SEED_RT=/opt/routes.txt ---> Running in 7150ca33e510 Removing intermediate container 7150ca33e510 ---> 33fd0ad19492 Step 26/27 : ENV RMR_SRC_ID=service-ricxapp-kpimon-go-rmr.ricxapp:4560 ---> Running in 08e62a0d37ec Removing intermediate container 08e62a0d37ec ---> a0cf51512863 Step 27/27 : ENTRYPOINT ["env","LD_LIBRARY_PATH=/usr/local/lib","./kpimon"] ---> Running in 3fb2aaa19f7b Removing intermediate container 3fb2aaa19f7b ---> adfb112a4d7b Successfully built adfb112a4d7b 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/jenkins15749648536297480894.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins6655619308168768204.sh $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2089 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins9989946076401582871.sh ---> sysstat.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins10016650821495230281.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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 + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ric-app-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/jenkins15420689379427586941.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-irdt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-irdt/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins14276249590376445205.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-kpimon-go-docker-verify-master@tmp/config2940798528769113507tmp 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/jenkins12503049255458211321.sh ---> create-netrc.sh [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins9765095175825149634.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-irdt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-irdt/bin to PATH [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins10245302949895365656.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-kpimon-go-docker-verify-master] $ /bin/bash /tmp/jenkins12960511592120747684.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-irdt 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-irdt/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/jenkins8978198186392087751.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-irdt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-irdt/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/13 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-1097 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 460 1340 0 2142 3215 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:6b:07:49 brd ff:ff:ff:ff:ff:ff inet 10.32.7.239/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86091sec preferred_lft 86091sec inet6 fe80::f816:3eff:fe6b:749/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:42:74:ff:06 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-1097) 11/29/23 _x86_64_ (4 CPU) 11:53:07 LINUX RESTART (4 CPU) 11:54:01 tps rtps wtps bread/s bwrtn/s 11:55:01 72.86 14.18 58.68 981.27 7776.34 11:56:02 274.62 47.92 226.70 4542.31 118074.35 11:57:01 229.18 103.17 126.01 3763.43 53062.74 11:58:01 184.69 119.25 65.44 3424.50 13325.11 Average: 190.18 70.99 119.19 3175.51 48045.81 11:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:55:01 1467652 3308552 2571012 63.66 55780 1934040 895496 17.60 625748 1753352 209040 11:56:02 410456 3318348 3628208 89.84 112628 2867500 1025104 20.15 668696 2655684 972 11:57:01 1428672 3315304 2609992 64.63 129392 1888040 1118324 21.98 648644 1727832 152628 11:58:01 1412344 3311220 2626320 65.03 152016 1883964 910076 17.89 654692 1750552 50280 Average: 1179781 3313356 2858883 70.79 112454 2143386 987250 19.41 649445 1971855 103230 11:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:55:01 ens3 80.47 71.89 1040.95 8.20 0.00 0.00 0.00 0.00 11:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:55:01 lo 0.73 0.73 0.06 0.06 0.00 0.00 0.00 0.00 11:56:02 ens3 513.69 367.72 13513.51 31.90 0.00 0.00 0.00 0.00 11:56:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:56:02 lo 3.46 3.46 0.31 0.31 0.00 0.00 0.00 0.00 11:57:01 ens3 321.01 284.09 2852.21 20.10 0.00 0.00 0.00 0.00 11:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:57:01 lo 0.14 0.14 0.01 0.01 0.00 0.00 0.00 0.00 11:58:01 ens3 20.73 19.15 41.98 8.33 0.00 0.00 0.00 0.00 11:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:58:01 lo 1.07 1.07 0.09 0.09 0.00 0.00 0.00 0.00 Average: ens3 233.64 185.32 4369.49 17.12 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 1.36 1.36 0.12 0.12 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-docker-4c-4g-1097) 11/29/23 _x86_64_ (4 CPU) 11:53:07 LINUX RESTART (4 CPU) 11:54:01 CPU %user %nice %system %iowait %steal %idle 11:55:01 all 18.78 0.00 1.38 2.43 0.05 77.36 11:55:01 0 20.57 0.00 1.49 4.42 0.07 73.46 11:55:01 1 15.81 0.00 1.37 3.99 0.03 78.80 11:55:01 2 11.42 0.00 0.99 0.35 0.05 87.19 11:55:01 3 27.29 0.00 1.65 0.97 0.05 70.04 11:56:02 all 21.81 0.00 8.05 4.18 0.06 65.89 11:56:02 0 18.46 0.00 8.01 8.62 0.05 64.86 11:56:02 1 19.82 0.00 8.27 3.10 0.07 68.74 11:56:02 2 18.06 0.00 7.39 4.00 0.07 70.48 11:56:02 3 30.87 0.00 8.58 1.01 0.07 59.47 11:57:01 all 31.57 0.00 6.69 5.04 0.07 56.63 11:57:01 0 35.85 0.00 8.03 6.15 0.07 49.90 11:57:01 1 30.91 0.00 6.87 3.67 0.07 58.48 11:57:01 2 27.20 0.00 4.23 2.98 0.07 65.53 11:57:01 3 32.36 0.00 7.64 7.35 0.07 52.59 11:58:01 all 16.14 0.00 1.77 4.98 0.05 77.07 11:58:01 0 16.26 0.00 1.96 10.07 0.05 71.66 11:58:01 1 4.92 0.00 1.87 3.88 0.05 89.28 11:58:01 2 13.25 0.00 1.12 2.13 0.03 83.47 11:58:01 3 30.14 0.00 2.11 3.86 0.05 63.84 Average: all 22.02 0.00 4.45 4.15 0.06 69.31 Average: 0 22.74 0.00 4.85 7.32 0.06 65.04 Average: 1 17.78 0.00 4.57 3.66 0.05 73.93 Average: 2 17.44 0.00 3.42 2.36 0.05 76.73 Average: 3 30.15 0.00 4.97 3.28 0.06 61.54