Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-1810 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-EK3eDtfgmfIY/agent.2113 SSH_AGENT_PID=2115 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script@tmp/private_key_2321274008843000545.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 > git init /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric > 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 +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric # 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 438810a3c2a16e4999b608369236ff2e817bbd0b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 438810a3c2a16e4999b608369236ff2e817bbd0b # timeout=10 Commit message: "CI: Add silent prescan SonarCloud job" > git rev-list --no-walk 438810a3c2a16e4999b608369236ff2e817bbd0b # 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-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins6846348057030953972.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-fbrO 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-fbrO/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-fbrO/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.84 botocore==1.34.84 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.3.1 [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-auth-token-fetch-sonar-prescan-script] $ /bin/sh /tmp/jenkins16443951224584652892.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-auth-token-fetch-sonar-prescan-script] $ /bin/sh /tmp/jenkins7654303679111628735.sh --> /tmp/jenkins7654303679111628735.sh + sudo apt-get update Hit:1 https://deb.nodesource.com/node_16.x bionic InRelease Hit:2 https://download.docker.com/linux/ubuntu bionic InRelease Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:5 http://apt.puppetlabs.com xenial InRelease Hit:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB] Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB] Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB] Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B] Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B] Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB] Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB] Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB] Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB] Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3045 kB] Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [553 kB] Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB] Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [187 kB] Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1915 kB] Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [421 kB] Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB] Get:24 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6088 B] Get:25 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB] Get:26 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [14.6 kB] Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB] Get:28 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [8668 B] Fetched 23.3 MB in 5s (4324 kB/s) Reading package lists... + bash auth-token-fetch/run-tests-ubuntu.sh + echo '--> auth-token-fetch/run-tests-ubuntu.sh' --> auth-token-fetch/run-tests-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 /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/auth-token-fetch + go install 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.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.0 go: downloading github.com/stretchr/testify v1.7.0 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/stretchr/objx v0.1.1 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c + go mod vendor go: downloading github.com/sirupsen/logrus v1.8.1 + go-acc ./... --ignore mocks ok oransc.org/nonrtric/auth-token-fetch 6.008s coverage: 83.3% of statements in oransc.org/nonrtric/auth-token-fetch + go mod tidy go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 go: downloading github.com/kr/pretty v0.2.0 go: downloading github.com/kr/text v0.1.0 + echo '--> auth-token-fetch/run-tests-ubuntu.sh ends' --> auth-token-fetch/run-tests-ubuntu.sh ends + echo --> /tmp/jenkins7654303679111628735.sh ends --> /tmp/jenkins7654303679111628735.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-1810 [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey={project-name} -Dsonar.language=go -Dsonar.login={sonarcloud_api_token} -Dsonar.go.coverage.reportPaths=auth-token-fetch/coverage.txt -Dsonar.organization={sonarcloud_project_organization} -Dsonar.sources=. -Dsonar.inclusions=auth-token-fetch/**.go -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=auth-token-fetch/**_test.go -Dsonar.projectBaseDir=/w/workspace/nonrtric-plt-auth-token-fetch-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) 15:39:52,008 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version ? 15:39:52,009 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - No custom configurators were discovered as a service. 15:39:52,009 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - Trying to configure with ch.qos.logback.classic.joran.SerializedModelConfigurator 15:39:52,010 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - Constructed configurator of type class ch.qos.logback.classic.joran.SerializedModelConfigurator 15:39:52,017 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.scmo] 15:39:52,017 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.scmo] 15:39:52,026 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - ch.qos.logback.classic.joran.SerializedModelConfigurator.configure() call lasted 7 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY 15:39:52,026 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - Trying to configure with ch.qos.logback.classic.util.DefaultJoranConfigurator 15:39:52,027 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - Constructed configurator of type class ch.qos.logback.classic.util.DefaultJoranConfigurator 15:39:52,027 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 15:39:52,027 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml] 15:39:52,027 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - ch.qos.logback.classic.util.DefaultJoranConfigurator.configure() call lasted 0 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY 15:39:52,027 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - Trying to configure with ch.qos.logback.classic.BasicConfigurator 15:39:52,028 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - Constructed configurator of type class ch.qos.logback.classic.BasicConfigurator 15:39:52,028 |-INFO in ch.qos.logback.classic.BasicConfigurator@76b07f29 - Setting up default configuration. 15:39:52,038 |-INFO in ch.qos.logback.classic.util.ContextInitializer@9cb8225 - ch.qos.logback.classic.BasicConfigurator.configure() call lasted 10 milliseconds. ExecutionStatus=NEUTRAL 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 23 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 29 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 32 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 35 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 38 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 41 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - element is deprecated. Near [level] on line 46 15:39:52,179 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within or elements instead. 15:39:52,231 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [STDOUT] 15:39:52,231 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 15:39:52,237 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 15:39:52,249 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.apache.commons.beanutils.converters level set to WARN 15:39:52,249 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.mybatis level set to WARN 15:39:52,250 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.apache.ibatis level set to WARN 15:39:52,250 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - java.sql level set to WARN 15:39:52,250 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - java.sql.ResultSet level set to WARN 15:39:52,250 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - PERSISTIT level set to WARN 15:39:52,250 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - ROOT level set to INFO 15:39:52,250 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [STDOUT] to Logger[ROOT] 15:39:52,250 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@38af9828 - End of configuration. 15:39:52,250 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@376a0d86 - Registering current configuration as safe fallback point INFO: Load global settings INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 3.040s INFO: Final Memory: 6M/30M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarScanner execution ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator ERROR: ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2115 killed; [ssh-agent] Stopped. ERROR: SonarQube scanner exited with non-zero code: 2 [PostBuildScript] - [INFO] Executing post build scripts. [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins11983276999605647636.sh ---> sysstat.sh [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins7685989496642603628.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/nonrtric-plt-auth-token-fetch-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-auth-token-fetch-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-auth-token-fetch-sonar-prescan-script ']' + mkdir -p /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/archives/ [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins5087732173916849372.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fbrO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-fbrO/bin to PATH INFO: Running in OpenStack, capturing instance metadata [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins895515698762866880.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script@tmp/config4915606904138795569tmp 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-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins12240909100237663341.sh ---> create-netrc.sh [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins17855854008683891995.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fbrO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-fbrO/bin to PATH [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins4689528846085647432.sh ---> sudo-logs.sh Archiving 'sudo' log.. [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash /tmp/jenkins636752805386071901.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fbrO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-fbrO/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [nonrtric-plt-auth-token-fetch-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins15974766564102532695.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-auth-token-fetch-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fbrO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-fbrO/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/nonrtric-plt-auth-token-fetch-sonar-prescan-script/612 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-1810 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 700K 394M 1% /run /dev/vda1 20G 9.1G 11G 48% / 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 443 856 0 2644 3230 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:48:9c:4e brd ff:ff:ff:ff:ff:ff inet 10.32.6.86/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86064sec preferred_lft 86064sec inet6 fe80::f816:3eff:fe48:9c4e/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:c5:81:b7:79 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-1810) 04/16/24 _x86_64_ (4 CPU) 15:35:08 LINUX RESTART (4 CPU) 15:36:01 tps rtps wtps bread/s bwrtn/s 15:37:01 4.25 0.00 4.25 0.00 237.39 15:38:01 3.93 2.40 1.53 90.65 204.90 15:39:01 87.50 37.41 50.09 1784.77 6131.24 15:40:01 204.18 140.24 63.94 6862.06 20760.81 Average: 74.96 45.01 29.95 2184.28 6833.31 15:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:37:01 2058932 3465300 1979720 49.02 26436 1550072 805408 15.83 402408 1429096 24 15:38:01 2040028 3454796 1998624 49.49 26528 1558180 805408 15.83 414236 1435804 236 15:39:01 1599192 3359308 2439460 60.40 54092 1859480 869220 17.09 569992 1685148 155572 15:40:01 860080 3286176 3178572 78.70 69244 2491452 917416 18.03 1003508 1949528 168564 Average: 1639558 3391395 2399094 59.40 44075 1864796 849363 16.70 597536 1624894 81099 15:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:37:01 ens3 0.05 0.05 0.00 0.03 0.00 0.00 0.00 0.00 15:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:38:01 ens3 64.47 31.93 113.64 11.19 0.00 0.00 0.00 0.00 15:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:39:01 ens3 164.87 129.36 1197.93 28.34 0.00 0.00 0.00 0.00 15:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 15:40:01 ens3 301.33 202.85 1491.28 25.30 0.00 0.00 0.00 0.00 15:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:40:01 lo 2.90 2.90 0.28 0.28 0.00 0.00 0.00 0.00 Average: ens3 132.68 91.04 700.68 16.21 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.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-1810) 04/16/24 _x86_64_ (4 CPU) 15:35:08 LINUX RESTART (4 CPU) 15:36:01 CPU %user %nice %system %iowait %steal %idle 15:37:01 all 0.01 0.00 0.02 0.10 0.00 99.87 15:37:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:37:01 1 0.00 0.00 0.00 0.38 0.00 99.62 15:37:01 2 0.00 0.00 0.05 0.00 0.00 99.95 15:37:01 3 0.02 0.00 0.02 0.00 0.00 99.97 15:38:01 all 0.76 0.00 0.07 0.04 0.01 99.12 15:38:01 0 0.73 0.00 0.10 0.02 0.02 99.13 15:38:01 1 0.53 0.00 0.03 0.10 0.00 99.33 15:38:01 2 0.82 0.00 0.08 0.05 0.02 99.03 15:38:01 3 0.92 0.00 0.05 0.00 0.02 99.01 15:39:01 all 21.84 0.00 1.51 2.51 0.07 74.07 15:39:01 0 6.49 0.00 0.66 0.43 0.05 92.38 15:39:01 1 4.65 0.00 0.95 7.75 0.03 86.61 15:39:01 2 49.14 0.00 2.79 0.65 0.13 47.28 15:39:01 3 27.36 0.00 1.69 1.22 0.05 69.69 15:40:01 all 20.89 0.81 2.66 9.67 0.06 65.91 15:40:01 0 16.78 0.00 2.37 9.86 0.07 70.92 15:40:01 1 14.34 3.18 2.33 10.03 0.05 70.07 15:40:01 2 26.76 0.00 3.03 10.88 0.07 59.26 15:40:01 3 25.71 0.02 2.91 7.91 0.05 63.41 Average: all 10.88 0.20 1.07 3.07 0.04 84.74 Average: 0 6.01 0.00 0.79 2.57 0.03 90.60 Average: 1 4.87 0.79 0.83 4.56 0.02 88.93 Average: 2 19.15 0.00 1.49 2.89 0.05 76.42 Average: 3 13.52 0.00 1.17 2.28 0.03 83.00