Source: swift-bench
Version: 1.2.0-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> make: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> dh build --buildsystem=pybuild --with python3
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/tests
> copying tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/tests
> copying tests/test_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/tests
> copying tests/test_bench.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/swiftbench
> copying swiftbench/bench.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/swiftbench
> copying swiftbench/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/swiftbench
> copying swiftbench/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/swiftbench
> running build_scripts
> creating build
> creating build/scripts-3.12
> copying and adjusting bin/swift-bench -> build/scripts-3.12
> copying and adjusting bin/swift-bench-client -> build/scripts-3.12
> changing mode of build/scripts-3.12/swift-bench from 644 to 755
> changing mode of build/scripts-3.12/swift-bench-client from 644 to 755
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/tests
> copying tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/tests
> copying tests/test_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/tests
> copying tests/test_bench.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/swiftbench
> copying swiftbench/bench.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/swiftbench
> copying swiftbench/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/swiftbench
> copying swiftbench/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build/swiftbench
> running build_scripts
> creating build/scripts-3.11
> copying and adjusting bin/swift-bench -> build/scripts-3.11
> copying and adjusting bin/swift-bench-client -> build/scripts-3.11
> changing mode of build/scripts-3.11/swift-bench from 644 to 755
> changing mode of build/scripts-3.11/swift-bench-client from 644 to 755
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build; python3.12 -m nose 
> -v tests
> test_placeholder (tests.test_bench.TestBench.test_placeholder) ... 
> /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no 
> addDuration method
>   warnings.warn("TestResult has no addDuration method",
> ok
> test_config_true_value (tests.test_utils.TestUtils.test_config_true_value) 
> ... ok
> test_readconf (tests.test_utils.TestUtils.test_readconf) ... ERROR
> test_readconf_raw (tests.test_utils.TestUtils.test_readconf_raw) ... ERROR
> test_using_http_proxy (tests.test_utils.TestUtils.test_using_http_proxy) ... 
> ok
> 
> ======================================================================
> ERROR: test_readconf (tests.test_utils.TestUtils.test_readconf)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/tests/test_utils.py",
>  line 57, in test_readconf
>     self.assertEquals(result, expected)
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestUtils' object has no attribute 'assertEquals'. Did you 
> mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: test_readconf_raw (tests.test_utils.TestUtils.test_readconf_raw)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build/tests/test_utils.py",
>  line 103, in test_readconf_raw
>     self.assertEquals(result, expected)
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestUtils' object has no attribute 'assertEquals'. Did you 
> mean: 'assertEqual'?
> 
> ----------------------------------------------------------------------
> Ran 5 tests in 0.008s
> 
> FAILED (errors=2)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_swift-bench/build; python3.12 -m nose 
> -v tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_swift-bench/build; python3.11 -m nose 
> -v tests
> test_placeholder (tests.test_bench.TestBench.test_placeholder) ... ok
> test_config_true_value (tests.test_utils.TestUtils.test_config_true_value) 
> ... ok
> test_readconf (tests.test_utils.TestUtils.test_readconf) ... ok
> test_readconf_raw (tests.test_utils.TestUtils.test_readconf_raw) ... ok
> test_using_http_proxy (tests.test_utils.TestUtils.test_using_http_proxy) ... 
> ok
> 
> ----------------------------------------------------------------------
> Ran 5 tests in 0.014s
> 
> OK
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/swift-bench_1.2.0-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to