Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1305

Fix flake8 warnings in system_tests_policy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.7.0
    • Component/s: Tests
    • Labels:
      None

      Description

      56: ERROR: InvocationError for command '/foo/qpid-dispatch/build/tests/.tox/py27/bin/flake8 --count /foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs /foo/qpid-dispatch/tests /foo/qpid-dispatch/tools --show-source --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503' (exited with code 1)
      56: py35 create: /foo/qpid-dispatch/build/tests/.tox/py35
      56: py35 installdeps: hacking>=1.1.0
      56: py35 installed: flake8==2.6.2,hacking==1.1.0,mccabe==0.5.3,pbr==5.1.3,pycodestyle==2.0.0,pyflakes==1.2.3,six==1.12.0
      56: py35 run-test-pre: PYTHONHASHSEED='1741025927'
      56: py35 runtests: commands[0] | flake8 --count /foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs /foo/qpid-dispatch/tests /foo/qpid-dispatch/tools --show-source --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503
      56: /foo/qpid-dispatch/tests/system_tests_policy.py:1317:13: E125 continuation line with same indent as next logical line
      56:             and self.link_error == False and self._error is None:
      56:             ^
      56: /foo/qpid-dispatch/tests/system_tests_policy.py:1326:13: E125 continuation line with same indent as next logical line
      56:             and self.link_error == False and self._error is None:
      56:             ^
      56: /foo/qpid-dispatch/tests/system_tests_policy.py:1345:13: E125 continuation line with same indent as next logical line
      56:             and self.link_error == False and self._error is None:
      56:             ^
      56: 3
      56: ERROR: InvocationError for command '/foo/qpid-dispatch/build/tests/.tox/py35/bin/flake8 --count /foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs /foo/qpid-dispatch/tests /foo/qpid-dispatch/tools --show-source --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503' (exited with code 1)
      56: py36 create: /foo/qpid-dispatch/build/tests/.tox/py36
      56: SKIPPED: InterpreterNotFound: python3.6
      56: py37 create: /foo/qpid-dispatch/build/tests/.tox/py37
      56: SKIPPED: InterpreterNotFound: python3.7
      56: ___________________________________ summary ____________________________________
      56: ERROR:   py27: commands failed
      56: ERROR:   py35: commands failed
      56: SKIPPED:  py36: InterpreterNotFound: python3.6
      56: SKIPPED:  py37: InterpreterNotFound: python3.7
      56/56 Test #56: python-checker ....................................***Failed  Error regular expression found in output. Regex=[commands failed] 49.73 sec
      
      96% tests passed, 2 tests failed out of 56
      
      Total Test time (real) = 683.94 sec

        Attachments

          Activity

            People

            • Assignee:
              ganeshmurthy Ganesh Murthy
              Reporter:
              ganeshmurthy Ganesh Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: