Lastest delorean pip package causes error in autodoc

Bug #1720458 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Low
wes hayutin

Bug Description

2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: updating environment: 30 added, 0 changed, 0 removed |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: reading sources... [ 3%] admin/index |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: reading sources... [ 6%] admin/upgrade_guide |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: reading sources... [ 10%] api/index |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: reading sources... [ 13%] api/v2 |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: found root-controller mistral.api.controllers.v2.workbook:WorkbooksController |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: WARNING: /builddir/build/BUILD/mistral-5.0.1.dev59/doc/source/api/v2.rst:36: (WARNING/2) autodoc: failed to import type u'|
Workbook' from module u'mistral.api.controllers.v2.resources'; the following exception was raised: |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: Traceback (most recent call last): |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 657, in import_object |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: __import__(self.modname) |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: File "/builddir/build/BUILD/mistral-5.0.1.dev59/mistral/api/controllers/v2/resources.py", line 210, in <module> |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: class Execution(resource.Resource): |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: File "/builddir/build/BUILD/mistral-5.0.1.dev59/mistral/api/controllers/v2/resources.py", line 252, in Execution |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: rexec = types.bool |
2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: AttributeError: 'module' object has no attribute 'bool' |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: WARNING: /builddir/build/BUILD/mistral-5.0.1.dev59/doc/source/api/v2.rst:45: (WARNING/2) autodoc: failed to import type u'|
Workbooks' from module u'mistral.api.controllers.v2.resources'; the following exception was raised: |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: Traceback (most recent call last): |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 657, in import_object |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: __import__(self.modname) |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: File "/builddir/build/BUILD/mistral-5.0.1.dev59/mistral/api/controllers/v2/resources.py", line 210, in <module> |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: class Execution(resource.Resource): |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: File "/builddir/build/BUILD/mistral-5.0.1.dev59/mistral/api/controllers/v2/resources.py", line 252, in Execution |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: rexec = types.bool |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: AttributeError: 'module' object has no attribute 'bool' |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: Exception occurred: |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: File "/builddir/build/BUILD/mistral-5.0.1.dev59/mistral/api/controllers/v2/resources.py", line 252, in Execution |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: rexec = types.bool |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: AttributeError: 'module' object has no attribute 'bool' |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: The full traceback has been saved in /tmp/sphinx-err-HKqjKL.log, if you want to report the issue to the developers. |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: Please also report this if it was a user error, so that a better error message can be provided next time. |
2017-09-29 17:55:08,434 INFO:dlrn-build:DEBUG: A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! |
2017-09-29 17:55:08,435 INFO:dlrn-build:DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.cPxPnK (%install) |
2017-09-29 17:55:08,435 INFO:dlrn-build:DEBUG: Bad exit status from /var/tmp/rpm-tmp.cPxPnK (%install) |
2017-09-29 17:55:08,435 INFO:dlrn-build:DEBUG: RPM build errors: |
2017-09-29 17:55:08,435 INFO:dlrn-build:DEBUG: Child return code was: 1 |
2017-09-29 17:55:08,435 INFO:dlrn-build:INFO: EXCEPTION: [Error()] |
2017-09-29 17:55:08,435 INFO:dlrn-build:Traceback (most recent call last): |
2017-09-29 17:55:08,435 INFO:dlrn-build: File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace |
2017-09-29 17:55:08,435 INFO:dlrn-build: result = func(*args, **kw) |

Tags: ci quickstart
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
status: Triaged → In Progress
wes hayutin (weshayutin)
tags: removed: alert
Changed in tripleo:
importance: Critical → Low
Revision history for this message
Toure Dunnon (toure) wrote :

This bug can been closed, as this error was hit due to a incorrect type setting on the ReST service resource class. Once corrected this problem went away.

2017-09-29 17:55:08,433 INFO:dlrn-build:DEBUG: rexec = types.bool <--- This field of the interface belongs to the Execution class inside of the resource module of mistral. Even though the declared type was correct the pecan service wanted the native bool type object.

wes hayutin (weshayutin)
Changed in tripleo:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/508628
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=c1fe7f84b9d3071adac12d8c2938d827408eb72f
Submitter: Jenkins
Branch: master

commit c1fe7f84b9d3071adac12d8c2938d827408eb72f
Author: Wes Hayutin <email address hidden>
Date: Fri Sep 29 18:10:06 2017 -0400

    latest version of DLRN breaks CI

    A new version of DLRN was released on the 27th.
    This may break CI, see the bug referenced.

    Closes-Bug: #1720458
    Change-Id: I1b3d03316505e33e5c7dd1fc4a01b3741d1c0bfd

Changed in tripleo:
status: Invalid → Fix Released
Revision history for this message
Alan Pevec (apevec) wrote :

Summary is wrong, as comment 2 explains this was a bug in Mistral and has nothing to do with DLRN.
Please don't spread FUD!

Changed in tripleo:
status: Fix Released → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 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.