Source: ostree-push
Version: 1.0.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> http_proxy= dh_auto_test
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ostree-push/build; python3.12 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 --
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: pytest.ini
> collecting ... collected 87 items
>
> tests/test_full.py::test_no_commits PASSED [
> 1%]
> tests/test_full.py::test_basic PASSED [
> 2%]
> tests/test_full.py::test_dry_run PASSED [
> 3%]
> tests/test_full.py::test_scp_dest PASSED [
> 4%]
> tests/test_full.py::test_command_abspath PASSED [
> 5%]
> tests/test_push.py::TestRepoServer::test_missing PASSED [
> 6%]
> tests/test_push.py::TestRepoServer::test_non_context PASSED [
> 8%]
> tests/test_push.py::TestRepoServer::test_context PASSED [
> 9%]
> tests/test_push.py::TestRepoServer::test_pull PASSED [
> 10%]
> tests/test_push.py::TestSSHMultiplexer::test_socket_exists PASSED [
> 11%]
> tests/test_push.py::TestSSHMultiplexer::test_master_non_context PASSED [
> 12%]
> tests/test_push.py::TestSSHMultiplexer::test_master_context PASSED [
> 13%]
> tests/test_push.py::TestSSHMultiplexer::test_forward_port PASSED [
> 14%]
> tests/test_push.py::TestSSHMultiplexer::test_run PASSED [
> 16%]
> tests/test_push.py::TestPushRefs::test_no_refs PASSED [
> 17%]
> tests/test_push.py::TestPushRefs::test_refs PASSED [
> 18%]
> tests/test_push.py::TestPushRefs::test_missing_ref PASSED [
> 19%]
> tests/test_push.py::TestPushRefs::test_summary PASSED [
> 20%]
> tests/test_push.py::TestPushRefs::test_dry_run PASSED [
> 21%]
> tests/test_push.py::TestParseDest::test_bad_scheme PASSED [
> 22%]
> tests/test_push.py::TestParseDest::test_missing_repo PASSED [
> 24%]
> tests/test_push.py::TestParseDest::test_empty_dest PASSED [
> 25%]
> tests/test_push.py::TestParseDest::test_missing_host PASSED [
> 26%]
> tests/test_push.py::TestParseDest::test_invalid_host PASSED [
> 27%]
> tests/test_push.py::TestParseDest::test_invalid_port PASSED [
> 28%]
> tests/test_push.py::TestParseDest::test_good_dest PASSED [
> 29%]
> tests/test_push.py::TestArgParser::test_no_dest PASSED [
> 31%]
> tests/test_push.py::TestArgParser::test_defaults PASSED [
> 32%]
> tests/test_push.py::TestArgParser::test_dest PASSED [
> 33%]
> tests/test_push.py::TestArgParser::test_refs PASSED [
> 34%]
> tests/test_push.py::TestArgParser::test_port PASSED [
> 35%]
> tests/test_push.py::TestArgParser::test_port_and_dest_port PASSED [
> 36%]
> tests/test_push.py::TestArgParser::test_dry_run PASSED [
> 37%]
> tests/test_push.py::TestArgParser::test_log_level PASSED [
> 39%]
> tests/test_push.py::TestArgParser::test_repo PASSED [
> 40%]
> tests/test_push.py::TestArgParser::test_command PASSED [
> 41%]
> tests/test_push.py::TestArgParser::test_ssh_options PASSED [
> 42%]
> tests/test_receive.py::TestReceiveRepo::test_cleanup PASSED [
> 43%]
> tests/test_receive.py::TestReceiveRepo::test_get_commit_timestamp PASSED [
> 44%]
> tests/test_receive.py::TestReceiveRepo::test_is_flatpak_repo PASSED [
> 45%]
> tests/test_receive.py::TestReceiveRepo::test_pull_commits PASSED [
> 47%]
> tests/test_receive.py::TestReceiveRepo::test_copy_commit PASSED [
> 48%]
> tests/test_receive.py::TestReceiveRepo::test_receive PASSED [
> 49%]
> tests/test_receive.py::TestReceiveRepo::test_receive_update PASSED [
> 50%]
> tests/test_receive.py::TestReceiveRepo::test_receive_update_hook PASSED [
> 51%]
> tests/test_receive.py::TestReceiveRepo::test_receive_gpg_sign PASSED [
> 52%]
> tests/test_receive.py::TestReceiveRepo::test_receive_gpg_verify PASSED [
> 54%]
> tests/test_receive.py::TestReceiveRepo::test_receive_ed25519_sign SKIPPED [
> 55%]
> tests/test_receive.py::TestReceiveRepo::test_receive_ed25519_verify SKIPPED [
> 56%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata PASSED [
> 57%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata_flatpak
> PASSED [ 58%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata_gpg_sign
> PASSED [ 59%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata_ed25519_sign
> SKIPPED [ 60%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_hook PASSED [
> 62%]
> tests/test_receive.py::TestReceiveRepo::test_receive_missing PASSED [
> 63%]
> tests/test_receive.py::TestReceiveRepo::test_receive_specific PASSED [
> 64%]
> tests/test_receive.py::TestReceiveRepo::test_receive_all PASSED [
> 65%]
> tests/test_receive.py::TestReceiveRepo::test_root PASSED [
> 66%]
> tests/test_receive.py::TestConfig::test_defaults PASSED [
> 67%]
> tests/test_receive.py::TestConfig::test_invalid PASSED [
> 68%]
> tests/test_receive.py::TestConfig::test_default_paths PASSED [
> 70%]
> tests/test_receive.py::TestConfig::test_load_valid PASSED [
> 71%]
> tests/test_receive.py::TestConfig::test_load_none PASSED [
> 72%]
> tests/test_receive.py::TestConfig::test_load_empty PASSED [
> 73%]
> tests/test_receive.py::TestConfig::test_load_missing PASSED [
> 74%]
> tests/test_receive.py::TestConfig::test_load_multiple PASSED [
> 75%]
> tests/test_receive.py::TestConfig::test_load_unknown PASSED [
> 77%]
> tests/test_receive.py::TestConfig::test_load_invalid FAILED [
> 78%]
> tests/test_receive.py::TestConfig::test_load_env PASSED [
> 79%]
> tests/test_receive.py::TestConfig::test_load_args PASSED [
> 80%]
> tests/test_receive.py::TestConfig::test_load_args_invalid PASSED [
> 81%]
> tests/test_receive.py::TestConfig::test_load_conf_and_args PASSED [
> 82%]
> tests/test_receive.py::TestArgParser::test_no_repo PASSED [
> 83%]
> tests/test_receive.py::TestArgParser::test_no_url PASSED [
> 85%]
> tests/test_receive.py::TestArgParser::test_defaults PASSED [
> 86%]
> tests/test_receive.py::TestArgParser::test_refs PASSED [
> 87%]
> tests/test_receive.py::TestArgParser::test_update PASSED [
> 88%]
> tests/test_receive.py::TestArgParser::test_dry_run PASSED [
> 89%]
> tests/test_receive.py::TestArgParser::test_force PASSED [
> 90%]
> tests/test_receive.py::TestArgParser::test_log_level PASSED [
> 91%]
> tests/test_receive_shell.py::test_command_args PASSED [
> 93%]
> tests/test_receive_shell.py::test_auto_path PASSED [
> 94%]
> tests/test_receive_shell.py::test_no_interactive PASSED [
> 95%]
> tests/test_receive_shell.py::test_wrong_args PASSED [
> 96%]
> tests/test_receive_shell.py::test_bad_command PASSED [
> 97%]
> tests/test_receive_shell.py::test_exec_errors SKIPPED (cannot test c...) [
> 98%]
> tests/test_sshd.py::test_basic PASSED
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________________ TestConfig.test_load_invalid
> _________________________
>
> self = <tests.test_receive.TestConfig object at 0x7f307b6562d0>
> tmp_path = PosixPath('/tmp/pytest-of-user42/pytest-19/test_load_invalid0')
>
> def test_load_invalid(self, tmp_path):
> with pytest.raises(receive.OTReceiveConfigError) as excinfo:
> receive.OTReceiveConfig.load([True])
> > assert str(excinfo.value) == (
> 'expected str, bytes or os.PathLike object, not bool'
> )
> E assert "argument sho...r, not 'bool'" == 'expected str...ect, not
> bool'
> E - expected str, bytes or os.PathLike object, not bool
> E + argument should be a str or an os.PathLike object where
> __fspath__ returns a str, not 'bool'
>
> tests/test_receive.py:818: AssertionError
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:108
> ../../../../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:108
> ../../../../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:108
> ../../../../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:108
> /usr/lib/python3/dist-packages/gi/overrides/__init__.py:108:
> DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal
> in Python 3.14; use importlib.util.find_spec() instead
> override_loader = get_loader(override_package_name)
>
> ../../../../../../usr/lib/python3.12/pkgutil.py:291
> ../../../../../../usr/lib/python3.12/pkgutil.py:291
> ../../../../../../usr/lib/python3.12/pkgutil.py:291
> ../../../../../../usr/lib/python3.12/pkgutil.py:291
> /usr/lib/python3.12/pkgutil.py:291: DeprecationWarning:
> 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14;
> use importlib.util.find_spec() instead
> return find_loader(fullname)
>
> .pybuild/cpython3_3.12_ostree-push/build/tests/test_push.py: 8 warnings
> .pybuild/cpython3_3.12_ostree-push/build/tests/test_receive.py: 17 warnings
> /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning:
> This process (pid=1588649) is multi-threaded, use of fork() may lead to
> deadlocks in the child.
> self.pid = os.fork()
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_receive.py::TestConfig::test_load_invalid - assert
> "argumen...
> ============ 1 failed, 82 passed, 4 skipped, 33 warnings in 18.36s
> =============
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ostree-push/build; python3.12 -m
> pytest tests
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ostree-push/build; python3.11 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 --
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: pytest.ini
> collecting ... collected 87 items
>
> tests/test_full.py::test_no_commits PASSED [
> 1%]
> tests/test_full.py::test_basic PASSED [
> 2%]
> tests/test_full.py::test_dry_run PASSED [
> 3%]
> tests/test_full.py::test_scp_dest PASSED [
> 4%]
> tests/test_full.py::test_command_abspath PASSED [
> 5%]
> tests/test_push.py::TestRepoServer::test_missing PASSED [
> 6%]
> tests/test_push.py::TestRepoServer::test_non_context PASSED [
> 8%]
> tests/test_push.py::TestRepoServer::test_context PASSED [
> 9%]
> tests/test_push.py::TestRepoServer::test_pull PASSED [
> 10%]
> tests/test_push.py::TestSSHMultiplexer::test_socket_exists PASSED [
> 11%]
> tests/test_push.py::TestSSHMultiplexer::test_master_non_context PASSED [
> 12%]
> tests/test_push.py::TestSSHMultiplexer::test_master_context PASSED [
> 13%]
> tests/test_push.py::TestSSHMultiplexer::test_forward_port PASSED [
> 14%]
> tests/test_push.py::TestSSHMultiplexer::test_run PASSED [
> 16%]
> tests/test_push.py::TestPushRefs::test_no_refs PASSED [
> 17%]
> tests/test_push.py::TestPushRefs::test_refs PASSED [
> 18%]
> tests/test_push.py::TestPushRefs::test_missing_ref PASSED [
> 19%]
> tests/test_push.py::TestPushRefs::test_summary PASSED [
> 20%]
> tests/test_push.py::TestPushRefs::test_dry_run PASSED [
> 21%]
> tests/test_push.py::TestParseDest::test_bad_scheme PASSED [
> 22%]
> tests/test_push.py::TestParseDest::test_missing_repo PASSED [
> 24%]
> tests/test_push.py::TestParseDest::test_empty_dest PASSED [
> 25%]
> tests/test_push.py::TestParseDest::test_missing_host PASSED [
> 26%]
> tests/test_push.py::TestParseDest::test_invalid_host PASSED [
> 27%]
> tests/test_push.py::TestParseDest::test_invalid_port PASSED [
> 28%]
> tests/test_push.py::TestParseDest::test_good_dest PASSED [
> 29%]
> tests/test_push.py::TestArgParser::test_no_dest PASSED [
> 31%]
> tests/test_push.py::TestArgParser::test_defaults PASSED [
> 32%]
> tests/test_push.py::TestArgParser::test_dest PASSED [
> 33%]
> tests/test_push.py::TestArgParser::test_refs PASSED [
> 34%]
> tests/test_push.py::TestArgParser::test_port PASSED [
> 35%]
> tests/test_push.py::TestArgParser::test_port_and_dest_port PASSED [
> 36%]
> tests/test_push.py::TestArgParser::test_dry_run PASSED [
> 37%]
> tests/test_push.py::TestArgParser::test_log_level PASSED [
> 39%]
> tests/test_push.py::TestArgParser::test_repo PASSED [
> 40%]
> tests/test_push.py::TestArgParser::test_command PASSED [
> 41%]
> tests/test_push.py::TestArgParser::test_ssh_options PASSED [
> 42%]
> tests/test_receive.py::TestReceiveRepo::test_cleanup PASSED [
> 43%]
> tests/test_receive.py::TestReceiveRepo::test_get_commit_timestamp PASSED [
> 44%]
> tests/test_receive.py::TestReceiveRepo::test_is_flatpak_repo PASSED [
> 45%]
> tests/test_receive.py::TestReceiveRepo::test_pull_commits PASSED [
> 47%]
> tests/test_receive.py::TestReceiveRepo::test_copy_commit PASSED [
> 48%]
> tests/test_receive.py::TestReceiveRepo::test_receive PASSED [
> 49%]
> tests/test_receive.py::TestReceiveRepo::test_receive_update PASSED [
> 50%]
> tests/test_receive.py::TestReceiveRepo::test_receive_update_hook PASSED [
> 51%]
> tests/test_receive.py::TestReceiveRepo::test_receive_gpg_sign PASSED [
> 52%]
> tests/test_receive.py::TestReceiveRepo::test_receive_gpg_verify PASSED [
> 54%]
> tests/test_receive.py::TestReceiveRepo::test_receive_ed25519_sign SKIPPED [
> 55%]
> tests/test_receive.py::TestReceiveRepo::test_receive_ed25519_verify SKIPPED [
> 56%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata PASSED [
> 57%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata_flatpak
> PASSED [ 58%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata_gpg_sign
> PASSED [ 59%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_metadata_ed25519_sign
> SKIPPED [ 60%]
> tests/test_receive.py::TestReceiveRepo::test_update_repo_hook PASSED [
> 62%]
> tests/test_receive.py::TestReceiveRepo::test_receive_missing PASSED [
> 63%]
> tests/test_receive.py::TestReceiveRepo::test_receive_specific PASSED [
> 64%]
> tests/test_receive.py::TestReceiveRepo::test_receive_all PASSED [
> 65%]
> tests/test_receive.py::TestReceiveRepo::test_root PASSED [
> 66%]
> tests/test_receive.py::TestConfig::test_defaults PASSED [
> 67%]
> tests/test_receive.py::TestConfig::test_invalid PASSED [
> 68%]
> tests/test_receive.py::TestConfig::test_default_paths PASSED [
> 70%]
> tests/test_receive.py::TestConfig::test_load_valid PASSED [
> 71%]
> tests/test_receive.py::TestConfig::test_load_none PASSED [
> 72%]
> tests/test_receive.py::TestConfig::test_load_empty PASSED [
> 73%]
> tests/test_receive.py::TestConfig::test_load_missing PASSED [
> 74%]
> tests/test_receive.py::TestConfig::test_load_multiple PASSED [
> 75%]
> tests/test_receive.py::TestConfig::test_load_unknown PASSED [
> 77%]
> tests/test_receive.py::TestConfig::test_load_invalid PASSED [
> 78%]
> tests/test_receive.py::TestConfig::test_load_env PASSED [
> 79%]
> tests/test_receive.py::TestConfig::test_load_args PASSED [
> 80%]
> tests/test_receive.py::TestConfig::test_load_args_invalid PASSED [
> 81%]
> tests/test_receive.py::TestConfig::test_load_conf_and_args PASSED [
> 82%]
> tests/test_receive.py::TestArgParser::test_no_repo PASSED [
> 83%]
> tests/test_receive.py::TestArgParser::test_no_url PASSED [
> 85%]
> tests/test_receive.py::TestArgParser::test_defaults PASSED [
> 86%]
> tests/test_receive.py::TestArgParser::test_refs PASSED [
> 87%]
> tests/test_receive.py::TestArgParser::test_update PASSED [
> 88%]
> tests/test_receive.py::TestArgParser::test_dry_run PASSED [
> 89%]
> tests/test_receive.py::TestArgParser::test_force PASSED [
> 90%]
> tests/test_receive.py::TestArgParser::test_log_level PASSED [
> 91%]
> tests/test_receive_shell.py::test_command_args PASSED [
> 93%]
> tests/test_receive_shell.py::test_auto_path PASSED [
> 94%]
> tests/test_receive_shell.py::test_no_interactive PASSED [
> 95%]
> tests/test_receive_shell.py::test_wrong_args PASSED [
> 96%]
> tests/test_receive_shell.py::test_bad_command PASSED [
> 97%]
> tests/test_receive_shell.py::test_exec_errors SKIPPED (cannot test c...) [
> 98%]
> tests/test_sshd.py::test_basic PASSED
> [100%]
>
> ======================== 83 passed, 4 skipped in 18.28s
> ========================
> dh_auto_test: error: pybuild --test --test-pytest -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/ostree-push_1.0.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&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.