Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-4c-4g-356 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-AEas0Y7nKnid/agent.2110
SSH_AGENT_PID=2111
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script@tmp/private_key_11279784678311600758.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/ric-app/qp-aimlfw
 > git init /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script # timeout=10
Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp-aimlfw
 > 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/ric-app/qp-aimlfw +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp-aimlfw # 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 0231406ea0a153c94382e00927557a88dc81c48a (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0231406ea0a153c94382e00927557a88dc81c48a # timeout=10
Commit message: "- Update docs - Formatting docs - Added RMR msg `TS_QOE_PRED_REQ` to handle msg from QP driver - Add license header to _test.go - Added test command to get coverage report"
 > git rev-list --no-walk 0231406ea0a153c94382e00927557a88dc81c48a # 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
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins1649787178814463053.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-M1Pj
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-M1Pj/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.0.1 from /tmp/venv-M1Pj/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.42.88
botocore==1.42.88
bs4==0.0.2
certifi==2026.2.25
cffi==2.0.0
cfgv==3.5.0
chardet==7.4.1
charset-normalizer==3.4.7
click==8.3.2
cliff==4.13.3
cmd2==3.4.0
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.25.2
future==1.0.0
gitdb==4.0.12
GitPython==3.1.46
httplib2==0.30.2
identify==2.6.18
idna==3.11
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.0.3
markdown-it-py==4.0.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.10.0
os-service-types==1.8.2
osc-lib==4.4.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.0
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.0
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.2.2
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
requestsexceptions==1.4.0
rfc3986==2.0.0
rich==14.3.4
rich-argparse==1.7.2
rpds-py==0.30.0
rsa==4.9.1
ruamel.yaml==0.19.1
ruamel.yaml.clib==0.2.15
s3transfer==0.16.0
simplejson==3.20.2
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.2.1
wcwidth==0.6.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.
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/sh /tmp/jenkins9741948211524132503.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.
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/sh /tmp/jenkins7272528973344192478.sh
--> prescan-ric-app-qp-aimlfw-ubuntu.sh
Docker version 24.0.2, build cb74dfc
Unit Test
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.1s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 2.51kB done
#2 DONE 0.1s
ERROR: failed to solve: target stage qpaimlfwbuild could not be found
Unable to find image 'tmpimg:latest' locally
Error response from daemon: pull access denied for tmpimg, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source
Container name cannot be empty
--> prescan-ric-app-qp-aimlfw.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-356
[ric-app-qp-aimlfw-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_ric-app-qp-aimlfw -Dsonar.projectName=ric-app-qp-aimlfw -Dsonar.language=go -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.go.coverage.reportPaths=**/cover.out -Dsonar.organization=o-ran-sc -Dsonar.sources=. -Dsonar.inclusions=**/*.go -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=**/*_test.go -Dsonar.projectBaseDir=/w/workspace/ric-app-qp-aimlfw-sonar-prescan-script
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=611ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=253ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=1404ms
INFO: Loaded core extensions: architecture, a3s, sca
INFO: Process project properties
INFO: Project key: o-ran-sc_ric-app-qp-aimlfw
INFO: Base dir: /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script
INFO: Working dir: /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/.scannerwork
INFO: Found an active CI vendor: 'Jenkins'
INFO: Load project branches
INFO: Load project branches (done) | time=319ms
INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp-aimlfw'
INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp-aimlfw' (done) | time=448ms
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_ric-app-qp-aimlfw'
INFO: Detected project binding: NOT_BOUND
INFO: Check ALM binding of project 'o-ran-sc_ric-app-qp-aimlfw' (done) | time=484ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=237ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=2ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=477ms
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Create analysis
INFO: Create analysis (done) | time=318ms
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=832ms
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 8 preprocessed files (done) | time=87ms
INFO: 141 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=2303ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=303ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Included sources: **/*.go
INFO:   Excluded sources: **/*_test.go, **/build-wrapper-dump.json
INFO: 8 files indexed (done) | time=8ms
INFO: Quality profile for go: Sonar way
INFO: ------------- Run sensors on module ric-app-qp-aimlfw
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=179ms
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 (37 KB) | time=1199ms
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 (8 files) to be analyzed
INFO: 6/6 folders (8 files) have been analyzed
INFO: Sensor Code Quality and Security for Go [go] (done) | time=1257ms
INFO: Sensor Go Cover sensor for Go coverage [go]
WARN: Coverage report can't be loaded, file(s) not found for pattern: '**/cover.out', ignoring this file.
INFO: Sensor Go Cover sensor for Go coverage [go] (done) | time=8ms
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=0ms
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 Deterministic Rule Engine for Go [dre]
INFO: Extracting bridge from /bridge/bridge-linux-x64.xz
INFO: Bridge extracted to /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/.scannerwork/.sonartmp/bridge/bridge
INFO: Sensor Deterministic Rule Engine for Go [dre] (done) | time=543ms
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: 8 source files to be analyzed for the text and secrets analysis
INFO: 8/8 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=755ms
INFO: Sensor GoSecuritySensor [security]
INFO: 9 taint analysis rules enabled.
INFO: Analyzing 81 UCFGs to detect vulnerabilities.
INFO: No entry points found.
INFO: go security sensor: Begin: 2026-04-12T00:28:20.961541779Z, End: 2026-04-12T00:28:21.562509372Z, Duration: 00:00:00.600
  Load type hierarchy and UCFGs: Begin: 2026-04-12T00:28:20.967399544Z, End: 2026-04-12T00:28:21.135839948Z, Duration: 00:00:00.168
    Load type hierarchy: Begin: 2026-04-12T00:28:20.967423605Z, End: 2026-04-12T00:28:20.970290256Z, Duration: 00:00:00.002
    Load UCFGs: Begin: 2026-04-12T00:28:20.970581182Z, End: 2026-04-12T00:28:21.135726266Z, Duration: 00:00:00.165
  Check cache: Begin: 2026-04-12T00:28:21.136151344Z, End: 2026-04-12T00:28:21.136843899Z, Duration: 00:00:00.000
    Load cache: Begin: 2026-04-12T00:28:21.136550723Z, End: 2026-04-12T00:28:21.136572583Z, Duration: 00:00:00.000
  Create runtime call graph: Begin: 2026-04-12T00:28:21.136892310Z, End: 2026-04-12T00:28:21.182455122Z, Duration: 00:00:00.045
    Variable Type Analysis #1: Begin: 2026-04-12T00:28:21.137555024Z, End: 2026-04-12T00:28:21.166698616Z, Duration: 00:00:00.029
      Create runtime type propagation graph: Begin: 2026-04-12T00:28:21.138332791Z, End: 2026-04-12T00:28:21.157803507Z, Duration: 00:00:00.019
      Run SCC (Tarjan) on 701 nodes: Begin: 2026-04-12T00:28:21.158267406Z, End: 2026-04-12T00:28:21.161726690Z, Duration: 00:00:00.003
      Propagate runtime types to strongly connected components: Begin: 2026-04-12T00:28:21.161842493Z, End: 2026-04-12T00:28:21.166612275Z, Duration: 00:00:00.004
    Variable Type Analysis #2: Begin: 2026-04-12T00:28:21.168410672Z, End: 2026-04-12T00:28:21.181139814Z, Duration: 00:00:00.012
      Create runtime type propagation graph: Begin: 2026-04-12T00:28:21.168419792Z, End: 2026-04-12T00:28:21.178205742Z, Duration: 00:00:00.009
      Run SCC (Tarjan) on 701 nodes: Begin: 2026-04-12T00:28:21.178361025Z, End: 2026-04-12T00:28:21.179399927Z, Duration: 00:00:00.001
      Propagate runtime types to strongly connected components: Begin: 2026-04-12T00:28:21.179443788Z, End: 2026-04-12T00:28:21.181100804Z, Duration: 00:00:00.001
  Load config: Begin: 2026-04-12T00:28:21.182514924Z, End: 2026-04-12T00:28:21.529567879Z, Duration: 00:00:00.347
  Compute entry points: Begin: 2026-04-12T00:28:21.529773083Z, End: 2026-04-12T00:28:21.551056427Z, Duration: 00:00:00.021
INFO: go security sensor peak memory: 114 MB
INFO: Sensor GoSecuritySensor [security] (done) | time=609ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=14ms
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 8 files
INFO: CPD Executor CPD calculation finished (done) | time=11ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 8 source files to be analyzed
INFO: SCM Publisher 8/8 source files have been analyzed (done) | time=320ms
INFO: SCM revision ID '0231406ea0a153c94382e00927557a88dc81c48a'
INFO: Analysis report generated in 536ms, dir size=384 KB
INFO: Analysis report compressed in 55ms, zip size=85 KB
INFO: Analysis report uploaded in 579ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-app-qp-aimlfw
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=AZ1_FvOoqG90zmwrVrPh
INFO: ------------- Upload SCA dependency files
INFO: Sensor cache published successfully
INFO: Analysis total time: 17.460 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 25.363s
INFO: Final Memory: 23M/87M
INFO: ------------------------------------------------------------------------
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 2111 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins17741316308702933739.sh
---> sysstat.sh
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins6866453383070873626.sh
---> package-listing.sh
++ tr '[:upper:]' '[:lower:]'
++ facter osfamily
+ OS_FAMILY=debian
+ workspace=/w/workspace/ric-app-qp-aimlfw-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/ric-app-qp-aimlfw-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/ric-app-qp-aimlfw-sonar-prescan-script ']'
+ mkdir -p /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/archives/
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins9822649211726525867.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-M1Pj 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-M1Pj/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins16753145403713599959.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-aimlfw-sonar-prescan-script@tmp/config2559863416433816669tmp
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.
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins268008029848567451.sh
---> create-netrc.sh
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins6878307750188688692.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-M1Pj 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-M1Pj/bin to PATH
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins11473606524214203765.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash /tmp/jenkins5089685628144778468.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-M1Pj 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-M1Pj/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-starter-4
INFO: Archiving Costs
[ric-app-qp-aimlfw-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins14092967918248001091.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-qp-aimlfw-sonar-prescan-script/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-M1Pj 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-M1Pj/bin to PATH
INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-aimlfw-sonar-prescan-script/1216
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-4c-4g-356 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  696K  797M   1% /run
/dev/vda1        20G  9.1G   11G  48% /
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         501        5160           0        2313        7198
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:02:a0:ba brd ff:ff:ff:ff:ff:ff
    inet 10.32.6.219/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86157sec preferred_lft 86157sec
    inet6 fe80::f816:3eff:fe02:a0ba/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:08:ce:26:0c 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-356) 	04/12/26 	_x86_64_	(4 CPU)

00:25:48     LINUX RESTART	(4 CPU)

00:26:01          tps      rtps      wtps   bread/s   bwrtn/s
00:27:01       158.21     69.14     89.07   5598.00  39964.96
00:28:01       103.03     40.93     62.11   3789.37   8771.20
00:29:01        71.80     11.81     59.99    783.07   9684.39
Average:       111.01     40.63     70.39   3390.15  19473.52

00:26:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
00:27:01      5878280   7399320   2289140     28.03     38324   1662884   1013824     11.00    596560   1521636     61728
00:28:01      5488436   7392724   2678984     32.80     59832   2008296   1163768     12.63    664568   1807064    118264
00:29:01      5266256   7348532   2901164     35.52     62600   2181612   1042988     11.32    770720   1921824     24576
Average:      5544324   7380192   2623096     32.12     53585   1950931   1073527     11.65    677283   1750175     68189

00:26:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
00:27:01           lo      1.07      1.07      0.09      0.09      0.00      0.00      0.00      0.00
00:27:01         ens3    467.74    258.59   1119.12     67.65      0.00      0.00      0.00      0.00
00:27:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
00:28:01           lo      1.73      1.73      0.18      0.18      0.00      0.00      0.00      0.00
00:28:01         ens3     79.24     61.17    842.34     11.86      0.00      0.00      0.00      0.00
00:28:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
00:29:01           lo      0.47      0.47      0.06      0.06      0.00      0.00      0.00      0.00
00:29:01         ens3    217.13    178.40   2366.95     21.15      0.00      0.00      0.00      0.00
00:29:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
Average:           lo      1.09      1.09      0.11      0.11      0.00      0.00      0.00      0.00
Average:         ens3    254.70    166.06   1442.80     33.55      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-356) 	04/12/26 	_x86_64_	(4 CPU)

00:25:48     LINUX RESTART	(4 CPU)

00:26:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
00:27:01        all     18.82      0.00      2.64      4.67      1.00     72.86
00:27:01          0     10.74      0.00      2.29      8.38      0.78     77.81
00:27:01          1      8.11      0.00      1.47      5.74      0.72     83.96
00:27:01          2     39.12      0.00      2.63      1.67      1.64     54.94
00:27:01          3     17.34      0.00      4.19      2.89      0.87     74.72
00:28:01        all     20.32      0.00      1.38      2.39      0.76     75.15
00:28:01          0     20.03      0.00      1.12      5.25      0.90     72.70
00:28:01          1     39.40      0.00      2.67      1.05      1.30     55.59
00:28:01          2     19.07      0.00      1.39      1.92      0.68     76.94
00:28:01          3      2.77      0.00      0.37      1.35      0.13     95.38
00:29:01        all     27.00      0.00      1.31      1.70      1.40     68.59
00:29:01          0     36.36      0.00      1.53      1.15      1.65     59.31
00:29:01          1     25.15      0.00      1.33      0.22      1.20     72.10
00:29:01          2     16.91      0.00      1.03      3.48      1.17     77.41
00:29:01          3     29.63      0.00      1.35      1.95      1.57     65.50
Average:        all     22.05      0.00      1.78      2.92      1.05     72.20
Average:          0     22.38      0.00      1.65      4.93      1.11     69.94
Average:          1     24.23      0.00      1.82      2.33      1.07     70.54
Average:          2     25.02      0.00      1.68      2.36      1.16     69.77
Average:          3     16.57      0.00      1.97      2.06      0.86     78.54


