Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/modelmgmtservice/+/13495 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-6450 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-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-FX5L7rzS7fyE/agent.2102 SSH_AGENT_PID=2104 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/private_key_10759709307177957028.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/aiml-fw/awmf/modelmgmtservice > git init /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/modelmgmtservice > 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/aiml-fw/awmf/modelmgmtservice +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/modelmgmtservice # 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/aiml-fw/awmf/modelmgmtservice # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/modelmgmtservice using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/modelmgmtservice refs/changes/95/13495/1 # timeout=10 > git rev-parse fd65edd6b7f78ccbe77da6cc5ed48ff5cfcb2145^{commit} # timeout=10 Checking out Revision fd65edd6b7f78ccbe77da6cc5ed48ff5cfcb2145 (refs/changes/95/13495/1) > git config core.sparsecheckout # timeout=10 > git checkout -f fd65edd6b7f78ccbe77da6cc5ed48ff5cfcb2145 # timeout=10 Commit message: "get model info" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 4df56b720684327e537bc90f50b6048c6f630edd # 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 [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins6921480151558374209.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-p7kT 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-p7kT/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-p7kT/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.29 botocore==1.35.29 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.7 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.1.2 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.26.6 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 provisioning config files... copy managed file [global-settings] to file:/w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/config4282256498076565391tmp copy managed file [aiml-fw-awmf-modelmgmtservice] to file:/w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/config1922693609993460544tmp [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins12963412013885407589.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 [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins7291501461890913457.sh [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/sh -xe /tmp/jenkins9710664954860207313.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content DOCKER_ROOT=. CONTAINER_TAG_YAML_DIR= CONTAINER_TAG_METHOD=yaml-file [EnvInject] - Variables injected successfully. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash -l /tmp/jenkins870730976280478762.sh ---> docker-get-container-tag.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-p7kT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: yq lf-activate-venv(): INFO: Adding /tmp/venv-p7kT/bin to PATH ---> Docker image tag found: 2.0.0 [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=. CONTAINER_PULL_REGISTRY=nexus3.o-ran-sc.org:10001 CONTAINER_PUSH_REGISTRY=nexus3.o-ran-sc.org:10004 DOCKER_NAME=o-ran-sc/aiml-fw-awmf-modelmgmtservice-docker [EnvInject] - Variables injected successfully. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins12348643638980872463.sh ---> docker-build.sh Docker version 24.0.2, build cb74dfc Building image: nexus3.o-ran-sc.org:10004/o-ran-sc/aiml-fw-awmf-modelmgmtservice-docker:2.0.0 docker build --network=host -t nexus3.o-ran-sc.org:10004/o-ran-sc/aiml-fw-awmf-modelmgmtservice-docker:2.0.0 . #1 [internal] load .dockerignore #1 transferring context: 2B done #1 DONE 0.1s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 1.43kB done #2 DONE 0.1s #3 [internal] load metadata for docker.io/library/golang:1.21-alpine #3 DONE 1.1s #4 [internal] load metadata for docker.io/library/alpine:3.20 #4 DONE 1.2s #5 [internal] load build context #5 DONE 0.0s #6 [builder 1/6] FROM docker.io/library/golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 #6 resolve docker.io/library/golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 0.1s done #6 sha256:8ee9b9e11ef79e314a7584040451a6df8e72a66712e741bf75951e05e587404e 1.92kB / 1.92kB done #6 sha256:c2321c7cf7210be837249dba0f3699fad6ddbb5718e70344b28c0d58feff4c0b 2.10kB / 2.10kB done #6 sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 10.30kB / 10.30kB done #6 ... #5 [internal] load build context #5 transferring context: 201.82kB 0.0s done #5 DONE 0.1s #6 [builder 1/6] FROM docker.io/library/golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 #6 sha256:41db7493d1c6f3f26428d119962e3862c14a9e20bb0b8fefc36e7282d015d099 0B / 290.89kB 0.1s #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 0B / 67.01MB 0.1s #6 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 0B / 3.62MB 0.1s #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 7.34MB / 67.01MB 0.2s #6 sha256:41db7493d1c6f3f26428d119962e3862c14a9e20bb0b8fefc36e7282d015d099 290.89kB / 290.89kB 0.3s done #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 27.26MB / 67.01MB 0.4s #6 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 3.62MB / 3.62MB 0.3s done #6 sha256:4579008f8500d429ec007d092329191009711942d9380d060c8d9bd24c0c352c 126B / 126B 0.4s done #6 extracting sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 0.1s #6 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0B / 32B 0.4s #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 34.60MB / 67.01MB 0.5s #6 extracting sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 0.1s done #6 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.5s done #6 extracting sha256:41db7493d1c6f3f26428d119962e3862c14a9e20bb0b8fefc36e7282d015d099 #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 40.89MB / 67.01MB 0.6s #6 extracting sha256:41db7493d1c6f3f26428d119962e3862c14a9e20bb0b8fefc36e7282d015d099 0.1s done #6 ... #7 [stage-1 1/5] FROM docker.io/library/alpine:3.20@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d #7 resolve docker.io/library/alpine:3.20@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 0.1s done #7 sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 1.85kB / 1.85kB done #7 sha256:33735bd63cf84d7e388d9f6d297d348c523c044410f553bd878c6d7829612735 528B / 528B done #7 sha256:91ef0af61f39ece4d6710e465df5ed6ca12112358344fd51ae6a3b886634148b 1.47kB / 1.47kB done #7 sha256:43c4264eed91be63b206e17d93e75256a6097070ce643c5e8f0379998b44f170 3.62MB / 3.62MB 0.5s done #7 extracting sha256:43c4264eed91be63b206e17d93e75256a6097070ce643c5e8f0379998b44f170 0.1s done #7 DONE 1.0s #6 [builder 1/6] FROM docker.io/library/golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 47.19MB / 67.01MB 0.7s #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 65.01MB / 67.01MB 0.9s #6 sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 67.01MB / 67.01MB 1.1s done #6 extracting sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 #6 ... #8 [stage-1 2/5] RUN apk update && apk add bash #0 0.186 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz #0 0.274 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz #0 0.565 v3.20.3-89-gfc60c08d5c3 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main] #0 0.565 v3.20.3-85-ge19c1188ff3 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community] #0 0.565 OK: 24163 distinct packages available #0 0.890 (1/4) Installing ncurses-terminfo-base (6.4_p20240420-r1) #0 0.919 (2/4) Installing libncursesw (6.4_p20240420-r1) #0 0.931 (3/4) Installing readline (8.2.10-r0) #0 0.940 (4/4) Installing bash (5.2.26-r0) #0 0.960 Executing bash-5.2.26-r0.post-install #0 0.963 Executing busybox-1.36.1-r29.trigger #0 0.967 OK: 10 MiB in 18 packages #8 DONE 3.3s #6 [builder 1/6] FROM docker.io/library/golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 #6 ... #9 [stage-1 3/5] RUN apk add --no-cache bash #0 0.221 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz #0 0.292 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz #0 0.532 OK: 10 MiB in 18 packages #9 DONE 0.9s #10 [stage-1 4/5] WORKDIR /app #10 DONE 0.2s #6 [builder 1/6] FROM docker.io/library/golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94 #6 extracting sha256:54bf7053e2d96c2c7f4637ad7580bd64345b3c9fabb163e1fdb8894aea8a9af0 4.1s done #6 extracting sha256:4579008f8500d429ec007d092329191009711942d9380d060c8d9bd24c0c352c #6 extracting sha256:4579008f8500d429ec007d092329191009711942d9380d060c8d9bd24c0c352c done #6 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done #6 DONE 5.9s #11 [builder 2/6] WORKDIR /home/app/ #11 DONE 0.3s #12 [builder 3/6] COPY . . #12 DONE 0.2s #13 [builder 4/6] RUN go mod tidy #13 0.226 go: downloading github.com/aws/aws-sdk-go v1.47.3 #13 4.460 go: downloading github.com/gin-gonic/gin v1.9.1 #13 4.463 go: downloading github.com/google/uuid v1.6.0 #13 4.468 go: downloading github.com/stretchr/testify v1.8.3 #13 4.580 go: downloading github.com/davecgh/go-spew v1.1.1 #13 4.581 go: downloading github.com/pmezard/go-difflib v1.0.0 #13 4.583 go: downloading gopkg.in/yaml.v3 v3.0.1 #13 4.600 go: downloading github.com/gin-contrib/sse v0.1.0 #13 4.605 go: downloading github.com/mattn/go-isatty v0.0.19 #13 4.609 go: downloading golang.org/x/net v0.17.0 #13 4.622 go: downloading google.golang.org/protobuf v1.30.0 #13 4.624 go: downloading github.com/stretchr/objx v0.5.0 #13 4.665 go: downloading github.com/jmespath/go-jmespath v0.4.0 #13 4.786 go: downloading github.com/go-playground/validator/v10 v10.14.0 #13 4.846 go: downloading github.com/pelletier/go-toml/v2 v2.0.8 #13 4.880 go: downloading github.com/ugorji/go/codec v1.2.11 #13 4.893 go: downloading github.com/bytedance/sonic v1.9.1 #13 4.894 go: downloading github.com/goccy/go-json v0.10.2 #13 4.930 go: downloading github.com/json-iterator/go v1.1.12 #13 4.951 go: downloading golang.org/x/sys v0.13.0 #13 5.006 go: downloading gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 #13 5.006 go: downloading github.com/jmespath/go-jmespath/internal/testify v1.5.1 #13 5.032 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 #13 5.033 go: downloading github.com/go-playground/universal-translator v0.18.1 #13 5.043 go: downloading github.com/leodido/go-urn v1.2.4 #13 5.071 go: downloading golang.org/x/crypto v0.14.0 #13 5.105 go: downloading golang.org/x/text v0.13.0 #13 5.217 go: downloading github.com/go-playground/assert/v2 v2.2.0 #13 5.227 go: downloading github.com/go-playground/locales v0.14.1 #13 5.864 go: downloading github.com/google/go-cmp v0.5.5 #13 5.866 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd #13 5.872 go: downloading github.com/modern-go/reflect2 v1.0.2 #13 5.877 go: downloading gopkg.in/yaml.v2 v2.2.8 #13 5.893 go: downloading github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 #13 5.894 go: downloading golang.org/x/arch v0.3.0 #13 5.894 go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 #13 5.902 go: downloading github.com/twitchyliquid64/golang-asm v0.15.1 #13 5.973 go: downloading github.com/klauspost/cpuid/v2 v2.2.4 #13 DONE 7.0s #14 [builder 5/6] RUN LOG_FILE_NAME=testing.log go test ./... #14 14.78 # gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis #14 14.78 apis/mmes_apis.go:205:5: undefined: modelname #14 14.78 apis/mmes_apis.go:214:4: modelInfoList declared and not used #14 14.78 apis/mmes_apis.go:214:19: err declared and not used #14 14.78 apis/mmes_apis.go:214:33: m.dbmgr.GetModelInfoByName undefined (type core.DBMgr has no field or method GetModelInfoByName) #14 14.78 apis/mmes_apis.go:217:4: modelInfoList declared and not used #14 14.78 apis/mmes_apis.go:217:19: err declared and not used #14 14.78 apis/mmes_apis.go:217:33: m.dbmgr.GetModelInfoByNameAndVersion undefined (type core.DBMgr has no field or method GetModelInfoByNameAndVersion) #14 14.78 apis/mmes_apis.go:219:6: undefined: err #14 14.78 apis/mmes_apis.go:231:19: undefined: modelInfoList #14 18.05 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/core [no test files] #14 18.05 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/logging [no test files] #14 18.05 FAIL gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis_test [build failed] #14 18.05 FAIL #14 ERROR: process "/bin/sh -c LOG_FILE_NAME=testing.log go test ./..." did not complete successfully: exit code: 1 ------ > [builder 5/6] RUN LOG_FILE_NAME=testing.log go test ./...: #14 14.78 apis/mmes_apis.go:214:33: m.dbmgr.GetModelInfoByName undefined (type core.DBMgr has no field or method GetModelInfoByName) #14 14.78 apis/mmes_apis.go:217:4: modelInfoList declared and not used #14 14.78 apis/mmes_apis.go:217:19: err declared and not used #14 14.78 apis/mmes_apis.go:217:33: m.dbmgr.GetModelInfoByNameAndVersion undefined (type core.DBMgr has no field or method GetModelInfoByNameAndVersion) #14 14.78 apis/mmes_apis.go:219:6: undefined: err #14 14.78 apis/mmes_apis.go:231:19: undefined: modelInfoList #14 18.05 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/core [no test files] #14 18.05 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/logging [no test files] #14 18.05 FAIL gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis_test [build failed] #14 18.05 FAIL ------ Dockerfile:30 -------------------- 28 | RUN go mod tidy 29 | 30 | >>> RUN LOG_FILE_NAME=testing.log go test ./... 31 | 32 | #Build all packages from current dir into bin -------------------- ERROR: failed to solve: process "/bin/sh -c LOG_FILE_NAME=testing.log go test ./..." did not complete successfully: exit code: 1 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2104 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins3507178399015380127.sh ---> sysstat.sh [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins12483882162976595713.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/aiml-fw-awmf-modelmgmtservice-docker-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/aiml-fw-awmf-modelmgmtservice-docker-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/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master ']' + mkdir -p /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/archives/ [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins16799118234715562048.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-p7kT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-p7kT/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins10882812209335837999.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/config18316019257585464837tmp 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. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins2660008378936390759.sh ---> create-netrc.sh [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins1123899676323571540.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-p7kT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-p7kT/bin to PATH [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins6318611035535782107.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins3687120677699657650.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-p7kT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-p7kT/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash -l /tmp/jenkins1757413824359432291.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-p7kT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-p7kT/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master/56 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-6450 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 696K 394M 1% /run /dev/vda1 20G 9.7G 9.6G 51% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3943 474 1022 0 2446 3186 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:9d:e0:24 brd ff:ff:ff:ff:ff:ff inet 10.32.7.111/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86213sec preferred_lft 86213sec inet6 fe80::f816:3eff:fe9d:e024/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ae:cf:82:d7 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-6450) 10/01/24 _x86_64_ (4 CPU) 06:30:23 LINUX RESTART (4 CPU) 06:31:01 tps rtps wtps bread/s bwrtn/s 06:32:01 122.71 35.76 86.95 1684.39 6535.58 06:33:01 165.99 16.86 149.13 2360.27 48621.50 Average: 144.35 26.31 118.04 2022.33 27578.54 06:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:32:01 1579044 3326936 2459608 60.90 54972 1846412 912240 17.93 597660 1677284 157780 06:33:01 1081244 3284452 2957408 73.23 93484 2230976 955148 18.78 756120 1948564 17696 Average: 1330144 3305694 2708508 67.06 74228 2038694 933694 18.35 676890 1812924 87738 06:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:32:01 ens3 124.51 96.17 1029.45 22.25 0.00 0.00 0.00 0.00 06:32:01 lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 06:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:33:01 ens3 375.80 268.32 2762.53 34.02 0.00 0.00 0.00 0.00 06:33:01 lo 2.60 2.60 0.24 0.24 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 250.16 182.24 1895.99 28.13 0.00 0.00 0.00 0.00 Average: lo 1.77 1.77 0.17 0.17 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-6450) 10/01/24 _x86_64_ (4 CPU) 06:30:23 LINUX RESTART (4 CPU) 06:31:01 CPU %user %nice %system %iowait %steal %idle 06:32:01 all 19.76 0.00 1.43 3.50 0.05 75.25 06:32:01 0 12.78 0.00 1.01 3.59 0.03 82.59 06:32:01 1 15.21 0.00 1.05 0.22 0.05 83.47 06:32:01 2 12.81 0.00 1.04 7.84 0.05 78.27 06:32:01 3 38.38 0.00 2.59 2.36 0.07 56.60 06:33:01 all 37.88 0.00 5.90 3.24 0.09 52.89 06:33:01 0 31.82 0.00 5.06 1.75 0.07 61.30 06:33:01 1 38.00 0.00 6.25 7.42 0.08 48.24 06:33:01 2 41.15 0.00 6.04 1.72 0.10 50.99 06:33:01 3 40.62 0.00 6.31 2.05 0.08 50.93 Average: all 28.80 0.00 3.66 3.37 0.07 64.10 Average: 0 22.26 0.00 3.02 2.67 0.05 71.99 Average: 1 26.57 0.00 3.64 3.81 0.07 65.91 Average: 2 26.95 0.00 3.53 4.78 0.08 64.66 Average: 3 39.50 0.00 4.45 2.20 0.08 53.77