reno==2.0.2 breaks puppet gates

Bug #1652178 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
reno
Fix Released
Undecided
Unassigned

Bug Description

2016-12-22 21:26:06.590020 | building [html]: all source files
2016-12-22 21:26:06.591133 | updating environment: 3 added, 0 changed, 0 removed
2016-12-22 21:26:06.591175 | reading sources... [ 33%] index
2016-12-22 21:26:06.649598 | reading sources... [ 66%] mitaka
2016-12-22 21:26:06.656516 | [reno.config] did not load config file /home/jenkins/workspace/gate-puppet-openstacklib-releasenotes/releasenotes/config.yaml: [Errno 2] No such file or directory: '/home/jenkins/workspace/gate-puppet-openstacklib-releasenotes/releasenotes/config.yaml'
2016-12-22 21:26:06.656700 | [reno] scanning /home/jenkins/workspace/gate-puppet-openstacklib-releasenotes/releasenotes/notes for origin/stable/mitaka release notes
2016-12-22 21:26:06.656916 | [reno.scanner] scanning /home/jenkins/workspace/gate-puppet-openstacklib-releasenotes/releasenotes/notes (branch=origin/stable/mitaka)
2016-12-22 21:26:06.748441 | [reno.scanner] There is no tag on commit 104f2d3e5836dd4c39e4b954cd93e4c86798fae4 at the base of origin/stable/mitaka. Branch scan short-cutting is disabled.
2016-12-22 21:26:06.748542 |
2016-12-22 21:26:06.748572 | Exception occurred:
2016-12-22 21:26:06.751615 | File "/home/jenkins/workspace/gate-puppet-openstacklib-releasenotes/.tox/releasenotes/local/lib/python2.7/site-packages/reno/scanner.py", line 35, in _parse_version
2016-12-22 21:26:06.751676 | parts = v.split('.') + ['0', '0', '0']
2016-12-22 21:26:06.751721 | AttributeError: 'NoneType' object has no attribute 'split'

http://logs.openstack.org/93/413593/1/gate/gate-puppet-openstacklib-releasenotes/6c5c30f/console.html#_2016-12-22_21_26_06_748572
http://logs.openstack.org/57/413757/4/gate/gate-puppet-neutron-releasenotes/2a3d058/console.html#_2016-12-22_21_31_27_028710

summary: - release==2.0.2 breaks puppet gates
+ reno==2.0.2 breaks puppet gates
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to reno (master)

Reviewed: https://review.openstack.org/414356
Committed: https://git.openstack.org/cgit/openstack/reno/commit/?id=2f93c4dedea9edc1ffb4a96f6554469e235d75d7
Submitter: Jenkins
Branch: master

commit 2f93c4dedea9edc1ffb4a96f6554469e235d75d7
Author: Doug Hellmann <email address hidden>
Date: Thu Dec 22 19:29:15 2016 -0500

    centralize handling of branches without base tags

    Move the logic for handling an empty earliest_version value to the place
    where that value is used to find the scanning stop point so that all
    entries into that code path are protected from bad input data.

    Change-Id: Id54f8d48dd5dff6c6744c128a258d335a4586e6b
    Closes-Bug: #1652178
    Signed-off-by: Doug Hellmann <email address hidden>

Changed in reno:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/reno 2.0.3

This issue was fixed in the openstack/reno 2.0.3 release.

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.