Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-7383 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-SEv8aVLWysa2/agent.2014 SSH_AGENT_PID=2016 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script@tmp/private_key_1788362533951428790.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-capifcore-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 b2529776fb93f68918a1f7d2f6782be6ffc6d658 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b2529776fb93f68918a1f7d2f6782be6ffc6d658 # timeout=10 Commit message: "CVE Tags added" > git rev-list --no-walk b2529776fb93f68918a1f7d2f6782be6ffc6d658 # 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-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins13555337612122848088.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-1jK9 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1jK9/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. httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. Python 3.10.6 pip 26.2 from /tmp/venv-1jK9/lib/python3.10/site-packages/pip (python 3.10) aiohappyeyeballs==2.7.1 aiohttp==3.14.3 aiosignal==1.4.0 appdirs==1.4.4 argcomplete==3.7.0 aspy.yaml==1.3.0 async-timeout==5.0.1 attrs==26.1.0 autopage==0.6.0 backports.strenum==1.3.1 beautifulsoup4==4.15.0 boto3==1.43.62 botocore==1.43.62 bs4==0.0.2 certifi==2026.7.22 cffi==2.1.0 cfgv==3.5.0 chardet==7.4.3 charset-normalizer==3.4.9 click==8.4.2 cliff==4.14.0 cmd2==3.5.1 cryptography==3.3.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 Deprecated==1.3.1 distlib==0.4.3 dnspython==2.8.0 docker==7.2.0 dogpile.cache==1.5.0 durationpy==0.10 email-validator==2.3.0 filelock==3.32.2 frozenlist==1.8.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.57 httplib2==0.30.2 identify==2.6.19 idna==3.18 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.1.0 jsonpatch==1.33 jsonpointer==3.1.1 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 keystoneauth1==5.14.0 kubernetes==36.0.3 lftools==0.37.22 lxml==6.1.1 markdown-it-py==4.2.0 MarkupSafe==3.0.3 mdurl==0.1.2 msgpack==1.2.1 multi_key_dict==2.0.3 multidict==6.7.1 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.10.0 oauth2client==4.1.3 oauthlib==3.3.1 openstacksdk==4.13.0 os-service-types==1.8.2 osc-lib==4.6.0 oslo.config==10.4.0 oslo.context==6.4.0 oslo.i18n==6.8.0 oslo.log==8.2.0 oslo.serialization==5.10.0 oslo.utils==10.1.1 packaging==26.2 pbr==7.0.3 platformdirs==4.11.0 prettytable==3.18.0 propcache==0.5.2 psutil==7.2.2 pyasn1==0.6.4 pyasn1_modules==0.4.2 pycparser==3.0 pygerrit2==2.0.15 PyGithub==2.9.1 Pygments==2.20.0 PyJWT==2.13.0 PyNaCl==1.6.2 pyparsing==2.4.7 pyperclip==1.11.0 pyrsistent==0.20.0 python-cinderclient==9.9.0 python-dateutil==2.9.0.post0 python-discovery==1.5.1 python-heatclient==5.2.0 python-jenkins==1.8.3 python-keystoneclient==5.8.0 python-magnumclient==4.11.0 python-openstackclient==10.0.0 python-swiftclient==4.10.0 PyYAML==6.0.3 referencing==0.37.0 requests==2.34.2 requests-oauthlib==2.0.0 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 rpds-py==0.30.0 rsa==4.9.1 ruamel.yaml==0.19.1 ruamel.yaml.clib==0.2.15 s3transfer==0.19.2 simplejson==4.1.1 six==1.17.0 smmap==5.0.3 soupsieve==2.9.1 stevedore==5.8.0 tabulate==0.10.0 toml==0.10.2 tomlkit==0.15.1 tqdm==4.70.0 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.7.1 wcwidth==0.8.2 websocket-client==1.9.0 wrapt==2.3.0 xdg==6.0.0 xmltodict==1.0.4 yarl==1.24.5 yq==4.1.2 [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-capifcore-sonar-prescan-script] $ /bin/sh /tmp/jenkins12926441170415191119.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-capifcore-sonar-prescan-script] $ /bin/sh /tmp/jenkins10206094912921864916.sh --> prescan-sme-capifcore-ubuntu.sh + sudo apt-get update Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease Hit:2 https://deb.nodesource.com/node_16.x bionic InRelease Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [102 kB] Hit:4 http://apt.puppetlabs.com xenial InRelease Err:4 http://apt.puppetlabs.com xenial InRelease The following signatures were invalid: EXPKEYSIG 4528B6CD9E61EF26 Puppet, Inc. Release Key (Puppet, Inc. Release Key) Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB] Get:7 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [21.5 kB] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2763 kB] Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [102 kB] Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 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://security.ubuntu.com/ubuntu bionic-security/main Translation-en [467 kB] Get:16 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1338 kB] Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1319 kB] Get:18 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [307 kB] Get:19 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB] Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB] Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB] Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB] Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3092 kB] Get:24 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [552 kB] Get:25 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1368 kB] Get:26 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [187 kB] Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1936 kB] Get:28 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [420 kB] Get:29 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [25.7 kB] Get:30 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6056 B] Get:31 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [53.7 kB] Get:32 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [14.5 kB] Get:33 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [18.3 kB] Get:34 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [8612 B] Fetched 29.8 MB in 8s (3733 kB/s) Reading package lists... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://apt.puppetlabs.com xenial InRelease: The following signatures were invalid: EXPKEYSIG 4528B6CD9E61EF26 Puppet, Inc. Release Key (Puppet, Inc. Release Key) W: Failed to fetch http://apt.puppetlabs.com/dists/xenial/InRelease The following signatures were invalid: EXPKEYSIG 4528B6CD9E61EF26 Puppet, Inc. Release Key (Puppet, Inc. Release Key) W: Some index files failed to download. They have been ignored, or old ones used instead. + bash capifcore/build-capifcore-ubuntu.sh + echo '--> build-capifcore-ubuntu.sh' --> build-capifcore-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 capifcore/ + 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.7.1 go: downloading github.com/stretchr/testify v1.7.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/stretchr/objx v0.4.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/go-openapi/jsonpointer v0.19.5 go: downloading github.com/go-openapi/jsonreference v0.20.0 go: downloading github.com/go-openapi/swag v0.21.1 go: downloading github.com/labstack/echo/v4 v4.9.1 go: downgraded github.com/go-openapi/jsonpointer v0.19.6 => v0.19.5 go: downgraded github.com/go-openapi/jsonreference v0.20.2 => v0.20.0 go: downgraded github.com/go-openapi/swag v0.22.3 => v0.21.1 go: downgraded github.com/labstack/echo/v4 v4.10.2 => v4.9.1 go: downgraded github.com/stretchr/objx v0.5.0 => v0.4.0 go: downgraded github.com/stretchr/testify v1.8.1 => v1.7.1 + go-acc ./... --ignore gentools,mocks,common,accesscontrolpolicyapi,aefsecurityapi,auditingapi,discoverserviceapi,eventsapi,invokermanagementapi,loggingapi,securityapi,publishserviceapi,routinginfoapi ? oransc.org/nonrtric/capifcore [no test files] ok oransc.org/nonrtric/capifcore/cmd 2.090s coverage: 15.9% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ? oransc.org/nonrtric/capifcore/internal/config [no test files] ok oransc.org/nonrtric/capifcore/internal/discoverservice 0.848s coverage: 8.8% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/eventservice 0.397s coverage: 85.5% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/helmmanagement 0.059s coverage: 29.1% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/invokermanagement 0.480s coverage: 14.4% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ? oransc.org/nonrtric/capifcore/internal/keycloak [no test files] ok oransc.org/nonrtric/capifcore/internal/providermanagement 0.563s coverage: 78.9% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/providermanagementapi 0.008s coverage: 49.3% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/publishservice 0.664s coverage: 33.4% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/restclient 0.005s coverage: 89.7% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice ok oransc.org/nonrtric/capifcore/internal/securityservice 1.333s coverage: 16.1% of statements in oransc.org/nonrtric/capifcore, oransc.org/nonrtric/capifcore/cmd, oransc.org/nonrtric/capifcore/internal/config, oransc.org/nonrtric/capifcore/internal/discoverservice, oransc.org/nonrtric/capifcore/internal/eventservice, oransc.org/nonrtric/capifcore/internal/helmmanagement, oransc.org/nonrtric/capifcore/internal/invokermanagement, oransc.org/nonrtric/capifcore/internal/keycloak, oransc.org/nonrtric/capifcore/internal/providermanagement, oransc.org/nonrtric/capifcore/internal/providermanagementapi, oransc.org/nonrtric/capifcore/internal/publishservice, oransc.org/nonrtric/capifcore/internal/restclient, oransc.org/nonrtric/capifcore/internal/securityservice + sed -i -e 's/oransc\.org\/nonrtric\/capifcore/capifcore/' coverage.txt + echo '--> build-capifcore-ubuntu.sh ends' --> build-capifcore-ubuntu.sh ends + echo --> prescan-sme-capifcore-ubuntu.sh ends --> prescan-sme-capifcore-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-7383 [nonrtric-plt-sme-capifcore-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-capifcore -Dsonar.projectName=nonrtric-plt-sme-capifcore -Dsonar.language=go -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.projectBaseDir=capifcore -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=664ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: Loading required plugins INFO: Load plugins index INFO: Load plugins index (done) | time=242ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=1337ms INFO: Loaded core extensions: a3s, architecture, sca INFO: Process project properties INFO: Project key: o-ran-sc_nonrtric-plt-sme-capifcore INFO: Base dir: /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/capifcore INFO: Working dir: /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/capifcore/.scannerwork INFO: Load project settings for component key: 'o-ran-sc_nonrtric-plt-sme-capifcore' INFO: Load project settings for component key: 'o-ran-sc_nonrtric-plt-sme-capifcore' (done) | time=674ms INFO: Found an active CI vendor: 'Jenkins' INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. INFO: Check ALM binding of project 'o-ran-sc_nonrtric-plt-sme-capifcore' INFO: Detected project binding: NOT_BOUND INFO: Check ALM binding of project 'o-ran-sc_nonrtric-plt-sme-capifcore' (done) | time=272ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=2ms INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. INFO: Create analysis INFO: Create analysis (done) | time=419ms INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. INFO: Load quality profiles INFO: Load quality profiles (done) | time=1044ms INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. INFO: Load active rules INFO: Load active rules (done) | time=1227ms INFO: Organization key: o-ran-sc INFO: Preprocessing files... INFO: 1 language detected in 56 preprocessed files (done) | time=225ms INFO: 67 files ignored because of inclusion/exclusion patterns INFO: 3 files ignored because of scm ignore settings INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 15.159s INFO: Final Memory: 14M/50M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarScanner execution ERROR: The version of Java (17) used to run this analysis is deprecated, and SonarQube Cloud no longer supports it. Please upgrade to Java 21 or later. You can find more information here: https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements ERROR: ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2016 killed; [ssh-agent] Stopped. ERROR: SonarQube scanner exited with non-zero code: 2 [PostBuildScript] - [INFO] Executing post build scripts. [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins4097010196671704260.sh ---> sysstat.sh [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins7180523228690623550.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/nonrtric-plt-sme-capifcore-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-capifcore-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-capifcore-sonar-prescan-script ']' + mkdir -p /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/archives/ [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins2999548486048295340.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1jK9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1jK9/bin to PATH INFO: Running in OpenStack, capturing instance metadata [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins10873949919519471268.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script@tmp/config12162882765265628731tmp 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-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins5666191034785964161.sh ---> create-netrc.sh [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins5421379625198533312.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1jK9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1jK9/bin to PATH [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins3305271972745754743.sh ---> sudo-logs.sh Archiving 'sudo' log.. [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins1972759891518906778.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1jK9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-1jK9/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-starter-4 INFO: Archiving Costs [nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins3526411522650198297.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1jK9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-1jK9/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/nonrtric-plt-sme-capifcore-sonar-prescan-script/883 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-7383 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 3.9G 0 3.9G 0% /dev tmpfs 798M 700K 797M 1% /run /dev/vda1 20G 11G 9.0G 54% / tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 798M 0 798M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 7976 511 3623 0 3841 7166 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:02:be:83 brd ff:ff:ff:ff:ff:ff inet 10.32.7.82/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85976sec preferred_lft 85976sec inet6 fe80::f816:3eff:fe02:be83/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ad:2c:55:96 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-7383) 08/03/26 _x86_64_ (4 CPU) 06:05:45 LINUX RESTART (4 CPU) 06:06:01 tps rtps wtps bread/s bwrtn/s 06:07:01 157.17 69.27 87.90 5580.27 39876.84 06:08:01 59.99 0.12 59.87 21.46 9766.85 06:09:01 214.81 108.58 106.23 5492.30 19590.94 06:10:01 99.98 15.69 84.29 1142.29 32226.06 06:11:01 34.98 6.83 28.15 685.89 17371.64 06:12:01 48.01 28.33 19.68 1342.44 4138.24 Average: 102.49 38.14 64.35 2377.36 20494.80 06:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:07:01 5887216 7417936 2280212 27.92 37852 1672456 959332 10.41 579564 1529360 70292 06:08:01 5540912 7359264 2626516 32.16 57576 1925780 1011644 10.98 654288 1770028 135716 06:09:01 4889276 7410732 3278152 40.14 83764 2572032 1119296 12.15 857452 2156256 303584 06:10:01 3565840 7253580 4601588 56.34 108680 3642812 1493940 16.21 1494920 2770328 461456 06:11:01 3810116 7351720 4357312 53.35 123896 3478756 1278028 13.87 1591920 2426220 68340 06:12:01 3711348 7335248 4456080 54.56 125632 3562732 990556 10.75 1611392 2510016 26084 Average: 4567451 7354747 3599977 44.08 89567 2809095 1142133 12.39 1131589 2193701 177579 06:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:07:01 ens3 388.02 201.97 1123.95 64.02 0.00 0.00 0.00 0.00 06:07:01 lo 1.07 1.07 0.09 0.09 0.00 0.00 0.00 0.00 06:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:08:01 ens3 75.06 60.54 805.12 6.53 0.00 0.00 0.00 0.00 06:08:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:09:01 ens3 396.42 311.75 1184.20 29.52 0.00 0.00 0.00 0.00 06:09:01 lo 2.13 2.13 0.23 0.23 0.00 0.00 0.00 0.00 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:10:01 ens3 125.47 129.71 1118.37 10.31 0.00 0.00 0.00 0.00 06:10:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:01 ens3 0.35 0.52 0.08 0.17 0.00 0.00 0.00 0.00 06:11:01 lo 0.23 0.23 0.04 0.04 0.00 0.00 0.00 0.00 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:12:01 ens3 143.76 113.43 1408.34 17.34 0.00 0.00 0.00 0.00 06:12:01 lo 0.73 0.73 0.08 0.08 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 188.18 136.32 940.01 21.31 0.00 0.00 0.00 0.00 Average: lo 0.83 0.83 0.08 0.08 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-7383) 08/03/26 _x86_64_ (4 CPU) 06:05:45 LINUX RESTART (4 CPU) 06:06:01 CPU %user %nice %system %iowait %steal %idle 06:07:01 all 19.83 0.00 2.84 5.18 1.66 70.49 06:07:01 0 18.49 0.00 4.24 2.04 1.40 73.84 06:07:01 1 14.06 0.00 2.07 6.46 1.47 75.95 06:07:01 2 31.33 0.00 2.74 3.38 2.33 60.22 06:07:01 3 15.44 0.00 2.31 8.83 1.44 71.97 06:08:01 all 20.01 0.00 1.19 2.03 1.15 75.63 06:08:01 0 19.19 0.00 1.11 0.13 0.75 78.82 06:08:01 1 43.08 0.00 2.02 1.42 2.10 51.37 06:08:01 2 12.52 0.00 0.95 0.33 1.20 85.00 06:08:01 3 5.10 0.00 0.67 6.22 0.55 87.46 06:09:01 all 17.80 2.09 3.37 9.56 1.26 65.91 06:09:01 0 11.23 0.00 2.95 11.88 1.05 72.89 06:09:01 1 23.02 0.00 3.09 6.65 1.01 66.23 06:09:01 2 19.94 8.31 4.23 10.77 1.91 54.85 06:09:01 3 17.05 0.05 3.22 8.94 1.07 69.67 06:10:01 all 74.41 0.00 9.14 0.76 3.56 12.13 06:10:01 0 76.29 0.00 8.88 0.48 3.28 11.07 06:10:01 1 69.01 0.00 9.29 0.29 4.25 17.16 06:10:01 2 76.83 0.00 8.80 1.77 3.23 9.37 06:10:01 3 75.48 0.00 9.59 0.48 3.48 10.97 06:11:01 all 44.87 0.00 8.11 0.44 3.55 43.03 06:11:01 0 42.41 0.00 8.25 0.83 3.37 45.14 06:11:01 1 39.69 0.00 7.26 0.35 3.68 49.02 06:11:01 2 54.05 0.00 9.25 0.25 3.81 32.64 06:11:01 3 43.27 0.00 7.74 0.32 3.38 45.30 06:12:01 all 24.78 0.00 1.75 1.41 1.27 70.80 06:12:01 0 18.61 0.00 1.40 1.32 0.98 77.69 06:12:01 1 14.49 0.00 1.77 2.08 0.88 80.78 06:12:01 2 46.57 0.00 1.85 0.12 1.94 49.52 06:12:01 3 19.58 0.00 1.93 2.08 1.27 75.14 Average: all 33.59 0.35 4.40 3.23 2.07 56.36 Average: 0 31.03 0.00 4.47 2.78 1.80 59.91 Average: 1 33.83 0.00 4.23 2.88 2.23 56.84 Average: 2 40.19 1.38 4.63 2.77 2.40 48.63 Average: 3 29.32 0.01 4.24 4.48 1.86 60.08