Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-4c-4g-3153 (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-ucxOfnUyBGHQ/agent.2128
SSH_AGENT_PID=2130
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script@tmp/private_key_6275051669511703664.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 b5e51953925e00d7263ad908e92409bc7fc92f22 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b5e51953925e00d7263ad908e92409bc7fc92f22 # timeout=10
Commit message: "Update links to atlassian"
 > git rev-list --no-walk b5e51953925e00d7263ad908e92409bc7fc92f22 # 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/jenkins8308657816806241586.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-CMOV
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-CMOV/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-CMOV/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.16
botocore==1.37.16
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.7
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
[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/jenkins17808580476382888955.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/jenkins6503984043386883619.sh
--> prescan-sme-capifcore-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]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [102 kB]
Get:4 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [21.5 kB]
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2717 kB]
Hit:7 http://apt.puppetlabs.com xenial InRelease
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB]
Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [102 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [468 kB]
Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1303 kB]
Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B]
Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3044 kB]
Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [554 kB]
Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB]
Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [187 kB]
Get:24 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1914 kB]
Get:25 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [421 kB]
Get:26 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB]
Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6088 B]
Get:28 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB]
Get:29 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [14.6 kB]
Get:30 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB]
Get:31 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [8668 B]
Fetched 28.0 MB in 5s (5704 kB/s)
Reading package lists...
+ 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/davecgh/go-spew v1.1.1
go: downloading github.com/stretchr/objx v0.4.0
go: downloading github.com/pmezard/go-difflib v1.0.0
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	1.626s	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.611s	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.299s	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.035s	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.335s	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.471s	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.011s	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.512s	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.003s	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	0.908s	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-3153
[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=747ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=227ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=543ms
INFO: Found an active CI vendor: 'Jenkins'
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=277ms
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 branches
INFO: Load project branches (done) | time=239ms
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=167ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=179ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=2ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=349ms
INFO: Load active rules
INFO: Load active rules (done) | time=9126ms
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 56 preprocessed files
INFO: 66 files ignored because of inclusion/exclusion patterns
INFO: 3 files ignored because of scm ignore settings
INFO: Loading plugins for detected languages
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=161ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=293ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Included sources: **/*.go
INFO:   Excluded sources: **/build-wrapper-dump.json, **/*_test.go
INFO: 56 files indexed
INFO: Quality profile for go: Sonar way
INFO: ------------- Run sensors on module nonrtric-plt-sme-capifcore
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=185ms
INFO: Sensor cache enabled
INFO: Load sensor cache
INFO: Load sensor cache (345 KB) | time=2548ms
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=9ms
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=46ms
INFO: Sensor Code Quality and Security for Go [goenterprise]
INFO: 56 source files to be analyzed
INFO: 56/56 source files have been analyzed
INFO: Sensor Code Quality and Security for Go [goenterprise] (done) | time=2006ms
INFO: Sensor Go Cover sensor for Go coverage [goenterprise]
INFO: Load coverage report from '/w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script/capifcore/coverage.txt'
INFO: Sensor Go Cover sensor for Go coverage [goenterprise] (done) | time=47ms
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=65ms
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: 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: 56 source files to be analyzed
INFO: 56/56 source files have been analyzed
INFO: Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=2214ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=6ms
INFO: CPD Executor 1 file had no CPD blocks
INFO: CPD Executor Calculating CPD for 55 files
INFO: CPD Executor CPD calculation finished (done) | time=73ms
INFO: Analysis report generated in 250ms, dir size=993 KB
INFO: Analysis report compressed in 89ms, zip size=359 KB
INFO: Analysis report uploaded in 1481ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_nonrtric-plt-sme-capifcore
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=AZW3UlJVkEMm4elWzKr5
INFO: Sensor cache published successfully
INFO: Analysis total time: 23.424 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 30.597s
INFO: Final Memory: 20M/77M
INFO: ------------------------------------------------------------------------
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 2130 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins5185148819104653754.sh
---> sysstat.sh
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins4062096909859694047.sh
---> package-listing.sh
++ tr '[:upper:]' '[:lower:]'
++ facter osfamily
+ 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/jenkins6987677431771982354.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-CMOV from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-CMOV/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins18245542877477939505.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-sme-capifcore-sonar-prescan-script@tmp/config10557968266902427262tmp
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/jenkins4471945243624422296.sh
---> create-netrc.sh
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins9414405326769361607.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-CMOV from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-CMOV/bin to PATH
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins10928409274837841594.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash /tmp/jenkins17247917871963854426.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-CMOV 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-CMOV/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v2-highcpu-4
INFO: Archiving Costs
[nonrtric-plt-sme-capifcore-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins11662471408756534321.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-CMOV from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-CMOV/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/385
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-4c-4g-3153 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  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         463         495           0        2985        3197
Swap:          1023           0        1023


---> ip addr:
1: lo: <LOOPBACK,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:9f:d1:2f brd ff:ff:ff:ff:ff:ff
    inet 10.32.7.216/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86110sec preferred_lft 86110sec
    inet6 fe80::f816:3eff:fe9f:d12f/64 scope link 
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:88:f3:98:99 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-3153) 	03/21/25 	_x86_64_	(4 CPU)

06:05:40     LINUX RESTART	(4 CPU)

06:06:01          tps      rtps      wtps   bread/s   bwrtn/s
06:07:01       181.22     69.46    111.76   5643.33  42960.46
06:08:01       303.08    123.38    179.70   6543.71  39625.26
06:09:01        90.54     37.55     52.99   2098.42  28745.23
06:10:01        78.90     59.77     19.13   3423.83   6808.87
Average:       163.43     72.54     90.89   4427.13  29534.89

06:06:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
06:07:01      1653704   3350216   2384948     59.05     52840   1798464    894360     17.58    552280   1651104    153168
06:08:01       202664   3171384   3835988     94.98    102968   2945808   1441552     28.34   1143552   2396560    257060
06:09:01       792084   3335184   3246568     80.39    117044   2534040   1127076     22.16   1186380   1791248    108180
06:10:01       552100   3288508   3486552     86.33    119792   2723880    912892     17.94   1288684   1931024     17876
Average:       800138   3286323   3238514     80.19     98161   2500548   1093970     21.50   1042724   1942484    134071

06:06:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
06:07:01         ens3    390.60    235.09   1528.90     65.64      0.00      0.00      0.00      0.00
06:07:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
06:07:01           lo      1.33      1.33      0.12      0.12      0.00      0.00      0.00      0.00
06:08:01         ens3    650.27    506.37   2416.57     48.36      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           lo      2.47      2.47      0.25      0.25      0.00      0.00      0.00      0.00
06:09:01         ens3      4.70      1.55      4.75      0.21      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           lo      0.23      0.23      0.04      0.04      0.00      0.00      0.00      0.00
06:10:01         ens3    219.35    143.31   1191.15     34.56      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           lo      0.80      0.80      0.08      0.08      0.00      0.00      0.00      0.00
Average:         ens3    316.20    221.56   1285.23     37.19      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.21      1.21      0.12      0.12      0.00      0.00      0.00      0.00


---> sar -P ALL:
Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-3153) 	03/21/25 	_x86_64_	(4 CPU)

06:05:40     LINUX RESTART	(4 CPU)

06:06:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
06:07:01        all     19.99      0.00      2.44      5.60      0.06     71.92
06:07:01          0     28.53      0.00      2.32      6.09      0.07     62.99
06:07:01          1     17.41      0.00      2.99      2.01      0.05     77.54
06:07:01          2     17.27      0.00      2.42      9.26      0.07     70.99
06:07:01          3     16.72      0.00      2.04      5.06      0.05     76.13
06:08:01        all     20.92      0.82      3.90     10.53      0.08     63.76
06:08:01          0     19.93      0.00      4.03     11.30      0.07     64.68
06:08:01          1     14.05      0.02      2.81      8.13      0.05     74.95
06:08:01          2     33.12      3.27      4.99      7.60      0.12     50.91
06:08:01          3     16.72      0.00      3.81     15.11      0.07     64.30
06:09:01        all     67.39      0.00      8.19      0.56      0.10     23.76
06:09:01          0     67.73      0.00      7.93      0.62      0.10     23.61
06:09:01          1     68.86      0.00      8.37      0.64      0.10     22.03
06:09:01          2     66.45      0.00      8.37      0.52      0.12     24.54
06:09:01          3     66.53      0.00      8.08      0.44      0.10     24.86
06:10:01        all     22.61      0.00      1.76      1.55      0.06     74.02
06:10:01          0     18.26      0.00      1.51      2.85      0.07     77.32
06:10:01          1     35.20      0.00      2.29      2.29      0.07     60.16
06:10:01          2     21.68      0.00      1.97      0.60      0.07     75.68
06:10:01          3     15.31      0.00      1.24      0.44      0.05     82.97
Average:        all     32.66      0.21      4.06      4.56      0.08     58.44
Average:          0     33.53      0.00      3.94      5.21      0.08     57.25
Average:          1     33.77      0.00      4.10      3.28      0.07     58.78
Average:          2     34.58      0.82      4.43      4.49      0.09     55.60
Average:          3     28.76      0.00      3.78      5.26      0.07     62.13