Package: src:git-buildpackage
Version: 0.9.22
Severity: serious
Control: close -1 0.9.30
Tags: ftbfs bullseye

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:232: python3.9 setup.py config
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:232: /usr/bin/python3 setup.py build
running build
running build_py

[... snipped ...]

Doctest: tests.doctests.test_GitRepository.test_merge ... ok
Doctest: tests.doctests.test_GitRepository.test_pull ... ok
Doctest: tests.doctests.test_GitRepository.test_fetch ... ok
Doctest: tests.doctests.test_GitRepository.test_create_bare ... ok
Doctest: tests.doctests.test_GitRepository.test_nonexistent ... ok
Doctest: tests.doctests.test_GitRepository.test_create_noperm ... ok
Doctest: tests.doctests.test_GitRepository.test_checkout ... ok
Doctest: tests.doctests.test_GitRepository.test_gc ... ok
Doctest: tests.doctests.test_GitRepository.test_grep_log ... ok
Doctest: tests.doctests.test_GitRepository.test_is_ff ... ok
Doctest: tests.doctests.test_GitRepository.test_update_ref ... ok
Doctest: tests.doctests.test_GitRepository.test_make_tree ... ok
Doctest: tests.doctests.test_GitRepository.test_update_submodules ... ok
Doctest: tests.doctests.test_GitRepository.test_get_merge_base ... ok
Doctest: tests.doctests.test_GitRepository.test_status ... ok
Doctest: tests.doctests.test_GitRepository.test_cmd_has_feature ... ok
Doctest: tests.doctests.test_GitRepository.test_set_user_name_and_email ... ok
Doctest: tests.doctests.test_GitRepository.test_set_config_and_get_config ... ok
Doctest: tests.doctests.test_GitRepository.test_git_dir ... ok
Doctest: tests.doctests.test_GitVfs.test_read ... ok
Doctest: tests.doctests.test_GitVfs.test_binary_read ... ok
Doctest: tests.doctests.test_GitVfs.test_content_manager ... ok
Doctest: tests.doctests.test_PristineTar.test_create ... ok
Doctest: tests.doctests.test_PristineTar.test_empty_repo ... ok
Doctest: tests.doctests.test_PristineTar.test_commit_dir ... ok
Doctest: tests.doctests.test_PristineTar.test_create_tarball ... ok
Doctest: tests.doctests.test_PristineTar.test_pristine_tar_commit ... ok
Doctest: tests.doctests.test_PristineTar.test_pristine_tar_commit_with_sig ... 
ok
Doctest: tests.doctests.test_PristineTar.test_pristine_has_commit ... ok
Doctest: tests.doctests.test_PristineTar.test_pristine_tar_checkout ... ok
Doctest: tests.doctests.test_PristineTar.test_pristine_tar_checkout_with_sig 
... ok
Doctest: tests.doctests.test_PristineTar.test_pristine_tar_verify ... ok
Doctest: tests.doctests.test_PristineTar.test_pristine_tar_checkout_nonexistent 
... ok
Doctest: tests.doctests.test_create_remote_repo.test_build_remote_script ... ok
Doctest: 
tests.doctests.test_create_remote_repo.test_build_remote_script_template_dir 
... ok
Doctest: tests.doctests.test_create_remote_repo.test_build_remote_script_bare 
... ok
Doctest: tests.doctests.test_create_remote_repo.test_parse_url ... ok
testHelp (tests.01_test_help.TestHelp) ... ok
test_upstream_source_type (tests.02_test_upstream_source_tar_unpack.TestUnpack) 
... ok
test_upstream_source_unpack 
(tests.02_test_upstream_source_tar_unpack.TestUnpack) ... ok
test_upstream_source_unpack_filtered 
(tests.02_test_upstream_source_tar_unpack.TestUnpack) ... ok
test_upstream_source_unpack_no_filter 
(tests.02_test_upstream_source_tar_unpack.TestUnpack) ... ok
Check if we picked up the epoch correctly (#652366) ... ok
Guess the new version from the upstream tag using a mangled tag format ... ok
Guess the new version from the upstream tag ... ok
Guess with clashing upstream- and non-upstream-tag ... ok
Guess with existing -0... releases ... ok
test_no_changelog 
(tests.03_test_dch_guess_version.TestGuessVersionFromUpstream) ... ok
Test empty repo for submodules ... ok
Add some dummy data ... ok
Add some dummy data ... ok
Add a submodule ... ERROR
Check for submodules ... FAIL
Check for submodules list of  (name, hash) ... ERROR
Dump the repository and check if files exist ... FAIL
Create an upstream tarball ... ok
Create an upstream zip archive ... FAIL
Check the contents of the created tarfile ... FAIL
Add a second submodule with name containing whitespace ... ERROR
Check for submodules list of  (name, hash) ... FAIL
test_guess_comp_type_auto_bzip2 (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_bz (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_bz2 (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_bzip2 (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_gz (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_gzip (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_lzma (tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_no_pristine_tar_no_orig 
(tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_no_pristine_tar_with_multiple_origs 
(tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_no_pristine_tar_with_orig 
(tests.05_test_detection.TestDetection) ... ok
test_guess_comp_type_no_repo (tests.05_test_detection.TestDetection) ... ok
test_has_orig_multiple_false (tests.05_test_detection.TestDetection) ... ok
test_has_orig_multiple_true (tests.05_test_detection.TestDetection) ... ok
test_has_orig_single_false (tests.05_test_detection.TestDetection) ... ok
test_has_orig_single_true (tests.05_test_detection.TestDetection) ... ok
Upstream source is a directory ... ok
Check if filtering out files works ... ok
Check if packing tar archives works ... ok
test_unpack (tests.06_test_upstream_source.TestZip) ... ok
Create a fastimport object ... ok
Add a file via fastimport ... ok
Add a symbolic link via fastimport ... ok
tests.07_test_fastimport.test_close ... ok
tests.07_test_fastimport.test_result ... ok
Get patch information from git mailimport with base64 body but plain text patch 
... ok
Make sure broken encoding does no affect import ... ok
Convert extra DEP-3 header into a git pseudo-header ... ok
Don't fail on empty patch header ... ok
Get patch information from git mailimport and extra DEP-3 headers ... ok
Get patch information from the filename ... ok
Get the patch information from a patch header ... ok
test_has_branch (tests.09_test_git_repository.TestHasBranch) ... ok
Commit a tree ... ok
Write out index file to alternate index file ... ok
Write out index file to non-existent dir ... ok
Getting upstream tree from an invalid tag must fail ... ok
Getting upstream tree from an invalid tree must fail ... ok
Getting upstream tree from a invalid upstream branch must fail ... ok
Get upstream tree from a valid tag ... ok
Get upstream tree from a valid upstream tree ... ok
Get upstream tree from a valid upstream branch ... ok
test_dch_create_changelog (tests.11_test_dch_main.TestScriptDch) ... ok
test_dch_main_closes_default (tests.11_test_dch_main.TestScriptDch) ... ok
test_dch_main_closes_non_debian_bug_numbers 
(tests.11_test_dch_main.TestScriptDch) ... ok
test_dch_main_git_author (tests.11_test_dch_main.TestScriptDch) ... ok
Test dch.py like gbp dch script does: increment debian version ... ok
Test dch.py like gbp dch script does: increment debian version - guess last 
commit ... ok
Test dch.py like gbp dch script does: increment debian version - auto - release 
... ok
Test dch.py like gbp dch script does: increment debian version - auto - 
snapshot mode ... ok
Test dch.py like gbp dch script does: increment debian version - release ... ok
Test dch.py like gbp dch script does: increment debian version - snapshot mode 
... ok
test_dch_main_meta_closes_and_bug_numbers 
(tests.11_test_dch_main.TestScriptDch) ... ok
Test dch.py like gbp dch script does: new upstream version ... ok
Test dch.py like gbp dch script does: new upstream version - two snapshots - 
auto ... ok
Test dch.py like gbp dch script does: new upstream version - two snapshots - do 
not set distribution ... ok
Test dch.py like gbp dch script does: new upstream version - two committed 
snapshots - auto ... ok
Test dch.py like gbp dch script does: new upstream version - two committed 
snapshots - do not set distribution ... ok
Test dch.py like gbp dch script does: new upstream version - guess last commit 
... ok
Test dch.py like gbp dch script does: new upstream version - auto - release ... 
ok
Test dch.py like gbp dch script does: new upstream version - auto - snapshot 
mode ... ok
Test dch.py like gbp dch script does: new upstream version - set distribution 
... ok
Test dch.py like gbp dch script does: new upstream version - release ... ok
Test dch.py like gbp dch script does: new upstream version - release - set 
distribution ... ok
Test dch.py like gbp dch script does: new upstream version - release - set 
urgency ... ok
Test dch.py like gbp dch script does: new upstream version - snapshot mode ... 
ok
Test dch.py like gbp dch script does: new upstream version - snapshot mode - do 
not set distribution ... ok
Test dch.py like gbp dch script does: new upstream version - snapshot - release 
... ok
Test dch.py like gbp dch script does: new upstream version - snapshot mode - 
set urgency ... ok
Test dch.py like gbp dch script does: new upstream version - set urgency ... ok
test_dch_main_no_git_author (tests.11_test_dch_main.TestScriptDch) ... ok
Test dch.py like gbp dch script does: snapshot mode with unreleased debian 
version ... ok
test_dch_subdir (tests.11_test_dch_main.TestScriptDch) ... ok
Test parsing a a 1.0 non-native dsc file without debian revision ... ok
Test parsing a valid dsc file ... ok
test_get_arch (tests.12_test_deb.TestDeb) ... ok
test_get_vendor (tests.12_test_deb.TestDeb) ... ok
testBadVersion (tests.12_test_deb.TestDpkgCompareVersions) ... ok
testGreaterThen (tests.12_test_deb.TestDpkgCompareVersions) ... ok
testLessThen (tests.12_test_deb.TestDpkgCompareVersions) ... ok
testSameVersion (tests.12_test_deb.TestDpkgCompareVersions) ... ok
Test applying a single patch ... ok
Test applying a patch preserves the subject ... ok
Check if we parse the author from debian control if it's missing in the patch. 
... ok
Test if setting a name works ... ok
Test if setting a topic works ... ok
Test applying a single patch ... ok
Test if we commit the patch-queue branch with --commit ... ok
Test if we commit the patch-queue branch with all patches dropped ... ok
Test if we drop the patch-queue branch with --drop ... ok
test_adding_patch (tests.13_test_gbp_pq.TestFromTAG) ... ok
test_empty (tests.13_test_gbp_pq.TestFromTAG) ... ok
Test command filtering with an empty body ... ok
test_filter_cmd (tests.13_test_gbp_pq.TestParseGbpCommand) ... ok
test_noarg_cmd (tests.13_test_gbp_pq.TestParseGbpCommand) ... ok
Test generation of patches ... ok
Test generation of patches which have name clashes ... ok
Test generation of renumbered patches ... ok
test_import_fail_first (tests.14_test_gbp_import_dscs.TestImportDscs) ... ok
test_import_fail_second (tests.14_test_gbp_import_dscs.TestImportDscs) ... ok
Test importing success with stub ... ok
test_control (tests.15_test_DebianSource.TestDebianSource) ... ok
Check if we can parse files if workdir != debian toplevel dir ... ok
Test native package without a debian/source/format file ... ok
Test native package of format 3 ... ok
Test native package of format 3 from git ... ok
test_is_not_releasable (tests.15_test_DebianSource.TestDebianSource) ... ok
test_is_releasable (tests.15_test_DebianSource.TestDebianSource) ... ok
Invoking with --help must not raise an error ... ok
Test the importer itself ... ok
Test if we fail correctly with an invalid command ... ok
Invoking with --list-cmds must not raise an error ... ok
test_missing_arg (tests.16_test_supercommand.TestSuperCommand) ... ok
Guess the commit to start from from the snapshot banner ... ok
Guess the commit to start from from the tag matching ... ok
Guess the commit to start from from the commit that ... ok
None of the above matched so we want to start from ... ok
A value only in the default section should be available in all commands ... ok
Read a single value from the parsed config ... ok
A value in the cmd section should override the old git-cmd section independent 
from ... ok
test_param_list (tests.18_test_Config.TestConfigParser) ... ok
test_short_option (tests.18_test_Config.TestConfigParser) ... ok
Options with short options can't have a prefix ... ok
A value in any gbp-command section should override the default ... ok
A value in any git-command section should override the default ... ok
With disabled deprecations we shouldn't see a log line ... ok
A value in any command section should override the default ... ok
Can we detect a missing value ... ok
Can invoke it for a sngle value  without error ... ok
Non-existing commands should print no values ... ok
Can we fetch the configuration for all commands ... ok
Can we fetch a single configuration value that is at it's default ... ok
Can we fetch a single configuration value that is at it's default which is 
empty ... ok
Can we fetch a single configuration value that is overridden by config ... ok
Test changelog methods ... ok
Test updating/deleting of tags and macros ... ok
Test error conditions of modification methods ... ok
Test parsing of a valid spec file ... ok
Test the getting the patches as a patchseries ... ok
Check patch series functionalitu with %autostup ... ok
Patches are applied in order different from the patch numbering ... ok
Test spec that is broken/has anomalities ... ok
Test parsing of a valid spec file ... ok
Test parsing of another valid spec file ... ok
Test parsing of yet another valid spec file ... ok
Test parsing of spec without orig tarball ... ok
Test parsing of all the different tags of spec file ... ok
Test spec autoupdate functionality ... ok
Another test for spec autoupdate functionality ... ok
Test parsing of a source rpm ... ok
Test parsing of another source rpm ... ok
Test unpacking of a source rpm ... ok
Test guess_spec() function ... ok
Test guess_spec_repo() and spec_from_repo() functions ... ok
test_log_default_error_msg 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_log_quote_format 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_log_use_err_or_reason_for_error_messge_error 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_log_use_err_or_reason_for_error_messge_reason 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_log_use_stderr_for_err_message 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_log_use_stdout_for_err_message 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_no_log_on_success 
(tests.21_test_command_wrappers.TestCommandWrapperFailures) ... ok
test_get_pbuilder_dist_dep14_debian_master 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_debian_native 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_debian_sid 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_debian_suite 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_no_vendor 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_no_vendor_sid 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_too_many_slashes 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_vendor_sid 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_dep14_vendor_suite 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_get_pbuilder_dist_no_dep14 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageDep14) ... ok
test_setup_pbuilder 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageSetupPbuilder) ... ok
test_setup_pbuilder_arch 
(tests.22_test_gbp_buildpackage.TestGbpBuildpackageSetupPbuilder) ... ok
Test default BTS command extraction that is applicable to Debian ... ok
Test non-default BTS commands. We use the example given in the ... ok
test_dir (tests.24_test_gbp_import_orig.TestGbpBuildpackagePreparePristineTar) 
... ok
test_signature 
(tests.24_test_gbp_import_orig.TestGbpBuildpackagePreparePristineTar) ... ok
test_tar (tests.24_test_gbp_import_orig.TestGbpBuildpackagePreparePristineTar) 
... ok
test_200_download (tests.24_test_gbp_import_orig.TestImportOrigDownload) ... 
SKIP: network tests disabled
test_404_download (tests.24_test_gbp_import_orig.TestImportOrigDownload) ... 
SKIP: network tests disabled
test_30_quilt (tests.24_test_gbp_import_orig.TestIs30Quilt) ... ok
test_30_quilt_empty_repo (tests.24_test_gbp_import_orig.TestIs30Quilt) ... ok
test_no_format (tests.24_test_gbp_import_orig.TestIs30Quilt) ... ok
test_no_quilt (tests.24_test_gbp_import_orig.TestIs30Quilt) ... ok
Test that dropping upstream's debian/ workd (#881750) ... ok
testBrokenConf (tests.25_test_broken_gbp_conf.TestBrokenConfig) ... ok
Test default thanks extraction ... ok
test_list_config_templates 
(tests.27_test_create_remote_repo.TestGbpCreateRemoteRepoCommand) ... ok
test_no_config_templates 
(tests.27_test_create_remote_repo.TestGbpCreateRemoteRepoCommand) ... ok
Make sure we shorten the reflog entry properly ... ok
Make sure we fail on onverly long msg resulting in an ... ok
test_simple 
(tests.28_test_gbp_git_repository_commit_dir.TestGitRepositoryCommitDir) ... ok
test_vcs_git_url (tests.29_test_gbp_clone.TestGbpClone) ... ok
test_changelog_creation_full (tests.30_test_deb_changelog.Test) ... ok
test_changelog_creation_package (tests.30_test_deb_changelog.Test) ... ok
test_changelog_creation_version (tests.30_test_deb_changelog.Test) ... ok
test_changelog_exists (tests.30_test_deb_changelog.Test) ... ok
test_changelog_missing_dir (tests.30_test_deb_changelog.Test) ... ok
Test we properly parse maitainers with comma #737623 ... ok
Test basic initialization ... ok
Test the add_section() method ... ok
Basic test ... ok
Test the container methods of the class ... ok
Basic test for header ... ok
Test missing properties ... ok
Test parsing of authors from changelog entries ... ok
Basic tests for successful parsing ... ok
Basic tests for changelog parsing failures ... ok
Basic tests for parsing a file ... ok
Basic tests for failures of changelog section parsing ... ok
Test add_entry() method ... ok
Test set_header() method ... ok
Basic test ... ok
Test parsing a valid uscan file ... ok
test_empty_rollback 
(tests.test_RollbackDebianGitRepository.TestRollbackGitRepository) ... ok
test_rrr_branch 
(tests.test_RollbackDebianGitRepository.TestRollbackGitRepository) ... ok
test_rrr_merge 
(tests.test_RollbackDebianGitRepository.TestRollbackGitRepository) ... ok
test_rrr_merge_abort 
(tests.test_RollbackDebianGitRepository.TestRollbackGitRepository) ... ok
test_rrr_tag (tests.test_RollbackDebianGitRepository.TestRollbackGitRepository) 
... ok
test_rrr_unknown_action 
(tests.test_RollbackDebianGitRepository.TestRollbackGitRepository) ... ok

======================================================================
ERROR: Add a submodule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 91, in 
test_add_submodule
    REPO.add_submodule(SUBMODULES[0].dir)
  File "/<<PKGBUILDDIR>>/gbp/git/repository.py", line 1914, in add_submodule
    self._git_command("submodule", ["add", repo_path])
  File "/<<PKGBUILDDIR>>/gbp/git/repository.py", line 245, in _git_command
    raise GitRepositoryError("Error running git %s: %s" % (command, 
detail.decode().strip()))
gbp.git.repository.GitRepositoryError: Error running git submodule: Cloning 
into '/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/test_repo/test_submodule'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/test_submodule' 
into submodule path 
'/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/test_repo/test_submodule' failed
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'submodule', 'add', 
'/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/test_submodule']
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: Check for submodules list of  (name, hash)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 104, in 
test_get_submodules
    modules = REPO.get_submodules("master")[0]
IndexError: list index out of range
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'ls-tree', 'master', '-r']
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: Add a second submodule with name containing whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 180, in 
test_add_whitespace_submodule
    REPO.add_submodule(SUBMODULES[1].dir)
  File "/<<PKGBUILDDIR>>/gbp/git/repository.py", line 1914, in add_submodule
    self._git_command("submodule", ["add", repo_path])
  File "/<<PKGBUILDDIR>>/gbp/git/repository.py", line 245, in _git_command
    raise GitRepositoryError("Error running git %s: %s" % (command, 
detail.decode().strip()))
gbp.git.repository.GitRepositoryError: Error running git submodule: Cloning 
into '/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/test_repo/sub module'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/sub module' into 
submodule path '/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/test_repo/sub 
module' failed
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'submodule', 'add', 
'/tmp/tmp9fe_3uo2gbp_tests.04_test_submodules_/sub module']
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Check for submodules
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 97, in 
test_has_submodules
    ok_(REPO.has_submodules())
AssertionError: None

======================================================================
FAIL: Dump the repository and check if files exist
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 116, in 
test_dump_tree
    ok_(os.path.exists(os.path.join(dumpdir, SUBMODULES[0].name,
AssertionError: None
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'ls-tree', 'master', '-r']
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Create an upstream zip archive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 156, in 
test_create_zip_archives
    ok_('test/test_submodule/testfile' in contents)
AssertionError: None
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'archive', '--format=zip', '--prefix=test/', 
'--output=/tmp/tmpuemdzsrb/main.zip', 'HEAD']
gbp: debug: ['git', 'ls-tree', 'HEAD', '-r']
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Check the contents of the created tarfile
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 169, in 
test_check_tarfiles
    ok_("test-0.1/.gitmodules" in [f.name for f in files])
AssertionError: None

======================================================================
FAIL: Check for submodules list of  (name, hash)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/04_test_submodules.py", line 187, in 
test_get_more_submodules
    eq_(len(module), len(SUBMODULE_NAMES))
AssertionError: 0 != 2
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'ls-tree', 'master', '-r']
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
XML: /<<PKGBUILDDIR>>/nosetests.xml
Name                                 Stmts   Miss  Cover   Missing
------------------------------------------------------------------
gbp/__init__.py                          1      0   100%
gbp/command_wrappers.py                164     16    90%   129, 161, 261, 
309-310, 313, 319-321, 330, 333-334, 350-351, 354-356
gbp/config.py                          258     26    90%   30-31, 51-52, 70, 
450, 459-463, 509, 511-512, 558-561, 626, 633, 701, 703-705, 734, 736, 786-787, 
887
gbp/dch.py                              79     16    80%   33-34, 44-45, 88, 
96-100, 114, 116, 127, 130-131, 135
gbp/deb/__init__.py                     49      9    82%   55, 76-78, 91-100
gbp/deb/changelog.py                   182      9    95%   81, 84, 100, 
125-126, 134-136, 298
gbp/deb/control.py                      32      3    91%   53-54, 66
gbp/deb/dscfile.py                     102      9    91%   72, 112, 115, 117, 
119, 127, 136, 142-143
gbp/deb/format.py                       37      2    95%   117-118
gbp/deb/git.py                         161     67    58%   46-54, 60-65, 
91-100, 126, 185, 294-308, 314-320, 325-340, 369-370, 372-373, 378-384
gbp/deb/policy.py                       26      2    92%   92-93
gbp/deb/pristinetar.py                  17      0   100%
gbp/deb/rollbackgit.py                  85     36    58%   17-19, 22, 36, 
49-52, 63-66, 91, 93-94, 102-104, 106, 110-113, 116-118, 121-124, 127-134
gbp/deb/source.py                       76     12    84%   81, 113-114, 122, 
126, 130, 134, 138, 147, 160-162
gbp/deb/upstreamsource.py               27     14    48%   41-42, 57-70
gbp/deb/uscan.py                        78     17    78%   73-81, 93, 96-103, 
185, 191, 194
gbp/errors.py                            3      0   100%
gbp/format.py                           13      0   100%
gbp/git/__init__.py                     15      0   100%
gbp/git/args.py                         30      1    97%   65
gbp/git/commit.py                        7      0   100%
gbp/git/errors.py                        3      0   100%
gbp/git/fastimport.py                   57      6    89%   45-48, 112, 144
gbp/git/modifier.py                     83      3    96%   76, 80, 95
gbp/git/repository.py                  877     85    90%   46, 51, 87, 95, 486, 
525, 625, 632, 677-678, 738, 809, 846, 896, 915, 1055, 1069, 1092, 1175, 1184, 
1325, 1327, 1384-1388, 1410, 1437, 1539, 1547, 1549-1552, 1557, 1631-1632, 
1700, 1717, 1749-1756, 1762, 1766, 1768, 1797, 1806, 1817, 1842, 1869, 
1900-1904, 1930-1938, 1963, 1972-1976, 2010-2011, 2013, 2023, 2055, 2076-2077, 
2079, 2084-2085, 2090, 2092-2096
gbp/git/vfs.py                          37      3    92%   38-39, 72
gbp/log.py                              94      7    93%   72, 77, 88-89, 
119-120, 150
gbp/notifications.py                    34     28    18%   26-38, 42-46, 50-57, 
66-73
gbp/patch_series.py                    207     16    92%   95, 109-110, 115, 
205, 242-243, 257, 281, 321-328
gbp/paths.py                             3      0   100%
gbp/pkg/__init__.py                      6      0   100%
gbp/pkg/archive.py                      23      0   100%
gbp/pkg/compressor.py                   26      0   100%
gbp/pkg/git.py                          54     12    78%   58, 85-93, 99-101, 
120
gbp/pkg/pkgpolicy.py                    71     21    70%   51, 122, 149-168, 172
gbp/pkg/pristinetar.py                  56      1    98%   49
gbp/pkg/upstreamsource.py               98     18    82%   54-56, 75, 105, 109, 
118, 124, 137, 145-146, 154, 166-168, 182, 188, 197-199
gbp/rpm/__init__.py                    600     40    93%   50, 143-144, 
200-204, 253, 310, 320, 435, 440, 444, 646, 653-654, 660-662, 676-678, 683-688, 
767, 778-785, 818-825, 853, 860, 872-873
gbp/rpm/changelog.py                   159      4    97%   146, 188-189, 236
gbp/rpm/git.py                          29     11    62%   30-31, 45-52, 96, 106
gbp/rpm/lib_rpm.py                      19      8    58%   27-31, 42-46
gbp/rpm/linkedlist.py                   82      1    99%   86
gbp/rpm/policy.py                       76     38    50%   115-133, 147-151, 
168-200
gbp/scripts/__init__.py                  1      0   100%
gbp/scripts/buildpackage.py            342    179    48%   61-72, 88-95, 
100-104, 110-148, 153-159, 164-171, 183-189, 194-197, 209, 261-262, 264, 266, 
277-279, 284-287, 315, 328-340, 462-480, 494-614, 618
gbp/scripts/buildpackage_rpm.py        376    257    32%   49-54, 59-74, 
80-107, 112-126, 131-144, 152-166, 171-175, 180-192, 210-226, 231-243, 248-251, 
259-268, 273-283, 288-294, 299-302, 456-465, 479-664, 668
gbp/scripts/clone.py                   146     62    58%   40-45, 73-74, 91, 
100, 149-151, 161-227, 231
gbp/scripts/common/__init__.py          36     15    58%   37-38, 61-75, 79-80
gbp/scripts/common/buildpackage.py      60     30    50%   43, 54, 58, 60-79, 
87, 92-95, 100-102
gbp/scripts/common/hook.py              16      8    50%   26-28, 31-32, 37-39
gbp/scripts/common/import_orig.py       89     69    22%   34-35, 53-63, 68-71, 
77-78, 88-98, 107-117, 121-132, 137-146, 158-190
gbp/scripts/common/pq.py               199     46    77%   108, 113, 128-132, 
142-143, 156, 160-161, 170-171, 176-180, 187-188, 208-213, 255-272, 286-287, 
301, 330, 334-336, 356
gbp/scripts/common/repo_setup.py         9      6    33%   24-30
gbp/scripts/config.py                   75      6    92%   96, 127-128, 
130-131, 140
gbp/scripts/create_remote_repo.py      220    102    54%   172-189, 193-196, 
200-202, 271-272, 282-356, 368-375, 385-400, 404
gbp/scripts/dch.py                     351     59    83%   55-56, 67-68, 72-73, 
104, 169-170, 178-179, 255-259, 267, 274, 281, 301, 311-312, 463-464, 469-472, 
475-476, 482, 488, 493, 502-515, 539, 557, 562, 577, 580-581, 593-604, 611
gbp/scripts/export_orig.py             216    151    30%   46-74, 84-91, 
101-134, 143-154, 158-169, 180, 188-189, 208-223, 236-237, 245, 251-252, 
259-260, 274-314, 318-324, 328-375, 379
gbp/scripts/import_dsc.py              341    244    28%   49-68, 73-86, 92-94, 
98-108, 115-120, 127-133, 141-154, 160-198, 202-207, 212-240, 244-277, 281-296, 
301-304, 309-311, 385-390, 422-435, 448-561, 565
gbp/scripts/import_dscs.py             128     49    62%   51, 54, 57, 60, 63, 
69, 72, 77-97, 105-108, 112, 134, 138-139, 143-149, 157-158, 161-162, 171-173, 
176-178, 188-189, 196, 205
gbp/scripts/import_orig.py             335    196    41%   51, 54-56, 93-94, 
97, 101, 107-145, 173-186, 194, 201-205, 209-225, 231-232, 249-254, 271-272, 
286-293, 297-318, 323-328, 332-340, 425-431, 445-580, 584
gbp/scripts/import_ref.py              111     66    41%   42-56, 63-65, 118, 
121-123, 131-202, 206
gbp/scripts/import_srpm.py             297    218    27%   57-67, 72-86, 91-95, 
100-103, 108-110, 115-119, 211-217, 231-505, 509
gbp/scripts/pq.py                      303    103    66%   58-62, 76, 108, 
140-142, 187, 213, 256-266, 290-295, 300-303, 310, 316, 323, 327-328, 332-341, 
345-347, 350-351, 363, 370-375, 382-384, 391-393, 457-509, 513
gbp/scripts/pq_rpm.py                  289    226    22%   51-57, 64-124, 
133-141, 149-155, 165-184, 189-195, 200-218, 230-258, 263-268, 279-336, 
342-352, 357-362, 428-486, 490
gbp/scripts/pristine_tar.py             64     33    48%   44-46, 67, 70-71, 
79-117, 121
gbp/scripts/pull.py                    154    106    31%   41-78, 118-121, 
125-130, 134-141, 153-234, 238
gbp/scripts/push.py                    118     80    32%   36-38, 64, 69-86, 
96-100, 104-105, 118-183, 187
gbp/scripts/rpm_ch.py                  254    176    31%   49-67, 72-77, 82-85, 
91-103, 110-122, 127-134, 140-147, 152-168, 174-221, 226-237, 242-262, 267-276, 
282-307, 394-399, 408-454, 458
gbp/scripts/supercommand.py             77     13    83%   55-59, 124-125, 
127-128, 130-131, 145, 149
gbp/scripts/tag.py                      87     48    45%   43-55, 64-73, 85-87, 
114, 122-157, 161
gbp/tmpfile.py                          21     13    38%   32-44, 49-53
gbp/tristate.py                         46      8    83%   37, 50, 100-107
gbp/version.py                           1      0   100%
------------------------------------------------------------------
TOTAL                                 8898   3110    65%
----------------------------------------------------------------------
Ran 397 tests in 25.057s

FAILED (SKIP=4, errors=3, failures=5)
make[2]: *** [Makefile:12: test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to