Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/modelmgmtservice/+/14265 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-2930 (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 SSH_AUTH_SOCK=/tmp/ssh-3QcKzB1ka2ri/agent.2069 SSH_AGENT_PID=2071 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/private_key_8660995380768953243.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/65/14265/3 # timeout=10 > git rev-parse e11a59600acc44f50b3e2aed3a038d18b2a1ad4a^{commit} # timeout=10 Checking out Revision e11a59600acc44f50b3e2aed3a038d18b2a1ad4a (refs/changes/65/14265/3) > git config core.sparsecheckout # timeout=10 > git checkout -f e11a59600acc44f50b3e2aed3a038d18b2a1ad4a # timeout=10 Commit message: "change in the error msg for the getModelInfo" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 0cbccf2f2a2ea72ee0dc6c5394627053fe9e7c71 # 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/jenkins16141062551711984640.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-kOUG 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-kOUG/bin to PATH Generating Requirements File 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.12 requires requests<2.32.0, but you have requests 2.32.3 which is incompatible. Python 3.10.6 pip 25.0.1 from /tmp/venv-kOUG/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.6.0 aspy.yaml==1.3.0 attrs==25.3.0 autopage==0.5.2 beautifulsoup4==4.13.3 boto3==1.37.13 botocore==1.37.13 bs4==0.0.2 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 cliff==4.9.1 cmd2==2.5.11 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.2.1 defusedxml==0.7.1 Deprecated==1.2.18 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.4 durationpy==0.9 email_validator==2.2.0 filelock==3.18.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.44 google-auth==2.38.0 httplib2==0.22.0 identify==2.6.9 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keystoneauth1==5.10.0 kubernetes==32.0.1 lftools==0.37.12 lxml==5.3.1 MarkupSafe==3.0.2 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.4.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.2.0 oslo.config==9.7.1 oslo.context==5.7.1 oslo.i18n==6.5.1 oslo.log==7.1.0 oslo.serialization==5.7.0 oslo.utils==8.2.0 packaging==24.2 pbr==6.1.1 platformdirs==4.3.6 prettytable==3.15.1 psutil==7.0.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.6.1 PyJWT==2.10.1 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.7.0 python-dateutil==2.9.0.post0 python-heatclient==4.1.0 python-jenkins==1.8.2 python-keystoneclient==5.6.0 python-magnumclient==4.8.1 python-openstackclient==7.4.0 python-swiftclient==4.7.0 PyYAML==6.0.2 referencing==0.36.2 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.23.1 rsa==4.9 ruamel.yaml==0.18.10 ruamel.yaml.clib==0.2.12 s3transfer==0.11.4 simplejson==3.20.1 six==1.17.0 smmap==5.0.2 soupsieve==2.6 stevedore==5.4.1 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.67.1 typing_extensions==4.12.2 tzdata==2025.1 urllib3==1.26.20 virtualenv==20.29.3 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.17.2 xdg==6.0.0 xmltodict==0.14.2 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/config15425872052568235787tmp copy managed file [aiml-fw-awmf-modelmgmtservice] to file:/w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/config10620957505525800352tmp [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins14159918784237081578.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/jenkins17231414138683768647.sh [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/sh -xe /tmp/jenkins6787739166938302197.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/jenkins14103380232860483628.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-kOUG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: yq lf-activate-venv(): INFO: Adding /tmp/venv-kOUG/bin to PATH ---> Docker image tag found: 3.1.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/jenkins5949904431192647474.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:3.1.0 docker build --network=host -t nexus3.o-ran-sc.org:10004/o-ran-sc/aiml-fw-awmf-modelmgmtservice-docker:3.1.0 . #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 1.47kB done #1 DONE 0.1s #2 [internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.1s #3 [internal] load metadata for docker.io/library/golang:1.23.1 #3 DONE 1.4s #4 [internal] load metadata for docker.io/library/alpine:3.20.3 #4 DONE 1.4s #5 [internal] load build context #5 DONE 0.0s #6 [stage-1 1/5] FROM docker.io/library/alpine:3.20.3@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a #6 resolve docker.io/library/alpine:3.20.3@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a #6 resolve docker.io/library/alpine:3.20.3@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 0.1s done #6 ... #5 [internal] load build context #5 transferring context: 378.25kB 0.0s done #5 DONE 0.2s #6 [stage-1 1/5] FROM docker.io/library/alpine:3.20.3@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a #6 sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 9.22kB / 9.22kB done #6 sha256:029a752048e32e843bd6defe3841186fb8d19a28dae8ec287f433bb9d6d1ad85 1.02kB / 1.02kB done #6 sha256:63b790fccc9078ab8bb913d94a5d869e19fca9b77712b315da3fa45bb8f14636 600B / 600B done #6 sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 0B / 3.62MB 2.2s #6 sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 3.62MB / 3.62MB 2.3s #6 sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 3.62MB / 3.62MB 2.3s done #6 extracting sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 0.1s #6 extracting sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 0.1s done #6 DONE 2.8s #7 [builder 1/6] FROM docker.io/library/golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0 #7 resolve docker.io/library/golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0 0.1s done #7 sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0 9.74kB / 9.74kB done #7 sha256:31817d38d90894d73ce3fe3b7f01c5f213ac7e9681bf462d4ad65afa8e902c7e 2.32kB / 2.32kB done #7 sha256:8027d6b1a7f0702ed8a4174fd022be03f87e35c7a7fa00afb2bf4178b22080d4 2.82kB / 2.82kB done #7 sha256:cdd62bf39133c498a16f7a7b1b6555ba43d02b2511c508fa4c0a9b1975ffe20e 49.56MB / 49.56MB 0.8s done #7 sha256:a47cff7f31e941e78bf63ca19f0811b675283e2c00ddea10c57f78d93b2bc343 24.05MB / 24.05MB 0.6s done #7 sha256:a173f2aee8e962ea19db1e418ae84a0c9f71480b51f768a19332dfa83d7722a5 64.39MB / 64.39MB 1.9s done #7 sha256:1eb015951d08f558e9805d427f6d30728b0cd94d5c9b9538cd4f7df57598664a 92.26MB / 92.26MB 2.0s done #7 sha256:e7bff916ab0c126c9d943f0c481a905f402e00f206a89248f257ef90beaabbd8 74.00MB / 74.00MB 2.1s done #7 extracting sha256:cdd62bf39133c498a16f7a7b1b6555ba43d02b2511c508fa4c0a9b1975ffe20e 1.6s #7 sha256:32d3574b34bd65a6cf89a80e5bd939574c7a9bd3efbaa4881292aaca16d3d0dc 126B / 126B 2.3s done #7 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 2.3s done #7 extracting sha256:cdd62bf39133c498a16f7a7b1b6555ba43d02b2511c508fa4c0a9b1975ffe20e 2.3s done #7 extracting sha256:a47cff7f31e941e78bf63ca19f0811b675283e2c00ddea10c57f78d93b2bc343 #7 extracting sha256:a47cff7f31e941e78bf63ca19f0811b675283e2c00ddea10c57f78d93b2bc343 0.5s done #7 extracting sha256:a173f2aee8e962ea19db1e418ae84a0c9f71480b51f768a19332dfa83d7722a5 #7 ... #8 [stage-1 2/5] RUN apk update && apk add bash #0 0.201 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz #0 0.282 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz #0 0.545 v3.20.6-59-g890a83623e3 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main] #0 0.545 v3.20.6-60-g689f1fd490d [https://dl-cdn.alpinelinux.org/alpine/v3.20/community] #0 0.545 OK: 24176 distinct packages available #0 0.882 (1/4) Installing ncurses-terminfo-base (6.4_p20240420-r2) #0 0.914 (2/4) Installing libncursesw (6.4_p20240420-r2) #0 0.928 (3/4) Installing readline (8.2.10-r0) #0 0.934 (4/4) Installing bash (5.2.26-r0) #0 0.953 Executing bash-5.2.26-r0.post-install #0 0.956 Executing busybox-1.36.1-r29.trigger #0 0.959 OK: 10 MiB in 18 packages #8 DONE 2.9s #7 [builder 1/6] FROM docker.io/library/golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0 #7 ... #9 [stage-1 3/5] RUN apk add --no-cache bash #0 0.232 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz #0 0.318 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz #0 0.580 OK: 10 MiB in 18 packages #9 DONE 1.2s #7 [builder 1/6] FROM docker.io/library/golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0 #7 ... #10 [stage-1 4/5] WORKDIR /app #10 DONE 0.2s #7 [builder 1/6] FROM docker.io/library/golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0 #7 extracting sha256:a173f2aee8e962ea19db1e418ae84a0c9f71480b51f768a19332dfa83d7722a5 2.6s done #7 extracting sha256:1eb015951d08f558e9805d427f6d30728b0cd94d5c9b9538cd4f7df57598664a 0.1s #7 extracting sha256:1eb015951d08f558e9805d427f6d30728b0cd94d5c9b9538cd4f7df57598664a 2.2s done #7 extracting sha256:e7bff916ab0c126c9d943f0c481a905f402e00f206a89248f257ef90beaabbd8 0.1s #7 extracting sha256:e7bff916ab0c126c9d943f0c481a905f402e00f206a89248f257ef90beaabbd8 4.0s done #7 extracting sha256:32d3574b34bd65a6cf89a80e5bd939574c7a9bd3efbaa4881292aaca16d3d0dc done #7 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done #7 DONE 14.6s #11 [builder 2/6] WORKDIR /home/app/ #11 DONE 1.0s #12 [builder 3/6] COPY . . #12 DONE 0.2s #13 [builder 4/6] RUN go mod tidy #13 0.220 go: downloading github.com/spf13/viper v1.19.0 #13 0.225 go: downloading github.com/stretchr/testify v1.9.0 #13 0.230 go: downloading github.com/aws/aws-sdk-go v1.47.3 #13 3.611 go: downloading gorm.io/gorm v1.25.12 #13 3.611 go: downloading github.com/samber/slog-multi v1.2.4 #13 3.612 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 #13 3.620 go: downloading github.com/gin-gonic/gin v1.9.1 #13 3.744 go: downloading github.com/go-playground/validator/v10 v10.14.0 #13 3.745 go: downloading github.com/google/uuid v1.6.0 #13 3.790 go: downloading gorm.io/driver/postgres v1.5.9 #13 3.848 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc #13 3.867 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 #13 3.867 go: downloading gopkg.in/yaml.v3 v3.0.1 #13 3.875 go: downloading github.com/fsnotify/fsnotify v1.7.0 #13 3.934 go: downloading github.com/mitchellh/mapstructure v1.5.0 #13 3.970 go: downloading github.com/sagikazarmark/locafero v0.4.0 #13 3.970 go: downloading github.com/sagikazarmark/slog-shim v0.1.0 #13 3.972 go: downloading github.com/spf13/afero v1.11.0 #13 3.998 go: downloading github.com/spf13/cast v1.6.0 #13 4.030 go: downloading github.com/spf13/pflag v1.0.5 #13 4.043 go: downloading github.com/samber/lo v1.47.0 #13 4.045 go: downloading github.com/gin-contrib/sse v0.1.0 #13 4.064 go: downloading github.com/mattn/go-isatty v0.0.19 #13 4.074 go: downloading golang.org/x/net v0.23.0 #13 4.081 go: downloading google.golang.org/protobuf v1.33.0 #13 4.093 go: downloading github.com/jinzhu/now v1.1.5 #13 4.186 go: downloading github.com/stretchr/objx v0.5.2 #13 4.227 go: downloading github.com/jackc/pgx/v5 v5.5.5 #13 4.320 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 #13 4.361 go: downloading github.com/go-playground/universal-translator v0.18.1 #13 4.374 go: downloading github.com/leodido/go-urn v1.2.4 #13 4.434 go: downloading golang.org/x/crypto v0.21.0 #13 4.434 go: downloading golang.org/x/text v0.18.0 #13 4.645 go: downloading github.com/go-playground/locales v0.14.1 #13 4.754 go: downloading github.com/go-playground/assert/v2 v2.2.0 #13 5.304 go: downloading golang.org/x/sys v0.21.0 #13 5.304 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c #13 5.338 go: downloading github.com/sourcegraph/conc v0.3.0 #13 5.339 go: downloading github.com/subosito/gotenv v1.6.0 #13 5.349 go: downloading github.com/hashicorp/hcl v1.0.0 #13 5.385 go: downloading gopkg.in/ini.v1 v1.67.0 #13 5.385 go: downloading github.com/magiconair/properties v1.8.7 #13 5.401 go: downloading github.com/pelletier/go-toml/v2 v2.2.2 #13 5.403 go: downloading golang.org/x/exp v0.0.0-20230905200255-921286631fa9 #13 5.456 go: downloading github.com/jmespath/go-jmespath v0.4.0 #13 5.522 go: downloading github.com/frankban/quicktest v1.14.6 #13 5.543 go: downloading github.com/ugorji/go/codec v1.2.11 #13 5.546 go: downloading github.com/bytedance/sonic v1.9.1 #13 5.550 go: downloading github.com/goccy/go-json v0.10.2 #13 5.551 go: downloading github.com/json-iterator/go v1.1.12 #13 5.595 go: downloading github.com/jinzhu/inflection v1.0.0 #13 5.607 go: downloading github.com/jackc/pgpassfile v1.0.0 #13 5.607 go: downloading github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a #13 5.611 go: downloading github.com/google/go-cmp v0.5.9 #13 5.613 go: downloading github.com/kr/pretty v0.3.1 #13 5.626 go: downloading github.com/jmespath/go-jmespath/internal/testify v1.5.1 #13 5.637 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd #13 5.637 go: downloading github.com/modern-go/reflect2 v1.0.2 #13 5.646 go: downloading github.com/jackc/puddle/v2 v2.2.1 #13 5.648 go: downloading go.uber.org/multierr v1.9.0 #13 5.652 go: downloading github.com/kr/text v0.2.0 #13 5.654 go: downloading github.com/rogpeppe/go-internal v1.13.1 #13 5.657 go: downloading gopkg.in/yaml.v2 v2.2.8 #13 5.663 go: downloading golang.org/x/sync v0.8.0 #13 5.670 go: downloading go.uber.org/atomic v1.9.0 #13 5.715 go: downloading golang.org/x/arch v0.3.0 #13 5.716 go: downloading github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 #13 5.716 go: downloading github.com/twitchyliquid64/golang-asm v0.15.1 #13 5.790 go: downloading github.com/klauspost/cpuid/v2 v2.2.4 #13 DONE 6.7s #14 [builder 5/6] RUN LOG_FILE_NAME=testing.log go test ./... #14 24.49 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice [no test files] #14 24.49 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis [no test files] #14 25.74 time=2025-03-18T12:31:49.703Z level=INFO source=/home/app/logging/logging.go:44 msg="Loggers loaded .." app=mmes #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.711Z level=INFO source=/home/app/logging/logging.go:44 msg="welcome to the Register model api" app=mmes #14 25.74 time=2025-03-18T12:31:49.712Z level=INFO source=/home/app/logging/logging.go:44 msg="model is saved." app=mmes #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 201 | 1.363495ms | | POST "/ai-ml-model-registration/v1/model-registrations" #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.713Z level=INFO source=/home/app/logging/logging.go:44 msg="welcome to the Register model api" app=mmes #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 400 | 132.261µs | | POST "/ai-ml-model-registration/v1/model-registrations" #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.713Z level=INFO source=/home/app/logging/logging.go:44 msg="welcome to the Register model api" app=mmes #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 400 | 205.762µs | | POST "/ai-ml-model-registration/v1/model-registrations" #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.714Z level=INFO source=/home/app/logging/logging.go:44 msg="welcome to the Register model api" app=mmes #14 25.74 time=2025-03-18T12:31:49.714Z level=INFO source=/home/app/logging/logging.go:54 msg=error app=mmes !BADKEY="duplicate key value violates unique constraint \"model_related_informations_pkey\" (SQLSTATE 23505)" #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 409 | 279.004µs | | POST "/ai-ml-model-registration/v1/model-registrations" #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.714Z level=INFO source=/home/app/logging/logging.go:44 msg="welcome to the Register model api" app=mmes #14 25.74 time=2025-03-18T12:31:49.715Z level=INFO source=/home/app/logging/logging.go:54 msg=error app=mmes !BADKEY="db not available" #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 500 | 240.522µs | | POST "/ai-ml-model-registration/v1/model-registrations" #14 25.74 --- FAIL: TestRegisterModelFailCreate (0.00s) #14 25.74 mmes_apis_test.go:202: #14 25.74 Error Trace: /home/app/apis_test/mmes_apis_test.go:202 #14 25.74 Error: Not equal: #14 25.74 expected: 400 #14 25.74 actual : 500 #14 25.74 Test: TestRegisterModelFailCreate #14 25.74 mmes_apis_test.go:205: #14 25.74 Error Trace: /home/app/apis_test/mmes_apis_test.go:205 #14 25.74 Error: Not equal: #14 25.74 expected: "{\"code\":400,\"title\":\"Bad Request\",\"detail\":\"The request json is not correct as , db not available\"}" #14 25.74 actual : "{\"code\":500,\"title\":\"Internal Server Error\",\"detail\":\"The model cannot be registered due to , db not available\"}" #14 25.74 #14 25.74 Diff: #14 25.74 --- Expected #14 25.74 +++ Actual #14 25.74 @@ -1 +1 @@ #14 25.74 -{"code":400,"title":"Bad Request","detail":"The request json is not correct as , db not available"} #14 25.74 +{"code":500,"title":"Internal Server Error","detail":"The model cannot be registered due to , db not available"} #14 25.74 Test: TestRegisterModelFailCreate #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.715Z level=INFO source=/home/app/logging/logging.go:44 msg="Get model info " app=mmes #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 200 | 164.262µs | | GET "/ai-ml-model-discovery/v1/models" #14 25.74 time=2025-03-18T12:31:49.715Z level=INFO source=/home/app/logging/logging.go:44 msg=modelinfo app=mmes list:=[] #14 25.74 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. #14 25.74 - using env: export GIN_MODE=release #14 25.74 - using code: gin.SetMode(gin.ReleaseMode) #14 25.74 #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).RegisterModel-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/model-registrations/updateArtifact/:modelname/:modelversion/:artifactversion --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateArtifact-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoById-fm (3 handlers) #14 25.74 [GIN-debug] PUT /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UpdateModel-fm (3 handlers) #14 25.74 [GIN-debug] DELETE /ai-ml-model-registration/v1/model-registrations/:modelRegistrationId --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DeleteModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/getModelInfo/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfoByName-fm (3 handlers) #14 25.74 [GIN-debug] POST /ai-ml-model-registration/v1/uploadModel/:modelName --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).UploadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-registration/v1/downloadModel/:modelName/model.zip --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).DownloadModel-fm (3 handlers) #14 25.74 [GIN-debug] GET /ai-ml-model-discovery/v1/models --> gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis.(*MmeApiHandler).GetModelInfo-fm (3 handlers) #14 25.74 time=2025-03-18T12:31:49.715Z level=INFO source=/home/app/logging/logging.go:44 msg="Get model info " app=mmes #14 25.74 time=2025-03-18T12:31:49.716Z level=INFO source=/home/app/logging/logging.go:54 msg=error: app=mmes !BADKEY="db not available" #14 25.74 [GIN] 2025/03/18 - 12:31:49 | 500 | 218.313µs | | GET "/ai-ml-model-discovery/v1/models" #14 25.74 FAIL #14 25.74 FAIL gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis_test 0.025s #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/core [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/db [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/logging [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/models [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/routers [no test files] #14 26.11 ok gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/config 0.008s #14 26.11 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 25.74 [GIN] 2025/03/18 - 12:31:49 | 500 | 218.313µs | | GET "/ai-ml-model-discovery/v1/models" #14 25.74 FAIL #14 25.74 FAIL gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/apis_test 0.025s #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/core [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/db [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/logging [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/models [no test files] #14 26.10 ? gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/routers [no test files] #14 26.11 ok gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice/config 0.008s #14 26.11 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 2071 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins8953790779730310132.sh ---> sysstat.sh [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins14054297226402385785.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/jenkins11795194258446750615.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-kOUG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kOUG/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins1846393117607889155.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master@tmp/config17571759123646001935tmp 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/jenkins16280799658456573824.sh ---> create-netrc.sh [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins9882178431160742208.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-kOUG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kOUG/bin to PATH [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins1380496612520658776.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-awmf-modelmgmtservice-docker-docker-verify-master] $ /bin/bash /tmp/jenkins2599667066521466183.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-kOUG 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.12 requires requests<2.32.0, but you have requests 2.32.3 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-kOUG/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/jenkins7938342269946166421.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-kOUG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kOUG/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/121 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-2930 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: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 696K 394M 1% /run /dev/vda1 20G 11G 8.9G 54% / 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: 3944 483 1308 0 2152 3177 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:41:df:21 brd ff:ff:ff:ff:ff:ff inet 10.32.7.185/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86204sec preferred_lft 86204sec inet6 fe80::f816:3eff:fe41:df21/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:66:27:64:8d 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-2930) 03/18/25 _x86_64_ (4 CPU) 12:29:19 LINUX RESTART (4 CPU) 12:30:02 tps rtps wtps bread/s bwrtn/s 12:31:01 90.54 20.12 70.43 2473.89 7679.51 12:32:01 217.01 30.58 186.42 1736.07 83925.10 Average: 154.32 25.39 128.92 2101.81 46128.97 12:30:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:31:01 1500744 3347704 2537916 62.84 57776 1937596 1060172 20.84 603048 1738264 174316 12:32:01 1350076 3234080 2688584 66.57 108000 1891624 1009092 19.84 812116 1617560 7220 Average: 1425410 3290892 2613250 64.71 82888 1914610 1034632 20.34 707582 1677912 90768 12:30:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:31:01 ens3 90.75 83.78 976.01 12.40 0.00 0.00 0.00 0.00 12:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:31:01 lo 2.51 2.51 0.23 0.23 0.00 0.00 0.00 0.00 12:32:01 ens3 817.24 478.11 6628.41 46.37 0.00 0.00 0.00 0.00 12:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:32:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 Average: ens3 457.11 282.64 3826.43 29.53 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.58 1.58 0.15 0.15 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-2930) 03/18/25 _x86_64_ (4 CPU) 12:29:19 LINUX RESTART (4 CPU) 12:30:02 CPU %user %nice %system %iowait %steal %idle 12:31:01 all 20.03 0.00 1.41 2.68 0.05 75.82 12:31:01 0 26.39 0.00 1.61 0.51 0.05 71.44 12:31:01 1 16.88 0.00 1.24 1.05 0.03 80.79 12:31:01 2 33.15 0.00 1.97 1.87 0.09 62.92 12:31:01 3 3.99 0.00 0.82 7.24 0.03 87.92 12:32:01 all 46.80 0.00 8.55 3.90 0.10 40.65 12:32:01 0 43.61 0.00 8.24 4.02 0.10 44.02 12:32:01 1 44.35 0.00 7.80 1.13 0.08 46.64 12:32:01 2 55.94 0.00 9.59 3.50 0.10 30.86 12:32:01 3 43.29 0.00 8.59 6.97 0.10 41.04 Average: all 33.42 0.00 4.98 3.29 0.07 58.23 Average: 0 35.02 0.00 4.93 2.27 0.08 57.71 Average: 1 30.67 0.00 4.53 1.09 0.06 63.65 Average: 2 44.57 0.00 5.79 2.69 0.09 46.85 Average: 3 23.52 0.00 4.68 7.10 0.07 64.62