CI: releasenotes job fails due to ValueError: Unknown reference 'origin/stable/ocata'

Bug #1732816 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Critical
Unassigned
tripleo
Fix Released
Critical
Unassigned

Bug Description

http://logs.openstack.org/09/519309/1/gate/build-openstack-releasenotes/f5cab51/job-output.txt.gz#_2017-11-17_02_15_36_327813

2017-11-17 02:15:35.468829 | ubuntu-xenial | + VENV=.venv/bin
2017-11-17 02:15:35.468939 | ubuntu-xenial | + .venv/bin/sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
2017-11-17 02:15:35.805576 | ubuntu-xenial | Running Sphinx v1.6.3
2017-11-17 02:15:35.805670 | ubuntu-xenial | making output directory...
2017-11-17 02:15:36.216420 | ubuntu-xenial | connecting events for openstackdocstheme
2017-11-17 02:15:36.261570 | ubuntu-xenial | Using openstackdocstheme Sphinx theme from /home/zuul/src/git.openstack.org/openstack/tripleo-heat-templates/.venv/local/lib/python2.7/site-packages/openstackdocstheme/theme
2017-11-17 02:15:36.261666 | ubuntu-xenial | building [mo]: all of 0 po files
2017-11-17 02:15:36.261736 | ubuntu-xenial | building [html]: all source files
2017-11-17 02:15:36.263623 | ubuntu-xenial | updating environment: 3 added, 0 changed, 0 removed
2017-11-17 02:15:36.263843 | ubuntu-xenial | reading sources... [ 33%] index
2017-11-17 02:15:36.320316 | ubuntu-xenial | reading sources... [ 66%] ocata
2017-11-17 02:15:36.327705 | ubuntu-xenial | no configuration file in: /home/zuul/src/git.openstack.org/openstack/tripleo-heat-templates/releasenotes/config.yaml, /home/zuul/src/git.openstack.org/openstack/tripleo-heat-templates/reno.yaml
2017-11-17 02:15:36.327813 | ubuntu-xenial | [reno] scanning /home/zuul/src/git.openstack.org/openstack/tripleo-heat-templates/releasenotes/notes for origin/stable/ocata release notes
2017-11-17 02:15:36.328822 | ubuntu-xenial | scanning /home/zuul/src/git.openstack.org/openstack/tripleo-heat-templates/releasenotes/notes (branch=origin/stable/ocata earliest_version=None)
2017-11-17 02:15:36.330527 | ubuntu-xenial |
2017-11-17 02:15:36.330557 | ubuntu-xenial | Exception occurred:
2017-11-17 02:15:36.332881 | ubuntu-xenial | File "/home/zuul/src/git.openstack.org/openstack/tripleo-heat-templates/.venv/local/lib/python2.7/site-packages/reno/scanner.py", line 547, in _get_ref
2017-11-17 02:15:36.332932 | ubuntu-xenial | raise ValueError('Unknown reference {!r}'.format(name))
2017-11-17 02:15:36.332966 | ubuntu-xenial | ValueError: Unknown reference 'origin/stable/ocata'
2017-11-17 02:15:36.335781 | ubuntu-xenial | The full traceback has been saved in /tmp/sphinx-err-_nRTU9.log, if you want to report the issue to the developers.
2017-11-17 02:15:36.335835 | ubuntu-xenial | Please also report this if it was a user error, so that a better error message can be provided next time.
2017-11-17 02:15:36.335884 | ubuntu-xenial | A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
2017-11-17 02:15:36.741445 | ubuntu-xenial | ERROR
2017-11-17 02:15:36.741814 | ubuntu-xenial | {
2017-11-17 02:15:36.741975 | ubuntu-xenial | "delta": "0:00:00.916104",
2017-11-17 02:15:36.742102 | ubuntu-xenial | "end": "2017-11-17 02:15:36.382119",
2017-11-17 02:15:36.742226 | ubuntu-xenial | "failed": true,
2017-11-17 02:15:36.742342 | ubuntu-xenial | "rc": 1,
2017-11-17 02:15:36.742429 | ubuntu-xenial | "start": "2017-11-17 02:15:35.466015"
2017-11-17 02:15:36.742511 | ubuntu-xenial | }

Tags: ci
Changed in tripleo:
assignee: Christian Inzinger (ci) → nobody
tags: added: ci
Revision history for this message
Kevin Carter (kevin-carter) wrote :

Sadly this issue was caused by simply not having an "origin" in the remotes. Once I added origin to my local checkout reno worked as expected.

Changed in openstack-ansible:
importance: Undecided → Critical
status: New → Incomplete
status: Incomplete → Confirmed
Changed in openstack-ansible:
status: Confirmed → Invalid
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This looks to be fixed as https://review.openstack.org/#/c/519309/ passed on a future run.

Changed in tripleo:
status: Triaged → Fix Released
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.