Package: src:python-os-testr
Version: 3.0.0-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-os-testr, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3,sphinxdoc
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
rm -rf build .stestr *.egg-info
find . -iname '*.pyc' -delete
for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary

[... snipped ...]

copying build/lib/os_testr/subunit_trace.py -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/__init__.py 
to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/files/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/base.py
 to base.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils/test_colorizer.py
 to test_colorizer.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_subunit2html.py
 to test_subunit2html.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_subunit_trace.py
 to test_subunit_trace.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils/colorizer.py
 to colorizer.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit2html.py
 to subunit2html.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/generate_subunit.py
 to generate_subunit.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py
 to subunit_trace.cpython-313.pyc
running install_egg_info
Copying os_testr.egg-info to 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr-3.0.0.egg-info
Skipping SOURCES.txt
running install_scripts
Installing generate-subunit script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing subunit-trace script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing subunit2html script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
+ pwd
+ rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth
+ pwd
+ rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth
export PATH=$PATH:/<<PKGBUILDDIR>>/debian/tmp/usr/bin ; pkgos-dh_auto_test 
--no-py2
+ PKGOS_TEST_PARALLEL=yes
+ PKGOS_TEST_SERIAL=no
+ PYTHONS=disabled
+ PYTHON3S=disabled
+ TEST_PARALLEL_OPT=--parallel
+ TEST_SERIAL_OPT=
+ echo WARNING: --no-py2 is deprecated, and always on.
WARNING: --no-py2 is deprecated, and always on.
+ shift
+ py3versions -vr
+ PYTHON3S=3.13
+ [ yes = no ]
+ [ no = yes ]
+ [ 3.13 = disabled ]
+ echo 3.13
+ cut -d. -f1
+ PYMAJOR=3
+ echo ===> Testing with python (python3)
===> Testing with python (python3)
+ pwd
+ [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
+ [ -z  ]
+ pwd
+ echo Implicitly adding 
PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
Implicitly adding 
PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
+ pwd
+ export PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
+ [ -e .stestr.conf ]
+ [ -x /usr/bin/python3-stestr ]
+ STESTR=stestr
+ rm -rf .stestr
+ PYTHON=python3.13 stestr run --parallel --subunit
+ subunit2pyunit
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_1
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_1 ... ok
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_2
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_2 ... ok
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_3
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_3 ... ok
os_testr.tests.test_subunit2html.TestSubunit2html.test_class_parsing_1_RemotedTestCase
os_testr.tests.test_subunit2html.TestSubunit2html.test_class_parsing_1_RemotedTestCase
 ... ok
os_testr.tests.test_subunit2html.TestSubunit2html.test_class_parsing_2_PlaceHolder
os_testr.tests.test_subunit2html.TestSubunit2html.test_class_parsing_2_PlaceHolder
 ... ok
os_testr.tests.test_subunit2html.TestSubunit2html.test_generate_report_with_no_ascii_characters_1_RemotedTestCase
os_testr.tests.test_subunit2html.TestSubunit2html.test_generate_report_with_no_ascii_characters_1_RemotedTestCase
 ... ok
os_testr.tests.test_subunit2html.TestSubunit2html.test_generate_report_with_no_ascii_characters_2_PlaceHolder
os_testr.tests.test_subunit2html.TestSubunit2html.test_generate_report_with_no_ascii_characters_2_PlaceHolder
 ... ok
os_testr.tests.test_subunit2html.TestSubunit2html.test_result_sorting_1_RemotedTestCase
os_testr.tests.test_subunit2html.TestSubunit2html.test_result_sorting_1_RemotedTestCase
 ... ok
os_testr.tests.test_subunit2html.TestSubunit2html.test_result_sorting_2_PlaceHolder
os_testr.tests.test_subunit2html.TestSubunit2html.test_result_sorting_2_PlaceHolder
 ... ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_supported_error_1_None
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_supported_error_1_None
 ... ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_supported_error_2_foo
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_supported_error_2_foo
 ... ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_supported_false
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_supported_false ... 
ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_invalid_color_1___foo___None_
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_invalid_color_1___foo___None_
 ... ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_invalid_color_2___foo____invalid_color__
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_invalid_color_2___foo____invalid_color__
 ... ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_valid_color_1___foo____red____31__
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_valid_color_1___foo____red____31__
 ... ok
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_valid_color_2___foo____blue____34__
os_testr.tests.utils.test_colorizer.TestAnsiColorizer.test_write_string_valid_color_2___foo____blue____34__
 ... ok
example.path.to.test1.method (subunit.RemotedTestCase)
example.path.to.test1.method
example.path.to.test2.method (subunit.RemotedTestCase)
example.path.to.test4.method (subunit.RemotedTestCase)
example.path.to.test6.method (subunit.RemotedTestCase)
example.path.to.test2.method
example.path.to.test4.method
example.path.to.test6.method
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/subunit-trace", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py",
 line 396, in main
    exit(trace(sys.stdin, sys.stdout, args.print_failures, args.failonly,
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               args.enable_diff, args.abbreviate, args.color, args.post_fails,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               args.no_summary))
               ^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py",
 line 367, in trace
    cat = subunit.test_results.CatFiles(stdout)
          ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'subunit' has no attribute 'test_results'. Did you mean: 
'testresult'?
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_return_code_all_skips
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_return_code_all_skips 
... ok
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/subunit-trace", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py",
 line 396, in main
    exit(trace(sys.stdin, sys.stdout, args.print_failures, args.failonly,
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               args.enable_diff, args.abbreviate, args.color, args.post_fails,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               args.no_summary))
               ^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py",
 line 367, in trace
    cat = subunit.test_results.CatFiles(stdout)
          ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'subunit' has no attribute 'test_results'. Did you mean: 
'testresult'?
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_return_code_normal_run
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_return_code_normal_run 
... FAIL
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_1
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_1 ... ok
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_2
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_2 ... ok
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_3
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_3 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_supported_always_true_1_None
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_supported_always_true_1_None
 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_supported_always_true_2_foo
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_supported_always_true_2_foo
 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_supported_always_true_3
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_supported_always_true_3
 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_none_exception_1__None___red__
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_none_exception_1__None___red__
 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_none_exception_2__None__None_
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_none_exception_2__None__None_
 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_string_ignore_color_1___foo____red__
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_string_ignore_color_1___foo____red__
 ... ok
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_string_ignore_color_2___foo____bar__
os_testr.tests.utils.test_colorizer.TestNullColorizer.test_write_string_ignore_color_2___foo____bar__
 ... ok

======================================================================
FAIL: 
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_return_code_normal_run
os_testr.tests.test_subunit_trace.TestSubunitTrace.test_return_code_normal_run
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/os_testr/tests/test_subunit_trace.py", line 84, in 
test_return_code_normal_run
    self.assertEqual(0, p.returncode)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in 
assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in 
assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1


----------------------------------------------------------------------
Ran 28 tests in 0.532s

FAILED (failures=1)
+ echo ======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze 
output...
======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze 
output...
+ [ -x /usr/bin/pip3 ]
+ pip3 freeze
WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory 
is not owned or is not writable by the current user. The cache has been 
disabled. Check the permissions and owner of that directory. If executing pip 
with sudo, you should use sudo's -H flag.
alabaster==0.7.16
autocommand==2.2.2
autopage==0.4.0
babel==2.17.0
bcrypt==4.3.0
blinker==1.9.0
CacheControl==0.14.3
cairocffi==1.7.1
CairoSVG==2.8.2
certifi==2025.1.31
cffi==2.0.0
chardet==5.2.0
charset-normalizer==3.4.3
cliff==4.11.0
cmd2==2.5.11+ds
coverage==7.8.2
cryptography==44.0.2
cssselect2==0.8.0
ddt==1.7.2
debtcollector==3.0.0
decorator==5.2.1
defusedxml==0.7.1
deprecation==2.1.0
docutils==0.21.2
dogpile.cache==1.3.3
dulwich==0.24.2
fixtures==4.2.5
flake8==7.1.1
hacking==4.1.0
idna==3.10
imagesize==1.4.1
inflect==7.5.0
iso8601==2.1.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
Jinja2==3.1.6
jmespath==1.0.1
jsonpatch==1.32
jsonpointer==2.4
keystoneauth1==5.12.0
lxml==6.0.2
Mako==1.3.10.dev0
MarkupSafe==3.0.2
mccabe==0.7.0
more-itertools==10.8.0
msgpack==1.0.3
oauthlib==3.3.1
openstackdocstheme==3.2.0
openstacksdk==4.7.1
os-client-config==2.3.0
os-service-types==1.8.0
os-testr==3.0.0
oslotest==5.0.1
packaging==25.0
pbr==7.0.1
pillow==11.3.0
platformdirs==4.4.0
ply==3.11
prettytable==3.16.0
psutil==7.1.0
pycodestyle==2.12.1
pycparser==2.23
pyflakes==3.2.0
Pygments==2.18.0
PyJWT==2.10.1
pyperclip==1.11.0
python-subunit==1.4.4
PyYAML==6.0.2
requests==2.32.5
requestsexceptions==1.4.0
roman==5.1
roman-numerals-py==3.1.0
setuptools==78.1.1
six==1.17.0
snowballstemmer==3.0.1
Sphinx==8.2.3
sphinxcontrib-svg2pdfconverter==1.3.0
stestr==4.2.0
stevedore==5.5.0
testscenarios==0.5.0
testtools==2.7.2
tinycss2==1.4.0
tomlkit==0.13.2
typeguard==4.4.4
typing_extensions==4.15.0
urllib3==2.5.0
voluptuous==0.15.2
wcwidth==0.2.13
webencodings==0.5.1
wheel==0.46.1
wrapt==1.17.3
xcffib==1.5.0
zipp==3.23.0
+ exit 1
make[1]: *** [debian/rules:22: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to