Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938668 - dev-util/kcov-43 fails tests
Summary: dev-util/kcov-43 fails tests
Status: CONFIRMED
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: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-08-29 07:04 UTC by Agostino Sarubbo
Modified: 2025-05-07 21:56 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,146.14 KB, text/plain)
2024-08-29 07:04 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-29 07:04:35 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-29 07:04:36 UTC
Created attachment 901524 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-29 07:04:37 UTC
Error(s) that match a know pattern:


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)
ERROR: runTest (test_compiled.merge_same_file_in_multiple_binaries.runTest)
FAILED (failures=34, errors=5, 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_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.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 Mattéo Rossillol‑‑Laruelle 2025-05-07 21:56:22 UTC
The Python test files have tempdir hardcoded as `/tmp`. I'm patching this in order to replace tempdir by `${T}`. I think it is the cause of these test failures.