Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945117 - [guru] dev-util/bump2version-1.0.1 fails tests: FAILED test_cli.py::test_commit_and_tag_with_configfile[git] - subprocess.CalledProcessError: Command [git, add, --update, .bumpversion.cfg] returned non-zero exit status 128
Summary: [guru] dev-util/bump2version-1.0.1 fails tests: FAILED test_cli.py::test_comm...
Status: RESOLVED PKGREMOVED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-11-27 14:47 UTC by Agostino Sarubbo
Modified: 2025-04-05 18:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,169.69 KB, text/plain)
2024-11-27 14:47 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-27 14:47:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/bump2version-1.0.1 fails tests.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-27 14:47:33 UTC
Created attachment 912244 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-27 14:47:34 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


'
E               subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
E       AssertionError: assert 'Failed to run' in 'INFO     bumpversion.list:cli.py:630 current_version=0.0.0
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED tests/test_cli.py::test_all_parts_in_message_and_serialize_and_tag_name_from_config_file[git] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
FAILED tests/test_cli.py::test_all_parts_in_replace_from_config_file[git] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
FAILED tests/test_cli.py::test_commit_and_not_tag_with_configfile[git-[bumpversion]
FAILED tests/test_cli.py::test_commit_and_tag_with_configfile[git] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
FAILED tests/test_cli.py::test_current_version_from_tag_written_to_config_file[git] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
FAILED tests/test_cli.py::test_message_from_config_file[git] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
FAILED tests/test_cli.py::test_unclean_repo_exception[git] - AssertionError: assert 'Failed to run' in 'INFO     bumpversion.list:cli.py:630 current_version=0.0.0
FAILED tests/test_cli.py::test_utf8_message_from_config_file[git] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
INFO     bumpversion.list:cli.py:630 commit=True
INFO     bumpversion.list:cli.py:630 message=XXX
INFO     bumpversion.list:cli.py:630 new_version=0.0.1
INFO     bumpversion.list:cli.py:630 tag=True
commit = True
commit = True] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
commit = True] FAILED [ 39/164]
tag = False] - subprocess.CalledProcessError: Command '['git', 'add', '--update', '.bumpversion.cfg']' returned non-zero exit status 128.
tag = False] FAILED [ 40/164]
tests/test_cli.py::test_all_parts_in_message_and_serialize_and_tag_name_from_config_file[git] FAILED [ 59/164]
tests/test_cli.py::test_all_parts_in_replace_from_config_file[git] FAILED [ 61/164]
tests/test_cli.py::test_commit_and_not_tag_with_configfile[git-[bumpversion]
tests/test_cli.py::test_commit_and_tag_with_configfile[git] FAILED    [ 37/164]
tests/test_cli.py::test_current_version_from_tag_written_to_config_file[git] FAILED [ 49/164]
tests/test_cli.py::test_message_from_config_file[git] FAILED          [ 57/164]
tests/test_cli.py::test_unclean_repo_exception[git] FAILED            [107/164]
tests/test_cli.py::test_utf8_message_from_config_file[git] FAILED     [ 68/164]
error: pathspec '.bumpversion.cfg' did not match any file(s) known to git
Comment 3 Larry the Git Cow gentoo-dev 2025-04-05 18:35:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3702c91c8e638da56e892444cb5cf592255a9c4

commit f3702c91c8e638da56e892444cb5cf592255a9c4
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2025-04-05 08:43:44 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2025-04-05 08:43:57 +0000

    dev-util/bump2version: treeclean
    
    Closes: https://bugs.gentoo.org/945117 (pkgremoved)
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 dev-util/bump2version/Manifest                  |  1 -
 dev-util/bump2version/bump2version-1.0.1.ebuild | 42 -------------------------
 dev-util/bump2version/metadata.xml              |  9 ------
 profiles/package.mask                           |  6 ----
 4 files changed, 58 deletions(-)