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
Created attachment 901524 [details] build.log build log and emerge --info
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'
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.