Project

General

Profile

Actions

Bug #55834

closed

qa: flake8 mypy8 failures

Added by Ernesto Puerta almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
High
Category:
qa
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

flake8 run-test: commands[0] | flake8 --select=F,E9 --exclude=venv,.tox
./tasks/cephfs/test_uninlining.py:88:9: F841 local variable 'dirs' is assigned to but never used
ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-pull-requests/qa/.tox/flake8/bin/flake8 --select=F,E9 --exclude=venv,.tox (exited with code 1)
mypy create: /home/jenkins-build/build/workspace/ceph-pull-requests/qa/.tox/mypy
mypy installdeps: mypy, types-boto, types-requests, types-jwt, types-paramiko, types-PyYAML, types-cryptography, types-python-dateutil, -c/home/jenkins-build/build/workspace/ceph-pull-requests/qa/../src/mypy-constrains.txt
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
mypy installed: mypy==0.901,mypy-extensions==0.4.3,toml==0.10.2,types-boto==0.1.0,types-cryptography==0.1.1,types-enum34==1.1.8,types-ipaddress==1.0.8,types-jwt==0.1.3,types-paramiko==0.1.3,types-python-dateutil==0.1.3,types-PyYAML==5.4.0,types-requests==0.1.11,types-six==1.16.15,typing_extensions==4.2.0
mypy run-test-pre: PYTHONHASHSEED='1399092903'
mypy run-test: commands[0] | mypy .
tasks/cephfs/test_uninlining.py:37: error: "None" has no attribute "hostfs_mntpt" 
tasks/cephfs/test_uninlining.py:38: error: "None" has no attribute "client_remote" 
tasks/cephfs/test_uninlining.py:52: error: "None" has no attribute "rank_asok" 
tasks/cephfs/test_uninlining.py:54: error: "None" has no attribute "rank_asok" 
tasks/cephfs/test_uninlining.py:64: error: "None" has no attribute "set_max_mds" 
tasks/cephfs/test_uninlining.py:67: error: "None" has no attribute "set_var" 
tasks/cephfs/test_uninlining.py:70: error: "None" has no attribute "fs_config" 
tasks/cephfs/test_uninlining.py:104: error: "None" has no attribute "run_scrub" 
tasks/cephfs/test_uninlining.py:107: error: "None" has no attribute "wait_until_scrub_complete" 
Found 9 errors in 1 file (checked 247 source files)
ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-pull-requests/qa/.tox/mypy/bin/mypy . (exited with code 1)
Actions #1

Updated by Ernesto Puerta almost 2 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF