Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctest runs for dnf 5.2.7.0 segfault on openSUSE Tumbleweed #1893

Open
Conan-Kudo opened this issue Nov 24, 2024 · 0 comments
Open

ctest runs for dnf 5.2.7.0 segfault on openSUSE Tumbleweed #1893

Conan-Kudo opened this issue Nov 24, 2024 · 0 comments

Comments

@Conan-Kudo
Copy link
Member

When packaging dnf 5.2.7.0, I observed that the tests crash:

[  474s] + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j4
[  474s] Test project /home/abuild/rpmbuild/BUILD/dnf5-5.2.7.0/build
[  474s]       Start  1: test_libdnf
[  476s]  1/17 Test  #1: test_libdnf .................................................   Passed    2.45 sec
[  476s]       Start  2: test_libdnf_cli
[  476s]       Start  8: test_python3_libdnf_cli
[  476s]  2/17 Test  #8: test_python3_libdnf_cli .....................................   Passed    0.06 sec
[  476s]  3/17 Test  #2: test_libdnf_cli .............................................***Exception: SegFault  0.06 sec
[  476s] UTF8Test::test_length_en (duration: 0ms) : OK
[  476s] UTF8Test::test_length_cs (duration: 0ms) : OK
[  476s] UTF8Test::test_length_cn (duration: 0ms) : OK
[  476s] UTF8Test::test_length_ja (duration: 0ms) : OK
[  476s] UTF8Test::test_width_en (duration: 0ms) : OK
[  476s] UTF8Test::test_width_cs (duration: 0ms) : OK
[  476s] UTF8Test::test_width_cn (duration: 0ms) : OK
[  476s] UTF8Test::test_width_ja (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_length_en (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_length_cs (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_length_cn (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_length_ja (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_width_en (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_width_cs (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_width_cn (duration: 0ms) : OK
[  476s] UTF8Test::test_substr_width_ja (duration: 0ms) : OK
[  476s] ProgressbarTest::test_download_progress_bar (duration: 0ms) : OK
[  476s] ProgressbarTest::test_multi_progress_bar (duration: 0ms) : OK
[  476s] ArgumentParserTest::test_argument_parser (duration: 0ms) : OK
[  476s] RepoqueryTest::test_format_set_with_simple_str (duration: 7ms) : OK
[  476s] RepoqueryTest::test_format_set_with_tags (duration: 5ms) : OK
[  476s] RepoqueryTest::test_format_set_with_invalid_tags (duration: 5ms) : OK
[  476s] RepoqueryTest::test_format_set_with_tags_with_spacing (duration: 6ms) : OK
[  476s] RepoqueryTest::test_pkg_attr_uniq_sorted (duration: 6ms) : OK
[  476s] RepoqueryTest::test_requires_filelists (duration: 6ms) : OK
[  476s] OK (25)
[  476s] 
[  476s]       Start  3: test_tutorial
[  476s]  4/17 Test  #3: test_tutorial ...............................................   Passed    0.05 sec
[  476s]       Start  4: test_perl5_libdnf5_base/test_base.t
[  476s]  5/17 Test  #4: test_perl5_libdnf5_base/test_base.t .........................   Passed    0.10 sec
[  476s]       Start  5: test_perl5_libdnf5_rpm/test_package_query.t
[  476s]  6/17 Test  #5: test_perl5_libdnf5_rpm/test_package_query.t .................   Passed    0.12 sec
[  476s]       Start  6: test_perl5_libdnf5_utils/test_patterns.t
[  476s]  7/17 Test  #6: test_perl5_libdnf5_utils/test_patterns.t ....................   Passed    0.06 sec
[  476s]       Start  7: test_python3_libdnf
[  477s]  8/17 Test  #7: test_python3_libdnf .........................................   Passed    0.51 sec
[  477s]       Start  9: test_ruby_libdnf5_base/test_base.rb
[  477s]  9/17 Test  #9: test_ruby_libdnf5_base/test_base.rb .........................   Passed    0.15 sec
[  477s]       Start 10: test_ruby_libdnf5_base_test_case.rb
[  477s] 10/17 Test #10: test_ruby_libdnf5_base_test_case.rb .........................   Passed    0.14 sec
[  477s]       Start 11: test_ruby_libdnf5_logger/test_loggers.rb
[  477s] 11/17 Test #11: test_ruby_libdnf5_logger/test_loggers.rb ....................   Passed    0.13 sec
[  477s]       Start 12: test_ruby_libdnf5_repo/test_package_downloader.rb
[  478s] 12/17 Test #12: test_ruby_libdnf5_repo/test_package_downloader.rb ...........   Passed    0.17 sec
[  478s]       Start 13: test_ruby_libdnf5_repo/test_repo.rb
[  478s] 13/17 Test #13: test_ruby_libdnf5_repo/test_repo.rb .........................   Passed    0.16 sec
[  478s]       Start 14: test_ruby_libdnf5_rpm/test_package_query.rb
[  478s] 14/17 Test #14: test_ruby_libdnf5_rpm/test_package_query.rb .................   Passed    0.17 sec
[  478s]       Start 15: test_ruby_libdnf5_rpm/test_package_query_set_operators.rb
[  478s] 15/17 Test #15: test_ruby_libdnf5_rpm/test_package_query_set_operators.rb ...   Passed    0.17 sec
[  478s]       Start 16: test_ruby_libdnf5_utils/test_patterns.rb
[  478s] 16/17 Test #16: test_ruby_libdnf5_utils/test_patterns.rb ....................   Passed    0.13 sec
[  478s]       Start 17: test_copr
[  478s] 17/17 Test #17: test_copr ...................................................***Exception: SegFault  0.05 sec
[  478s] ...Copr repository 'copr.fedorainfracloud.org/praiskup/ping' in '/tmp/libdnf5_unittest.MN3c0s/installroot/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:praiskup:ping.repo' disabled.
[  478s] .Repo file /tmp/libdnf5_unittest.jnAlAH/installroot/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:group_mock:mock.repo successfully removed
[  478s] Repo file /tmp/libdnf5_unittest.jnAlAH/installroot/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:praiskup:ping.repo successfully removed
[  478s] .Removing old config file '/tmp/libdnf5_unittest.9aYZo7/installroot/etc/yum.repos.d/_copr_phracek-PyCharm.repo'
[  478s] .
[  478s] 
[  478s] 
[  478s] OK (6 tests)
[  478s] 
[  478s] 
[  478s] 
[  478s] 
[  478s] 88% tests passed, 2 tests failed out of 17
[  478s] 
[  478s] Total Test time (real) =   4.66 sec
[  478s] 
[  478s] The following tests FAILED:
[  478s] 	  2 - test_libdnf_cli (SEGFAULT)
[  478s] 	 17 - test_copr (SEGFAULT)
[  478s] Errors while running CTest

Full build log here: dnf5-5.2.7.0-osfctry_log.txt

Package sources are here: https://build.opensuse.org/package/show/system:packagemanager:dnf/dnf5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant