Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-9430 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-2w3GTOBNm93a/agent.2152 SSH_AGENT_PID=2154 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script@tmp/private_key_998225389260654277.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/nonrtric/plt/sme > git init /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/sme > 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/nonrtric/plt/sme +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/sme # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 1cac1c43490a7e77bb82126e48e15029ed1b2cbc (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cac1c43490a7e77bb82126e48e15029ed1b2cbc # timeout=10 Commit message: "Merge "Fix SME sonar job"" > git rev-list --no-walk 1cac1c43490a7e77bb82126e48e15029ed1b2cbc # 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 [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins4238956634299162418.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-OYKB 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-OYKB/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-OYKB/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.1 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.54 botocore==1.35.54 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.4.0 click==8.1.7 cliff==4.7.0 cmd2==2.5.0 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 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==2024.10.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.2 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.1.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.12.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.2.1 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.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.12 s3transfer==0.10.3 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.6 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.27.1 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.14.2 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/sh /tmp/jenkins13144123735555551244.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/sh /tmp/jenkins16530463932392949759.sh --> prescan-sme-servicemanager-ubuntu.sh + sudo apt-get update Hit:1 https://deb.nodesource.com/node_16.x bionic InRelease Get:2 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] Hit:3 http://apt.puppetlabs.com xenial InRelease Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [102 kB] Get:5 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [21.5 kB] Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB] Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [102 kB] Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB] Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2717 kB] Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB] Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B] Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B] Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB] Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB] Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB] Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB] Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3045 kB] Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [554 kB] Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB] Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [187 kB] Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1914 kB] Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [421 kB] Get:24 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB] Get:25 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6088 B] Get:26 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB] Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [14.6 kB] Get:28 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB] Get:29 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [8668 B] Get:30 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [468 kB] Get:31 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1303 kB] Fetched 28.0 MB in 5s (5193 kB/s) Reading package lists... + bash servicemanager/build-servicemanager-ubuntu.sh + echo '--> build-servicemanager-ubuntu.sh' --> build-servicemanager-ubuntu.sh + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/go/1.19/bin:/usr/local/go/bin:/home/jenkins/go/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/go/1.19/bin:/usr/local/go/bin:/home/jenkins/go/bin + export GO111MODULE=on + GO111MODULE=on + go version go version go1.19 linux/amd64 + cd servicemanager/ + go install github.com/ory/go-acc@v0.2.8 go: downloading github.com/ory/go-acc v0.2.8 go: downloading github.com/ory/viper v1.7.5 go: downloading github.com/pborman/uuid v1.2.0 go: downloading github.com/spf13/cobra v1.0.0 go: downloading github.com/dgraph-io/ristretto v0.0.2 go: downloading github.com/fsnotify/fsnotify v1.4.9 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/magiconair/properties v1.8.1 go: downloading github.com/mitchellh/mapstructure v1.3.2 go: downloading github.com/pelletier/go-toml v1.8.0 go: downloading github.com/spf13/afero v1.2.2 go: downloading github.com/spf13/cast v1.3.1 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/subosito/gotenv v1.2.0 go: downloading gopkg.in/ini.v1 v1.57.0 go: downloading gopkg.in/yaml.v2 v2.3.0 go: downloading github.com/google/uuid v1.1.1 go: downloading golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 go: downloading golang.org/x/text v0.3.2 go: downloading github.com/cespare/xxhash v1.1.0 + go get github.com/stretchr/testify/mock@v1.8.1 go: downloading github.com/stretchr/testify v1.8.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/stretchr/objx v0.5.0 go: downloading gopkg.in/yaml.v3 v3.0.1 + go-acc ./... --ignore mockkong,common,discoverserviceapi,invokermanagementapi,publishserviceapi,providermanagementapi go: downloading k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading helm.sh/helm/v3 v3.9.0 go: downloading k8s.io/cli-runtime v0.25.3-rc.0 go: downloading k8s.io/client-go v0.25.3-rc.0 go: downloading github.com/mitchellh/copystructure v1.2.0 go: downloading github.com/Masterminds/semver/v3 v3.1.1 go: downloading github.com/Masterminds/sprig/v3 v3.2.2 go: downloading github.com/gosuri/uitable v0.0.4 go: downloading github.com/pkg/errors v0.9.1 go: downloading golang.org/x/term v0.13.0 go: downloading k8s.io/api v0.25.3-rc.0 go: downloading k8s.io/apimachinery v0.25.3-rc.0 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading github.com/evanphx/json-patch v5.6.0+incompatible go: downloading k8s.io/apiextensions-apiserver v0.25.2 go: downloading k8s.io/kubectl v0.25.2 go: downloading github.com/mitchellh/reflectwalk v1.0.2 go: downloading github.com/fatih/color v1.13.0 go: downloading github.com/Masterminds/goutils v1.1.1 go: downloading github.com/huandu/xstrings v1.3.2 go: downloading github.com/imdario/mergo v0.3.12 go: downloading github.com/shopspring/decimal v1.2.0 go: downloading github.com/spf13/cast v1.4.1 go: downloading github.com/cyphar/filepath-securejoin v0.2.3 go: downloading github.com/xeipuuv/gojsonschema v1.2.0 go: downloading github.com/BurntSushi/toml v1.1.0 go: downloading github.com/gobwas/glob v0.2.3 go: downloading github.com/containerd/containerd v1.6.6 go: downloading github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 go: downloading oras.land/oras-go v1.1.1 go: downloading github.com/Masterminds/squirrel v1.5.3 go: downloading github.com/jmoiron/sqlx v1.3.5 go: downloading github.com/lib/pq v1.10.6 go: downloading github.com/rubenv/sql-migrate v1.1.2 go: downloading github.com/spf13/cobra v1.5.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/google/gofuzz v1.2.0 go: downloading k8s.io/klog/v2 v2.70.1 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3 go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de go: downloading github.com/google/gnostic v0.5.7-v3refs go: downloading sigs.k8s.io/kustomize/api v0.12.1 go: downloading sigs.k8s.io/kustomize/kyaml v0.13.9 go: downloading github.com/golang/protobuf v1.5.2 go: downloading k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 go: downloading github.com/mattn/go-runewidth v0.0.9 go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 go: downloading github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 go: downloading k8s.io/apiserver v0.25.2 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d go: downloading k8s.io/component-base v0.25.2 go: downloading golang.org/x/sync v0.1.0 go: downloading github.com/docker/cli v20.10.17+incompatible go: downloading github.com/docker/docker v20.10.17+incompatible go: downloading github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 go: downloading sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 go: downloading github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 go: downloading github.com/peterbourgon/diskv v2.0.1+incompatible go: downloading github.com/go-gorp/gorp/v3 v3.0.2 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/go-logr/logr v1.2.3 go: downloading github.com/json-iterator/go v1.1.12 go: downloading google.golang.org/protobuf v1.28.0 go: downloading golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 go: downloading github.com/google/go-cmp v0.5.8 go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f go: downloading github.com/chai2010/gettext-go v1.0.2 go: downloading github.com/MakeNowJust/heredoc v1.0.0 go: downloading github.com/mitchellh/go-wordwrap v1.0.0 go: downloading github.com/russross/blackfriday v1.5.2 go: downloading google.golang.org/grpc v1.47.0 go: downloading github.com/moby/locker v1.0.1 go: downloading github.com/docker/docker-credential-helpers v0.6.4 go: downloading github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 go: downloading github.com/google/btree v1.0.1 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/go-errors/errors v1.0.1 go: downloading github.com/go-openapi/jsonreference v0.20.2 go: downloading github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 go: downloading github.com/docker/go-connections v0.4.0 go: downloading github.com/docker/go-units v0.4.0 go: downloading github.com/klauspost/compress v1.13.6 go: downloading github.com/docker/distribution v2.8.1+incompatible go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 go: downloading github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 go: downloading github.com/xlab/treeprint v1.1.0 go: downloading github.com/emicklei/go-restful/v3 v3.8.0 go: downloading google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 go: downloading github.com/morikuni/aec v1.0.0 go: downloading go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 go: downloading github.com/moby/spdystream v0.2.0 go: downloading github.com/docker/go-metrics v0.0.1 go: downloading github.com/prometheus/client_golang v1.12.1 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/prometheus/client_model v0.2.0 go: downloading github.com/prometheus/common v0.32.1 go: downloading github.com/prometheus/procfs v0.7.3 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 ok oransc.org/nonrtric/servicemanager 0.832s coverage: 22.7% of statements in oransc.org/nonrtric/servicemanager, oransc.org/nonrtric/servicemanager/internal, oransc.org/nonrtric/servicemanager/internal/discoverservice, oransc.org/nonrtric/servicemanager/internal/envreader, oransc.org/nonrtric/servicemanager/internal/invokermanagement, oransc.org/nonrtric/servicemanager/internal/kongclear, oransc.org/nonrtric/servicemanager/internal/providermanagement, oransc.org/nonrtric/servicemanager/internal/publishservice ? oransc.org/nonrtric/servicemanager/internal [no test files] ok oransc.org/nonrtric/servicemanager/internal/discoverservice 0.614s coverage: 37.7% of statements in oransc.org/nonrtric/servicemanager, oransc.org/nonrtric/servicemanager/internal, oransc.org/nonrtric/servicemanager/internal/discoverservice, oransc.org/nonrtric/servicemanager/internal/envreader, oransc.org/nonrtric/servicemanager/internal/invokermanagement, oransc.org/nonrtric/servicemanager/internal/kongclear, oransc.org/nonrtric/servicemanager/internal/providermanagement, oransc.org/nonrtric/servicemanager/internal/publishservice ? oransc.org/nonrtric/servicemanager/internal/envreader [no test files] ok oransc.org/nonrtric/servicemanager/internal/invokermanagement 0.507s coverage: 40.9% of statements in oransc.org/nonrtric/servicemanager, oransc.org/nonrtric/servicemanager/internal, oransc.org/nonrtric/servicemanager/internal/discoverservice, oransc.org/nonrtric/servicemanager/internal/envreader, oransc.org/nonrtric/servicemanager/internal/invokermanagement, oransc.org/nonrtric/servicemanager/internal/kongclear, oransc.org/nonrtric/servicemanager/internal/providermanagement, oransc.org/nonrtric/servicemanager/internal/publishservice ? oransc.org/nonrtric/servicemanager/internal/kongclear [no test files] ok oransc.org/nonrtric/servicemanager/internal/providermanagement 0.408s coverage: 33.0% of statements in oransc.org/nonrtric/servicemanager, oransc.org/nonrtric/servicemanager/internal, oransc.org/nonrtric/servicemanager/internal/discoverservice, oransc.org/nonrtric/servicemanager/internal/envreader, oransc.org/nonrtric/servicemanager/internal/invokermanagement, oransc.org/nonrtric/servicemanager/internal/kongclear, oransc.org/nonrtric/servicemanager/internal/providermanagement, oransc.org/nonrtric/servicemanager/internal/publishservice ok oransc.org/nonrtric/servicemanager/internal/publishservice 0.506s coverage: 37.7% of statements in oransc.org/nonrtric/servicemanager, oransc.org/nonrtric/servicemanager/internal, oransc.org/nonrtric/servicemanager/internal/discoverservice, oransc.org/nonrtric/servicemanager/internal/envreader, oransc.org/nonrtric/servicemanager/internal/invokermanagement, oransc.org/nonrtric/servicemanager/internal/kongclear, oransc.org/nonrtric/servicemanager/internal/providermanagement, oransc.org/nonrtric/servicemanager/internal/publishservice + sed -i 's/oransc\.org\/nonrtric\/servicemanager/servicemanager/' coverage.txt + echo '--> build-servicemanager-ubuntu.sh ends' --> build-servicemanager-ubuntu.sh ends + echo --> prescan-sme-servicemanager-ubuntu.sh ends --> prescan-sme-servicemanager-ubuntu.sh ends Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-docker-4c-4g-9430 [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_nonrtric-plt-sme-servicemanager -Dsonar.projectName=nonrtric-plt-sme-servicemanager -Dsonar.language=go -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.projectBaseDir=servicemanager -Dsonar.go.coverage.reportPaths=coverage.txt -Dsonar.organization=o-ran-sc -Dsonar.inclusions=**/*.go -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=**/*_test.go INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.6.2.2472 INFO: Java 17.0.7 Private Build (64-bit) INFO: Linux 4.15.0-213-generic amd64 INFO: User cache: /home/jenkins/.sonar/cache INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: Analyzing on SonarCloud INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=623ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: Loading required plugins INFO: Load plugins index INFO: Load plugins index (done) | time=510ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=1117ms INFO: Found an active CI vendor: 'Jenkins' INFO: Load project settings for component key: 'o-ran-sc_nonrtric-plt-sme-servicemanager' INFO: Load project settings for component key: 'o-ran-sc_nonrtric-plt-sme-servicemanager' (done) | time=179ms INFO: Process project properties INFO: Project key: o-ran-sc_nonrtric-plt-sme-servicemanager INFO: Base dir: /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/servicemanager INFO: Working dir: /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/servicemanager/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=501ms INFO: Check ALM binding of project 'o-ran-sc_nonrtric-plt-sme-servicemanager' INFO: Detected project binding: NOT_BOUND INFO: Check ALM binding of project 'o-ran-sc_nonrtric-plt-sme-servicemanager' (done) | time=175ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=470ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=1ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=554ms INFO: Load active rules INFO: Load active rules (done) | time=19848ms INFO: Organization key: o-ran-sc WARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. INFO: Preprocessing files... INFO: 1 language detected in 25 preprocessed files INFO: 36 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Loading plugins for detected languages INFO: Load/download plugins INFO: Load/download plugins (done) | time=181ms INFO: Load project repositories INFO: Load project repositories (done) | time=507ms INFO: Indexing files... INFO: Project configuration: INFO: Included sources: **/*.go INFO: Excluded sources: **/build-wrapper-dump.json, **/*_test.go INFO: 25 files indexed INFO: Quality profile for go: Sonar way INFO: ------------- Run sensors on module nonrtric-plt-sme-servicemanager INFO: Load metrics repository INFO: Load metrics repository (done) | time=182ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (329 KB) | time=2685ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms INFO: Sensor Code Quality and Security for Go [go] INFO: 25 source files to be analyzed INFO: 25/25 source files have been analyzed INFO: Sensor Code Quality and Security for Go [go] (done) | time=1644ms INFO: Sensor Go Cover sensor for Go coverage [go] INFO: Load coverage report from '/w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/servicemanager/coverage.txt' INFO: Sensor Go Cover sensor for Go coverage [go] (done) | time=36ms INFO: Sensor Java Config Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor Java Config Sensor [iac] (done) | time=14ms INFO: Sensor IaC Docker Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=62ms INFO: Sensor EnterpriseTextAndSecretsSensor [textenterprise] INFO: Available processors: 4 INFO: Using 4 threads for analysis. INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true: * The filename starts with "test" * The filename contains "test." or "tests." * Any directory in the file path is named: "doc", "docs", "test" or "tests" * Any directory in the file path has a name ending in "test" or "tests" INFO: Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=142ms INFO: Sensor TextAndSecretsSensor [text] INFO: Available processors: 4 INFO: Using 4 threads for analysis. INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true: * The filename starts with "test" * The filename contains "test." or "tests." * Any directory in the file path is named: "doc", "docs", "test" or "tests" * Any directory in the file path has a name ending in "test" or "tests" INFO: Using git CLI to retrieve untracked files INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git INFO: 25 source files to be analyzed INFO: 25/25 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=2125ms INFO: ------------- Run sensors on project INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=10ms INFO: CPD Executor Calculating CPD for 25 files INFO: CPD Executor CPD calculation finished (done) | time=71ms INFO: Analysis report generated in 229ms, dir size=940 KB INFO: Analysis report compressed in 63ms, zip size=279 KB INFO: Analysis report uploaded in 1058ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_nonrtric-plt-sme-servicemanager INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZLu1Luqr0dsW3yuxaB3 INFO: Sensor cache published successfully INFO: Analysis total time: 34.436 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 40.745s INFO: Final Memory: 18M/74M INFO: ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2154 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins10929710478761401138.sh ---> sysstat.sh [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins6504337030238001288.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script ']' + mkdir -p /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/archives/ [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins12941421704169425557.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OYKB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OYKB/bin to PATH INFO: Running in OpenStack, capturing instance metadata [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins5970792837923276721.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script@tmp/config7205297889774209684tmp 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. [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins9151782434141507174.sh ---> create-netrc.sh [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins7969675452743158817.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OYKB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OYKB/bin to PATH [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins1821409113255093696.sh ---> sudo-logs.sh Archiving 'sudo' log.. [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash /tmp/jenkins4251661755916090200.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OYKB 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-OYKB/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [nonrtric-plt-sme-servicemanager-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins7826770306703946546.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-servicemanager-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OYKB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OYKB/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/nonrtric-plt-sme-servicemanager-sonar-prescan-script/251 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-9430 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 700K 394M 1% /run /dev/vda1 20G 11G 9.2G 53% / 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 458 872 0 2612 3203 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:1b:35:46 brd ff:ff:ff:ff:ff:ff inet 10.32.6.215/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86090sec preferred_lft 86090sec inet6 fe80::f816:3eff:fe1b:3546/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:f3:9d:38:2d 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-9430) 11/02/24 _x86_64_ (4 CPU) 21:38:33 LINUX RESTART (4 CPU) 21:39:01 tps rtps wtps bread/s bwrtn/s 21:40:01 156.47 66.42 90.05 4964.24 28541.78 21:41:01 246.51 113.08 133.43 5491.08 24552.31 21:42:01 171.54 60.79 110.74 2688.74 52176.02 21:43:01 71.25 60.22 11.03 3283.05 3292.65 Average: 161.44 75.13 86.32 4106.60 27143.82 21:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:40:01 1639616 3359060 2399036 59.40 53800 1820288 882248 17.34 566536 1651924 147788 21:41:01 805104 3337020 3233548 80.07 83864 2568932 1068912 21.01 868432 2111908 286308 21:42:01 1187352 3348224 2851300 70.60 109352 2174380 1046928 20.58 731556 1871280 12904 21:43:01 964592 3301684 3074060 76.12 117936 2341800 899252 17.68 1153020 1672104 840 Average: 1149166 3336497 2889486 71.55 91238 2226350 974335 19.15 829886 1826804 111960 21:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:40:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 21:40:01 ens3 434.21 287.42 1436.37 72.50 0.00 0.00 0.00 0.00 21:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:41:01 lo 2.47 2.47 0.25 0.25 0.00 0.00 0.00 0.00 21:41:01 ens3 410.68 339.71 1540.06 34.90 0.00 0.00 0.00 0.00 21:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:01 lo 4.05 4.05 0.91 0.91 0.00 0.00 0.00 0.00 21:42:01 ens3 116.11 103.33 920.49 8.59 0.00 0.00 0.00 0.00 21:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:43:01 lo 7.33 7.33 1.27 1.27 0.00 0.00 0.00 0.00 21:43:01 ens3 183.59 122.81 1167.67 29.41 0.00 0.00 0.00 0.00 21:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 3.68 3.68 0.63 0.63 0.00 0.00 0.00 0.00 Average: ens3 286.12 213.30 1266.10 36.34 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 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-9430) 11/02/24 _x86_64_ (4 CPU) 21:38:33 LINUX RESTART (4 CPU) 21:39:01 CPU %user %nice %system %iowait %steal %idle 21:40:01 all 20.62 0.00 2.06 4.85 0.05 72.42 21:40:01 0 43.40 0.00 2.99 2.61 0.08 50.92 21:40:01 1 21.92 0.00 1.99 1.86 0.03 74.21 21:40:01 2 10.21 0.00 1.71 5.96 0.07 82.06 21:40:01 3 6.86 0.00 1.55 9.01 0.05 82.54 21:41:01 all 14.89 0.84 2.61 9.36 0.07 72.23 21:41:01 0 9.35 0.00 1.94 7.89 0.03 80.79 21:41:01 1 12.57 0.03 2.28 7.84 0.05 77.22 21:41:01 2 29.37 0.00 3.41 10.20 0.10 56.92 21:41:01 3 8.32 3.32 2.85 11.55 0.07 73.89 21:42:01 all 71.71 0.00 9.23 2.25 0.11 16.70 21:42:01 0 71.21 0.00 8.61 2.72 0.12 17.33 21:42:01 1 71.80 0.00 9.43 2.21 0.12 16.44 21:42:01 2 70.94 0.00 9.72 1.98 0.12 17.25 21:42:01 3 72.88 0.00 9.11 2.08 0.14 15.80 21:43:01 all 18.83 0.00 1.44 1.33 0.05 78.36 21:43:01 0 21.42 0.00 1.64 1.72 0.05 75.18 21:43:01 1 19.81 0.00 1.52 0.78 0.05 77.84 21:43:01 2 15.70 0.00 1.16 0.47 0.05 82.62 21:43:01 3 18.39 0.00 1.45 2.33 0.05 77.78 Average: all 31.41 0.21 3.82 4.45 0.07 60.03 Average: 0 36.19 0.00 3.78 3.74 0.07 56.22 Average: 1 31.45 0.01 3.79 3.17 0.06 61.51 Average: 2 31.46 0.00 3.98 4.65 0.08 59.82 Average: 3 26.53 0.83 3.73 6.24 0.08 62.60