Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-38421 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/multicloud-openstack-windriver-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-windriver-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-windriver-sonar] $ /bin/bash /tmp/jenkins372049636359396646.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-f2rP 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-f2rP/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-f2rP/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.19 botocore==1.35.19 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 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.2.0 filelock==3.16.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.34.0 httplib2==0.22.0 identify==2.6.0 idna==3.9 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.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.1.0 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==4.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.3 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.1.0 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.20 virtualenv==20.26.4 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-windriver-sonar] $ /bin/sh -xe /tmp/jenkins17707747944540034430.sh + echo Using SonarCloud Using SonarCloud [multicloud-openstack-windriver-sonar] $ /bin/sh -xe /tmp/jenkins15686150416949257927.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-38421 [multicloud-openstack-windriver-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 windriver/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-windriver-sonar] $ /bin/sh -xe /tmp/jenkins17617024402947174365.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-windriver-sonar] $ /bin/sh /tmp/jenkins7648914525830722566.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-windriver [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/multicloud-openstack-windriver-sonar@tmp/config16708259630042586015tmp copy managed file [multicloud-openstack-settings] to file:/w/workspace/multicloud-openstack-windriver-sonar@tmp/config13643658090719072563tmp [multicloud-openstack-windriver-sonar] $ /bin/bash -l /tmp/jenkins15114224083371493314.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-windriver-sonar@tmp/config16708259630042586015tmp --settings /w/workspace/multicloud-openstack-windriver-sonar@tmp/config13643658090719072563tmp --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 windriver/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-windriver >---- [INFO] Building multicloud-openstack-windriver 1.5.8-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ multicloud-openstack-windriver --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (clean phase script) @ multicloud-openstack-windriver --- running script: [/w/workspace/multicloud-openstack-windriver-sonar/windriver/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-windriver] 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-windriver --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ multicloud-openstack-windriver --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (pre-unit-test) @ multicloud-openstack-windriver --- [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-windriver-sonar/windriver/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-windriver --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (onap-java-style) @ multicloud-openstack-windriver --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:report (post-unit-test) @ multicloud-openstack-windriver --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (test script) @ multicloud-openstack-windriver --- running script: [/w/workspace/multicloud-openstack-windriver-sonar/windriver/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-windriver] MVN_PROJECT_VERSION is [1.5.8-SNAPSHOT] ==> test phase script /w/workspace/multicloud-openstack-windriver-sonar/windriver + echo /w/workspace/multicloud-openstack-windriver-sonar/windriver ++ pwd + CURDIR=/w/workspace/multicloud-openstack-windriver-sonar/windriver ++ find . -name tox.ini + TOXINIS=./tox.ini + cd .. + for TOXINI in "${TOXINIS[@]}" ++ rev ++ cut -f2- -d/ ++ echo ./tox.ini ++ rev + DIR=. + cd /w/workspace/multicloud-openstack-windriver-sonar/windriver/. + 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-windriver-sonar/windriver/venv-tox/bin/python3 Also creating executable in /w/workspace/multicloud-openstack-windriver-sonar/windriver/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-windriver-sonar/windriver/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-windriver-sonar/windriver/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-windriver-sonar/windriver/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 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 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 py>=1.4.17 Downloading py-1.11.0-py2.py3-none-any.whl (98 kB) Collecting toml>=0.10.2 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting importlib-metadata>=0.12 Downloading importlib_metadata-4.8.3-py3-none-any.whl (17 kB) Collecting zipp>=0.5 Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB) Collecting typing-extensions>=3.6.4 Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.1.4-py3-none-any.whl (104 kB) Collecting platformdirs<3,>=2.4 Downloading platformdirs-2.4.0-py3-none-any.whl (14 kB) Collecting distlib<1,>=0.3.6 Using cached distlib-0.3.8-py2.py3-none-any.whl (468 kB) Collecting importlib-resources>=5.4 Downloading importlib_resources-5.4.0-py3-none-any.whl (28 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.4 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.4 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-windriver-sonar/windriver + tox py36 create: /w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36 py36 installdeps: -r/w/workspace/multicloud-openstack-windriver-sonar/windriver/requirements.txt, -r/w/workspace/multicloud-openstack-windriver-sonar/windriver/test-requirements.txt py36 installed: asgiref==3.4.1,astroid==2.11.7,certifi==2024.8.30,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.9,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==3.0.5,pbr==6.1.0,platformdirs==2.4.0,positional==1.2.1,pylint==2.13.9,pyparsing==2.4.7,python-memcached==1.62,pytz==2024.2,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.20,wrapt==1.16.0,zipp==3.6.0 py36 run-test-pre: PYTHONHASHSEED='1685982158' py36 run-test: commands[0] | coverage run --branch manage.py test titanium_cloud System check identified no issues (0 silenced). Running tests... ---------------------------------------------------------------------- test_get_extensions_info (titanium_cloud.extensions.tests.test_extensions.TestExtensions) ... OK (0.004s) test_token (titanium_cloud.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.005s) test_token_with_projectid (titanium_cloud.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.003s) test_token_with_tenantname (titanium_cloud.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.003s) test_tokensV2 (titanium_cloud.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.004s) test_tokensV2_with_tenantname (titanium_cloud.proxy.tests.test_identity_proxy.TestIdentityService) ... OK (0.003s) test_crud_resources (titanium_cloud.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.023s) test_expired_auth_token (titanium_cloud.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.002s) test_get_token (titanium_cloud.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.003s) test_request_without_servicetype (titanium_cloud.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.006s) test_unauthorized_access (titanium_cloud.proxy.tests.test_service_proxy.TestServiceProxy) ... OK (0.001s) test_fail_unregister_endpoint (titanium_cloud.registration.tests.test_registration.TestRegistration) ... ERROR (0.003s) test_register_endpoint_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.006s) test_register_hpa_cpupinning_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.009s) test_register_hpa_hugepage_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.011s) test_register_hpa_instructionset_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.009s) test_register_hpa_numa_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.011s) test_register_hpa_topo_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.012s) test_register_pcipassthrough_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.013s) test_register_sriovnic_successfully (titanium_cloud.registration.tests.test_registration.TestRegistration) ... OK (0.015s) test_discover_flavors (titanium_cloud.registration.tests.test_registration2.TestRegistration2) ... OK (0.009s) test_discover_flavors_w_hpa_numa (titanium_cloud.registration.tests.test_registration2.TestRegistration2) ... OK (0.005s) test_capacity_check_nova_hypervisor_outofram (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.008s) test_capacity_check_nova_hypervisor_outofstorage (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.004s) test_capacity_check_nova_hypervisor_outofvcpu (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.004s) test_capacity_check_nova_limits_failed (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.005s) test_capacity_check_nova_limits_outofram (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.003s) test_capacity_check_success (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.004s) test_capacity_check_volume_limits_outofstorage (titanium_cloud.resource.tests.test_capacity.TestCapacity) ... OK (0.004s) test_get (titanium_cloud.resource.tests.tests_infra_workload.APIv1InfraWorkloadTest) ... OK (0.001s) test_post (titanium_cloud.resource.tests.tests_infra_workload.APIv1InfraWorkloadTest) ... OK (0.001s) test_get (titanium_cloud.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_post (titanium_cloud.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_post_wo_oof_directive (titanium_cloud.resource.tests.tests_infra_workload.InfraWorkloadTest) ... OK (0.001s) test_sample (titanium_cloud.samples.tests_sample.SampleViewTest) ... OK (0.001s) test_sample (titanium_cloud.swagger.tests_swagger.SampleViewTest) ... OK (0.003s) ====================================================================== ERROR [0.003s]: test_fail_unregister_endpoint (titanium_cloud.registration.tests.test_registration.TestRegistration) ---------------------------------------------------------------------- Traceback (most recent call last): File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/mock/mock.py", line 1330, in patched return func(*args, **keywargs) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/titanium_cloud/registration/tests/test_registration.py", line 272, in test_fail_unregister_endpoint HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/test/client.py", line 795, in delete response = super().delete(path, data=data, content_type=content_type, secure=secure, **extra) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/test/client.py", line 447, in delete secure=secure, **extra) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/test/client.py", line 473, in generic return self.request(**r) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/test/client.py", line 719, in request self.check_exception(response) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/test/client.py", line 580, in check_exception raise exc_value File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/w/workspace/multicloud-openstack-windriver-sonar/share/starlingx_base/registration/registration.py", line 79, in delete gAZCapAuditThread.remove(vimid) File "/w/workspace/multicloud-openstack-windriver-sonar/share/common/msapi/helper.py", line 298, in remove cache.delete(self.cache_prefix + backlog_id) File "/w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/lib/python3.6/site-packages/django/core/cache/backends/memcached.py", line 202, in delete return bool(self._cache._deletetouch([b'DELETED'], 'delete', key)) AttributeError: 'Client' object has no attribute '_deletetouch' ---------------------------------------------------------------------- Ran 36 tests in 0.202s FAILED (errors=1) Generating XML reports... ERROR: InvocationError for command /w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/py36/bin/coverage run --branch manage.py test titanium_cloud (exited with code 1) cov create: /w/workspace/multicloud-openstack-windriver-sonar/windriver/.tox/cov cov installdeps: -r/w/workspace/multicloud-openstack-windriver-sonar/windriver/requirements.txt, -r/w/workspace/multicloud-openstack-windriver-sonar/windriver/test-requirements.txt cov installed: asgiref==3.4.1,astroid==2.11.7,certifi==2024.8.30,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.9,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==3.0.5,pbr==6.1.0,platformdirs==2.4.0,positional==1.2.1,pylint==2.13.9,pyparsing==2.4.7,python-memcached==1.62,pytz==2024.2,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.20,wrapt==1.16.0,zipp==3.6.0 cov run-test-pre: PYTHONHASHSEED='1685982158' 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-windriver-sonar/windriver/.tox/pylint pylint installdeps: -r/w/workspace/multicloud-openstack-windriver-sonar/windriver/requirements.txt, -r/w/workspace/multicloud-openstack-windriver-sonar/windriver/test-requirements.txt pylint installed: asgiref==3.4.1,astroid==2.11.7,certifi==2024.8.30,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.9,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==3.0.5,pbr==6.1.0,platformdirs==2.4.0,positional==1.2.1,pylint==2.13.9,pyparsing==2.4.7,python-memcached==1.62,pytz==2024.2,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.20,wrapt==1.16.0,zipp==3.6.0 pylint run-test-pre: PYTHONHASHSEED='1685982158' pylint run-test: commands[0] | bash -c 'pylint -f parseable --reports=y titanium_cloud | tee pylint.out' ************* Module titanium_cloud titanium_cloud/__init__.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.urls titanium_cloud/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/urls.py:19: [C0412(ungrouped-imports), ] Imports from package starlingx_base are not grouped ************* Module titanium_cloud.wsgi titanium_cloud/wsgi.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.settings titanium_cloud/settings.py:139: [C0301(line-too-long), ] Line too long (107/100) titanium_cloud/settings.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/settings.py:86: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string titanium_cloud/settings.py:100: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string titanium_cloud/settings.py:109: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string titanium_cloud/settings.py:112: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string titanium_cloud/settings.py:118: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string titanium_cloud/settings.py:123: [C0209(consider-using-f-string), ] Formatting a regular string which could be a f-string titanium_cloud/settings.py:164: [C0103(invalid-name), ] Constant name "log_path" doesn't conform to UPPER_CASE naming style titanium_cloud/settings.py:180: [W0404(reimported), ] Reimport 'platform' (imported line 17) titanium_cloud/settings.py:19: [C0411(wrong-import-order), ] standard import "from logging import config as log_config" should be placed before "import yaml" titanium_cloud/settings.py:180: [C0412(ungrouped-imports), ] Imports from package platform are not grouped ************* Module titanium_cloud.requests.urls titanium_cloud/requests/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.requests.urlsV1 titanium_cloud/requests/urlsV1.py:1: [C0103(invalid-name), ] Module name "urlsV1" doesn't conform to snake_case naming style titanium_cloud/requests/urlsV1.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.proxy.urls titanium_cloud/proxy/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/proxy/urls.py:20: [C0411(wrong-import-order), ] third party import "from newton_base.proxy import dnsaasdelegate" should be placed before "from titanium_cloud.proxy.views import identityV3" ************* Module titanium_cloud.proxy.urlsV1 titanium_cloud/proxy/urlsV1.py:1: [C0103(invalid-name), ] Module name "urlsV1" doesn't conform to snake_case naming style titanium_cloud/proxy/urlsV1.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/proxy/urlsV1.py:20: [C0411(wrong-import-order), ] third party import "from newton_base.proxy import dnsaasdelegate" should be placed before "from titanium_cloud.proxy.views import identityV3" ************* Module titanium_cloud.proxy.views.services titanium_cloud/proxy/views/services.py:113: [C0301(line-too-long), ] Line too long (109/100) titanium_cloud/proxy/views/services.py:142: [C0301(line-too-long), ] Line too long (101/100) titanium_cloud/proxy/views/services.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/proxy/views/services.py:28: [C0115(missing-class-docstring), Services] Missing class docstring titanium_cloud/proxy/views/services.py:30: [W0235(useless-super-delegation), Services.__init__] Useless super delegation in method '__init__' titanium_cloud/proxy/views/services.py:31: [R1725(super-with-arguments), Services.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:40: [W0235(useless-super-delegation), GetTenants.__init__] Useless super delegation in method '__init__' titanium_cloud/proxy/views/services.py:41: [R1725(super-with-arguments), GetTenants.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:45: [W1201(logging-not-lazy), GetTenants.get] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:45: [C0209(consider-using-f-string), GetTenants.get] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:46: [W1201(logging-not-lazy), GetTenants.get] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:46: [C0209(consider-using-f-string), GetTenants.get] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:48: [R1725(super-with-arguments), GetTenants.get] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:51: [C0115(missing-class-docstring), APIv1Services] Missing class docstring titanium_cloud/proxy/views/services.py:53: [W0235(useless-super-delegation), APIv1Services.__init__] Useless super delegation in method '__init__' titanium_cloud/proxy/views/services.py:54: [R1725(super-with-arguments), APIv1Services.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:57: [W0237(arguments-renamed), APIv1Services.head] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.head' method titanium_cloud/proxy/views/services.py:57: [W0237(arguments-renamed), APIv1Services.head] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.head' method titanium_cloud/proxy/views/services.py:57: [W0237(arguments-renamed), APIv1Services.head] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.head' method titanium_cloud/proxy/views/services.py:57: [R0913(too-many-arguments), APIv1Services.head] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:58: [W1201(logging-not-lazy), APIv1Services.head] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:58: [C0209(consider-using-f-string), APIv1Services.head] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:63: [R1725(super-with-arguments), APIv1Services.head] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:65: [W0237(arguments-renamed), APIv1Services.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.get' method titanium_cloud/proxy/views/services.py:65: [W0237(arguments-renamed), APIv1Services.get] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.get' method titanium_cloud/proxy/views/services.py:65: [W0237(arguments-renamed), APIv1Services.get] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.get' method titanium_cloud/proxy/views/services.py:65: [R0913(too-many-arguments), APIv1Services.get] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:66: [W1201(logging-not-lazy), APIv1Services.get] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:66: [C0209(consider-using-f-string), APIv1Services.get] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:69: [R1725(super-with-arguments), APIv1Services.get] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:71: [W0237(arguments-renamed), APIv1Services.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.post' method titanium_cloud/proxy/views/services.py:71: [W0237(arguments-renamed), APIv1Services.post] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.post' method titanium_cloud/proxy/views/services.py:71: [W0237(arguments-renamed), APIv1Services.post] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.post' method titanium_cloud/proxy/views/services.py:71: [R0913(too-many-arguments), APIv1Services.post] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:72: [W1201(logging-not-lazy), APIv1Services.post] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:72: [C0209(consider-using-f-string), APIv1Services.post] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:75: [R1725(super-with-arguments), APIv1Services.post] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:77: [W0237(arguments-renamed), APIv1Services.put] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.put' method titanium_cloud/proxy/views/services.py:77: [W0237(arguments-renamed), APIv1Services.put] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.put' method titanium_cloud/proxy/views/services.py:77: [W0237(arguments-renamed), APIv1Services.put] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.put' method titanium_cloud/proxy/views/services.py:77: [R0913(too-many-arguments), APIv1Services.put] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:78: [W1201(logging-not-lazy), APIv1Services.put] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:78: [C0209(consider-using-f-string), APIv1Services.put] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:81: [R1725(super-with-arguments), APIv1Services.put] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:83: [W0237(arguments-renamed), APIv1Services.patch] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.patch' method titanium_cloud/proxy/views/services.py:83: [W0237(arguments-renamed), APIv1Services.patch] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.patch' method titanium_cloud/proxy/views/services.py:83: [W0237(arguments-renamed), APIv1Services.patch] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.patch' method titanium_cloud/proxy/views/services.py:83: [R0913(too-many-arguments), APIv1Services.patch] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:84: [W1201(logging-not-lazy), APIv1Services.patch] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:84: [C0209(consider-using-f-string), APIv1Services.patch] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:87: [R1725(super-with-arguments), APIv1Services.patch] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:89: [W0237(arguments-renamed), APIv1Services.delete] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Services.delete' method titanium_cloud/proxy/views/services.py:89: [W0237(arguments-renamed), APIv1Services.delete] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1Services.delete' method titanium_cloud/proxy/views/services.py:89: [W0237(arguments-renamed), APIv1Services.delete] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1Services.delete' method titanium_cloud/proxy/views/services.py:89: [R0913(too-many-arguments), APIv1Services.delete] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:90: [W1201(logging-not-lazy), APIv1Services.delete] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:90: [C0209(consider-using-f-string), APIv1Services.delete] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:93: [R1725(super-with-arguments), APIv1Services.delete] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:101: [W0235(useless-super-delegation), APIv1GetTenants.__init__] Useless super delegation in method '__init__' titanium_cloud/proxy/views/services.py:102: [R1725(super-with-arguments), APIv1GetTenants.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:105: [W0237(arguments-renamed), APIv1GetTenants.head] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.head' method titanium_cloud/proxy/views/services.py:105: [W0237(arguments-renamed), APIv1GetTenants.head] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.head' method titanium_cloud/proxy/views/services.py:105: [W0237(arguments-renamed), APIv1GetTenants.head] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.head' method titanium_cloud/proxy/views/services.py:105: [R0913(too-many-arguments), APIv1GetTenants.head] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:106: [W1201(logging-not-lazy), APIv1GetTenants.head] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:106: [C0209(consider-using-f-string), APIv1GetTenants.head] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:111: [R1725(super-with-arguments), APIv1GetTenants.head] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:113: [W0237(arguments-renamed), APIv1GetTenants.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.get' method titanium_cloud/proxy/views/services.py:113: [W0237(arguments-renamed), APIv1GetTenants.get] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.get' method titanium_cloud/proxy/views/services.py:113: [W0237(arguments-renamed), APIv1GetTenants.get] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.get' method titanium_cloud/proxy/views/services.py:113: [R0913(too-many-arguments), APIv1GetTenants.get] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:114: [W1201(logging-not-lazy), APIv1GetTenants.get] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:114: [C0209(consider-using-f-string), APIv1GetTenants.get] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:119: [R1725(super-with-arguments), APIv1GetTenants.get] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:121: [W0237(arguments-renamed), APIv1GetTenants.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.post' method titanium_cloud/proxy/views/services.py:121: [W0237(arguments-renamed), APIv1GetTenants.post] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.post' method titanium_cloud/proxy/views/services.py:121: [W0237(arguments-renamed), APIv1GetTenants.post] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.post' method titanium_cloud/proxy/views/services.py:121: [R0913(too-many-arguments), APIv1GetTenants.post] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:122: [W1201(logging-not-lazy), APIv1GetTenants.post] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:122: [C0209(consider-using-f-string), APIv1GetTenants.post] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:128: [R1725(super-with-arguments), APIv1GetTenants.post] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:130: [W0237(arguments-renamed), APIv1GetTenants.put] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.put' method titanium_cloud/proxy/views/services.py:130: [W0237(arguments-renamed), APIv1GetTenants.put] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.put' method titanium_cloud/proxy/views/services.py:130: [W0237(arguments-renamed), APIv1GetTenants.put] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.put' method titanium_cloud/proxy/views/services.py:130: [R0913(too-many-arguments), APIv1GetTenants.put] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:131: [W1201(logging-not-lazy), APIv1GetTenants.put] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:131: [C0209(consider-using-f-string), APIv1GetTenants.put] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:134: [R1725(super-with-arguments), APIv1GetTenants.put] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:136: [W0237(arguments-renamed), APIv1GetTenants.patch] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.patch' method titanium_cloud/proxy/views/services.py:136: [W0237(arguments-renamed), APIv1GetTenants.patch] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.patch' method titanium_cloud/proxy/views/services.py:136: [W0237(arguments-renamed), APIv1GetTenants.patch] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.patch' method titanium_cloud/proxy/views/services.py:136: [R0913(too-many-arguments), APIv1GetTenants.patch] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:137: [W1201(logging-not-lazy), APIv1GetTenants.patch] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:137: [C0209(consider-using-f-string), APIv1GetTenants.patch] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:140: [R1725(super-with-arguments), APIv1GetTenants.patch] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/services.py:142: [W0237(arguments-renamed), APIv1GetTenants.delete] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1GetTenants.delete' method titanium_cloud/proxy/views/services.py:142: [W0237(arguments-renamed), APIv1GetTenants.delete] Parameter 'servicetype' has been renamed to 'cloud_region_id' in overridden 'APIv1GetTenants.delete' method titanium_cloud/proxy/views/services.py:142: [W0237(arguments-renamed), APIv1GetTenants.delete] Parameter 'requri' has been renamed to 'servicetype' in overridden 'APIv1GetTenants.delete' method titanium_cloud/proxy/views/services.py:142: [R0913(too-many-arguments), APIv1GetTenants.delete] Too many arguments (6/5) titanium_cloud/proxy/views/services.py:143: [W1201(logging-not-lazy), APIv1GetTenants.delete] Use lazy % formatting in logging functions titanium_cloud/proxy/views/services.py:143: [C0209(consider-using-f-string), APIv1GetTenants.delete] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/services.py:146: [R1725(super-with-arguments), APIv1GetTenants.delete] Consider using Python 3 style super() without arguments ************* Module titanium_cloud.proxy.views.identityV3 titanium_cloud/proxy/views/identityV3.py:1: [C0103(invalid-name), ] Module name "identityV3" doesn't conform to snake_case naming style titanium_cloud/proxy/views/identityV3.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/proxy/views/identityV3.py:27: [C0115(missing-class-docstring), Tokens] Missing class docstring titanium_cloud/proxy/views/identityV3.py:29: [R1725(super-with-arguments), Tokens.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:34: [C0115(missing-class-docstring), TokensV2] Missing class docstring titanium_cloud/proxy/views/identityV3.py:36: [R1725(super-with-arguments), TokensV2.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:41: [C0115(missing-class-docstring), APIv1Tokens] Missing class docstring titanium_cloud/proxy/views/identityV3.py:43: [R1725(super-with-arguments), APIv1Tokens.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:47: [W0237(arguments-renamed), APIv1Tokens.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Tokens.get' method titanium_cloud/proxy/views/identityV3.py:48: [W1201(logging-not-lazy), APIv1Tokens.get] Use lazy % formatting in logging functions titanium_cloud/proxy/views/identityV3.py:48: [C0209(consider-using-f-string), APIv1Tokens.get] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/identityV3.py:53: [R1725(super-with-arguments), APIv1Tokens.get] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:55: [W0237(arguments-renamed), APIv1Tokens.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Tokens.post' method titanium_cloud/proxy/views/identityV3.py:56: [W1201(logging-not-lazy), APIv1Tokens.post] Use lazy % formatting in logging functions titanium_cloud/proxy/views/identityV3.py:56: [C0209(consider-using-f-string), APIv1Tokens.post] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/identityV3.py:61: [R1725(super-with-arguments), APIv1Tokens.post] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:64: [C0115(missing-class-docstring), APIv1TokensV2] Missing class docstring titanium_cloud/proxy/views/identityV3.py:66: [R1725(super-with-arguments), APIv1TokensV2.__init__] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:70: [W0237(arguments-renamed), APIv1TokensV2.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1TokensV2.get' method titanium_cloud/proxy/views/identityV3.py:71: [W1201(logging-not-lazy), APIv1TokensV2.get] Use lazy % formatting in logging functions titanium_cloud/proxy/views/identityV3.py:71: [C0209(consider-using-f-string), APIv1TokensV2.get] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/identityV3.py:76: [R1725(super-with-arguments), APIv1TokensV2.get] Consider using Python 3 style super() without arguments titanium_cloud/proxy/views/identityV3.py:78: [W0237(arguments-renamed), APIv1TokensV2.post] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1TokensV2.post' method titanium_cloud/proxy/views/identityV3.py:79: [W1201(logging-not-lazy), APIv1TokensV2.post] Use lazy % formatting in logging functions titanium_cloud/proxy/views/identityV3.py:79: [C0209(consider-using-f-string), APIv1TokensV2.post] Formatting a regular string which could be a f-string titanium_cloud/proxy/views/identityV3.py:84: [R1725(super-with-arguments), APIv1TokensV2.post] Consider using Python 3 style super() without arguments ************* Module titanium_cloud.proxy.tests.test_service_proxy titanium_cloud/proxy/tests/test_service_proxy.py:492: [C0301(line-too-long), ] Line too long (122/100) titanium_cloud/proxy/tests/test_service_proxy.py:497: [C0301(line-too-long), ] Line too long (122/100) titanium_cloud/proxy/tests/test_service_proxy.py:504: [C0301(line-too-long), ] Line too long (126/100) titanium_cloud/proxy/tests/test_service_proxy.py:509: [C0301(line-too-long), ] Line too long (119/100) titanium_cloud/proxy/tests/test_service_proxy.py:514: [C0301(line-too-long), ] Line too long (121/100) titanium_cloud/proxy/tests/test_service_proxy.py:519: [C0301(line-too-long), ] Line too long (121/100) titanium_cloud/proxy/tests/test_service_proxy.py:524: [C0301(line-too-long), ] Line too long (120/100) titanium_cloud/proxy/tests/test_service_proxy.py:529: [C0301(line-too-long), ] Line too long (121/100) titanium_cloud/proxy/tests/test_service_proxy.py:532: [C0301(line-too-long), ] Line too long (117/100) titanium_cloud/proxy/tests/test_service_proxy.py:537: [C0301(line-too-long), ] Line too long (122/100) titanium_cloud/proxy/tests/test_service_proxy.py:544: [C0301(line-too-long), ] Line too long (118/100) titanium_cloud/proxy/tests/test_service_proxy.py:547: [C0301(line-too-long), ] Line too long (121/100) titanium_cloud/proxy/tests/test_service_proxy.py:554: [C0301(line-too-long), ] Line too long (121/100) titanium_cloud/proxy/tests/test_service_proxy.py:557: [C0301(line-too-long), ] Line too long (128/100) titanium_cloud/proxy/tests/test_service_proxy.py:568: [C0301(line-too-long), ] Line too long (140/100) titanium_cloud/proxy/tests/test_service_proxy.py:572: [C0301(line-too-long), ] Line too long (135/100) titanium_cloud/proxy/tests/test_service_proxy.py:585: [C0301(line-too-long), ] Line too long (139/100) titanium_cloud/proxy/tests/test_service_proxy.py:589: [C0301(line-too-long), ] Line too long (134/100) titanium_cloud/proxy/tests/test_service_proxy.py:611: [C0301(line-too-long), ] Line too long (454/100) titanium_cloud/proxy/tests/test_service_proxy.py:633: [C0301(line-too-long), ] Line too long (136/100) titanium_cloud/proxy/tests/test_service_proxy.py:637: [C0301(line-too-long), ] Line too long (133/100) titanium_cloud/proxy/tests/test_service_proxy.py:717: [C0301(line-too-long), ] Line too long (117/100) titanium_cloud/proxy/tests/test_service_proxy.py:719: [C0301(line-too-long), ] Line too long (131/100) titanium_cloud/proxy/tests/test_service_proxy.py:725: [C0301(line-too-long), ] Line too long (131/100) titanium_cloud/proxy/tests/test_service_proxy.py:733: [C0301(line-too-long), ] Line too long (131/100) titanium_cloud/proxy/tests/test_service_proxy.py:751: [C0301(line-too-long), ] Line too long (103/100) titanium_cloud/proxy/tests/test_service_proxy.py:759: [C0301(line-too-long), ] Line too long (103/100) titanium_cloud/proxy/tests/test_service_proxy.py:814: [C0301(line-too-long), ] Line too long (117/100) titanium_cloud/proxy/tests/test_service_proxy.py:818: [C0301(line-too-long), ] Line too long (131/100) titanium_cloud/proxy/tests/test_service_proxy.py:828: [C0301(line-too-long), ] Line too long (131/100) titanium_cloud/proxy/tests/test_service_proxy.py:838: [C0301(line-too-long), ] Line too long (131/100) titanium_cloud/proxy/tests/test_service_proxy.py:848: [C0301(line-too-long), ] Line too long (168/100) titanium_cloud/proxy/tests/test_service_proxy.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/proxy/tests/test_service_proxy.py:691: [C0115(missing-class-docstring), MockResponse] Missing class docstring titanium_cloud/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 titanium_cloud/proxy/tests/test_service_proxy.py:695: [C0116(missing-function-docstring), MockResponse.json] Missing function or method docstring titanium_cloud/proxy/tests/test_service_proxy.py:691: [R0903(too-few-public-methods), MockResponse] Too few public methods (1/2) titanium_cloud/proxy/tests/test_service_proxy.py:699: [C0115(missing-class-docstring), TestServiceProxy] Missing class docstring titanium_cloud/proxy/tests/test_service_proxy.py:706: [C0116(missing-function-docstring), TestServiceProxy.test_get_token] Missing function or method docstring titanium_cloud/proxy/tests/test_service_proxy.py:723: [C0116(missing-function-docstring), TestServiceProxy.test_unauthorized_access] Missing function or method docstring titanium_cloud/proxy/tests/test_service_proxy.py:729: [C0116(missing-function-docstring), TestServiceProxy.test_expired_auth_token] Missing function or method docstring titanium_cloud/proxy/tests/test_service_proxy.py:739: [C0116(missing-function-docstring), TestServiceProxy.test_request_without_servicetype] Missing function or method docstring titanium_cloud/proxy/tests/test_service_proxy.py:769: [R0913(too-many-arguments), TestServiceProxy.test_crud_resources] Too many arguments (6/5) titanium_cloud/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 titanium_cloud.proxy.tests.test_identity_proxy titanium_cloud/proxy/tests/test_identity_proxy.py:529: [C0301(line-too-long), ] Line too long (112/100) titanium_cloud/proxy/tests/test_identity_proxy.py:628: [C0301(line-too-long), ] Line too long (101/100) titanium_cloud/proxy/tests/test_identity_proxy.py:734: [C0301(line-too-long), ] Line too long (101/100) titanium_cloud/proxy/tests/test_identity_proxy.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/proxy/tests/test_identity_proxy.py:48: [C0103(invalid-name), ] Constant name "mock_token_id" doesn't conform to UPPER_CASE naming style titanium_cloud/proxy/tests/test_identity_proxy.py:496: [C0115(missing-class-docstring), TestIdentityService] Missing class docstring titanium_cloud/proxy/tests/test_identity_proxy.py:531: [W1505(deprecated-method), TestIdentityService.test_token] Using deprecated method failUnlessEqual() titanium_cloud/proxy/tests/test_identity_proxy.py:541: [C0103(invalid-name), TestIdentityService.test_tokensV2] Method name "test_tokensV2" doesn't conform to snake_case naming style titanium_cloud/proxy/tests/test_identity_proxy.py:569: [W1505(deprecated-method), TestIdentityService.test_tokensV2] Using deprecated method failUnlessEqual() titanium_cloud/proxy/tests/test_identity_proxy.py:630: [W1505(deprecated-method), TestIdentityService.test_token_with_tenantname] Using deprecated method failUnlessEqual() titanium_cloud/proxy/tests/test_identity_proxy.py:642: [C0103(invalid-name), TestIdentityService.test_tokensV2_with_tenantname] Method name "test_tokensV2_with_tenantname" doesn't conform to snake_case naming style titanium_cloud/proxy/tests/test_identity_proxy.py:679: [W1505(deprecated-method), TestIdentityService.test_tokensV2_with_tenantname] Using deprecated method failUnlessEqual() titanium_cloud/proxy/tests/test_identity_proxy.py:736: [W1505(deprecated-method), TestIdentityService.test_token_with_projectid] Using deprecated method failUnlessEqual() titanium_cloud/proxy/tests/test_identity_proxy.py:18: [C0411(wrong-import-order), ] standard import "import unittest" should be placed before "import mock" ************* Module titanium_cloud.extensions.urls titanium_cloud/extensions/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.extensions.urlsV1 titanium_cloud/extensions/urlsV1.py:1: [C0103(invalid-name), ] Module name "urlsV1" doesn't conform to snake_case naming style titanium_cloud/extensions/urlsV1.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.extensions.views.extensions titanium_cloud/extensions/views/extensions.py:52: [C0301(line-too-long), ] Line too long (106/100) titanium_cloud/extensions/views/extensions.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/extensions/views/extensions.py:33: [C0115(missing-class-docstring), Extensions] Missing class docstring titanium_cloud/extensions/views/extensions.py:36: [R1725(super-with-arguments), Extensions.__init__] Consider using Python 3 style super() without arguments titanium_cloud/extensions/views/extensions.py:41: [W1201(logging-not-lazy), Extensions.get] Use lazy % formatting in logging functions titanium_cloud/extensions/views/extensions.py:41: [C0209(consider-using-f-string), Extensions.get] Formatting a regular string which could be a f-string titanium_cloud/extensions/views/extensions.py:42: [W1201(logging-not-lazy), Extensions.get] Use lazy % formatting in logging functions titanium_cloud/extensions/views/extensions.py:42: [C0209(consider-using-f-string), Extensions.get] Formatting a regular string which could be a f-string titanium_cloud/extensions/views/extensions.py:70: [W0703(broad-except), Extensions.get] Catching too general exception Exception titanium_cloud/extensions/views/extensions.py:65: [C0103(invalid-name), Extensions.get] Variable name "e" doesn't conform to snake_case naming style titanium_cloud/extensions/views/extensions.py:67: [C0103(invalid-name), Extensions.get] Variable name "e" doesn't conform to snake_case naming style titanium_cloud/extensions/views/extensions.py:68: [W1201(logging-not-lazy), Extensions.get] Use lazy % formatting in logging functions titanium_cloud/extensions/views/extensions.py:68: [C0209(consider-using-f-string), Extensions.get] Formatting a regular string which could be a f-string titanium_cloud/extensions/views/extensions.py:70: [C0103(invalid-name), Extensions.get] Variable name "e" doesn't conform to snake_case naming style titanium_cloud/extensions/views/extensions.py:76: [C0115(missing-class-docstring), APIv1Extensions] Missing class docstring titanium_cloud/extensions/views/extensions.py:79: [R1725(super-with-arguments), APIv1Extensions.__init__] Consider using Python 3 style super() without arguments titanium_cloud/extensions/views/extensions.py:83: [W0237(arguments-renamed), APIv1Extensions.get] Parameter 'vimid' has been renamed to 'cloud_owner' in overridden 'APIv1Extensions.get' method titanium_cloud/extensions/views/extensions.py:84: [W1201(logging-not-lazy), APIv1Extensions.get] Use lazy % formatting in logging functions titanium_cloud/extensions/views/extensions.py:85: [C0209(consider-using-f-string), APIv1Extensions.get] Formatting a regular string which could be a f-string titanium_cloud/extensions/views/extensions.py:89: [R1725(super-with-arguments), APIv1Extensions.get] Consider using Python 3 style super() without arguments ************* Module titanium_cloud.extensions.tests.test_extensions titanium_cloud/extensions/tests/test_extensions.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/extensions/tests/test_extensions.py:20: [C0115(missing-class-docstring), TestExtensions] Missing class docstring titanium_cloud/extensions/tests/test_extensions.py:24: [C0116(missing-function-docstring), TestExtensions.test_get_extensions_info] Missing function or method docstring titanium_cloud/extensions/tests/test_extensions.py:31: [W0612(unused-variable), TestExtensions.test_get_extensions_info] Unused variable 'json_content' ************* Module titanium_cloud.swagger.views titanium_cloud/swagger/views.py:43: [C0301(line-too-long), ] Line too long (106/100) titanium_cloud/swagger/views.py:62: [C0301(line-too-long), ] Line too long (109/100) titanium_cloud/swagger/views.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/swagger/views.py:30: [C0115(missing-class-docstring), SwaggerJsonViewDepreciated] Missing class docstring titanium_cloud/swagger/views.py:39: [R1725(super-with-arguments), SwaggerJsonViewDepreciated.get] Consider using Python 3 style super() without arguments titanium_cloud/swagger/views.py:41: [R1705(no-else-return), SwaggerJsonViewDepreciated.get] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it titanium_cloud/swagger/views.py:49: [C0115(missing-class-docstring), APIv1SwaggerJsonViewDepreciated] Missing class docstring titanium_cloud/swagger/views.py:58: [R1725(super-with-arguments), APIv1SwaggerJsonViewDepreciated.get] Consider using Python 3 style super() without arguments titanium_cloud/swagger/views.py:60: [R1705(no-else-return), APIv1SwaggerJsonViewDepreciated.get] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it titanium_cloud/swagger/views.py:68: [C0115(missing-class-docstring), SwaggerJsonView] Missing class docstring titanium_cloud/swagger/views.py:77: [R1725(super-with-arguments), SwaggerJsonView.get] Consider using Python 3 style super() without arguments titanium_cloud/swagger/views.py:79: [R1705(no-else-return), SwaggerJsonView.get] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it titanium_cloud/swagger/views.py:87: [C0115(missing-class-docstring), APIv1SwaggerJsonView] Missing class docstring titanium_cloud/swagger/views.py:96: [R1725(super-with-arguments), APIv1SwaggerJsonView.get] Consider using Python 3 style super() without arguments titanium_cloud/swagger/views.py:98: [R1705(no-else-return), APIv1SwaggerJsonView.get] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it ************* Module titanium_cloud.swagger.urls titanium_cloud/swagger/urls.py:28: [C0301(line-too-long), ] Line too long (103/100) titanium_cloud/swagger/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.swagger.tests_swagger titanium_cloud/swagger/tests_swagger.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/swagger/tests_swagger.py:20: [C0115(missing-class-docstring), SampleViewTest] Missing class docstring titanium_cloud/swagger/tests_swagger.py:27: [C0116(missing-function-docstring), SampleViewTest.test_sample] Missing function or method docstring ************* Module titanium_cloud.samples.views titanium_cloud/samples/views.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/samples/views.py:27: [W0622(redefined-builtin), SampleList.get] Redefining built-in 'format' titanium_cloud/samples/views.py:27: [C0116(missing-function-docstring), SampleList.get] Missing function or method docstring titanium_cloud/samples/views.py:27: [W0613(unused-argument), SampleList.get] Unused argument 'request' titanium_cloud/samples/views.py:27: [W0613(unused-argument), SampleList.get] Unused argument 'format' titanium_cloud/samples/views.py:27: [R0201(no-self-use), SampleList.get] Method could be a function ************* Module titanium_cloud.samples.urls titanium_cloud/samples/urls.py:22: [C0304(missing-final-newline), ] Final newline missing titanium_cloud/samples/urls.py:1: [C0114(missing-module-docstring), ] Missing module docstring ************* Module titanium_cloud.samples.tests_sample titanium_cloud/samples/tests_sample.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/samples/tests_sample.py:20: [C0115(missing-class-docstring), SampleViewTest] Missing class docstring titanium_cloud/samples/tests_sample.py:27: [C0116(missing-function-docstring), SampleViewTest.test_sample] Missing function or method docstring ************* Module titanium_cloud.registration.tests.test_registration2 titanium_cloud/registration/tests/test_registration2.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/registration/tests/test_registration2.py:77: [C0115(missing-class-docstring), TestRegistration2] Missing class docstring titanium_cloud/registration/tests/test_registration2.py:85: [C0116(missing-function-docstring), TestRegistration2.test_discover_flavors] Missing function or method docstring titanium_cloud/registration/tests/test_registration2.py:94: [W0212(protected-access), TestRegistration2.test_discover_flavors] Access to a protected member _discover_flavors of a client class titanium_cloud/registration/tests/test_registration2.py:94: [W0612(unused-variable), TestRegistration2.test_discover_flavors] Unused variable 'content' titanium_cloud/registration/tests/test_registration2.py:100: [C0116(missing-function-docstring), TestRegistration2.test_discover_flavors_w_hpa_numa] Missing function or method docstring titanium_cloud/registration/tests/test_registration2.py:111: [W0212(protected-access), TestRegistration2.test_discover_flavors_w_hpa_numa] Access to a protected member _discover_flavors of a client class titanium_cloud/registration/tests/test_registration2.py:111: [W0612(unused-variable), TestRegistration2.test_discover_flavors_w_hpa_numa] Unused variable 'content' ************* Module titanium_cloud.registration.tests.test_registration titanium_cloud/registration/tests/test_registration.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/registration/tests/test_registration.py:207: [C0115(missing-class-docstring), TestRegistration] Missing class docstring titanium_cloud/registration/tests/test_registration.py:209: [R1725(super-with-arguments), TestRegistration.setUp] Consider using Python 3 style super() without arguments titanium_cloud/registration/tests/test_registration.py:213: [R1725(super-with-arguments), TestRegistration.tearDown] Consider using Python 3 style super() without arguments titanium_cloud/registration/tests/test_registration.py:216: [R0201(no-self-use), TestRegistration._get_mock_response] Method could be a function titanium_cloud/registration/tests/test_registration.py:224: [C0116(missing-function-docstring), TestRegistration.test_register_endpoint_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:265: [C0116(missing-function-docstring), TestRegistration.test_fail_unregister_endpoint] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:279: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_cpupinning_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:309: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_topo_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:339: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_hugepage_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:369: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_numa_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:399: [C0116(missing-function-docstring), TestRegistration.test_register_hpa_instructionset_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:429: [C0116(missing-function-docstring), TestRegistration.test_register_pcipassthrough_successfully] Missing function or method docstring titanium_cloud/registration/tests/test_registration.py:459: [C0116(missing-function-docstring), TestRegistration.test_register_sriovnic_successfully] Missing function or method docstring ************* Module titanium_cloud.resource.tests.test_capacity titanium_cloud/resource/tests/test_capacity.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/resource/tests/test_capacity.py:118: [C0115(missing-class-docstring), TestCapacity] Missing class docstring titanium_cloud/resource/tests/test_capacity.py:119: [W0235(useless-super-delegation), TestCapacity.setUp] Useless super delegation in method 'setUp' titanium_cloud/resource/tests/test_capacity.py:120: [R1725(super-with-arguments), TestCapacity.setUp] Consider using Python 3 style super() without arguments titanium_cloud/resource/tests/test_capacity.py:122: [R0201(no-self-use), TestCapacity._get_mock_response] Method could be a function titanium_cloud/resource/tests/test_capacity.py:130: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_success] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:151: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_nova_limits_failed] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:172: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_nova_hypervisor_outofram] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:194: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_nova_hypervisor_outofstorage] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:216: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_nova_hypervisor_outofvcpu] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:238: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_nova_limits_outofram] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:260: [C0116(missing-function-docstring), TestCapacity.test_capacity_check_volume_limits_outofstorage] Missing function or method docstring titanium_cloud/resource/tests/test_capacity.py:16: [C0411(wrong-import-order), ] standard import "import json" should be placed before "import mock" ************* Module titanium_cloud.resource.tests.tests_infra_workload titanium_cloud/resource/tests/tests_infra_workload.py:96: [C0301(line-too-long), ] Line too long (105/100) titanium_cloud/resource/tests/tests_infra_workload.py:148: [C0301(line-too-long), ] Line too long (105/100) titanium_cloud/resource/tests/tests_infra_workload.py:189: [C0301(line-too-long), ] Line too long (102/100) titanium_cloud/resource/tests/tests_infra_workload.py:278: [C0301(line-too-long), ] Line too long (106/100) titanium_cloud/resource/tests/tests_infra_workload.py:1: [C0114(missing-module-docstring), ] Missing module docstring titanium_cloud/resource/tests/tests_infra_workload.py:160: [C0103(invalid-name), InfraWorkloadTest.setUp] Attribute name "_InfraWorkload" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:158: [C0115(missing-class-docstring), InfraWorkloadTest] Missing class docstring titanium_cloud/resource/tests/tests_infra_workload.py:161: [W0107(unnecessary-pass), InfraWorkloadTest.setUp] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:168: [C0103(invalid-name), InfraWorkloadTest.test_post] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:168: [C0103(invalid-name), InfraWorkloadTest.test_post] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:168: [C0116(missing-function-docstring), InfraWorkloadTest.test_post] Missing function or method docstring titanium_cloud/resource/tests/tests_infra_workload.py:185: [W0107(unnecessary-pass), InfraWorkloadTest.test_post] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:189: [C0103(invalid-name), InfraWorkloadTest.test_post_wo_oof_directive] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:189: [C0103(invalid-name), InfraWorkloadTest.test_post_wo_oof_directive] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:189: [C0116(missing-function-docstring), InfraWorkloadTest.test_post_wo_oof_directive] Missing function or method docstring titanium_cloud/resource/tests/tests_infra_workload.py:206: [W0107(unnecessary-pass), InfraWorkloadTest.test_post_wo_oof_directive] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:210: [C0103(invalid-name), InfraWorkloadTest.test_get] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:210: [C0103(invalid-name), InfraWorkloadTest.test_get] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:210: [C0116(missing-function-docstring), InfraWorkloadTest.test_get] Missing function or method docstring titanium_cloud/resource/tests/tests_infra_workload.py:227: [W0107(unnecessary-pass), InfraWorkloadTest.test_get] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:232: [C0103(invalid-name), APIv1InfraWorkloadTest.setUp] Attribute name "_APIv1InfraWorkload" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:230: [C0115(missing-class-docstring), APIv1InfraWorkloadTest] Missing class docstring titanium_cloud/resource/tests/tests_infra_workload.py:233: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.setUp] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:240: [C0103(invalid-name), APIv1InfraWorkloadTest.test_post] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:240: [C0103(invalid-name), APIv1InfraWorkloadTest.test_post] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:240: [C0116(missing-function-docstring), APIv1InfraWorkloadTest.test_post] Missing function or method docstring titanium_cloud/resource/tests/tests_infra_workload.py:258: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.test_post] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:262: [C0103(invalid-name), APIv1InfraWorkloadTest.test_get] Argument name "mock_MultiCloudIdentityHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:262: [C0103(invalid-name), APIv1InfraWorkloadTest.test_get] Argument name "mock_MultiCloudServiceHelper" doesn't conform to snake_case naming style titanium_cloud/resource/tests/tests_infra_workload.py:262: [C0116(missing-function-docstring), APIv1InfraWorkloadTest.test_get] Missing function or method docstring titanium_cloud/resource/tests/tests_infra_workload.py:280: [W0107(unnecessary-pass), APIv1InfraWorkloadTest.test_get] Unnecessary pass statement titanium_cloud/resource/tests/tests_infra_workload.py:17: [C0411(wrong-import-order), ] standard import "import unittest" should be placed before "import mock" ************* Module titanium_cloud.pub.config.config titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_identity_proxy:[50:443] ==titanium_cloud.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" } titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_identity_proxy:[447:469] ==titanium_cloud.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" ], titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_identity_proxy:[470:491] ==titanium_cloud.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" ] } }, titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.registration.tests.test_registration2:[41:60] ==titanium_cloud.registration.tests.test_registration:[28:47] } MOCK_GET_FLAVOR_RESPONSE = { "flavors": [ { "id": "1", "name": "micro", "vcpus": 1, "ram": "1MB", "disk": "1G", "OS-FLV-EXT-DATA:ephemeral": False, "swap": True, "os-flavor-access:is_public": True, "OS-FLV-DISABLED:disabled": True, "link": [{"href": 1}] }, { "id": "2", "name": "mini", "vcpus": 2, "ram": "2MB", "disk": "2G", "OS-FLV-EXT-DATA:ephemeral": True, "swap": False, "os-flavor-access:is_public": True, "OS-FLV-DISABLED:disabled": True }, ] } titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.requests.urls:[14:29] ==titanium_cloud.requests.urlsV1:[14:29] 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_-]+))?', titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_identity_proxy:[30:42] ==titanium_cloud.proxy.tests.test_service_proxy:[25:37] "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": "WindRiver", "version": "titanium_cloud", "vimId": "windriver-hudson-dc_RegionOne", 'cloud_owner': 'windriver-hudson-dc', titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_service_proxy:[24:34] ==titanium_cloud.registration.tests.test_registration2:[25:35] MOCK_VIM_INFO = { "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": "WindRiver", titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.samples.tests_sample:[14:27] ==titanium_cloud.swagger.tests_swagger:[14:27] 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): titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_identity_proxy:[30:39] ==titanium_cloud.registration.tests.test_registration2:[26: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", "vendor": "WindRiver", titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.registration.tests.test_registration:[215:223] ==titanium_cloud.resource.tests.test_capacity:[121:129] 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') titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.urls:[14:25] ==titanium_cloud.proxy.urlsV1:[14:23] from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from titanium_cloud.proxy.views import identityV3 from titanium_cloud.proxy.views import services from newton_base.proxy import dnsaasdelegate URLPATTERNS = [ # url(r'^identity/v2)$', # identityV2.Tokens.as_view()), url(r'^identity/v3/auth/tokens/?$', titanium_cloud/pub/config/config.py:1: [R0801(duplicate-code), ] Similar lines in 2 files ==titanium_cloud.proxy.tests.test_service_proxy:[35:42] ==titanium_cloud.registration.tests.test_registration2:[36:43] "vimId": "windriver-hudson-dc_RegionOne", 'cloud_owner': 'windriver-hudson-dc', 'cloud_region_id': 'RegionOne', 'cloud_extra_info': '', 'insecure': 'True', } Report ====== 827 statements analysed. Statistics by type ------------------ +---------+-------+-----------+-----------+------------+---------+ |type |number |old number |difference |%documented |%badname | +=========+=======+===========+===========+============+=========+ |module |43 |NC |NC |39.53 |9.30 | +---------+-------+-----------+-----------+------------+---------+ |class |26 |NC |NC |11.54 |0.00 | +---------+-------+-----------+-----------+------------+---------+ |method |89 |NC |NC |64.04 |2.25 | +---------+-------+-----------+-----------+------------+---------+ |function |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ External dependencies --------------------- :: common \-exceptions (titanium_cloud.extensions.views.extensions) \-msapi | \-extsys (titanium_cloud.extensions.views.extensions,titanium_cloud.proxy.views.identityV3,titanium_cloud.proxy.views.services) | \-helper (titanium_cloud.resource.tests.tests_infra_workload) \-utils \-restcall (titanium_cloud.registration.tests.test_registration,titanium_cloud.registration.tests.test_registration2) django \-conf (titanium_cloud.extensions.views.extensions,titanium_cloud.proxy.views.identityV3) | \-urls (titanium_cloud.extensions.urls,titanium_cloud.extensions.urlsV1,titanium_cloud.proxy.urls,titanium_cloud.proxy.urlsV1,titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1,titanium_cloud.samples.urls,titanium_cloud.swagger.urls,titanium_cloud.urls) \-core | \-wsgi (titanium_cloud.wsgi) \-test (titanium_cloud.extensions.tests.test_extensions,titanium_cloud.proxy.tests.test_identity_proxy,titanium_cloud.proxy.tests.test_service_proxy,titanium_cloud.registration.tests.test_registration2,titanium_cloud.samples.tests_sample,titanium_cloud.swagger.tests_swagger) keystoneauth1 \-exceptions (titanium_cloud.extensions.views.extensions) mock (titanium_cloud.proxy.tests.test_identity_proxy,titanium_cloud.proxy.tests.test_service_proxy,titanium_cloud.registration.tests.test_registration,titanium_cloud.resource.tests.test_capacity,titanium_cloud.resource.tests.tests_infra_workload) newton_base \-extensions | \-extensions (titanium_cloud.extensions.views.extensions) \-openoapi | \-flavor (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-hosts (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-image (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-limits (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-network (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-server (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-subnet (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-tenants (titanium_cloud.urls) | \-volume (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) | \-vport (titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1) \-proxy | \-dnsaasdelegate (titanium_cloud.proxy.urls,titanium_cloud.proxy.urlsV1) | \-identityV3 (titanium_cloud.proxy.views.identityV3) | \-services (titanium_cloud.proxy.views.services) \-resource | \-infra_workload (titanium_cloud.resource.tests.tests_infra_workload) \-swagger | \-views (titanium_cloud.swagger.views) \-tests | \-mock_info (titanium_cloud.proxy.tests.test_identity_proxy,titanium_cloud.registration.tests.test_registration,titanium_cloud.resource.tests.test_capacity) | \-test_base (titanium_cloud.registration.tests.test_registration,titanium_cloud.registration.tests.test_registration2,titanium_cloud.resource.tests.test_capacity) \-util (titanium_cloud.proxy.tests.test_identity_proxy,titanium_cloud.proxy.tests.test_service_proxy,titanium_cloud.registration.tests.test_registration,titanium_cloud.resource.tests.test_capacity) rest_framework \-response (titanium_cloud.extensions.views.extensions,titanium_cloud.samples.views,titanium_cloud.swagger.views) \-status (titanium_cloud.extensions.tests.test_extensions,titanium_cloud.extensions.views.extensions,titanium_cloud.proxy.tests.test_identity_proxy,titanium_cloud.proxy.tests.test_service_proxy,titanium_cloud.registration.tests.test_registration,titanium_cloud.registration.tests.test_registration2,titanium_cloud.resource.tests.test_capacity,titanium_cloud.resource.tests.tests_infra_workload,titanium_cloud.samples.tests_sample,titanium_cloud.swagger.tests_swagger) \-urlpatterns (titanium_cloud.extensions.urls,titanium_cloud.extensions.urlsV1,titanium_cloud.proxy.urls,titanium_cloud.proxy.urlsV1,titanium_cloud.requests.urls,titanium_cloud.requests.urlsV1,titanium_cloud.samples.urls,titanium_cloud.swagger.urls) \-views (titanium_cloud.samples.views) starlingx_base \-registration | \-registration (titanium_cloud.registration.tests.test_registration2,titanium_cloud.urls) \-resource \-capacity (titanium_cloud.urls) \-infra_workload (titanium_cloud.urls) yaml (titanium_cloud.settings) Raw metrics ----------- +----------+-------+------+---------+-----------+ |type |number |% |previous |difference | +==========+=======+======+=========+===========+ |code |1885 |44.17 |NC |NC | +----------+-------+------+---------+-----------+ |docstring |1237 |28.98 |NC |NC | +----------+-------+------+---------+-----------+ |comment |686 |16.07 |NC |NC | +----------+-------+------+---------+-----------+ |empty |460 |10.78 |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 |188 |NC |NC | +-----------+-------+---------+-----------+ |refactor |69 |NC |NC | +-----------+-------+---------+-----------+ |warning |90 |NC |NC | +-----------+-------+---------+-----------+ |error |0 |NC |NC | +-----------+-------+---------+-----------+ Messages -------- +---------------------------+------------+ |message id |occurrences | +===========================+============+ |line-too-long |46 | +---------------------------+------------+ |arguments-renamed |41 | +---------------------------+------------+ |super-with-arguments |35 | +---------------------------+------------+ |missing-function-docstring |32 | +---------------------------+------------+ |consider-using-f-string |28 | +---------------------------+------------+ |missing-module-docstring |26 | +---------------------------+------------+ |missing-class-docstring |23 | +---------------------------+------------+ |invalid-name |23 | +---------------------------+------------+ |logging-not-lazy |22 | +---------------------------+------------+ |too-many-arguments |13 | +---------------------------+------------+ |duplicate-code |12 | +---------------------------+------------+ |wrong-import-order |7 | +---------------------------+------------+ |unnecessary-pass |7 | +---------------------------+------------+ |useless-super-delegation |5 | +---------------------------+------------+ |deprecated-method |5 | +---------------------------+------------+ |no-else-return |4 | +---------------------------+------------+ |unused-variable |3 | +---------------------------+------------+ |no-self-use |3 | +---------------------------+------------+ |unused-argument |2 | +---------------------------+------------+ |ungrouped-imports |2 | +---------------------------+------------+ |protected-access |2 | +---------------------------+------------+ |useless-object-inheritance |1 | +---------------------------+------------+ |too-few-public-methods |1 | +---------------------------+------------+ |reimported |1 | +---------------------------+------------+ |redefined-builtin |1 | +---------------------------+------------+ |missing-final-newline |1 | +---------------------------+------------+ |broad-except |1 | +---------------------------+------------+ ----------------------------------- Your code has been rated at 5.80/10 ___________________________________ summary ____________________________________ ERROR: py36: commands failed cov: commands succeeded pylint: commands succeeded [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:06 min [INFO] Finished at: 2024-09-14T11:41:49Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test script) on project multicloud-openstack-windriver: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test script) on project multicloud-openstack-windriver: Command execution failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:362) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:377) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:160) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:610) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:352) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 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-windriver-sonar] $ /bin/bash /tmp/jenkins1182378510157286620.sh ---> sysstat.sh [multicloud-openstack-windriver-sonar] $ /bin/bash /tmp/jenkins16103150074308475131.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/multicloud-openstack-windriver-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-windriver-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-windriver-sonar ']' + mkdir -p /w/workspace/multicloud-openstack-windriver-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/multicloud-openstack-windriver-sonar/archives/ [multicloud-openstack-windriver-sonar] $ /bin/bash /tmp/jenkins17812574941756159842.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-windriver-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-f2rP from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-f2rP/bin to PATH INFO: Running in OpenStack, capturing instance metadata [multicloud-openstack-windriver-sonar] $ /bin/bash /tmp/jenkins14772589426274217550.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/multicloud-openstack-windriver-sonar@tmp/config3411345281675330575tmp 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-windriver-sonar] $ /bin/bash /tmp/jenkins5520530030947756370.sh ---> create-netrc.sh [multicloud-openstack-windriver-sonar] $ /bin/bash /tmp/jenkins7176364133842177492.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-windriver-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-f2rP from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-f2rP/bin to PATH [multicloud-openstack-windriver-sonar] $ /bin/bash /tmp/jenkins17262174529392585304.sh ---> sudo-logs.sh Archiving 'sudo' log.. [multicloud-openstack-windriver-sonar] $ /bin/bash /tmp/jenkins16666555992732806281.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-windriver-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-f2rP 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-f2rP/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [multicloud-openstack-windriver-sonar] $ /bin/bash -l /tmp/jenkins6383871618481297386.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/multicloud-openstack-windriver-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-f2rP from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-f2rP/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/multicloud-openstack-windriver-sonar/2156 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-38421 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 672K 1.6G 1% /run /dev/vda1 78G 8.5G 69G 11% / 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 582 13053 0 2404 15127 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:69:1c:14 brd ff:ff:ff:ff:ff:ff inet 10.30.107.115/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86219sec preferred_lft 86219sec inet6 fe80::f816:3eff:fe69:1c14/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-38421) 09/14/24 _x86_64_ (4 CPU) 11:39:26 LINUX RESTART (4 CPU) 11:40:02 tps rtps wtps bread/s bwrtn/s 11:41:01 152.60 27.53 125.07 1352.16 14164.08 11:42:01 135.16 4.27 130.89 168.91 17262.59 Average: 143.81 15.80 128.01 755.86 15725.56 11:40:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:41:01 13353172 15129664 3071796 18.70 74980 1891244 1381888 7.91 1141544 1692036 159784 11:42:01 13413052 15534976 3011916 18.34 125056 2148028 807776 4.62 812756 1905424 103796 Average: 13383112 15332320 3041856 18.52 100018 2019636 1094832 6.27 977150 1798730 131790 11:40:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:41:01 lo 1.63 1.63 0.17 0.17 0.00 0.00 0.00 0.00 11:41:01 ens3 175.10 135.11 1674.90 33.45 0.00 0.00 0.00 0.00 11:42:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 11:42:01 ens3 34.13 27.20 290.22 9.14 0.00 0.00 0.00 0.00 Average: lo 1.63 1.63 0.16 0.16 0.00 0.00 0.00 0.00 Average: ens3 104.06 80.73 977.09 21.20 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-38421) 09/14/24 _x86_64_ (4 CPU) 11:39:26 LINUX RESTART (4 CPU) 11:40:02 CPU %user %nice %system %iowait %steal %idle 11:41:01 all 26.62 0.00 2.00 3.02 0.06 68.29 11:41:01 0 44.50 0.00 2.64 3.08 0.05 49.72 11:41:01 1 22.09 0.00 1.63 1.05 0.03 75.20 11:41:01 2 27.35 0.00 2.19 2.57 0.07 67.82 11:41:01 3 12.47 0.00 1.55 5.38 0.09 80.51 11:42:01 all 22.87 0.00 1.50 2.53 0.05 73.05 11:42:01 0 28.85 0.00 1.39 0.65 0.07 69.05 11:42:01 1 47.54 0.00 2.31 1.06 0.08 49.01 11:42:01 2 10.02 0.00 1.81 8.11 0.03 80.04 11:42:01 3 5.33 0.00 0.53 0.33 0.05 93.76 Average: all 24.73 0.00 1.75 2.77 0.06 70.69 Average: 0 36.62 0.00 2.01 1.86 0.06 59.46 Average: 1 34.90 0.00 1.97 1.05 0.06 62.02 Average: 2 18.61 0.00 2.00 5.36 0.05 73.98 Average: 3 8.85 0.00 1.03 2.82 0.07 87.24