← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1394606] [NEW] pylint job fails on the gate due to wrong parameters

 

Public bug reported:

/home/jenkins/workspace/gate-nova-pylint/.tox/pylint/local/lib/python2.7/site-packages/pylint/reporters/text.py:79: UserWarning: parseable output format is deprecated. This is equivalent to --msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
2014-11-20 12:50:40.196 |   'to --msg-template=%s' % (self.name, self.line_format))
2014-11-20 12:50:40.217 | Warning: option --include-ids is deprecated and ignored.
2014-11-20 12:59:11.127 | Generating tools/pylint_exceptions
2014-11-20 12:59:11.127 | Traceback (most recent call last):
2014-11-20 12:59:11.127 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 201, in <module>
2014-11-20 12:59:11.127 |     main()
2014-11-20 12:59:11.128 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 193, in main
2014-11-20 12:59:11.128 |     generate_error_keys()
2014-11-20 12:59:11.128 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 145, in generate_error_keys
2014-11-20 12:59:11.165 |     errors = LintOutput.from_msg_to_dict(msg)
2014-11-20 12:59:11.166 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 79, in from_msg_to_dict
2014-11-20 12:59:11.166 |     obj = cls.from_line(line)
2014-11-20 12:59:11.166 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 61, in from_line
2014-11-20 12:59:11.167 |     matched = m.groups()
2014-11-20 12:59:11.167 | AttributeError: 'NoneType' object has no attribute 'groups'
2014-11-20 12:59:13.303 | ERROR: InvocationError: '/bin/bash tools/lintstack.sh'

It seems that the currently used parameters are deprecated and ignored
in the pylint version that makes the job fails all the time

** Affects: nova
     Importance: Undecided
     Assignee: Balazs Gibizer (balazs-gibizer)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1394606

Title:
  pylint job fails on the gate due to wrong parameters

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  /home/jenkins/workspace/gate-nova-pylint/.tox/pylint/local/lib/python2.7/site-packages/pylint/reporters/text.py:79: UserWarning: parseable output format is deprecated. This is equivalent to --msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
  2014-11-20 12:50:40.196 |   'to --msg-template=%s' % (self.name, self.line_format))
  2014-11-20 12:50:40.217 | Warning: option --include-ids is deprecated and ignored.
  2014-11-20 12:59:11.127 | Generating tools/pylint_exceptions
  2014-11-20 12:59:11.127 | Traceback (most recent call last):
  2014-11-20 12:59:11.127 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 201, in <module>
  2014-11-20 12:59:11.127 |     main()
  2014-11-20 12:59:11.128 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 193, in main
  2014-11-20 12:59:11.128 |     generate_error_keys()
  2014-11-20 12:59:11.128 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 145, in generate_error_keys
  2014-11-20 12:59:11.165 |     errors = LintOutput.from_msg_to_dict(msg)
  2014-11-20 12:59:11.166 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 79, in from_msg_to_dict
  2014-11-20 12:59:11.166 |     obj = cls.from_line(line)
  2014-11-20 12:59:11.166 |   File "/home/jenkins/workspace/gate-nova-pylint/tools/lintstack.head.py", line 61, in from_line
  2014-11-20 12:59:11.167 |     matched = m.groups()
  2014-11-20 12:59:11.167 | AttributeError: 'NoneType' object has no attribute 'groups'
  2014-11-20 12:59:13.303 | ERROR: InvocationError: '/bin/bash tools/lintstack.sh'

  It seems that the currently used parameters are deprecated and ignored
  in the pylint version that makes the job fails all the time

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1394606/+subscriptions


Follow ups

References