Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24463

PyLint parse missing errors

XMLWordPrintable

      The Warnings PyLint parser is not properly parsing errors. This project is run on a linux slave.

      The project ran with the console output stating there were 0 warnings:

      [python-lint3] $ /bin/bash /tmp/hudson5642505433447392932.sh
      ~> Starting lint3 test - 08/22/14 17:25:26
      ~> Lint3 test complete - 08/22/14 17:27:42
      [WARNINGS] Parsing warnings in files '**/lint3.out' with parser PyLint
      [WARNINGS] Finding all files that match the pattern **/lint3.out
      [WARNINGS] Parsing 1 files in /home/jenkins/workspace/python-lint3
      [WARNINGS] Successfully parsed file /home/jenkins/workspace/python-lint3/lint3.out of module  with 0 warnings.
      Archiving artifacts
      Recording fingerprints
      Finished: SUCCESS
      

      The actual output generated by the pylint command contained in lint3.out shows there are multiple errors:

      lint3 create: /home/jenkins/workspace/python-lint3/.tox/lint3
      lint3 installdeps: -r/home/jenkins/workspace/python-lint3/requirements/requirements.txt, -r/home/jenkins/workspace/python-lint3/tests/test-requirements.txt, pylint
      lint3 develop-inst: /home/jenkins/workspace/python-lint3
      lint3 runtests: commands[0] | pylint ./phoenix
      lint3 runtests: commands[1] | pylint ./tests
      ************* Module tests.api.utils.config
      E: 26,20: Instance of 'PhoenixConfig' has no 'get' member (no-member)
      E: 36,20: Instance of 'authConfig' has no 'get' member (no-member)
      E: 41,20: Instance of 'authConfig' has no 'get' member (no-member)
      E: 46,20: Instance of 'authConfig' has no 'get_raw' member (no-member)
      E: 51,20: Instance of 'authConfig' has no 'get' member (no-member)
      ************* Module tests.api.utils.base
      E: 53,17: Instance of 'TestBase' has no 'assertFalse' member (no-member)
      ************* Module tests.api.utils.client
      E: 35,13: Instance of 'AuthClient' has no 'default_headers' member (no-member)
      E: 36,13: Instance of 'AuthClient' has no 'default_headers' member (no-member)
      E: 64,20: Instance of 'AuthClient' has no 'request' member (no-member)
      E: 81,13: Instance of 'BasePhoenixClient' has no 'default_headers' member (no-member)
      E: 82,13: Instance of 'BasePhoenixClient' has no 'default_headers' member (no-member)
      E: 83,13: Instance of 'BasePhoenixClient' has no 'default_headers' member (no-member)
      E: 84,53: Instance of 'BasePhoenixClient' has no 'serialize_format' member (no-member)
      E: 85,13: Instance of 'BasePhoenixClient' has no 'default_headers' member (no-member)
      E: 86,47: Instance of 'BasePhoenixClient' has no 'deserialize_format' member (no-member)
      E:109,24: Instance of 'BasePhoenixClient' has no 'request' member (no-member)
      E:112,24: Instance of 'BasePhoenixClient' has no 'request' member (no-member)
      ************* Module tests.api.backup.test_backups
      E: 48,13: Instance of 'TestBackups' has no 'assertEqual' member (no-member)
      E: 66,13: Instance of 'TestBackups' has no 'assertEqual' member (no-member)
      E: 84,13: Instance of 'TestBackups' has no 'assertEqual' member (no-member)
      ERROR: InvocationError: '/home/jenkins/workspace/python-lint3/.tox/lint3/bin/pylint ./tests'
      ___________________________________ summary ____________________________________
      ERROR:   lint3: commands failed
      

            Unassigned Unassigned
            powellchristoph Chris Powell
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: