Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-4c-4g-496 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-3lsyvM7N0Ytd/agent.2126
SSH_AGENT_PID=2128
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script@tmp/private_key_4541637811631939380.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/ranpm
 > git init /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script # timeout=10
Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/ranpm
 > 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/ranpm +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/ranpm # 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 9227354e6d2c468d3c5055b8249fc03101633920 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9227354e6d2c468d3c5055b8249fc03101633920 # timeout=10
Commit message: "Migrate java base image to amazoncorretto:17.0.17"
 > git rev-list --no-walk 9227354e6d2c468d3c5055b8249fc03101633920 # 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-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins2641752722215888892.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-VDim
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-VDim/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.1.1 from /tmp/venv-VDim/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==26.1.0
autopage==0.6.0
backports.strenum==1.3.1
beautifulsoup4==4.14.3
boto3==1.43.6
botocore==1.43.6
bs4==0.0.2
certifi==2026.4.22
cffi==2.0.0
cfgv==3.5.0
chardet==7.4.3
charset-normalizer==3.4.7
click==8.3.3
cliff==4.13.3
cmd2==3.5.1
cryptography==3.3.2
debtcollector==3.1.0
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.3.1
distlib==0.4.0
dnspython==2.8.0
docker==7.1.0
dogpile.cache==1.5.0
durationpy==0.10
email-validator==2.3.0
filelock==3.29.0
future==1.0.0
gitdb==4.0.12
GitPython==3.1.50
httplib2==0.30.2
identify==2.6.19
idna==3.13
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.13.1
kubernetes==35.0.0
lftools==0.37.22
lxml==6.1.0
markdown-it-py==4.2.0
MarkupSafe==3.0.3
mdurl==0.1.2
msgpack==1.1.2
multi_key_dict==2.0.3
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.12.0
os-service-types==1.8.2
osc-lib==4.6.0
oslo.config==10.3.0
oslo.context==6.3.0
oslo.i18n==6.7.2
oslo.log==8.1.0
oslo.serialization==5.9.1
oslo.utils==10.0.1
packaging==26.2
pbr==7.0.3
platformdirs==4.9.6
prettytable==3.17.0
psutil==7.2.2
pyasn1==0.6.3
pyasn1_modules==0.4.2
pycparser==3.0
pygerrit2==2.0.15
PyGithub==2.9.1
Pygments==2.20.0
PyJWT==2.12.1
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.3.0
python-heatclient==5.1.0
python-jenkins==1.8.3
python-keystoneclient==5.8.0
python-magnumclient==4.10.0
python-openstackclient==9.0.0
python-swiftclient==4.10.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.33.1
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.17.0
simplejson==4.1.1
six==1.17.0
smmap==5.0.3
soupsieve==2.8.3
stevedore==5.7.0
tabulate==0.10.0
toml==0.10.2
tomlkit==0.14.0
tqdm==4.67.3
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==21.3.1
wcwidth==0.7.0
websocket-client==1.9.0
wrapt==2.1.2
xdg==6.0.0
xmltodict==1.0.4
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-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/sh /tmp/jenkins224838632062536822.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-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/sh /tmp/jenkins4674580759398660445.sh
--> prescan-pm-file-converter-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]
Get:4 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [21.5 kB]
Hit:5 http://apt.puppetlabs.com xenial InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2762 kB]
Err:5 http://apt.puppetlabs.com xenial InRelease
  The following signatures were invalid: EXPKEYSIG 4528B6CD9E61EF26 Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [467 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1338 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1319 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [307 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB]
Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB]
Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [102 kB]
Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B]
Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 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 [3093 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 7s (4013 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) <release@puppet.com>
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) <release@puppet.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ bash pm-file-converter/build-pm-file-converter-ubuntu.sh
+ echo '--> build-pm-file-converter-ubuntu.sh'
--> build-pm-file-converter-ubuntu.sh
++ go env GOPATH
++ go env GOPATH
+ 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:/home/jenkins/go
+ 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:/home/jenkins/go
+ export GO111MODULE=on
+ GO111MODULE=on
+ go version
go version go1.19 linux/amd64
+ cd pm-file-converter/
+ go get github.com/ory/go-acc
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.67.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading golang.org/x/sys v0.12.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/cespare/xxhash v1.1.0
go: added github.com/cespare/xxhash v1.1.0
go: added github.com/dgraph-io/ristretto v0.0.2
go: added github.com/fsnotify/fsnotify v1.4.9
go: added github.com/hashicorp/hcl v1.0.0
go: added github.com/inconshreveable/mousetrap v1.0.0
go: added github.com/magiconair/properties v1.8.1
go: added github.com/mitchellh/mapstructure v1.3.2
go: added github.com/ory/go-acc v0.2.8
go: added github.com/ory/viper v1.7.5
go: added github.com/pborman/uuid v1.2.0
go: added github.com/pelletier/go-toml v1.8.0
go: added github.com/spf13/afero v1.2.2
go: added github.com/spf13/cast v1.3.1
go: added github.com/spf13/cobra v1.0.0
go: added github.com/spf13/jwalterweatherman v1.1.0
go: added github.com/spf13/pflag v1.0.5
go: added github.com/subosito/gotenv v1.2.0
go: upgraded gopkg.in/yaml.v2 v2.2.8 => v2.3.0
+ go install github.com/ory/go-acc
+ 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/davecgh/go-spew v1.1.1
go: downloading github.com/stretchr/objx v0.1.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downgraded github.com/stretchr/objx v0.5.0 => v0.1.1
go: downgraded github.com/stretchr/testify v1.8.4 => v1.7.1
+ go-acc ./... --ignore gentools,mocks,common,accesscontrolpolicyapi,aefsecurityapi,auditingapi,discoverserviceapi,eventsapi,invokermanagementapi,loggingapi,securityapi,publishserviceapi,routinginfoapi
?   	main	[no test files]
?   	main/components/kafkacollector	[no test files]
ok  	main/components/miniocollector	1.067s	coverage: 15.5% of statements in main, main/components/kafkacollector, main/components/miniocollector, main/components/xmltransform
ok  	main/components/xmltransform	0.046s	coverage: 73.0% of statements in main, main/components/kafkacollector, main/components/miniocollector, main/components/xmltransform
+ sed -i -e 's/oransc\.org\/nonrtric\/ranpm/pm-file-converter/' coverage.txt
+ echo '--> build-pm-file-converter-ubuntu.sh ends'
--> build-pm-file-converter-ubuntu.sh ends
+ echo --> prescan-pm-file-converter-ubuntu.sh ends
--> prescan-pm-file-converter-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-496
[nonrtric-plt-ranpm-pm-file-converter-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-ranpm-pm-file-converter -Dsonar.projectName=nonrtric-plt-ranpm-pm-file-converter -Dsonar.language=go -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.projectBaseDir=pm-file-converter -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=619ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=249ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=1359ms
INFO: Loaded core extensions: architecture, a3s, sca
INFO: Process project properties
INFO: Project key: o-ran-sc_nonrtric-plt-ranpm-pm-file-converter
INFO: Base dir: /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/pm-file-converter
INFO: Working dir: /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/pm-file-converter/.scannerwork
INFO: Load project settings for component key: 'o-ran-sc_nonrtric-plt-ranpm-pm-file-converter'
INFO: Load project settings for component key: 'o-ran-sc_nonrtric-plt-ranpm-pm-file-converter' (done) | time=613ms
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: Check ALM binding of project 'o-ran-sc_nonrtric-plt-ranpm-pm-file-converter'
INFO: Detected project binding: NOT_BOUND
INFO: Check ALM binding of project 'o-ran-sc_nonrtric-plt-ranpm-pm-file-converter' (done) | time=301ms
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=658ms
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=874ms
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=1657ms
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 6 preprocessed files (done) | time=101ms
INFO: 32 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=2665ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=292ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Included sources: **/*.go
INFO:   Excluded sources: **/*_test.go, **/build-wrapper-dump.json
INFO: 6 files indexed (done) | time=12ms
INFO: Quality profile for go: Sonar way
INFO: ------------- Run sensors on module nonrtric-plt-ranpm-pm-file-converter
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=492ms
INFO: Sensor cache enabled
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Load sensor cache
INFO: Load sensor cache (43 KB) | time=1171ms
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: Sensor Code Quality and Security for Go [go]
INFO: The properties "sonar.tests" and "sonar.test.inclusions" are not set. To improve the analysis accuracy, we categorize a file as a test file when the filename has suffix: "_test.go"
  It is highly recommended to set those properties, e.g.: for the Go projects it is usually: "sonar.tests=." and "sonar.test.inclusions=**/*_test.go"
INFO: 6 folders (6 files) to be analyzed
INFO: 6/6 folders (6 files) have been analyzed
INFO: Sensor Code Quality and Security for Go [go] (done) | time=1463ms
INFO: Sensor Go Cover sensor for Go coverage [go]
INFO: Load coverage report from '/w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/pm-file-converter/coverage.txt'
INFO: Sensor Go Cover sensor for Go coverage [go] (done) | time=20ms
INFO: Sensor GoModuleSecuritySensor [securitygofrontend]
INFO: Sensor GoModuleSecuritySensor [securitygofrontend] (done) | time=0ms
INFO: Sensor IaC hadolint report Sensor [iac]
INFO: Sensor IaC hadolint report Sensor [iac] (done) | time=2ms
INFO: Sensor Java Config Sensor [iac]
INFO: There are no files to be analyzed for the Java language
INFO: Sensor Java Config Sensor [iac] (done) | time=7ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: There are no files to be analyzed for the Docker language
INFO: Sensor IaC Docker Sensor [iac] (done) | time=1ms
INFO: Sensor IaC GitHub Actions Sensor [iac]
INFO: There are no files to be analyzed for the GitHub Actions language
INFO: Sensor IaC GitHub Actions Sensor [iac] (done) | time=0ms
INFO: Sensor IaC actionlint report Sensor [iac]
INFO: Sensor IaC actionlint report Sensor [iac] (done) | time=0ms
INFO: Sensor IaC Shell Sensor [iac]
INFO: There are no files to be analyzed for the Shell language
INFO: Sensor IaC Shell Sensor [iac] (done) | time=0ms
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", "tests", "mock" or "mocks"
  * Any directory in the file path has a name ending in "test" or "tests"

INFO: Start fetching files for the text and secrets analysis
INFO: Using Git CLI to retrieve dirty files
INFO: Retrieving language associated files and files included via "sonar.text.inclusions" that are tracked by git
INFO: Starting the text and secrets analysis
INFO: 6 source files to be analyzed for the text and secrets analysis
INFO: 6/6 source files have been analyzed for the text and secrets analysis
INFO: Start fetching files for the binary file analysis
INFO: There are no files to be analyzed for the binary file analysis
INFO: Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=887ms
INFO: Sensor GoSecuritySensor [security]
INFO: 9 taint analysis rules enabled.
INFO: Analyzing 25 UCFGs to detect vulnerabilities.
INFO: No entry points found.
INFO: go security sensor: Begin: 2026-05-09T22:36:23.164010504Z, End: 2026-05-09T22:36:23.806648594Z, Duration: 00:00:00.642
  Load type hierarchy and UCFGs: Begin: 2026-05-09T22:36:23.173849811Z, End: 2026-05-09T22:36:23.352406600Z, Duration: 00:00:00.178
    Load type hierarchy: Begin: 2026-05-09T22:36:23.173873841Z, End: 2026-05-09T22:36:23.180918779Z, Duration: 00:00:00.007
    Load UCFGs: Begin: 2026-05-09T22:36:23.181282021Z, End: 2026-05-09T22:36:23.352313320Z, Duration: 00:00:00.171
  Check cache: Begin: 2026-05-09T22:36:23.352767594Z, End: 2026-05-09T22:36:23.353507048Z, Duration: 00:00:00.000
    Load cache: Begin: 2026-05-09T22:36:23.353192006Z, End: 2026-05-09T22:36:23.353214346Z, Duration: 00:00:00.000
  Create runtime call graph: Begin: 2026-05-09T22:36:23.353564899Z, End: 2026-05-09T22:36:23.396336028Z, Duration: 00:00:00.042
    Variable Type Analysis #1: Begin: 2026-05-09T22:36:23.354376314Z, End: 2026-05-09T22:36:23.378029845Z, Duration: 00:00:00.023
      Create runtime type propagation graph: Begin: 2026-05-09T22:36:23.355191189Z, End: 2026-05-09T22:36:23.368030306Z, Duration: 00:00:00.012
      Run SCC (Tarjan) on 607 nodes: Begin: 2026-05-09T22:36:23.368442459Z, End: 2026-05-09T22:36:23.372035933Z, Duration: 00:00:00.003
      Propagate runtime types to strongly connected components: Begin: 2026-05-09T22:36:23.372165494Z, End: 2026-05-09T22:36:23.377893703Z, Duration: 00:00:00.005
    Variable Type Analysis #2: Begin: 2026-05-09T22:36:23.381582498Z, End: 2026-05-09T22:36:23.395186641Z, Duration: 00:00:00.013
      Create runtime type propagation graph: Begin: 2026-05-09T22:36:23.381597288Z, End: 2026-05-09T22:36:23.388946958Z, Duration: 00:00:00.007
      Run SCC (Tarjan) on 607 nodes: Begin: 2026-05-09T22:36:23.389104719Z, End: 2026-05-09T22:36:23.389953355Z, Duration: 00:00:00.000
      Propagate runtime types to strongly connected components: Begin: 2026-05-09T22:36:23.390030376Z, End: 2026-05-09T22:36:23.395120970Z, Duration: 00:00:00.005
  Load config: Begin: 2026-05-09T22:36:23.396404239Z, End: 2026-05-09T22:36:23.775089082Z, Duration: 00:00:00.378
  Compute entry points: Begin: 2026-05-09T22:36:23.775294505Z, End: 2026-05-09T22:36:23.800009718Z, Duration: 00:00:00.024
INFO: go security sensor peak memory: 170 MB
INFO: Sensor GoSecuritySensor [security] (done) | time=651ms
INFO: ------------- Run sensors on project
INFO: Sensor GoProjectSensor [go]
INFO: Sensor GoProjectSensor [go] (done) | time=0ms
INFO: Sensor Deterministic Rule Engine for Go [dre]
INFO: Extracting bridge from /bridge/bridge-linux-x64.xz
INFO: Bridge extracted to /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/pm-file-converter/.scannerwork/.sonartmp/bridge/bridge
INFO: Sensor Deterministic Rule Engine for Go [dre] (done) | time=564ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=4ms
INFO: ------------- Gather SCA dependencies on project
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Dependency analysis skipped
INFO: CPD Executor Calculating CPD for 6 files
INFO: CPD Executor CPD calculation finished (done) | time=31ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 6 source files to be analyzed
INFO: SCM Publisher 6/6 source files have been analyzed (done) | time=418ms
INFO: SCM revision ID '9227354e6d2c468d3c5055b8249fc03101633920'
INFO: Analysis report generated in 566ms, dir size=412 KB
INFO: Analysis report compressed in 39ms, zip size=94 KB
INFO: Analysis report uploaded in 318ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_nonrtric-plt-ranpm-pm-file-converter
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=AZ4O4oOUT_26BOH8J2WN
INFO: ------------- Upload SCA dependency files
INFO: Sensor cache published successfully
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Analysis total time: 19.898 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 27.980s
INFO: Final Memory: 24M/87M
INFO: ------------------------------------------------------------------------
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 2128 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins12584518083303396268.sh
---> sysstat.sh
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins6472390967773398237.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=debian
+ workspace=/w/workspace/nonrtric-plt-ranpm-pm-file-converter-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-ranpm-pm-file-converter-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-ranpm-pm-file-converter-sonar-prescan-script ']'
+ mkdir -p /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/archives/
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins9297261438070588111.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VDim 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-VDim/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins9484538018015463740.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script@tmp/config15998160252244341716tmp
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-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins12498914834732554125.sh
---> create-netrc.sh
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins879527347070197615.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VDim 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-VDim/bin to PATH
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins18204426833464152433.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash /tmp/jenkins8453723312289993112.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VDim 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-VDim/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-starter-4
INFO: Archiving Costs
[nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins5737708049870569322.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VDim 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-VDim/bin to PATH
INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/nonrtric-plt-ranpm-pm-file-converter-sonar-prescan-script/1006
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-4c-4g-496 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            3.9G     0  3.9G   0% /dev
tmpfs           798M  700K  797M   1% /run
/dev/vda1        20G  9.6G  9.7G  50% /
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:           7975         517        4432           0        3026        7164
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:16:ba:eb brd ff:ff:ff:ff:ff:ff
    inet 10.32.7.132/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86096sec preferred_lft 86096sec
    inet6 fe80::f816:3eff:fe16:baeb/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:11:11:99:bf 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-496) 	05/09/26 	_x86_64_	(4 CPU)

22:32:47     LINUX RESTART	(4 CPU)

22:33:01          tps      rtps      wtps   bread/s   bwrtn/s
22:34:01       154.69     69.11     85.59   5606.13  40314.90
22:35:01        58.46      0.17     58.29     24.40   9073.29
22:36:01       211.06    150.37     60.69   7652.72  22306.95
22:37:01        68.69     12.06     56.62    792.27  14205.90
Average:       123.23     57.93     65.30   3518.88  21475.26

22:33:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
22:34:01      5873296   7408304   2294124     28.09     38312   1676180    968588     10.51    588584   1534192     59752
22:35:01      5631980   7431696   2535440     31.04     59084   1903932    949836     10.31    569860   1760824    121448
22:36:01      4760656   7361920   3406764     41.71     74176   2671356   1126956     12.23   1091416   2069156    243412
22:37:01      4552252   7344860   3615168     44.26     76684   2858696    992776     10.77   1169128   2197316     25836
Average:      5204546   7386695   2962874     36.28     62064   2277541   1009539     10.95    854747   1890372    112612

22:33:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
22:34:01         ens3    432.36    237.14   1157.86     66.52      0.00      0.00      0.00      0.00
22:34:01           lo      1.07      1.07      0.09      0.09      0.00      0.00      0.00      0.00
22:34:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
22:35:01         ens3     67.71     56.16    687.44      6.75      0.00      0.00      0.00      0.00
22:35:01           lo      0.47      0.47      0.04      0.04      0.00      0.00      0.00      0.00
22:35:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
22:36:01         ens3    282.30    242.59   1794.14     84.08      0.00      0.00      0.00      0.00
22:36:01           lo      2.67      2.67      0.27      0.27      0.00      0.00      0.00      0.00
22:36:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
22:37:01         ens3    245.41    189.94   2610.67     22.02      0.00      0.00      0.00      0.00
22:37:01           lo      0.67      0.67      0.07      0.07      0.00      0.00      0.00      0.00
22:37:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
Average:         ens3    256.94    181.46   1562.53     44.84      0.00      0.00      0.00      0.00
Average:           lo      1.22      1.22      0.12      0.12      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-496) 	05/09/26 	_x86_64_	(4 CPU)

22:32:47     LINUX RESTART	(4 CPU)

22:33:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
22:34:01        all     18.09      0.00      2.82      4.67      1.69     72.71
22:34:01          0     42.34      0.00      3.27      3.67      2.29     48.42
22:34:01          1      6.16      0.00      1.21      4.40      1.63     86.59
22:34:01          2     17.50      0.00      5.29      6.07      1.71     69.44
22:34:01          3      6.43      0.00      1.52      4.53      1.14     86.39
22:35:01        all     19.73      0.00      1.32      1.72      1.17     76.07
22:35:01          0     35.32      0.00      1.63      1.28      1.50     60.27
22:35:01          1     12.41      0.00      0.93      2.85      1.23     82.58
22:35:01          2     30.33      0.00      2.57      2.54      1.74     62.81
22:35:01          3      0.85      0.00      0.10      0.20      0.20     98.65
22:36:01        all     28.23      1.96      5.75      7.87      3.48     52.72
22:36:01          0     27.32      0.00      5.69      7.05      3.34     56.59
22:36:01          1     33.95      5.49      6.70      9.46      3.76     40.64
22:36:01          2     26.13      2.34      5.50      6.91      3.42     55.70
22:36:01          3     25.56      0.00      5.11      8.03      3.40     57.90
22:37:01        all     25.82      0.00      1.57      1.97      2.46     68.18
22:37:01          0     29.49      0.00      1.53      1.75      2.78     64.45
22:37:01          1     41.68      0.00      1.98      1.83      2.91     51.61
22:37:01          2     16.65      0.00      1.10      1.40      1.88     78.97
22:37:01          3     15.43      0.00      1.70      2.88      2.28     77.72
Average:        all     22.97      0.49      2.86      4.06      2.20     67.42
Average:          0     33.61      0.00      3.03      3.44      2.48     57.44
Average:          1     23.55      1.37      2.70      4.63      2.38     65.36
Average:          2     22.66      0.59      3.61      4.23      2.19     66.72
Average:          3     12.09      0.00      2.11      3.91      1.76     80.14


