Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937314 - dev-util/kcov-43 fails tests: AssertionError: 0 != -6 : kcov exited unsuccessfully
Summary: dev-util/kcov-43 fails tests: AssertionError: 0 != -6 : kcov exited unsuccess...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mattéo Rossillol‑‑Laruelle
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-08-04 17:46 UTC by Agostino Sarubbo
Modified: 2024-08-29 01:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,146.08 KB, text/plain)
2024-08-04 17:46 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-08-04 17:46:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/kcov-43 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-04 17:46:38 UTC
Created attachment 898993 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-04 17:46:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


AssertionError: 0 != -6 : kcov exited unsuccessfully
ERROR: runTest (test_accumulate.merge_basic.runTest)
ERROR: runTest (test_accumulate.merge_merged_output.runTest)
ERROR: runTest (test_accumulate.merge_multiple_output_directories.runTest)
ERROR: runTest (test_compiled.attach_process_with_threads.runTest)
FAILED (failures=36, errors=4, skipped=7, expected failures=7)
FAIL: runTest (test_accumulate.accumulate_data.runTest)
FAIL: runTest (test_accumulate.merge_coveralls.runTest)
FAIL: runTest (test_bash.bash_accumulate_changed_data.runTest)
FAIL: runTest (test_bash.bash_accumulate_data.runTest)
FAIL: runTest (test_bash.bash_drain_stdout_without_return.runTest)
FAIL: runTest (test_bash.bash_exit_status.runTest)
FAIL: runTest (test_bash.bash_handle_all_output.runTest)
FAIL: runTest (test_bash.bash_merge_data_issue_38.runTest)
FAIL: runTest (test_bash_linux_only.bash_exit_before_child.runTest)
FAIL: runTest (test_bash_linux_only.bash_ldpreload_multilib.runTest)
FAIL: runTest (test_bash_linux_only.bash_sh_shebang.runTest)
FAIL: runTest (test_basic.too_few_arguments.runTest)
FAIL: runTest (test_basic.wrong_arguments.runTest)
FAIL: runTest (test_compiled_basic.main_test.runTest)
FAIL: runTest (test_compiled_basic.main_test_verify.runTest)
FAIL: runTest (test_compiled_basic.shared_library_accumulate.runTest)
FAIL: runTest (test_compiled_basic.shared_library_filter_out.runTest)
FAIL: runTest (test_compiled_basic.shared_library.runTest)
FAIL: runTest (test_compiled.daemon_wait_for_last_child.runTest)
FAIL: runTest (test_compiled.debuglink.runTest)
FAIL: runTest (test_compiled.fork_64.runTest)
FAIL: runTest (test_compiled.fork_no_wait.runTest)
FAIL: runTest (test_compiled.illegal_insn.runTest)
FAIL: runTest (test_compiled.merge_same_file_in_multiple_binaries.runTest)
FAIL: runTest (test_compiled.outdir_is_executable.runTest)
FAIL: runTest (test_compiled.pie_accumulate.runTest)
FAIL: runTest (test_compiled.pie_argv_basic.runTest)
FAIL: runTest (test_compiled.pie.runTest)
FAIL: runTest (test_compiled.popen_test.runTest)
FAIL: runTest (test_compiled.signals_crash.runTest)
FAIL: runTest (test_compiled.signals.runTest)
FAIL: runTest (test_compiled.signals_self.runTest)
FAIL: runTest (test_compiled.vfork.runTest)
FAIL: runTest (test_python.python_accumulate_data.runTest)
FAIL: runTest (test_python.python_exit_status.runTest)
FAIL: runTest (test_system_mode.system_mode_can_instrument_binary.runTest)
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-util/kcov-43/temp/kcov/kcov-merged/cobertura.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-util/kcov-43/temp/kcov/merged2/kcov-merged/cobertura.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-util/kcov-43/temp/kcov/merged/kcov-merged/cobertura.xml'
Comment 3 Larry the Git Cow gentoo-dev 2024-08-29 01:17:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a44c00576d2cf6141c24774848b56a8d4e71b7f5

commit a44c00576d2cf6141c24774848b56a8d4e71b7f5
Author:     Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
AuthorDate: 2024-08-18 13:40:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-29 01:17:23 +0000

    dev-util/kcov: fix test failures
    
    These changes do not affect the installed program.
    
    Closes: https://bugs.gentoo.org/937314
    Closes: https://bugs.gentoo.org/937315
    Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38185
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ove-failing-test-conflicting-with-sandbox.patch | 51 ++++++++++++++++++++++
 dev-util/kcov/kcov-43.ebuild                       | 18 +++++---
 dev-util/kcov/kcov-9999.ebuild                     | 18 +++++---
 3 files changed, 75 insertions(+), 12 deletions(-)