Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-2c-1g-472 (centos7-builder-2c-1g) in workspace /w/workspace/iec-sonar [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-CgMK4kqKduRB/agent.7338 SSH_AGENT_PID=7340 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/iec-sonar@tmp/private_key_9351619714018794761.key (/w/workspace/iec-sonar@tmp/private_key_9351619714018794761.key) [ssh-agent] Using credentials jenkins (jenkins-ssh) The recommended git tool is: NONE using credential jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://akraino-jobbuilder@gerrit.akraino.org:29418/iec > git init /w/workspace/iec-sonar # timeout=10 Fetching upstream changes from ssh://akraino-jobbuilder@gerrit.akraino.org:29418/iec > git --version # timeout=10 > git --version # 'git version 2.36.1' using GIT_SSH to set credentials jenkins-ssh [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/iec-sonar@tmp/jenkins-gitclient-ssh12779423435580176103.key > git fetch --tags --force --progress -- ssh://akraino-jobbuilder@gerrit.akraino.org:29418/iec +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://akraino-jobbuilder@gerrit.akraino.org:29418/iec # 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 55c812f66cd0f7834622200a0215c56a670ff5fe (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 55c812f66cd0f7834622200a0215c56a670ff5fe # timeout=10 Commit message: "Add a http performance test script based on wrk" > git rev-list --no-walk 55c812f66cd0f7834622200a0215c56a670ff5fe # 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 [iec-sonar] $ /bin/bash /tmp/jenkins12859650884955432332.sh ---> python-tools-install.sh Setup pyenv: system * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-btRc 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-btRc/bin to PATH Generating Requirements File Python 3.9.13 pip 23.3.2 from /tmp/venv-btRc/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.23 botocore==1.34.23 bs4==0.0.2 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 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.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk11 GIT_URL="ssh://akraino-jobbuilder@gerrit.akraino.org:29418" [EnvInject] - Variables injected successfully. [iec-sonar] $ /bin/sh /tmp/jenkins6239571712588726593.sh ---> update-java-alternatives.sh ---> Updating Java version ---> RedHat type system detected openjdk version "1.8.0_342" OpenJDK Runtime Environment (build 1.8.0_342-b07) OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode) JAVA_HOME=/usr/lib/jvm/java-11-openjdk [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.2.0.1873/sonar-scanner-cli-4.2.0.1873.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-centos7-builder-2c-1g-472 [iec-sonar] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=iec -Dsonar.projectName=iec -Dsonar.language=go -Dsonar.tests=. -Dsonar.organization=akraino-edge-stack -Dsonar.sources=. -Dsonar.test.inclusions=**/*_test.go -Dsonar.inclusions=**/**.go -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=**/*_test.go,**/vendor/** -Dsonar.test.exclusions=**/vendor/** -Dsonar.projectBaseDir=/w/workspace/iec-sonar INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarQube Scanner 4.2.0.1873 INFO: Java 1.8.0_342 Red Hat, Inc. (64-bit) INFO: Linux 3.10.0-1160.76.1.el7.x86_64 amd64 INFO: User cache: /home/jenkins/.sonar/cache INFO: SonarQube server 8.0.0.52056 INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent) INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 3.705s INFO: Final Memory: 4M/58M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at org.sonarsource.scanner.api.internal.IsolatedClassloader.loadClass(IsolatedClassloader.java:82) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at org.sonarsource.scanner.api.internal.batch.DefaultBatchFactory.createBatch(DefaultBatchFactory.java:32) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at com.sun.proxy.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) at org.sonarsource.scanner.cli.Main.execute(Main.java:112) at org.sonarsource.scanner.cli.Main.execute(Main.java:75) at org.sonarsource.scanner.cli.Main.main(Main.java:61) ERROR: ERROR: Re-run SonarQube Scanner 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 7340 killed; [ssh-agent] Stopped. ERROR: SonarQube scanner exited with non-zero code: 1 [PostBuildScript] - [INFO] Executing post build scripts. [iec-sonar] $ /bin/bash /tmp/jenkins7590532277840103506.sh ---> sysstat.sh [iec-sonar] $ /bin/bash /tmp/jenkins6176237413886419832.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/iec-sonar + 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/iec-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + sort + rpm -qa + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/iec-sonar ']' + mkdir -p /w/workspace/iec-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/iec-sonar/archives/ [iec-sonar] $ /bin/bash /tmp/jenkins1303886060390243982.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/iec-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-btRc from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-btRc/bin to PATH INFO: Running in OpenStack, capturing instance metadata [iec-sonar] $ /bin/bash /tmp/jenkins5129556950634693986.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/iec-sonar@tmp/config7989654446681594250tmp 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. [iec-sonar] $ /bin/bash /tmp/jenkins13738029784692294930.sh ---> create-netrc.sh [iec-sonar] $ /bin/bash /tmp/jenkins9453945368850935906.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/iec-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-btRc from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-btRc/bin to PATH [iec-sonar] $ /bin/bash /tmp/jenkins5398489084026148848.sh ---> sudo-logs.sh Archiving 'sudo' log.. [iec-sonar] $ /bin/bash /tmp/jenkins1329216103547709672.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/iec-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-btRc from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-btRc/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-1 INFO: Archiving Costs [iec-sonar] $ /bin/bash -l /tmp/jenkins1094975538661020394.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/iec-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-btRc from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-btRc/bin to PATH INFO: Nexus URL https://nexus.akraino.org path production/vex-yul-akraino-jenkins-prod-1/iec-sonar/1376 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-2c-1g-472.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 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): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 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 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 art rep_good nopl extd_apicid eagerfpu 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities ---> nproc: 1 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 1.9G 17M 1.9G 1% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/vda1 20G 5.7G 15G 29% / tmpfs 379M 0 379M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3789 392 1410 16 1986 3129 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: eth0: mtu 1458 qdisc pfifo_fast state UP group default qlen 1000 link/ether fa:16:3e:f0:ac:73 brd ff:ff:ff:ff:ff:ff inet 10.30.219.40/23 brd 10.30.219.255 scope global dynamic eth0 valid_lft 86253sec preferred_lft 86253sec inet6 fe80::f816:3eff:fef0:ac73/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 3.10.0-1160.76.1.el7.x86_64 (centos-7-builder-63247c43-f492-a834-341b-1120eacf5eee.novalocal) 01/21/2024 _x86_64_ (1 CPU) 04:08:41 PM LINUX RESTART 04:09:02 PM tps rtps wtps bread/s bwrtn/s 04:10:02 PM 130.96 32.67 98.28 4855.82 6987.58 04:11:01 PM 241.56 14.90 226.66 2445.06 11314.17 Average: 185.70 23.88 161.82 3662.69 9128.89 04:09:02 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:10:02 PM 1685904 2194388 56.55 2088 1746820 461416 9.36 395680 1565988 161932 04:11:01 PM 1429420 2450872 63.16 2088 1930460 492680 10.00 659020 1525552 51600 Average: 1557662 2322630 59.86 2088 1838640 477048 9.68 527350 1545770 106766 04:09:02 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 04:10:02 PM eth0 259.42 150.34 1762.13 58.85 0.00 0.00 0.00 04:10:02 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:11:01 PM eth0 132.78 84.27 1156.94 20.88 0.00 0.00 0.00 04:11:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 196.75 117.64 1462.61 40.06 0.00 0.00 0.00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 3.10.0-1160.76.1.el7.x86_64 (centos-7-builder-63247c43-f492-a834-341b-1120eacf5eee.novalocal) 01/21/2024 _x86_64_ (1 CPU) 04:08:41 PM LINUX RESTART 04:09:02 PM CPU %user %nice %system %iowait %steal %idle 04:10:02 PM all 82.78 0.00 8.40 1.79 0.11 6.92 04:10:02 PM 0 82.78 0.00 8.40 1.79 0.11 6.92 04:11:01 PM all 77.94 0.00 5.61 2.56 0.11 13.77 04:11:01 PM 0 77.94 0.00 5.61 2.56 0.11 13.77 Average: all 80.38 0.00 7.02 2.17 0.11 10.31 Average: 0 80.38 0.00 7.02 2.17 0.11 10.31