Package: src:python-os-api-ref
Version: 1.5.0+dfsg1-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh build-indep  --with python2,python3
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
dh_auto_configure: Please use the third-party "pybuild" build system instead of 
python-distutils
dh_auto_configure: This feature will be removed in compat 12.
   dh_auto_build -i
dh_auto_build: Please use the third-party "pybuild" build system instead of 
python-distutils
dh_auto_build: This feature will be removed in compat 12.
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
        python setup.py build --force
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/os_api_ref
creating build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/tests/test_basic_example.py -> 
build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/tests/__init__.py -> 
build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/tests/test_microversions.py -> 
build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/tests/base.py -> build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/tests/test_os_api_ref.py -> 
build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/tests/test_warnings.py -> 
build/lib.linux-x86_64-2.7/os_api_ref/tests
copying os_api_ref/__init__.py -> build/lib.linux-x86_64-2.7/os_api_ref
copying os_api_ref/http_codes.py -> build/lib.linux-x86_64-2.7/os_api_ref
running egg_info
creating os_api_ref.egg-info
writing requirements to os_api_ref.egg-info/requires.txt
writing os_api_ref.egg-info/PKG-INFO
writing top-level names to os_api_ref.egg-info/top_level.txt
writing dependency_links to os_api_ref.egg-info/dependency_links.txt
[pbr] Processing SOURCES.txt
writing manifest file 'os_api_ref.egg-info/SOURCES.txt'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
writing manifest file 'os_api_ref.egg-info/SOURCES.txt'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<BUILDDIR>>/python-os-api-ref-1.5.0+dfsg1'
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
pkgos-dh_auto_test
+ PKGOS_USE_PY2=yes
+ PKGOS_USE_PY3=yes
+ PKGOS_TEST_PARALLEL=yes
+ PYTHONS=disabled
+ PYTHON3S=disabled
+ TEST_PARALLEL_OPT=--parallel
+ [ yes = yes ]
+ PYTHONS=2.7
+ [ yes = yes ]
+ py3versions -vr
+ PYTHON3S=3.7
+ [ yes = no ]
+ [ 2.7 = disabled ]
+ cut -d. -f1
+ echo 2.7
+ PYMAJOR=2
+ echo ===> Testing with python (python2)
===> Testing with python (python2)
+ [ 2 = 3 ]
+ [ 2 = 2 ]
+ pwd
+ [ -d 
/<<BUILDDIR>>/python-os-api-ref-1.5.0+dfsg1/debian/tmp/usr/lib/python3/dist-packages
 ]
+ [ -e .stestr.conf ]
+ [ -e .testr.conf ]
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.XLfTuuaF3G
+ subunit2pyunit
+ tee /tmp/tmp.XLfTuuaF3G
+ PYTHON=python2.7 testr-python2 run --parallel --subunit
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ .  
os_api_ref.tests.test_basic_example.TestBasicExample.test_expand_all
os_api_ref.tests.test_basic_example.TestBasicExample.test_expand_all ... ok
os_api_ref.tests.test_basic_example.TestBasicExample.test_parameters
os_api_ref.tests.test_basic_example.TestBasicExample.test_parameters ... ok
os_api_ref.tests.test_basic_example.TestBasicExample.test_rest_method
os_api_ref.tests.test_basic_example.TestBasicExample.test_rest_method ... ok
os_api_ref.tests.test_basic_example.TestBasicExample.test_rest_response
os_api_ref.tests.test_basic_example.TestBasicExample.test_rest_response ... ok
os_api_ref.tests.test_microversions.TestMicroversions.test_js_declares
os_api_ref.tests.test_microversions.TestMicroversions.test_js_declares ... ok
os_api_ref.tests.test_microversions.TestMicroversions.test_mv_selector
os_api_ref.tests.test_microversions.TestMicroversions.test_mv_selector ... ok
os_api_ref.tests.test_microversions.TestMicroversions.test_parameters_table
os_api_ref.tests.test_microversions.TestMicroversions.test_parameters_table ... 
ok
os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method
os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method ... FAIL
os_api_ref.tests.test_os_api_ref.TestOs_api_ref.test_something
os_api_ref.tests.test_os_api_ref.TestOs_api_ref.test_something ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_empty_parameter_file
os_api_ref.tests.test_warnings.TestWarnings.test_empty_parameter_file ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_invalid_parameter_definition
os_api_ref.tests.test_warnings.TestWarnings.test_invalid_parameter_definition 
... ok
os_api_ref.tests.test_warnings.TestWarnings.test_missing_field
os_api_ref.tests.test_warnings.TestWarnings.test_missing_field ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_missing_lookup_name
os_api_ref.tests.test_warnings.TestWarnings.test_missing_lookup_name ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_missing_path_parameter_in_stanza
os_api_ref.tests.test_warnings.TestWarnings.test_missing_path_parameter_in_stanza
 ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_no_parameters_set
os_api_ref.tests.test_warnings.TestWarnings.test_no_parameters_set ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_out_of_order
os_api_ref.tests.test_warnings.TestWarnings.test_out_of_order ... ok
os_api_ref.tests.test_warnings.TestWarnings.test_parameter_file_not_exist
os_api_ref.tests.test_warnings.TestWarnings.test_parameter_file_not_exist ... ok

======================================================================
FAIL: os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method
os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "os_api_ref/tests/test_microversions.py", line 50, in test_rest_method
    str(content[0]))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 417, in 
assertIn
    self.assertThat(haystack, Contains(needle), message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in 
assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '<div class="operation-grp 
rp_min_ver_2_17 rp_max_ver_2_19 ">' not in '<div class="operation-grp 
rp_min_ver_2_17 rp_max_ver_2_19">\n<div class="row">\n<div 
class="col-md-2">\n<div class="operation">\n<a class="operation-anchor" 
href="#list-tags" name="list-tags" onclick="window.location.hash = 
hash;">\n<span class="glyphicon glyphicon-link"></span></a>\n<span class="label 
label-GET">GET</span>\n</div>\n</div>\n<div class="col-md-9">\n<div 
class="row">\n<div class="endpoint-container">\n<div class="row 
col-md-12">/tags</div>\n<div class="row col-md-12"><p class="url-subtitle">List 
Tags</p></div>\n</div>\n</div>\n</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>\n</div>'


----------------------------------------------------------------------
Ran 17 tests in 8.554s

FAILED (failures=1)
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/python-os-api-ref-1.5.0+dfsg1'
make: *** [debian/rules:7: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

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

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to