Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-17138 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/multicloud-openstack-pike-sonar The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/multicloud/openstack > git init /w/workspace/multicloud-openstack-pike-sonar # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/multicloud/openstack > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/multicloud/openstack +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/multicloud/openstack # 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 d0e9fd36a6fefe632a0d0622585af49be0594ce6 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f d0e9fd36a6fefe632a0d0622585af49be0594ce6 # timeout=10 Commit message: "Bump up version" > git rev-list --no-walk d0e9fd36a6fefe632a0d0622585af49be0594ce6 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins3934722980562353343.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-Px4l 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-Px4l/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-Px4l/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.127 botocore==1.34.127 bs4==0.0.2 cachetools==5.3.3 certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.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.3 email_validator==2.1.1 filelock==3.15.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.30.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.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==6.0.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.1 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 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.5.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 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.5 tqdm==4.66.4 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.2 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [multicloud-openstack-pike-sonar] $ /bin/sh -xe /tmp/jenkins224765993814057507.sh + echo Using SonarCloud Using SonarCloud [multicloud-openstack-pike-sonar] $ /bin/sh -xe /tmp/jenkins16137535719705606280.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 on prd-ubuntu1804-builder-4c-4g-17138 [multicloud-openstack-pike-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=multicloud/openstack -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_PROJECT=multicloud/openstack -Dsha1=origin/master "-DMAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m" -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 "-DMAVEN_PARAMS=-f pike/pom.xml" -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar --version OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [multicloud-openstack-pike-sonar] $ /bin/sh -xe /tmp/jenkins8503242874035127080.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk11 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [multicloud-openstack-pike-sonar] $ /bin/sh /tmp/jenkins11350140301438286471.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) JAVA_HOME=/usr/lib/jvm/java-11-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. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_multicloud-openstack-pike [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/multicloud-openstack-pike-sonar@tmp/config7527727651464964793tmp copy managed file [multicloud-openstack-settings] to file:/w/workspace/multicloud-openstack-pike-sonar@tmp/config13537341258305430497tmp [multicloud-openstack-pike-sonar] $ /bin/bash -l /tmp/jenkins1740299093562485217.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/multicloud-openstack-pike-sonar@tmp/config7527727651464964793tmp --settings /w/workspace/multicloud-openstack-pike-sonar@tmp/config13537341258305430497tmp --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -f pike/pom.xml Picked up _JAVA_OPTIONS: OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------< org.onap.multicloud.openstack:multicloud-openstack-pike >------- [INFO] Building multicloud-openstack-pike 1.5.8-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ multicloud-openstack-pike --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (clean phase script) @ multicloud-openstack-pike --- running script: [/w/workspace/multicloud-openstack-pike-sonar/pike/mvn-phase-script.sh] for module [__] at stage [clean] MVN_PROJECT_MODULEID is [] MVN_PHASE is [clean] MVN_PROJECT_GROUPID is [org.onap.multicloud.openstack] MVN_PROJECT_ARTIFACTID is [multicloud-openstack-pike] MVN_PROJECT_VERSION is [1.5.8-SNAPSHOT] ==> clean phase script [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ multicloud-openstack-pike --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ multicloud-openstack-pike --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (pre-unit-test) @ multicloud-openstack-pike --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/w/workspace/multicloud-openstack-pike-sonar/pike/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (onap-license) @ multicloud-openstack-pike --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (onap-java-style) @ multicloud-openstack-pike --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:report (post-unit-test) @ multicloud-openstack-pike --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (test script) @ multicloud-openstack-pike --- running script: [/w/workspace/multicloud-openstack-pike-sonar/pike/mvn-phase-script.sh] for module [__] at stage [test] MVN_PROJECT_MODULEID is [] MVN_PHASE is [test] MVN_PROJECT_GROUPID is [org.onap.multicloud.openstack] MVN_PROJECT_ARTIFACTID is [multicloud-openstack-pike] MVN_PROJECT_VERSION is [1.5.8-SNAPSHOT] ==> test phase script /w/workspace/multicloud-openstack-pike-sonar/pike + echo /w/workspace/multicloud-openstack-pike-sonar/pike ++ pwd + CURDIR=/w/workspace/multicloud-openstack-pike-sonar/pike ++ find . -name tox.ini + TOXINIS=./tox.ini + cd .. + for TOXINI in "${TOXINIS[@]}" ++ rev ++ rev ++ cut -f2- -d/ ++ echo ./tox.ini + DIR=. + cd /w/workspace/multicloud-openstack-pike-sonar/pike/. + rm -rf ./venv-tox ./.tox + virtualenv ./venv-tox --python=python3 Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /w/workspace/multicloud-openstack-pike-sonar/pike/venv-tox/bin/python3 Also creating executable in /w/workspace/multicloud-openstack-pike-sonar/pike/venv-tox/bin/python Installing setuptools, pkg_resources, pip, wheel...done. + source ./venv-tox/bin/activate ++ deactivate nondestructive ++ unset -f pydoc ++ '[' -z '' ']' ++ '[' -z '' ']' ++ '[' -n /bin/bash ']' ++ hash -r ++ '[' -z '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/w/workspace/multicloud-openstack-pike-sonar/pike/venv-tox ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/w/workspace/multicloud-openstack-pike-sonar/pike/venv-tox/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH ++ '[' -z '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' x '!=' x ']' +++ basename /w/workspace/multicloud-openstack-pike-sonar/pike/venv-tox ++ PS1='(venv-tox) ' ++ export PS1 ++ alias pydoc ++ '[' -n /bin/bash ']' ++ hash -r + pip install --upgrade pip Requirement already satisfied: pip in ./venv-tox/lib/python3.6/site-packages (21.3.1) + pip install --upgrade tox argparse Collecting tox Downloading tox-3.28.0-py2.py3-none-any.whl (86 kB) Collecting argparse Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB) Collecting py>=1.4.17 Downloading py-1.11.0-py2.py3-none-any.whl (98 kB) Collecting pluggy>=0.12.0 Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB) Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 Downloading virtualenv-20.17.1-py3-none-any.whl (8.8 MB) Collecting toml>=0.10.2 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting filelock>=3.0.0 Downloading filelock-3.4.1-py3-none-any.whl (9.9 kB) Collecting six>=1.14.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting packaging>=14 Downloading packaging-21.3-py3-none-any.whl (40 kB) Collecting importlib-metadata>=0.12 Downloading importlib_metadata-4.8.3-py3-none-any.whl (17 kB) Collecting typing-extensions>=3.6.4 Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting zipp>=0.5 Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB) Collecting platformdirs<3,>=2.4 Downloading platformdirs-2.4.0-py3-none-any.whl (14 kB) Collecting importlib-resources>=5.4 Downloading importlib_resources-5.4.0-py3-none-any.whl (28 kB) Collecting distlib<1,>=0.3.6 Using cached distlib-0.3.8-py2.py3-none-any.whl (468 kB) Installing collected packages: zipp, typing-extensions, pyparsing, platformdirs, importlib-resources, importlib-metadata, filelock, distlib, virtualenv, toml, six, py, pluggy, packaging, tox, argparse Successfully installed argparse-1.4.0 distlib-0.3.8 filelock-3.4.1 importlib-metadata-4.8.3 importlib-resources-5.4.0 packaging-21.3 platformdirs-2.4.0 pluggy-1.0.0 py-1.11.0 pyparsing-3.1.2 six-1.16.0 toml-0.10.2 tox-3.28.0 typing-extensions-4.1.1 virtualenv-20.17.1 zipp-3.6.0 + pip freeze distlib==0.3.8 filelock==3.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 packaging==21.3 pkg_resources==0.0.0 platformdirs==2.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.2 six==1.16.0 toml==0.10.2 tox==3.28.0 typing_extensions==4.1.1 virtualenv==20.17.1 zipp==3.6.0 + cd /w/workspace/multicloud-openstack-pike-sonar/pike + tox py36 create: /w/workspace/multicloud-openstack-pike-sonar/pike/.tox/py36 py36 installdeps: -r/w/workspace/multicloud-openstack-pike-sonar/pike/requirements.txt, -r/w/workspace/multicloud-openstack-pike-sonar/pike/test-requirements.txt py36 installed: asgiref==3.4.1,astroid==2.11.7,certifi==2024.6.2,charset-normalizer==2.0.12,coverage==4.2,dill==0.3.4,Django==3.2.7,djangorestframework==3.12.4,httplib2==0.19.1,idna==3.7,importlib-metadata==4.8.3,iso8601==1.1.0,isort==5.10.1,keystoneauth1==2.18.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==2.0.0,onaphpadriver==1.0,pbr==6.0.0,platformdirs==2.4.0,positional==1.2.1,pylint==2.13.9,pyparsing==2.4.7,python-memcached==1.62,pytz==2024.1,PyYAML==5.4.1,requests==2.27.1,ruamel.yaml==0.17.1,ruamel.yaml.clib==0.2.8,six==1.16.0,sqlparse==0.4.4,stevedore==3.5.2,tomli==1.2.3,typed-ast==1.5.5,typing_extensions==4.1.1,unittest-xml-reporting==1.12.0,urllib3==1.26.18,wrapt==1.16.0,zipp==3.6.0 py36 run-test-pre: PYTHONHASHSEED='1005931122' py36 run-test: commands[0] | coverage run --branch manage.py test pike System check identified no issues (0 silenced). Running tests... ---------------------------------------------------------------------- test_get_extensions_info (pike.extensions.tests.test_extensions.TestExtensions) ... OK (0.004s) test_token (pike.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.005s) test_token_with_projectid (pike.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.005s) test_token_with_tenantname (pike.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.003s) test_tokensV2 (pike.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.003s) test_tokensV2_with_tenantname (pike.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.003s) test_crud_resources (pike.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.022s) test_expired_auth_token (pike.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.002s) test_get_token (pike.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.003s) test_request_without_servicetype (pike.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.005s) test_unauthorized_access (pike.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.001s) test_fail_unregister_endpoint (pike.registration.tests.test_registration.TestRegistration) ... OK (0.002s) test_register_endpoint_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.008s) test_register_hpa_cpupinning_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.022s) test_register_hpa_cputopology_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.012s) test_register_hpa_hugepage_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.011s) test_register_hpa_instructionset_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.009s) test_register_hpa_numa_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.012s) test_register_hpa_pcipassthrough_successfully (pike.registration.tests.test_registration.TestRegistration) ... OK (0.015s) test_capacity_check_nova_hypervisor_outofram (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.004s) test_capacity_check_nova_hypervisor_outofstorage (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.005s) test_capacity_check_nova_hypervisor_outofvcpu (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.005s) test_capacity_check_nova_limits_failed (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.005s) test_capacity_check_nova_limits_outofram (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.003s) test_capacity_check_success (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.005s) test_capacity_check_volume_limits_outofstorage (pike.resource.tests.test_capacity.TestCapacity) ... OK (0.003s) test_delete (pike.resource.tests.tests_infra_workload.APIv1InfraWorkloadTest) ... OK (0.001s) test_get (pike.resource.tests.tests_infra_workload.APIv1InfraWorkloadTest) ... OK (0.001s) test_post (pike.resource.tests.tests_infra_workload.APIv1InfraWorkloadTest) ... OK (0.001s) test_delete (pike.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_get (pike.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_post (pike.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_post_wo_oof_directive (pike.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_sample (pike.samples.tests.SampleViewTest) ... OK (0.001s) test_sample (pike.swagger.tests.SampleViewTest) ... OK (0.013s) ---------------------------------------------------------------------- Ran 35 tests in 0.201s OK Generating XML reports... py36 run-test: commands[1] | coverage report '--omit=./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*,*starlingx_base*, *site-packages*' --fail-under=30 Name Stmts Miss Branch BrPart Cover --------------------------------------------------------------------------- manage.py 6 0 2 1 88% pike/extensions/urls.py 5 0 0 0 100% pike/extensions/urls_v1.py 5 0 0 0 100% pike/extensions/views/extensions.py 17 5 0 0 71% pike/proxy/urls.py 7 0 0 0 100% pike/proxy/urls_v1.py 7 0 0 0 100% pike/proxy/views/identityV3.py 37 16 0 0 57% pike/proxy/views/services.py 68 42 0 0 38% pike/registration/views/registration.py 26 11 0 0 58% pike/requests/urls.py 13 0 0 0 100% pike/requests/urls_v1.py 13 0 0 0 100% pike/samples/urls.py 5 0 0 0 100% pike/samples/views.py 8 0 0 0 100% pike/settings.py 62 8 10 4 81% pike/swagger/urls.py 6 0 0 0 100% pike/swagger/views.py 20 8 4 1 54% pike/urls.py 6 0 0 0 100% --------------------------------------------------------------------------- TOTAL 311 90 16 6 69% pep8 create: /w/workspace/multicloud-openstack-pike-sonar/pike/.tox/pep8 pep8 installdeps: flake8 pep8 installed: flake8==5.0.4,importlib-metadata==4.2.0,mccabe==0.7.0,pycodestyle==2.9.1,pyflakes==2.5.0,typing_extensions==4.1.1,zipp==3.6.0 pep8 run-test-pre: PYTHONHASHSEED='1005931122' pep8 run-test: commands[0] | python3 -m flake8 cov create: /w/workspace/multicloud-openstack-pike-sonar/pike/.tox/cov cov installdeps: -r/w/workspace/multicloud-openstack-pike-sonar/pike/requirements.txt, -r/w/workspace/multicloud-openstack-pike-sonar/pike/test-requirements.txt cov installed: asgiref==3.4.1,astroid==2.11.7,certifi==2024.6.2,charset-normalizer==2.0.12,coverage==4.2,dill==0.3.4,Django==3.2.7,djangorestframework==3.12.4,httplib2==0.19.1,idna==3.7,importlib-metadata==4.8.3,iso8601==1.1.0,isort==5.10.1,keystoneauth1==2.18.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==2.0.0,onaphpadriver==1.0,pbr==6.0.0,platformdirs==2.4.0,positional==1.2.1,pylint==2.13.9,pyparsing==2.4.7,python-memcached==1.62,pytz==2024.1,PyYAML==5.4.1,requests==2.27.1,ruamel.yaml==0.17.1,ruamel.yaml.clib==0.2.8,six==1.16.0,sqlparse==0.4.4,stevedore==3.5.2,tomli==1.2.3,typed-ast==1.5.5,typing_extensions==4.1.1,unittest-xml-reporting==1.12.0,urllib3==1.26.18,wrapt==1.16.0,zipp==3.6.0 cov run-test-pre: PYTHONHASHSEED='1005931122' cov run-test: commands[0] | coverage xml '--omit=./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*,*starlingx_base*, *site-packages*' pylint create: /w/workspace/multicloud-openstack-pike-sonar/pike/.tox/pylint pylint installdeps: -r/w/workspace/multicloud-openstack-pike-sonar/pike/requirements.txt, -r/w/workspace/multicloud-openstack-pike-sonar/pike/test-requirements.txt pylint installed: asgiref==3.4.1,astroid==2.11.7,certifi==2024.6.2,charset-normalizer==2.0.12,coverage==4.2,dill==0.3.4,Django==3.2.7,djangorestframework==3.12.4,httplib2==0.19.1,idna==3.7,importlib-metadata==4.8.3,iso8601==1.1.0,isort==5.10.1,keystoneauth1==2.18.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==2.0.0,onaphpadriver==1.0,pbr==6.0.0,platformdirs==2.4.0,positional==1.2.1,pylint==2.13.9,pyparsing==2.4.7,python-memcached==1.62,pytz==2024.1,PyYAML==5.4.1,requests==2.27.1,ruamel.yaml==0.17.1,ruamel.yaml.clib==0.2.8,six==1.16.0,sqlparse==0.4.4,stevedore==3.5.2,tomli==1.2.3,typed-ast==1.5.5,typing_extensions==4.1.1,unittest-xml-reporting==1.12.0,urllib3==1.26.18,wrapt==1.16.0,zipp==3.6.0 pylint run-test-pre: PYTHONHASHSEED='1005931122' pylint run-test: commands[0] | bash -c 'pylint -f parseable --reports=y pike | tee pylint.out' ************* Module pike.urls pike/urls.py:21: [C0411(wrong-import-order), ] third party import "from newton_base.openoapi import tenants" should be placed before "from pike.registration.views import registration" pike/urls.py:22: [C0411(wrong-import-order), ] third party import "from newton_base.resource import capacity" should be placed before "from pike.registration.views import registration" pike/urls.py:23: [C0411(wrong-import-order), ] third party import "from starlingx_base.resource import infra_workload" should be placed before "from pike.registration.views import registration" ************* Module pike.settings pike/settings.py:143: [C0301(line-too-long), ] Line too long (107/100) pike/settings.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/settings.py:84: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string pike/settings.py:98: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string pike/settings.py:108: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string pike/settings.py:111: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string pike/settings.py:120: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string pike/settings.py:126: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string pike/settings.py:168: [C0103(invalid-name), ] Constant name "log_path" doesn't conform to UPPER_CASE naming style pike/settings.py:184: [W0404(reimported), ] Reimport 'platform' (imported line 18) pike/settings.py:18: [C0411(wrong-import-order), ] standard import "import platform" should be placed before "import yaml" pike/settings.py:19: [C0411(wrong-import-order), ] standard import "from logging import config as log_config" should be placed before "import yaml" pike/settings.py:184: [C0412(ungrouped-imports), ] Imports from package platform are not grouped ************* Module pike.proxy.urls pike/proxy/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/proxy/urls.py:20: [C0411(wrong-import-order), ] third party import "from newton_base.proxy import dnsaasdelegate" should be placed before "from pike.proxy.views import identityV3" ************* Module pike.proxy.urls_v1 pike/proxy/urls_v1.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/proxy/urls_v1.py:20: [C0411(wrong-import-order), ] third party import "from newton_base.proxy import dnsaasdelegate" should be placed before "from pike.proxy.views import identityV3" ************* Module pike.proxy.views.services pike/proxy/views/services.py:113: [C0301(line-too-long), ] Line too long (109/100) pike/proxy/views/services.py:142: [C0301(line-too-long), ] Line too long (101/100) pike/proxy/views/services.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/proxy/views/services.py:28: [C0115(missing-class-docstring), Services] Missing class docstring pike/proxy/views/services.py:30: [W0235(useless-super-delegation), Services.__init__] Useless super delegation in method '__init__' pike/proxy/views/services.py:31: [R1725(super-with-arguments), Services.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:40: [W0235(useless-super-delegation), GetTenants.__init__] Useless super delegation in method '__init__' pike/proxy/views/services.py:41: [R1725(super-with-arguments), GetTenants.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:45: [W1201(logging-not-lazy), GetTenants.get] Use lazy % formatting in logging functions pike/proxy/views/services.py:45: [C0209(consider-using-f-string), GetTenants.get] Formatting a regular string which could be a f-string pike/proxy/views/services.py:46: [W1201(logging-not-lazy), GetTenants.get] Use lazy % formatting in logging functions pike/proxy/views/services.py:46: [C0209(consider-using-f-string), GetTenants.get] Formatting a regular string which could be a f-string pike/proxy/views/services.py:48: [R1725(super-with-arguments), GetTenants.get] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:51: [C0115(missing-class-docstring), APIv1Services] Missing class docstring pike/proxy/views/services.py:53: [W0235(useless-super-delegation), APIv1Services.__init__] Useless super delegation in method '__init__' pike/proxy/views/services.py:54: [R1725(super-with-arguments), APIv1Services.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:57: [W0237(arguments-renamed), APIv1Services.head] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.head' method pike/proxy/views/services.py:57: [W0237(arguments-renamed), APIv1Services.head] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.head' method pike/proxy/views/services.py:57: [W0237(arguments-renamed), APIv1Services.head] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.head' method pike/proxy/views/services.py:57: [R0913(too-many-arguments), APIv1Services.head] Too many arguments (6/5) pike/proxy/views/services.py:58: [W1201(logging-not-lazy), APIv1Services.head] Use lazy % formatting in logging functions pike/proxy/views/services.py:58: [C0209(consider-using-f-string), APIv1Services.head] Formatting a regular string which could be a f-string pike/proxy/views/services.py:63: [R1725(super-with-arguments), APIv1Services.head] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:65: [W0237(arguments-renamed), APIv1Services.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.get' method pike/proxy/views/services.py:65: [W0237(arguments-renamed), APIv1Services.get] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.get' method pike/proxy/views/services.py:65: [W0237(arguments-renamed), APIv1Services.get] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.get' method pike/proxy/views/services.py:65: [R0913(too-many-arguments), APIv1Services.get] Too many arguments (6/5) pike/proxy/views/services.py:66: [W1201(logging-not-lazy), APIv1Services.get] Use lazy % formatting in logging functions pike/proxy/views/services.py:66: [C0209(consider-using-f-string), APIv1Services.get] Formatting a regular string which could be a f-string pike/proxy/views/services.py:69: [R1725(super-with-arguments), APIv1Services.get] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:71: [W0237(arguments-renamed), APIv1Services.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.post' method pike/proxy/views/services.py:71: [W0237(arguments-renamed), APIv1Services.post] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.post' method pike/proxy/views/services.py:71: [W0237(arguments-renamed), APIv1Services.post] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.post' method pike/proxy/views/services.py:71: [R0913(too-many-arguments), APIv1Services.post] Too many arguments (6/5) pike/proxy/views/services.py:72: [W1201(logging-not-lazy), APIv1Services.post] Use lazy % formatting in logging functions pike/proxy/views/services.py:72: [C0209(consider-using-f-string), APIv1Services.post] Formatting a regular string which could be a f-string pike/proxy/views/services.py:75: [R1725(super-with-arguments), APIv1Services.post] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:77: [W0237(arguments-renamed), APIv1Services.put] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.put' method pike/proxy/views/services.py:77: [W0237(arguments-renamed), APIv1Services.put] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.put' method pike/proxy/views/services.py:77: [W0237(arguments-renamed), APIv1Services.put] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.put' method pike/proxy/views/services.py:77: [R0913(too-many-arguments), APIv1Services.put] Too many arguments (6/5) pike/proxy/views/services.py:78: [W1201(logging-not-lazy), APIv1Services.put] Use lazy % formatting in logging functions pike/proxy/views/services.py:78: [C0209(consider-using-f-string), APIv1Services.put] Formatting a regular string which could be a f-string pike/proxy/views/services.py:81: [R1725(super-with-arguments), APIv1Services.put] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:83: [W0237(arguments-renamed), APIv1Services.patch] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.patch' method pike/proxy/views/services.py:83: [W0237(arguments-renamed), APIv1Services.patch] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.patch' method pike/proxy/views/services.py:83: [W0237(arguments-renamed), APIv1Services.patch] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.patch' method pike/proxy/views/services.py:83: [R0913(too-many-arguments), APIv1Services.patch] Too many arguments (6/5) pike/proxy/views/services.py:84: [W1201(logging-not-lazy), APIv1Services.patch] Use lazy % formatting in logging functions pike/proxy/views/services.py:84: [C0209(consider-using-f-string), APIv1Services.patch] Formatting a regular string which could be a f-string pike/proxy/views/services.py:87: [R1725(super-with-arguments), APIv1Services.patch] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:89: [W0237(arguments-renamed), APIv1Services.delete] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.delete' method pike/proxy/views/services.py:89: [W0237(arguments-renamed), APIv1Services.delete] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.delete' method pike/proxy/views/services.py:89: [W0237(arguments-renamed), APIv1Services.delete] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.delete' method pike/proxy/views/services.py:89: [R0913(too-many-arguments), APIv1Services.delete] Too many arguments (6/5) pike/proxy/views/services.py:90: [W1201(logging-not-lazy), APIv1Services.delete] Use lazy % formatting in logging functions pike/proxy/views/services.py:90: [C0209(consider-using-f-string), APIv1Services.delete] Formatting a regular string which could be a f-string pike/proxy/views/services.py:93: [R1725(super-with-arguments), APIv1Services.delete] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:101: [W0235(useless-super-delegation), APIv1GetTenants.__init__] Useless super delegation in method '__init__' pike/proxy/views/services.py:102: [R1725(super-with-arguments), APIv1GetTenants.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:105: [W0237(arguments-renamed), APIv1GetTenants.head] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.head' method pike/proxy/views/services.py:105: [W0237(arguments-renamed), APIv1GetTenants.head] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.head' method pike/proxy/views/services.py:105: [W0237(arguments-renamed), APIv1GetTenants.head] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.head' method pike/proxy/views/services.py:105: [R0913(too-many-arguments), APIv1GetTenants.head] Too many arguments (6/5) pike/proxy/views/services.py:106: [W1201(logging-not-lazy), APIv1GetTenants.head] Use lazy % formatting in logging functions pike/proxy/views/services.py:106: [C0209(consider-using-f-string), APIv1GetTenants.head] Formatting a regular string which could be a f-string pike/proxy/views/services.py:111: [R1725(super-with-arguments), APIv1GetTenants.head] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:113: [W0237(arguments-renamed), APIv1GetTenants.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.get' method pike/proxy/views/services.py:113: [W0237(arguments-renamed), APIv1GetTenants.get] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.get' method pike/proxy/views/services.py:113: [W0237(arguments-renamed), APIv1GetTenants.get] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.get' method pike/proxy/views/services.py:113: [R0913(too-many-arguments), APIv1GetTenants.get] Too many arguments (6/5) pike/proxy/views/services.py:114: [W1201(logging-not-lazy), APIv1GetTenants.get] Use lazy % formatting in logging functions pike/proxy/views/services.py:114: [C0209(consider-using-f-string), APIv1GetTenants.get] Formatting a regular string which could be a f-string pike/proxy/views/services.py:119: [R1725(super-with-arguments), APIv1GetTenants.get] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:121: [W0237(arguments-renamed), APIv1GetTenants.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.post' method pike/proxy/views/services.py:121: [W0237(arguments-renamed), APIv1GetTenants.post] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.post' method pike/proxy/views/services.py:121: [W0237(arguments-renamed), APIv1GetTenants.post] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.post' method pike/proxy/views/services.py:121: [R0913(too-many-arguments), APIv1GetTenants.post] Too many arguments (6/5) pike/proxy/views/services.py:122: [W1201(logging-not-lazy), APIv1GetTenants.post] Use lazy % formatting in logging functions pike/proxy/views/services.py:122: [C0209(consider-using-f-string), APIv1GetTenants.post] Formatting a regular string which could be a f-string pike/proxy/views/services.py:128: [R1725(super-with-arguments), APIv1GetTenants.post] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:130: [W0237(arguments-renamed), APIv1GetTenants.put] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.put' method pike/proxy/views/services.py:130: [W0237(arguments-renamed), APIv1GetTenants.put] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.put' method pike/proxy/views/services.py:130: [W0237(arguments-renamed), APIv1GetTenants.put] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.put' method pike/proxy/views/services.py:130: [R0913(too-many-arguments), APIv1GetTenants.put] Too many arguments (6/5) pike/proxy/views/services.py:131: [W1201(logging-not-lazy), APIv1GetTenants.put] Use lazy % formatting in logging functions pike/proxy/views/services.py:131: [C0209(consider-using-f-string), APIv1GetTenants.put] Formatting a regular string which could be a f-string pike/proxy/views/services.py:134: [R1725(super-with-arguments), APIv1GetTenants.put] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:136: [W0237(arguments-renamed), APIv1GetTenants.patch] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.patch' method pike/proxy/views/services.py:136: [W0237(arguments-renamed), APIv1GetTenants.patch] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.patch' method pike/proxy/views/services.py:136: [W0237(arguments-renamed), APIv1GetTenants.patch] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.patch' method pike/proxy/views/services.py:136: [R0913(too-many-arguments), APIv1GetTenants.patch] Too many arguments (6/5) pike/proxy/views/services.py:137: [W1201(logging-not-lazy), APIv1GetTenants.patch] Use lazy % formatting in logging functions pike/proxy/views/services.py:137: [C0209(consider-using-f-string), APIv1GetTenants.patch] Formatting a regular string which could be a f-string pike/proxy/views/services.py:140: [R1725(super-with-arguments), APIv1GetTenants.patch] Consider using Python 3 style super() without arguments pike/proxy/views/services.py:142: [W0237(arguments-renamed), APIv1GetTenants.delete] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.delete' method pike/proxy/views/services.py:142: [W0237(arguments-renamed), APIv1GetTenants.delete] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.delete' method pike/proxy/views/services.py:142: [W0237(arguments-renamed), APIv1GetTenants.delete] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.delete' method pike/proxy/views/services.py:142: [R0913(too-many-arguments), APIv1GetTenants.delete] Too many arguments (6/5) pike/proxy/views/services.py:143: [W1201(logging-not-lazy), APIv1GetTenants.delete] Use lazy % formatting in logging functions pike/proxy/views/services.py:143: [C0209(consider-using-f-string), APIv1GetTenants.delete] Formatting a regular string which could be a f-string pike/proxy/views/services.py:146: [R1725(super-with-arguments), APIv1GetTenants.delete] Consider using Python 3 style super() without arguments ************* Module pike.proxy.views.identityV3 pike/proxy/views/identityV3.py:1: [C0103(invalid-name), ] Module name "identityV3" doesn't conform to snake_case naming style pike/proxy/views/identityV3.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/proxy/views/identityV3.py:27: [C0115(missing-class-docstring), Tokens] Missing class docstring pike/proxy/views/identityV3.py:29: [R1725(super-with-arguments), Tokens.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:34: [C0115(missing-class-docstring), TokensV2] Missing class docstring pike/proxy/views/identityV3.py:36: [R1725(super-with-arguments), TokensV2.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:41: [C0115(missing-class-docstring), APIv1Tokens] Missing class docstring pike/proxy/views/identityV3.py:43: [R1725(super-with-arguments), APIv1Tokens.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:47: [W0237(arguments-renamed), APIv1Tokens.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Tokens.get' method pike/proxy/views/identityV3.py:48: [W1201(logging-not-lazy), APIv1Tokens.get] Use lazy % formatting in logging functions pike/proxy/views/identityV3.py:48: [C0209(consider-using-f-string), APIv1Tokens.get] Formatting a regular string which could be a f-string pike/proxy/views/identityV3.py:53: [R1725(super-with-arguments), APIv1Tokens.get] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:55: [W0237(arguments-renamed), APIv1Tokens.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Tokens.post' method pike/proxy/views/identityV3.py:56: [W1201(logging-not-lazy), APIv1Tokens.post] Use lazy % formatting in logging functions pike/proxy/views/identityV3.py:56: [C0209(consider-using-f-string), APIv1Tokens.post] Formatting a regular string which could be a f-string pike/proxy/views/identityV3.py:61: [R1725(super-with-arguments), APIv1Tokens.post] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:64: [C0115(missing-class-docstring), APIv1TokensV2] Missing class docstring pike/proxy/views/identityV3.py:66: [R1725(super-with-arguments), APIv1TokensV2.__init__] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:70: [W0237(arguments-renamed), APIv1TokensV2.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1TokensV2.get' method pike/proxy/views/identityV3.py:71: [W1201(logging-not-lazy), APIv1TokensV2.get] Use lazy % formatting in logging functions pike/proxy/views/identityV3.py:71: [C0209(consider-using-f-string), APIv1TokensV2.get] Formatting a regular string which could be a f-string pike/proxy/views/identityV3.py:76: [R1725(super-with-arguments), APIv1TokensV2.get] Consider using Python 3 style super() without arguments pike/proxy/views/identityV3.py:78: [W0237(arguments-renamed), APIv1TokensV2.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1TokensV2.post' method pike/proxy/views/identityV3.py:79: [W1201(logging-not-lazy), APIv1TokensV2.post] Use lazy % formatting in logging functions pike/proxy/views/identityV3.py:79: [C0209(consider-using-f-string), APIv1TokensV2.post] Formatting a regular string which could be a f-string pike/proxy/views/identityV3.py:84: [R1725(super-with-arguments), APIv1TokensV2.post] Consider using Python 3 style super() without arguments ************* Module pike.proxy.tests.test_service_proxy pike/proxy/tests/test_service_proxy.py:504: [C0301(line-too-long), ] Line too long (102/100) pike/proxy/tests/test_service_proxy.py:557: [C0301(line-too-long), ] Line too long (104/100) pike/proxy/tests/test_service_proxy.py:568: [C0301(line-too-long), ] Line too long (140/100) pike/proxy/tests/test_service_proxy.py:572: [C0301(line-too-long), ] Line too long (135/100) pike/proxy/tests/test_service_proxy.py:585: [C0301(line-too-long), ] Line too long (139/100) pike/proxy/tests/test_service_proxy.py:589: [C0301(line-too-long), ] Line too long (134/100) pike/proxy/tests/test_service_proxy.py:611: [C0301(line-too-long), ] Line too long (454/100) pike/proxy/tests/test_service_proxy.py:633: [C0301(line-too-long), ] Line too long (136/100) pike/proxy/tests/test_service_proxy.py:637: [C0301(line-too-long), ] Line too long (133/100) pike/proxy/tests/test_service_proxy.py:717: [C0301(line-too-long), ] Line too long (117/100) pike/proxy/tests/test_service_proxy.py:719: [C0301(line-too-long), ] Line too long (107/100) pike/proxy/tests/test_service_proxy.py:725: [C0301(line-too-long), ] Line too long (107/100) pike/proxy/tests/test_service_proxy.py:733: [C0301(line-too-long), ] Line too long (107/100) pike/proxy/tests/test_service_proxy.py:751: [C0301(line-too-long), ] Line too long (103/100) pike/proxy/tests/test_service_proxy.py:759: [C0301(line-too-long), ] Line too long (103/100) pike/proxy/tests/test_service_proxy.py:814: [C0301(line-too-long), ] Line too long (117/100) pike/proxy/tests/test_service_proxy.py:818: [C0301(line-too-long), ] Line too long (107/100) pike/proxy/tests/test_service_proxy.py:828: [C0301(line-too-long), ] Line too long (107/100) pike/proxy/tests/test_service_proxy.py:838: [C0301(line-too-long), ] Line too long (107/100) pike/proxy/tests/test_service_proxy.py:848: [C0301(line-too-long), ] Line too long (144/100) pike/proxy/tests/test_service_proxy.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/proxy/tests/test_service_proxy.py:691: [C0115(missing-class-docstring), MockResponse] Missing class docstring pike/proxy/tests/test_service_proxy.py:691: [R0205(useless-object-inheritance), MockResponse] Class 'MockResponse' inherits from object, can be safely removed from bases in python3 pike/proxy/tests/test_service_proxy.py:695: [C0116(missing-function-docstring), MockResponse.json] Missing function or method docstring pike/proxy/tests/test_service_proxy.py:691: [R0903(too-few-public-methods), MockResponse] Too few public methods (1/2) pike/proxy/tests/test_service_proxy.py:699: [C0115(missing-class-docstring), TestServiceProxy] Missing class docstring pike/proxy/tests/test_service_proxy.py:706: [C0116(missing-function-docstring), TestServiceProxy.test_get_token] Missing function or method docstring pike/proxy/tests/test_service_proxy.py:723: [C0116(missing-function-docstring), TestServiceProxy.test_unauthorized_access] Missing function or method docstring pike/proxy/tests/test_service_proxy.py:729: [C0116(missing-function-docstring), TestServiceProxy.test_expired_auth_token] Missing function or method docstring pike/proxy/tests/test_service_proxy.py:739: [C0116(missing-function-docstring), TestServiceProxy.test_request_without_servicetype] Missing function or method docstring pike/proxy/tests/test_service_proxy.py:769: [R0913(too-many-arguments), TestServiceProxy.test_crud_resources] Too many arguments (6/5) pike/proxy/tests/test_service_proxy.py:21: [C0411(wrong-import-order), ] standard import "import unittest" should be placed before "from django.test import Client" ************* Module pike.proxy.tests.test_identity_proxy pike/proxy/tests/test_identity_proxy.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/proxy/tests/test_identity_proxy.py:44: [C0103(invalid-name), ] Constant name "mock_token_id" doesn't conform to UPPER_CASE naming style pike/proxy/tests/test_identity_proxy.py:492: [C0115(missing-class-docstring), TestIdentityService] Missing class docstring pike/proxy/tests/test_identity_proxy.py:527: [W1505(deprecated-method), TestIdentityService.test_token] Using deprecated method failUnlessEqual() pike/proxy/tests/test_identity_proxy.py:537: [C0103(invalid-name), TestIdentityService.test_tokensV2] Method name "test_tokensV2" doesn't conform to snake_case naming style pike/proxy/tests/test_identity_proxy.py:565: [W1505(deprecated-method), TestIdentityService.test_tokensV2] Using deprecated method failUnlessEqual() pike/proxy/tests/test_identity_proxy.py:626: [W1505(deprecated-method), TestIdentityService.test_token_with_tenantname] Using deprecated method failUnlessEqual() pike/proxy/tests/test_identity_proxy.py:638: [C0103(invalid-name), TestIdentityService.test_tokensV2_with_tenantname] Method name "test_tokensV2_with_tenantname" doesn't conform to snake_case naming style pike/proxy/tests/test_identity_proxy.py:675: [W1505(deprecated-method), TestIdentityService.test_tokensV2_with_tenantname] Using deprecated method failUnlessEqual() pike/proxy/tests/test_identity_proxy.py:732: [W1505(deprecated-method), TestIdentityService.test_token_with_projectid] Using deprecated method failUnlessEqual() pike/proxy/tests/test_identity_proxy.py:18: [C0411(wrong-import-order), ] standard import "import unittest" should be placed before "import mock" ************* Module pike.extensions.views.extensions pike/extensions/views/extensions.py:1: [C0114(missing-module-docstring), ] Missing module docstring pike/extensions/views/extensions.py:26: [C0115(missing-class-docstring), Extensions] Missing class docstring pike/extensions/views/extensions.py:28: [W0231(super-init-not-called), Extensions.__init__] __init__ method from base class 'Extensions' is not called pike/extensions/views/extensions.py:33: [C0115(missing-class-docstring), APIv1Extensions] Missing class docstring pike/extensions/views/extensions.py:35: [W0231(super-init-not-called), APIv1Extensions.__init__] __init__ method from base class 'Extensions' is not called pike/extensions/views/extensions.py:39: [W0237(arguments-renamed), APIv1Extensions.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Extensions.get' method pike/extensions/views/extensions.py:40: [W1201(logging-not-lazy), APIv1Extensions.get] Use lazy % formatting in logging functions pike/extensions/views/extensions.py:40: [C0209(consider-using-f-string), APIv1Extensions.get] Formatting a regular string which could be a f-string pike/extensions/views/extensions.py:43: [R1725(super-with-arguments), APIv1Extensions.get] Consider using Python 3 style super() without arguments ************* Module pike.extensions.tests.test_extensions pike/extensions/tests/test_extensions.py:30: [C0116(missing-function-docstring), TestExtensions.test_get_extensions_info] Missing function or method docstring ************* Module pike.swagger.views pike/swagger/views.py:35: [R1725(super-with-arguments), SwaggerJsonView.get] Consider using Python 3 style super() without arguments pike/swagger/views.py:57: [R1725(super-with-arguments), APIv1SwaggerJsonView.get] Consider using Python 3 style super() without arguments ************* Module pike.swagger.tests pike/swagger/tests.py:23: [C0115(missing-class-docstring), SampleViewTest] Missing class docstring pike/swagger/tests.py:30: [C0116(missing-function-docstring), SampleViewTest.test_sample] Missing function or method docstring ************* Module pike.samples.views pike/samples/views.py:30: [C0116(missing-function-docstring), SampleList.get] Missing function or method docstring pike/samples/views.py:30: [R0201(no-self-use), SampleList.get] Method could be a function ************* Module pike.samples.tests pike/samples/tests.py:34: [C0116(missing-function-docstring), SampleViewTest.test_sample] Missing function or method docstring ************* Module pike.registration.views.registration pike/registration/views/registration.py:30: [C0115(missing-class-docstring), Registry] Missing class docstring pike/registration/views/registration.py:36: [R1725(super-with-arguments), Registry.__init__] Consider using Python 3 style super() without arguments pike/registration/views/registration.py:39: [C0115(missing-class-docstring), RegistryV1] Missing class docstring pike/registration/views/registration.py:44: [R1725(super-with-arguments), RegistryV1.__init__] Consider using Python 3 style super() without arguments pike/registration/views/registration.py:46: [W0237(arguments-renamed), RegistryV1.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'RegistryV1.post' method pike/registration/views/registration.py:47: [W1201(logging-not-lazy), RegistryV1.post] Use lazy % formatting in logging functions pike/registration/views/registration.py:47: [C0209(consider-using-f-string), RegistryV1.post] Formatting a regular string which could be a f-string pike/registration/views/registration.py:48: [W1201(logging-not-lazy), RegistryV1.post] Use lazy % formatting in logging functions pike/registration/views/registration.py:48: [C0209(consider-using-f-string), RegistryV1.post] Formatting a regular string which could be a f-string pike/registration/views/registration.py:51: [R1725(super-with-arguments), RegistryV1.post] Consider using Python 3 style super() without arguments pike/registration/views/registration.py:53: [W0237(arguments-renamed), RegistryV1.delete] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'RegistryV1.delete' method pike/registration/views/registration.py:54: [W1201(logging-not-lazy), RegistryV1.delete] Use lazy % formatting in logging functions pike/registration/views/registration.py:54: [C0209(consider-using-f-string), RegistryV1.delete] Formatting a regular string which could be a f-string pike/registration/views/registration.py:57: [R1725(super-with-arguments), RegistryV1.delete] Consider using Python 3 style super() without arguments ************* Module pike.registration.tests.test_registration pike/registration/tests/test_registration.py:238: [R1725(super-with-arguments), TestRegistration.setUp] Consider using Python 3 style super() without arguments pike/registration/tests/test_registration.py:242: [R1725(super-with-arguments), TestRegistration.tearDown] Consider using Python 3 style super() without arguments pike/registration/tests/test_registration.py:245: [R0201(no-self-use), TestRegistration._get_mock_response] Method could be a function pike/registration/tests/test_registration.py:253: [C0116(missing-function-docstring), TestRegistration.test_register_endpoint_successfully] Missing function or method docstring pike/registration/tests/test_registration.py:294: [C0116(missing-function-docstring), TestRegistration.test_fail_unregister_endpoint] Missing function or method docstring pike/registration/tests/test_registration.py:308: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_cpupinning_successfully] Missing function or method docstring pike/registration/tests/test_registration.py:337: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_cputopology_successfully] Missing function or method docstring pike/registration/tests/test_registration.py:366: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_hugepage_successfully] Missing function or method docstring pike/registration/tests/test_registration.py:395: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_numa_successfully] Missing function or method docstring pike/registration/tests/test_registration.py:424: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_instructionset_successfully] Missing function or method docstring pike/registration/tests/test_registration.py:453: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_pcipassthrough_successfully] Missing function or method docstring ************* Module pike.resource.tests.test_capacity pike/resource/tests/test_capacity.py:124: [R0201(no-self-use), TestCapacity._get_mock_response] Method could be a function ************* Module pike.resource.tests.tests_infra_workload pike/resource/tests/tests_infra_workload.py:172: [C0115(missing-class-docstring), InfraWorkloadTest] Missing class docstring pike/resource/tests/tests_infra_workload.py:175: [W0107(unnecessary-pass), InfraWorkloadTest.setUp] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:182: [C0103(invalid-name), InfraWorkloadTest.test_post] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:182: [C0103(invalid-name), InfraWorkloadTest.test_post] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:182: [C0116(missing-function-docstring), InfraWorkloadTest.test_post] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:199: [W0107(unnecessary-pass), InfraWorkloadTest.test_post] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:203: [C0103(invalid-name), InfraWorkloadTest.test_post_wo_oof_directive] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:204: [C0103(invalid-name), InfraWorkloadTest.test_post_wo_oof_directive] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:203: [C0116(missing-function-docstring), InfraWorkloadTest.test_post_wo_oof_directive] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:221: [W0107(unnecessary-pass), InfraWorkloadTest.test_post_wo_oof_directive] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:225: [C0103(invalid-name), InfraWorkloadTest.test_get] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:225: [C0103(invalid-name), InfraWorkloadTest.test_get] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:225: [C0116(missing-function-docstring), InfraWorkloadTest.test_get] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:242: [W0107(unnecessary-pass), InfraWorkloadTest.test_get] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:246: [C0103(invalid-name), InfraWorkloadTest.test_delete] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:246: [C0103(invalid-name), InfraWorkloadTest.test_delete] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:246: [C0116(missing-function-docstring), InfraWorkloadTest.test_delete] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:263: [W0107(unnecessary-pass), InfraWorkloadTest.test_delete] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:268: [C0103(invalid-name), APIv1InfraWorkloadTest.setUp] Attribute name "_APIv1InfraWorkload" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:266: [C0115(missing-class-docstring), APIv1InfraWorkloadTest] Missing class docstring pike/resource/tests/tests_infra_workload.py:269: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.setUp] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:276: [C0103(invalid-name), APIv1InfraWorkloadTest.test_post] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:276: [C0103(invalid-name), APIv1InfraWorkloadTest.test_post] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:276: [C0116(missing-function-docstring), APIv1InfraWorkloadTest.test_post] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:294: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.test_post] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:298: [C0103(invalid-name), APIv1InfraWorkloadTest.test_get] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:298: [C0103(invalid-name), APIv1InfraWorkloadTest.test_get] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:298: [C0116(missing-function-docstring), APIv1InfraWorkloadTest.test_get] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:317: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.test_get] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:321: [C0103(invalid-name), APIv1InfraWorkloadTest.test_delete] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:321: [C0103(invalid-name), APIv1InfraWorkloadTest.test_delete] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style pike/resource/tests/tests_infra_workload.py:321: [C0116(missing-function-docstring), APIv1InfraWorkloadTest.test_delete] Missing function or method docstring pike/resource/tests/tests_infra_workload.py:340: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.test_delete] Unnecessary pass statement pike/resource/tests/tests_infra_workload.py:20: [C0411(wrong-import-order), ] standard import "import unittest" should be placed before "import mock" ************* Module pike.pub.config.config pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.proxy.tests.test_identity_proxy:[46:439] ==pike.proxy.tests.test_service_proxy:[45:438] "catalog": [ { "id": "99aefcc82a9246f98f8c281e61ffc754", "endpoints": [ { "region": "RegionOne", "url": "http://128.224.180.14:9696", "id": "39583c1508ad4b71b380570a745ee10a", "interface": "public", "region_id": "RegionOne" }, { "url": "http://192.168.204.2:9696", "region": "RegionOne", "id": "37e8d07ba24e4b8f93490c9daaba06e2", "interface": "internal", "region_id": "RegionOne" }, { "interface": "admin", "id": "7eee4ca98d444b1abb00a50d4b89373f", "region_id": "RegionOne", "region": "RegionOne", "url": "http://192.168.204.2:9696" } ], "name": "neutron", "type": "network" }, { "endpoints": [ { "interface": "public", "id": "10496738fa374295a4a88a63b81a1589", "region_id": "RegionOne", "url": "http://128.224.180.14:8777", "region": "RegionOne" }, { "id": "02dcb8c0bd464c4489fa0a0c9f28571f", "region_id": "RegionOne", "interface": "internal", "url": "http://192.168.204.2:8777", "region": "RegionOne" }, { "region_id": "RegionOne", "id": "8a73b0d3743b4e78b87614690f6e97fe", "interface": "admin", "url": "http://192.168.204.2:8777", "region": "RegionOne" } ], "id": "d131054da83f4c93833799747a0f4709", "name": "ceilometer", "type": "metering" }, { "type": "volumev2", "name": "cinderv2", "endpoints": [ { "id": "35a67ad36f0447d19c9662babf7cf609", "interface": "public", "region_id": "RegionOne", "url": "http://128.224.180.14:8776/v2/fcca3cc49d5e42caae15459e27103efc", "region": "RegionOne" }, { "region": "RegionOne", "url": "http://192.168.204.2:8776/v2/fcca3cc49d5e42caae15459e27103efc", "id": "c6ea42052268420fa2c8d351ee68c922", "interface": "internal", "region_id": "RegionOne" }, { "region_id": "RegionOne", "id": "91cb24853dc3450d847b0c286a2e44ea", "interface": "admin", "region": "RegionOne", "url": "http://192.168.204.2:8776/v2/fcca3cc49d5e42caae15459e27103efc" } ], "id": "40440057102440739c30be10a66bc5d1" }, { "name": "heat", "type": "orchestration", "id": "35300cce88db4bd4bb5a72ffe3b88b00", "endpoints": [ { "id": "58999d7b4a94439089ecfb2aca2d7f6c", "region_id": "RegionOne", "interface": "public", "region": "RegionOne", "url": "http://128.224.180.14:8004/v1/fcca3cc49d5e42caae15459e27103efc" }, { "url": "http://192.168.204.2:8004/v1/fcca3cc49d5e42caae15459e27103efc", "region": "RegionOne", "interface": "internal", "id": "1e0ee1a2aef84802b921d422372a567e", "region_id": "RegionOne" }, { "region": "RegionOne", "url": "http://192.168.204.2:8004/v1/fcca3cc49d5e42caae15459e27103efc", "id": "17661bf4859741b8a43a461dedad1871", "region_id": "RegionOne", "interface": "admin" } ] }, { "id": "08dc6912aea64c01925012c8a6df250a", "endpoints": [ { "id": "02792c4eed77486083f9b2e52d7b94b0", "region_id": "RegionOne", "interface": "public", "region": "RegionOne", "url": "http://128.224.180.14:5000/v3" }, { "id": "b6d5cad394b94309ae40d8de88059c5f", "region_id": "RegionOne", "interface": "internal", "url": "http://192.168.204.2:5000/v3", "region": "RegionOne" }, { "region": "RegionOne", "url": "http://192.168.204.2:35357/v3", "region_id": "RegionOne", "id": "1f18e2b7c6a34493b86853b65917888e", "interface": "admin" } ], "type": "identity", "name": "keystone" }, { "name": "vim", "type": "nfv", "endpoints": [ { "url": "http://128.224.180.14:4545", "region": "RegionOne", "id": "b33e317345e4480ab0786e4960995ec9", "interface": "public", "region_id": "RegionOne" }, { "region": "RegionOne", "url": "http://192.168.204.2:4545", "interface": "internal", "id": "03c85828d5bf432ab04831aa65ac9c52", "region_id": "RegionOne" }, { "id": "067983abb061476cb53a9e23a740d98f", "region_id": "RegionOne", "interface": "admin", "url": "http://192.168.204.2:4545", "region": "RegionOne" } ], "id": "01636c856fc84988b38b9117eb4a8021" }, { "name": "aodh", "type": "alarming", "id": "eb269151d0e44744a5b5449657bdc61c", "endpoints": [ { "id": "5bfc6c056e0244c493642eb82f6aaa11", "region_id": "RegionOne", "interface": "public", "url": "http://128.224.180.14:8042", "region": "RegionOne" }, { "region": "RegionOne", "url": "http://192.168.204.2:8042", "region_id": "RegionOne", "id": "ad69c7f76dce4089a195b9221ddbfb44", "interface": "internal" }, { "interface": "admin", "id": "3e8fcdfa7bcb40b0ae33c282adfcc9ff", "region_id": "RegionOne", "region": "RegionOne", "url": "http://192.168.204.2:8042" } ] }, { "name": "sysinv", "type": "platform", "endpoints": [ { "region": "RegionOne", "url": "http://128.224.180.14:6385/v1", "interface": "public", "id": "ba4ba8104590421b84672306c7e0e1f1", "region_id": "RegionOne" }, { "region": "RegionOne", "url": "http://192.168.204.2:6385/v1", "interface": "internal", "id": "a1cba34b163f496ab1acd6e9b51e39a2", "region_id": "RegionOne" }, { "url": "http://192.168.204.2:6385/v1", "region": "RegionOne", "id": "7c171210a2c841a6a52a5713e316d6fc", "interface": "admin", "region_id": "RegionOne" } ], "id": "256bbad671f946fea543e6bd71f98875" }, { "id": "e84665dcce814c05b4c5084964547534", "endpoints": [ { "url": "http://128.224.180.14:8000/v1/fcca3cc49d5e42caae15459e27103efc", "region": "RegionOne", "region_id": "RegionOne", "id": "b2ed1a23dc6944bea129c20861e0286a", "interface": "public" }, { "region": "RegionOne", "url": "http://192.168.204.2:8000/v1/fcca3cc49d5e42caae15459e27103efc", "interface": "internal", "id": "c4df7c6bc15646848eff35caf6ffea8e", "region_id": "RegionOne" }, { "region_id": "RegionOne", "id": "61b3dabb761443a89ab549f437c05ab0", "interface": "admin", "region": "RegionOne", "url": "http://192.168.204.2:8000/v1/fcca3cc49d5e42caae15459e27103efc" } ], "name": "heat-cfn", "type": "cloudformation" }, { "id": "823024424a014981a3721229491c0b1a", "endpoints": [ { "region": "RegionOne", "url": "http://128.224.180.14:8776/v1/fcca3cc49d5e42caae15459e27103efc", "region_id": "RegionOne", "id": "4a52e4e54ff440789f9a797919c4a0f2", "interface": "public" }, { "url": "http://192.168.204.2:8776/v1/fcca3cc49d5e42caae15459e27103efc", "region": "RegionOne", "id": "d4f9a84476524a39844f0fce63f1022e", "region_id": "RegionOne", "interface": "internal" }, { "region": "RegionOne", "url": "http://192.168.204.2:8776/v1/fcca3cc49d5e42caae15459e27103efc", "interface": "admin", "id": "81bf3810a8cc4697b68c6e93b5b8fe1f", "region_id": "RegionOne" } ], "type": "volume", "name": "cinder" }, { "name": "glance", "type": "image", "endpoints": [ { "id": "bd930aba961946cfb1401bada56d55e3", "region_id": "RegionOne", "interface": "public", "region": "RegionOne", "url": "http://128.224.180.14:9292" }, { "region": "RegionOne", "url": "http://192.168.204.2:9292", "id": "c11da585f0b141b99d1e18bb9a607beb", "region_id": "RegionOne", "interface": "internal" }, { "region": "RegionOne", "url": "http://192.168.204.2:9292", "id": "31b26c625a6a4fc7910dc5935155996e", "interface": "admin", "region_id": "RegionOne" } ], "id": "3b78cf039bc54d1bbb99ab3a4be15ef1" }, { "id": "b8701374bf254de1beee8a2c9ecc6b33", "endpoints": [ { "region_id": "RegionOne", "id": "f7407f330c8b4577b1d377d3fab9c2f8", "interface": "public", "region": "RegionOne", "url": "http://128.224.180.14:15491" }, { "url": "http://192.168.204.2:5491", "region": "RegionOne", "interface": "internal", "id": "0b37ce31a32f4b6fa5e1aa0d6c20680f", "region_id": "RegionOne" }, { "region_id": "RegionOne", "id": "7b87ea72adf245e1991e9e0df29b7ea9", "interface": "admin", "region": "RegionOne", "url": "http://192.168.204.2:5491" } ], "type": "patching", "name": "patching" }, { "id": "0ec0923a58f04ffeb6fced3bbc5c0947", "endpoints": [ { "url": "http://128.224.180.14:8774/v2.1/fcca3cc49d5e42caae15459e27103efc", "region": "RegionOne", "id": "13168b12da17451fb39630de67db168f", "region_id": "RegionOne", "interface": "public" }, { "id": "22dd6a44209f42d986b82e3aa6535f82", "interface": "internal", "region_id": "RegionOne", "region": "RegionOne", "url": "http://192.168.204.2:8774/v2.1/fcca3cc49d5e42caae15459e27103efc" }, { "region": "RegionOne", "url": "http://192.168.204.2:8774/v2.1/fcca3cc49d5e42caae15459e27103efc", "id": "552a991ae501492f841c1b6e2ff38fc5", "region_id": "RegionOne", "interface": "admin" } ], "type": "compute", "name": "nova" }, { "id": "50b219650f1049b097b3f14e8c70cdf8", "endpoints": [ { "interface": "public", "id": "5a4276cd6e4d43e883cf8640d4e13f7d", "region_id": "RegionOne", "region": "RegionOne", "url": "http://128.224.180.14:8776/v3/fcca3cc49d5e42caae15459e27103efc" }, { "region": "RegionOne", "url": "http://192.168.204.2:8776/v3/fcca3cc49d5e42caae15459e27103efc", "region_id": "RegionOne", "id": "c796df3ca5a84fc18db5b43a55283953", "interface": "internal" }, { "region_id": "RegionOne", "id": "cf55c2b34d0049ba835a2e48b9ad0e2e", "interface": "admin", "url": "http://192.168.204.2:8776/v3/fcca3cc49d5e42caae15459e27103efc", "region": "RegionOne" } ], "type": "volumev3", "name": "cinderv3" } pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.proxy.tests.test_identity_proxy:[443:465] ==pike.proxy.tests.test_service_proxy:[442:464] "body": { "token": { "is_domain": "false", "expires_at": "2017-08-27T14:19:15.000000Z", "issued_at": "2017-08-27T13:19:15.000000Z", "roles": [ { "id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_" }, { "id": "b86a7e02935844b899d3d326f83c1b1f", "name": "admin" }, { "name": "heat_stack_owner", "id": "7de502236e954c8282de32e773fc052e" } ], "methods": [ "password" ], pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.proxy.tests.test_identity_proxy:[466:487] ==pike.proxy.tests.test_service_proxy:[465:486] "project": { "name": "admin", "id": "fcca3cc49d5e42caae15459e27103efc", "domain": { "id": "default", "name": "Default" } }, "user": { "name": "admin", "id": "9efb043c7629497a8028d7325ca1afb0", "domain": { "id": "default", "name": "Default" } }, "audit_ids": [ "_ZWT10DtSZKRXIvIcxun7w" ] } }, pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.requests.urls:[17:32] ==pike.requests.urls_v1:[17:32] from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from newton_base.openoapi import network from newton_base.openoapi import subnet from newton_base.openoapi import image from newton_base.openoapi import volume from newton_base.openoapi import server from newton_base.openoapi import vport from newton_base.openoapi import limits from newton_base.openoapi import hosts from newton_base.openoapi import flavor URLPATTERNS = [ url(r'^networks(/(?P[0-9a-zA-Z_-]+))?', pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.proxy.tests.test_identity_proxy:[26:37] ==pike.proxy.tests.test_service_proxy:[25:36] "createTime": "2017-04-01 02:22:27", "domain": "Default", "name": "TiS_R4", "password": "admin", "tenant": "admin", "type": "openstack", "url": "http://128.224.180.14:5000/v3", "userName": "admin", "vendor": "Pike", "version": "pike", "vimId": "pike_RegionOne", pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.samples.tests:[17:34] ==pike.swagger.tests:[17:30] import unittest from django.test import Client from rest_framework import status class SampleViewTest(unittest.TestCase): def setUp(self): self.client = Client() def tearDown(self): pass def test_sample(self): pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.proxy.tests.test_service_proxy:[25:33] ==pike.registration.tests.test_registration:[27:35] "createTime": "2017-04-01 02:22:27", "domain": "Default", "name": "TiS_R4", "password": "admin", "tenant": "admin", "type": "openstack", "url": "http://128.224.180.14:5000/v3", "userName": "admin", pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.registration.tests.test_registration:[244:252] ==pike.resource.tests.test_capacity:[123:131] def _get_mock_response(self, return_value=None): mock_response = mock.Mock(spec=test_base.MockResponse) mock_response.status_code = status.HTTP_200_OK mock_response.json.return_value = return_value return mock_response @mock.patch.object(VimDriverUtils, 'get_session') @mock.patch.object(VimDriverUtils, 'get_vim_info') pike/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==pike.proxy.urls:[14:23] ==pike.proxy.urls_v1:[14:23] from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from pike.proxy.views import identityV3 from pike.proxy.views import services from newton_base.proxy import dnsaasdelegate URLPATTERNS = [ url(r'^identity/v3/auth/tokens/?$', Report ====== 797 statements analysed. Statistics by type ------------------ +---------+-------+-----------+-----------+------------+---------+ |type |number |old number |difference |%documented |%badname | +=========+=======+===========+===========+============+=========+ |module |43 |NC |NC |81.40 |2.33 | +---------+-------+-----------+-----------+------------+---------+ |class |25 |NC |NC |36.00 |0.00 | +---------+-------+-----------+-----------+------------+---------+ |method |86 |NC |NC |72.09 |2.33 | +---------+-------+-----------+-----------+------------+---------+ |function |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ External dependencies --------------------- :: common \-msapi | \-extsys (pike.extensions.views.extensions,pike.proxy.views.identityV3,pike.proxy.views.services,pike.registration.views.registration) | \-helper (pike.resource.tests.tests_infra_workload) \-utils \-restcall (pike.registration.tests.test_registration) django \-conf (pike.extensions.views.extensions,pike.proxy.views.identityV3,pike.registration.views.registration) | \-urls (pike.extensions.urls,pike.extensions.urls_v1,pike.proxy.urls,pike.proxy.urls_v1,pike.requests.urls,pike.requests.urls_v1,pike.samples.urls,pike.swagger.urls,pike.urls) \-core | \-wsgi (pike.wsgi) \-test (pike.extensions.tests.test_extensions,pike.proxy.tests.test_identity_proxy,pike.proxy.tests.test_service_proxy,pike.samples.tests,pike.swagger.tests) mock (pike.proxy.tests.test_identity_proxy,pike.proxy.tests.test_service_proxy,pike.registration.tests.test_registration,pike.resource.tests.test_capacity,pike.resource.tests.tests_infra_workload) newton_base \-extensions | \-extensions (pike.extensions.views.extensions) \-openoapi | \-flavor (pike.requests.urls,pike.requests.urls_v1) | \-hosts (pike.requests.urls,pike.requests.urls_v1) | \-image (pike.requests.urls,pike.requests.urls_v1) | \-limits (pike.requests.urls,pike.requests.urls_v1) | \-network (pike.requests.urls,pike.requests.urls_v1) | \-server (pike.requests.urls,pike.requests.urls_v1) | \-subnet (pike.requests.urls,pike.requests.urls_v1) | \-tenants (pike.urls) | \-volume (pike.requests.urls,pike.requests.urls_v1) | \-vport (pike.requests.urls,pike.requests.urls_v1) \-proxy | \-dnsaasdelegate (pike.proxy.urls,pike.proxy.urls_v1) | \-identityV3 (pike.proxy.views.identityV3) | \-services (pike.proxy.views.services) \-registration | \-registration_driver (pike.registration.views.registration) \-resource | \-capacity (pike.urls) | \-infra_workload (pike.resource.tests.tests_infra_workload) \-swagger | \-views (pike.swagger.views) \-tests | \-mock_info (pike.proxy.tests.test_identity_proxy,pike.registration.tests.test_registration,pike.resource.tests.test_capacity) | \-test_base (pike.registration.tests.test_registration,pike.resource.tests.test_capacity) \-util (pike.proxy.tests.test_identity_proxy,pike.proxy.tests.test_service_proxy,pike.registration.tests.test_registration,pike.resource.tests.test_capacity) rest_framework \-response (pike.samples.views,pike.swagger.views) \-status (pike.extensions.tests.test_extensions,pike.proxy.tests.test_identity_proxy,pike.proxy.tests.test_service_proxy,pike.registration.tests.test_registration,pike.resource.tests.test_capacity,pike.resource.tests.tests_infra_workload,pike.samples.tests,pike.swagger.tests) \-urlpatterns (pike.extensions.urls,pike.extensions.urls_v1,pike.proxy.urls,pike.proxy.urls_v1,pike.requests.urls,pike.requests.urls_v1,pike.samples.urls,pike.swagger.urls) \-views (pike.samples.views) starlingx_base \-resource \-infra_workload (pike.urls) yaml (pike.settings) Raw metrics ----------- +----------+-------+------+---------+-----------+ |type |number |% |previous |difference | +==========+=======+======+=========+===========+ |code |1782 |42.93 |NC |NC | +----------+-------+------+---------+-----------+ |docstring |1278 |30.79 |NC |NC | +----------+-------+------+---------+-----------+ |comment |642 |15.47 |NC |NC | +----------+-------+------+---------+-----------+ |empty |449 |10.82 |NC |NC | +----------+-------+------+---------+-----------+ Duplication ----------- +-------------------------+------+---------+-----------+ | |now |previous |difference | +=========================+======+=========+===========+ |nb duplicated lines |0 |NC |NC | +-------------------------+------+---------+-----------+ |percent duplicated lines |0.000 |NC |NC | +-------------------------+------+---------+-----------+ Messages by category -------------------- +-----------+-------+---------+-----------+ |type |number |previous |difference | +===========+=======+=========+===========+ |convention |130 |NC |NC | +-----------+-------+---------+-----------+ |refactor |61 |NC |NC | +-----------+-------+---------+-----------+ |warning |86 |NC |NC | +-----------+-------+---------+-----------+ |error |0 |NC |NC | +-----------+-------+---------+-----------+ Messages -------- +---------------------------+------------+ |message id |occurrences | +===========================+============+ |arguments-renamed |43 | +---------------------------+------------+ |super-with-arguments |34 | +---------------------------+------------+ |consider-using-f-string |28 | +---------------------------+------------+ |missing-function-docstring |24 | +---------------------------+------------+ |line-too-long |23 | +---------------------------+------------+ |logging-not-lazy |22 | +---------------------------+------------+ |invalid-name |20 | +---------------------------+------------+ |missing-class-docstring |16 | +---------------------------+------------+ |too-many-arguments |13 | +---------------------------+------------+ |wrong-import-order |10 | +---------------------------+------------+ |unnecessary-pass |9 | +---------------------------+------------+ |duplicate-code |9 | +---------------------------+------------+ |missing-module-docstring |8 | +---------------------------+------------+ |deprecated-method |5 | +---------------------------+------------+ |useless-super-delegation |4 | +---------------------------+------------+ |no-self-use |3 | +---------------------------+------------+ |super-init-not-called |2 | +---------------------------+------------+ |useless-object-inheritance |1 | +---------------------------+------------+ |ungrouped-imports |1 | +---------------------------+------------+ |too-few-public-methods |1 | +---------------------------+------------+ |reimported |1 | +---------------------------+------------+ ----------------------------------- Your code has been rated at 6.52/10 ___________________________________ summary ____________________________________ py36: commands succeeded pep8: commands succeeded cov: commands succeeded pylint: commands succeeded congratulations :) + deactivate + unset -f pydoc + '[' -z _ ']' + PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + export PATH + unset _OLD_VIRTUAL_PATH + '[' -z '' ']' + '[' -n /bin/bash ']' + hash -r + '[' -z _ ']' + PS1= + export PS1 + unset _OLD_VIRTUAL_PS1 + unset VIRTUAL_ENV + '[' '!' '' = nondestructive ']' + unset -f deactivate + cd .. + rm -rf ./venv-tox ./.tox [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:single (make-assembly) @ multicloud-openstack-pike --- [INFO] Reading assembly descriptor: assembly.xml [INFO] Building zip: /w/workspace/multicloud-openstack-pike-sonar/pike/target/multicloud-openstack-pike-1.5.8-SNAPSHOT.zip [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (pre-integration-test) @ multicloud-openstack-pike --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/w/workspace/multicloud-openstack-pike-sonar/pike/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-failsafe-plugin:2.22.0:integration-test (integration-tests) @ multicloud-openstack-pike --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:report (post-integration-test) @ multicloud-openstack-pike --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-failsafe-plugin:2.22.0:verify (integration-tests) @ multicloud-openstack-pike --- [INFO] Failsafe report directory: /w/workspace/multicloud-openstack-pike-sonar/pike/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ multicloud-openstack-pike --- [INFO] Installing /w/workspace/multicloud-openstack-pike-sonar/pike/pom.xml to /tmp/r/org/onap/multicloud/openstack/multicloud-openstack-pike/1.5.8-SNAPSHOT/multicloud-openstack-pike-1.5.8-SNAPSHOT.pom [INFO] Installing /w/workspace/multicloud-openstack-pike-sonar/pike/target/multicloud-openstack-pike-1.5.8-SNAPSHOT.zip to /tmp/r/org/onap/multicloud/openstack/multicloud-openstack-pike/1.5.8-SNAPSHOT/multicloud-openstack-pike-1.5.8-SNAPSHOT.zip [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:22 min [INFO] Finished at: 2024-06-15T14:31:26Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.login=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk11 '!=' openjdk17 ']' + export SET_JDK_VERSION=openjdk17 + SET_JDK_VERSION=openjdk17 + bash /dev/fd/63 ++ curl -s https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.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.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 + source /tmp/java.env ++ JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/multicloud-openstack-pike-sonar@tmp/config7527727651464964793tmp --settings /w/workspace/multicloud-openstack-pike-sonar@tmp/config13537341258305430497tmp -Dsonar.projectKey=onap_multicloud-openstack-pike -Dsonar.organization=onap -Dsonar.login=**** --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -f pike/pom.xml Unrecognized VM option 'MaxPermSize=256m' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Build step 'Conditional steps (multiple)' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE [PostBuildScript] - [INFO] Executing post build scripts. [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins2312172991233196459.sh ---> sysstat.sh [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins16216907840890242758.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/multicloud-openstack-pike-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/multicloud-openstack-pike-sonar ']' + 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/multicloud-openstack-pike-sonar ']' + mkdir -p /w/workspace/multicloud-openstack-pike-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/multicloud-openstack-pike-sonar/archives/ [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins11225316940171391655.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-pike-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Px4l from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Px4l/bin to PATH INFO: Running in OpenStack, capturing instance metadata [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins5162878047039277869.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/multicloud-openstack-pike-sonar@tmp/config15122766380889694524tmp 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. [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins10571094151010178700.sh ---> create-netrc.sh [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins10178778608847090331.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-pike-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Px4l from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Px4l/bin to PATH [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins1953094715488412266.sh ---> sudo-logs.sh Archiving 'sudo' log.. [multicloud-openstack-pike-sonar] $ /bin/bash /tmp/jenkins17070294749662043559.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-pike-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Px4l 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-Px4l/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [multicloud-openstack-pike-sonar] $ /bin/bash -l /tmp/jenkins12147562989371336122.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-pike-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Px4l from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Px4l/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/multicloud-openstack-pike-sonar/2001 INFO: archiving workspace using pattern(s): -p **/*.log -p **/hs_err_*.log -p **/target/**/feature.xml -p **/target/failsafe-reports/failsafe-summary.xml -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-4c-4g-17138 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 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): 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 7.9G 0 7.9G 0% /dev tmpfs 1.6G 676K 1.6G 1% /run /dev/vda1 78G 8.6G 69G 12% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 16040 550 13022 0 2467 15158 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 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:e5:21:c0 brd ff:ff:ff:ff:ff:ff inet 10.30.107.1/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86180sec preferred_lft 86180sec inet6 fe80::f816:3eff:fee5:21c0/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-17138) 06/15/24 _x86_64_ (4 CPU) 14:28:30 LINUX RESTART (4 CPU) 14:29:01 tps rtps wtps bread/s bwrtn/s 14:30:01 116.01 17.05 98.97 1015.83 50782.34 14:31:01 131.88 16.73 115.15 434.86 18745.54 14:32:01 134.49 9.45 125.05 1137.68 12411.80 Average: 127.46 14.41 113.05 862.79 27313.23 14:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:30:01 13896276 15540960 2528684 15.40 67508 1774008 812740 4.65 704568 1601956 226264 14:31:01 13222624 15269836 3202336 19.50 110620 2100732 1199144 6.86 1050196 1867680 217452 14:32:01 13331084 15517864 3093876 18.84 128784 2204692 789148 4.52 846720 1947812 18116 Average: 13483328 15442887 2941632 17.91 102304 2026477 933677 5.34 867161 1805816 153944 14:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:30:01 lo 1.40 1.40 0.16 0.16 0.00 0.00 0.00 0.00 14:30:01 ens3 59.29 39.34 865.24 7.77 0.00 0.00 0.00 0.00 14:31:01 lo 3.13 3.13 0.31 0.31 0.00 0.00 0.00 0.00 14:31:01 ens3 136.88 110.90 1124.46 24.85 0.00 0.00 0.00 0.00 14:32:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 14:32:01 ens3 50.36 41.23 85.75 15.57 0.00 0.00 0.00 0.00 Average: lo 1.80 1.80 0.19 0.19 0.00 0.00 0.00 0.00 Average: ens3 82.18 63.82 691.82 16.06 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-17138) 06/15/24 _x86_64_ (4 CPU) 14:28:30 LINUX RESTART (4 CPU) 14:29:01 CPU %user %nice %system %iowait %steal %idle 14:30:01 all 19.15 0.00 1.28 7.33 0.06 72.18 14:30:01 0 28.60 0.00 1.69 1.18 0.05 68.49 14:30:01 1 3.21 0.00 0.35 13.47 0.07 82.90 14:30:01 2 32.14 0.00 1.96 2.70 0.07 63.14 14:30:01 3 12.69 0.00 1.11 11.94 0.05 74.21 14:31:01 all 26.26 0.00 1.84 4.54 0.08 67.28 14:31:01 0 14.57 0.00 1.20 0.20 0.05 83.97 14:31:01 1 16.01 0.00 1.39 1.04 0.07 81.50 14:31:01 2 21.47 0.00 2.12 12.08 0.07 64.26 14:31:01 3 53.01 0.00 2.66 4.89 0.15 39.29 14:32:01 all 23.19 0.00 1.67 3.07 0.06 72.01 14:32:01 0 12.22 0.00 1.32 0.52 0.03 85.91 14:32:01 1 35.73 0.00 2.18 2.88 0.05 59.15 14:32:01 2 15.37 0.00 1.99 8.14 0.08 74.41 14:32:01 3 29.47 0.00 1.18 0.77 0.05 68.53 Average: all 22.87 0.00 1.60 4.98 0.07 70.49 Average: 0 18.47 0.00 1.40 0.63 0.04 79.45 Average: 1 18.33 0.00 1.31 5.79 0.06 74.51 Average: 2 22.97 0.00 2.02 7.64 0.07 67.29 Average: 3 31.72 0.00 1.65 5.86 0.08 60.69