[PKG-Openstack-devel] Bug#866557: python-os-api-ref FTBFS: test failures

Adrian Bunk bunk at debian.org
Fri Jun 30 03:20:21 UTC 2017


Source: python-os-api-ref
Version: 0.3.0+dfsg1-3
Severity: serious

Some recent change in unstable makes python-os-api-ref FTBFS:

https://tests.reproducible-builds.org/debian/history/python-os-api-ref.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-os-api-ref.html

...
======================================================================
FAIL: os_api_ref.tests.test_basic_example.TestBasicExample.test_parameters
os_api_ref.tests.test_basic_example.TestBasicExample.test_parameters
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "os_api_ref/tests/test_basic_example.py", line 104, in test_parameters
    self.assertIn(table, self.content)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 356, in assertIn
    self.assertThat(haystack, Contains(needle), message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '<table border="1" class="docutils">\n<colgroup>\n<col width="20%"></col>\n<col width="10%"></col>\n<col width="10%"></col>\n<col width="60%"></col>\n</colgroup>\n<thead valign="bottom">\n<tr class="row-odd"><th class="head">Name</th>\n<th class="head">In</th>\n<th class="head">Type</th>\n<th class="head">Description</th>\n</tr>\n</thead>\n<tbody valign="top">\n<tr class="row-even"><td>name</td>\n<td>body</td>\n<td>string</td>\n<td>The name of things</td>\n</tr>\n</tbody>\n</table>' not in '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>\n<title>List Servers \xe2\x80\x94 Python  documentation</title>\n<link href="_static/nature.css" rel="stylesheet" type="text/css"/>\n<link href="_static/pygments.css" rel="stylesheet" type="text/css"/>\n<link hre
 f="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/tweaks.css" rel="stylesheet" type="text/css"/>\n<script type="text/javascript">\n      var DOCUMENTATION_OPTIONS = {\n        URL_ROOT:    \'./\',\n        VERSION:     \'\',\n        COLLAPSE_INDEX: false,\n        FILE_SUFFIX: \'.html\',\n        HAS_SOURCE:  true\n      };\n    </script>\n<script src="_static/jquery.js" type="text/javascript"></script>\n<script src="_static/underscore.js" type="text/javascript"></script>\n<script src="_static/doctools.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<script src="_sta
 tic/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<link href="genindex.html" rel="index" title="Index"/>\n<link href="search.html" rel="search" title="Search"/>\n<link href="#" rel="top" title="Python  documentation"/>\n</head>\n<body role="document">\n<div id="header">\n<h1 id="logo"><a href="http://www.openstack.org/">OpenStack</a></h1>\n<ul id="navigation">\n<li><a class="link" href="http://www.openstack.org/" title="Go to the Home page">Home</a></li>\n<li><a href="http://www.openstack.org/projects/" title="Go to the OpenStack Projects page">Projects</a></li>\n<li><a class="link" href="http://www.openstack.org/user-stories/" title="Go to the User Stories page">User Stories</a></li>\n<li><a class="link" href="http://www.openstack.org/community/" title="Go to the Community page">Community</a></li>\n<li><a href="http://www.openstack.org/blog/" title="Go to the OpenStack Blog">Blog</a></li>\n<li><a
  href="http://wiki.openstack.org/" title="Go to the OpenStack Wiki">Wiki</a></li>\n<li><a class="current" href="http://docs.openstack.org/" title="Go to OpenStack Documentation">Documentation</a></li>\n</ul>\n</div>\n<div class="document">\n<div class="documentwrapper">\n<div class="bodywrapper">\n<div class="body" role="main">\n<div class="row">\n<div class="col-md-11"></div>\n<div class="col-md-1">\n<button class="btn btn-info btn-sm btn-expand-all" data-toggle="collapse" id="expand-all">Show All</button>\n</div>\n</div><p>I am text, hear me roar!</p>\n<div class="detail-control section" id="list-servers">\n<div class="row operation-grp ">\n<div class="col-md-1 operation">\n<a class="operation-anchor" href="#list-servers" name="list-servers">\n<span class="glyphicon glyphicon-link"></span></a>\n<span class="label label-GET">GET</span>\n</div>\n<div class="col-md-5">/servers</div>\n<div class="col-md-5">List Servers</div>\n<div class="col-md-1">\n<button class="btn btn-info btn-sm 
 btn-detail" data-target="#list-servers-detail" data-toggle="collapse" id="list-servers-detail-btn">detail</button>\n</div>\n</div></div>\n<div class="api-detail collapse section" id="list-servers-detail">\n<table border="1" class="docutils">\n<colgroup>\n<col width="20%"/>\n<col width="10%"/>\n<col width="10%"/>\n<col width="60%"/>\n</colgroup>\n<thead valign="bottom">\n<tr class="row-odd"><th class="head">Name</th>\n<th class="head">In</th>\n<th class="head">Type</th>\n<th class="head">Description</th>\n</tr>\n</thead>\n<tbody valign="top">\n<tr class="row-even"><td>name</td>\n<td>body</td>\n<td>string</td>\n<td>The name of things</td>\n</tr>\n</tbody>\n</table>\n</div>\n</div>\n</div>\n</div>\n<div class="sphinxsidebar">\n<div class="sphinxsidebarwrapper">\n<h3><a href="#">Table Of Contents</a></h3>\n<ul>\n<li><a class="reference internal" href="#">List Servers</a><ul>\n<li><a class="reference internal" href="#list-servers-selector"></a></li>\n</ul>\n</li>\n</ul>\n<h3>This Page</h
 3>\n<ul class="this-page-menu">\n<li><a href="_sources/index.txt" rel="nofollow">Show Source</a></li>\n</ul>\n<div id="searchbox" style="display: none">\n<h3>Quick search</h3>\n<form action="search.html" class="search" method="get">\n<input name="q" size="18" type="text"/>\n<input type="submit" value="Go"/>\n<input name="check_keywords" type="hidden" value="yes"/>\n<input name="area" type="hidden" value="default"/>\n</form>\n<p class="searchtip" style="font-size: 90%">\n              Enter search terms or a module, class or function name.\n              </p>\n</div>\n<script type="text/javascript">$(\'#searchbox\').show(0);</script>\n</div>\n</div>\n<div class="clearer"></div>\n</div>\n<div aria-label="related navigation" class="related" role="navigation">\n<h3>Navigation</h3>\n<ul>\n<li class="right" style="margin-right: 10px">\n<a accesskey="I" href="genindex.html" title="General Index">index</a></li>\n<li class="nav-item nav-item-0"><a href="#">Python  documentation</a> \xc2\xbb<
 /li>\n</ul>\n</div>\n<div class="footer" role="contentinfo">\n        \xc2\xa9 Copyright .\n      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.9.\n    </div>\n<script type="text/javascript">\ntry {\n//Tracking docs.openstack.org/developer/<projectname> only\n//The URL is built from the project variable in conf.py\nvar pageTracker = _gat._getTracker("UA-17511903-1");\npageTracker._setCookiePath("/developer/Python");\npageTracker._trackPageview();\n} catch(err) {}</script>\n</body>\n</html>'


======================================================================
FAIL: os_api_ref.tests.test_microversions.TestMicroversions.test_parameters_table
os_api_ref.tests.test_microversions.TestMicroversions.test_parameters_table
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "os_api_ref/tests/test_microversions.py", line 99, in test_parameters_table
    self.assertIn(table, self.content)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 356, in assertIn
    self.assertThat(haystack, Contains(needle), message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '<div class="api-detail collapse section" id="list-servers-detail">\n<table border="1" class="docutils">\n<colgroup>\n<col width="20%"></col>\n<col width="10%"></col>\n<col width="10%"></col>\n<col width="60%"></col>\n</colgroup>\n<thead valign="bottom">\n<tr class="row-odd"><th class="head">Name</th>\n<th class="head">In</th>\n<th class="head">Type</th>\n<th class="head">Description</th>\n</tr>\n</thead>\n<tbody valign="top">\n<tr class="row-even"><td>name</td>\n<td>body</td>\n<td>string</td>\n<td>The name of things</td>\n</tr>\n<tr class="rp_min_ver_2_11 row-odd"><td>name2</td>\n<td>body</td>\n<td>string</td>\n<td><p class="first">The name of things</p>\n<p class="last"><strong>New in version 2.11</strong></p>\n</td>\n</tr>\n<tr class="rp_max_ver_2_20 row-even"><td>name3</td>\n<td>body</td>\n<td>string</td>\n<td><p class="first">The name of things</p>\n<p class="last"><strong>Deprecated in version 2.20</strong></p>\n</td>\n</tr>\n</tbody>\n</
 table>\n</div>\n' not in '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>\n<title>List Servers \xe2\x80\x94 Python  documentation</title>\n<link href="_static/nature.css" rel="stylesheet" type="text/css"/>\n<link href="_static/pygments.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstr
 ap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>\n<link href="_static/api-site.css" rel="stylesheet" type="text/css"/>\n<link href="_static/tweaks.css" rel="stylesheet" type="text/css"/>\n<script type="text/javascript">\n      var DOCUMENTATION_OPTIONS = {\n        URL_ROOT:    \'./\',\n        VERSION:     \'\',\n        COLLAPSE_INDEX: false,\n        FILE_SUFFIX: \'.html\',\n        HAS_SOURCE:  true\n      };\n    </script>\n<script src="_static/jquery.js" type="text/javascript"></script>\n<script src="_static/underscore.js" type="text/javascript"></script>\n<script src="_static/doctools.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.
 min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<script src="_static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\n<script src="_static/api-site.js" type="text/javascript"></script>\n<link href="genindex.html" rel="index" title="Index"/>\n<link href="search.html" rel="search" title="Search"/>\n<link
  href="#" rel="top" title="Python  documentation"/>\n</head>\n<body role="document">\n<div id="header">\n<h1 id="logo"><a href="http://www.openstack.org/">OpenStack</a></h1>\n<ul id="navigation">\n<li><a class="link" href="http://www.openstack.org/" title="Go to the Home page">Home</a></li>\n<li><a href="http://www.openstack.org/projects/" title="Go to the OpenStack Projects page">Projects</a></li>\n<li><a class="link" href="http://www.openstack.org/user-stories/" title="Go to the User Stories page">User Stories</a></li>\n<li><a class="link" href="http://www.openstack.org/community/" title="Go to the Community page">Community</a></li>\n<li><a href="http://www.openstack.org/blog/" title="Go to the OpenStack Blog">Blog</a></li>\n<li><a href="http://wiki.openstack.org/" title="Go to the OpenStack Wiki">Wiki</a></li>\n<li><a class="current" href="http://docs.openstack.org/" title="Go to OpenStack Documentation">Documentation</a></li>\n</ul>\n</div>\n<div class="document">\n<div class="d
 ocumentwrapper">\n<div class="bodywrapper">\n<div class="body" role="main">\n<div class="row">\n<script>os_max_mv = 30; os_min_mv = 1;</script>\n<div class="col-md-11">\n<div aria-label="..." class="btn-group" role="group">\n<button class="btn btn-default mv_selector active" type="button">All</button>\n<button class="btn btn-default mv_selector" type="button">2.1</button>\n<button class="btn btn-default mv_selector" type="button">2.2</button>\n<button class="btn btn-default mv_selector" type="button">2.3</button>\n<button class="btn btn-default mv_selector" type="button">2.4</button>\n<button class="btn btn-default mv_selector" type="button">2.5</button>\n<button class="btn btn-default mv_selector" type="button">2.6</button>\n<button class="btn btn-default mv_selector" type="button">2.7</button>\n<button class="btn btn-default mv_selector" type="button">2.8</button>\n<button class="btn btn-default mv_selector" type="button">2.9</button>\n<button class="btn btn-default mv_selector" t
 ype="button">2.10</button>\n<button class="btn btn-default mv_selector" type="button">2.11</button>\n<button class="btn btn-default mv_selector" type="button">2.12</button>\n<button class="btn btn-default mv_selector" type="button">2.13</button>\n<button class="btn btn-default mv_selector" type="button">2.14</button>\n<button class="btn btn-default mv_selector" type="button">2.15</button>\n<button class="btn btn-default mv_selector" type="button">2.16</button>\n<button class="btn btn-default mv_selector" type="button">2.17</button>\n<button class="btn btn-default mv_selector" type="button">2.18</button>\n<button class="btn btn-default mv_selector" type="button">2.19</button>\n<button class="btn btn-default mv_selector" type="button">2.20</button>\n<button class="btn btn-default mv_selector" type="button">2.21</button>\n<button class="btn btn-default mv_selector" type="button">2.22</button>\n<button class="btn btn-default mv_selector" type="button">2.23</button>\n<button class="btn b
 tn-default mv_selector" type="button">2.24</button>\n<button class="btn btn-default mv_selector" type="button">2.25</button>\n<button class="btn btn-default mv_selector" type="button">2.26</button>\n<button class="btn btn-default mv_selector" type="button">2.27</button>\n<button class="btn btn-default mv_selector" type="button">2.28</button>\n<button class="btn btn-default mv_selector" type="button">2.29</button>\n<button class="btn btn-default mv_selector" type="button">2.30</button>\n</div></div>\n<div class="col-md-1">\n<button class="btn btn-info btn-sm btn-expand-all" data-toggle="collapse" id="expand-all">Show All</button>\n</div>\n</div><p>I am text, hear me roar!</p>\n<div class="detail-control section" id="list-servers">\n<div class="row operation-grp ">\n<div class="col-md-1 operation">\n<a class="operation-anchor" href="#list-servers" name="list-servers">\n<span class="glyphicon glyphicon-link"></span></a>\n<span class="label label-GET">GET</span>\n</div>\n<div class="col
 -md-5">/servers</div>\n<div class="col-md-5">List Servers</div>\n<div class="col-md-1">\n<button class="btn btn-info btn-sm btn-detail" data-target="#list-servers-detail" data-toggle="collapse" id="list-servers-detail-btn">detail</button>\n</div>\n</div></div>\n<div class="api-detail collapse section" id="list-servers-detail">\n<table border="1" class="docutils">\n<colgroup>\n<col width="20%"/>\n<col width="10%"/>\n<col width="10%"/>\n<col width="60%"/>\n</colgroup>\n<thead valign="bottom">\n<tr class="row-odd"><th class="head">Name</th>\n<th class="head">In</th>\n<th class="head">Type</th>\n<th class="head">Description</th>\n</tr>\n</thead>\n<tbody valign="top">\n<tr class="row-even"><td>name</td>\n<td>body</td>\n<td>string</td>\n<td>The name of things</td>\n</tr>\n<tr class="rp_min_ver_2_11 row-odd"><td>name2</td>\n<td>body</td>\n<td>string</td>\n<td><p class="first">The name of things</p>\n<p class="last"><strong>New in version 2.11</strong></p>\n</td>\n</tr>\n<tr class="rp_max_v
 er_2_20 row-even"><td>name3</td>\n<td>body</td>\n<td>string</td>\n<td><p class="first">The name of things</p>\n<p class="last"><strong>Deprecated in version 2.20</strong></p>\n</td>\n</tr>\n</tbody>\n</table>\n</div>\n<div class="detail-control section" id="list-tags">\n<div class="row operation-grp rp_min_ver_2_17 rp_max_ver_2_19 ">\n<div class="col-md-1 operation">\n<a class="operation-anchor" href="#list-tags" name="list-tags">\n<span class="glyphicon glyphicon-link"></span></a>\n<span class="label label-GET">GET</span>\n</div>\n<div class="col-md-5">/tags</div>\n<div class="col-md-5">List Tags</div>\n<div class="col-md-1">\n<button class="btn btn-info btn-sm btn-detail" data-target="#list-tags-detail" data-toggle="collapse" id="list-tags-detail-btn">detail</button>\n</div>\n</div></div>\n<div class="api-detail collapse section" id="list-tags-detail">\n</div>\n</div>\n</div>\n</div>\n<div class="sphinxsidebar">\n<div class="sphinxsidebarwrapper">\n<h3><a href="#">Table Of Content
 s</a></h3>\n<ul>\n<li><a class="reference internal" href="#">List Servers</a><ul>\n<li><a class="reference internal" href="#list-servers-selector"></a></li>\n</ul>\n</li>\n<li><a class="reference internal" href="#list-tags">List Tags</a><ul>\n<li><a class="reference internal" href="#list-tags-selector"></a></li>\n</ul>\n</li>\n</ul>\n<h3>This Page</h3>\n<ul class="this-page-menu">\n<li><a href="_sources/index.txt" rel="nofollow">Show Source</a></li>\n</ul>\n<div id="searchbox" style="display: none">\n<h3>Quick search</h3>\n<form action="search.html" class="search" method="get">\n<input name="q" size="18" type="text"/>\n<input type="submit" value="Go"/>\n<input name="check_keywords" type="hidden" value="yes"/>\n<input name="area" type="hidden" value="default"/>\n</form>\n<p class="searchtip" style="font-size: 90%">\n              Enter search terms or a module, class or function name.\n              </p>\n</div>\n<script type="text/javascript">$(\'#searchbox\').show(0);</script>\n</d
 iv>\n</div>\n<div class="clearer"></div>\n</div>\n<div aria-label="related navigation" class="related" role="navigation">\n<h3>Navigation</h3>\n<ul>\n<li class="right" style="margin-right: 10px">\n<a accesskey="I" href="genindex.html" title="General Index">index</a></li>\n<li class="nav-item nav-item-0"><a href="#">Python  documentation</a> \xc2\xbb</li>\n</ul>\n</div>\n<div class="footer" role="contentinfo">\n        \xc2\xa9 Copyright .\n      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.9.\n    </div>\n<script type="text/javascript">\ntry {\n//Tracking docs.openstack.org/developer/<projectname> only\n//The URL is built from the project variable in conf.py\nvar pageTracker = _gat._getTracker("UA-17511903-1");\npageTracker._setCookiePath("/developer/Python");\npageTracker._trackPageview();\n} catch(err) {}</script>\n</body>\n</html>'


----------------------------------------------------------------------
Ran 11 tests in 4.010s

FAILED (failures=2)
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list