pylint job fails on the gate due to wrong parameters

Bug #1394606 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
Balazs Gibizer
Cinder
Invalid
Undecided
Balazs Gibizer
OpenStack Compute (nova)
Fix Released
Undecided
Balazs Gibizer

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

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :
Changed in nova:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/136013

Changed in nova:
status: New → In Progress
Changed in ceilometer:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/136029

Changed in ceilometer:
status: New → In Progress
Changed in cinder:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
Changed in cinder:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/136013
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=92d38e76953959548e18776b049cc88a23337637
Submitter: Jenkins
Branch: master

commit 92d38e76953959548e18776b049cc88a23337637
Author: Balazs Gibizer <email address hidden>
Date: Thu Nov 20 15:23:00 2014 +0100

    Adapting pylint runner to the new message format

    Pareseable output format and --include-ids parameter are deprecated
    and ignored in the pylint version used on the gate.
    These functions are replaced by the --msg-template parameter.

    This patch changes the runner to use the new parameter so that the
    job can run properly on the gate

    Closes-Bug: #1394606
    Change-Id: I1de424bae4c2b634cd0bc804cb7e81624c96a195

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/136029
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=16faba1ad8889cecf86d12cfe5ba17e8216d7084
Submitter: Jenkins
Branch: master

commit 16faba1ad8889cecf86d12cfe5ba17e8216d7084
Author: Balazs Gibizer <email address hidden>
Date: Thu Nov 20 16:13:34 2014 +0100

    Adapting pylint runner to the new message format

    Parseable output format and --include-ids parameter are deprecated
    and ignored in the pylint version used on the gate.
    These functions are replaced by the --msg-template parameter.

    This patch changes the runner to use the new parameter so that the
    job can run properly on the gate

    Closes-Bug: #1394606
    Change-Id: Ia3e531923caa3f4e9a0dd03e0a4f5ef1a6d3dafb

Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → kilo-1
Eoghan Glynn (eglynn)
Changed in ceilometer:
importance: Undecided → Medium
importance: Medium → Low
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: kilo-1 → 2015.1.0
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.