https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/portage-3.0.8 fails tests. Discovered on: ppc (internal ref: ppc_at)
Created attachment 664861 [details] build.log build log and emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=3cd49702014c6641190c858744ce4ea4a047366f commit 3cd49702014c6641190c858744ce4ea4a047366f Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-10-12 17:57:12 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-10-12 18:00:05 +0000 SimpleEmergeTestCase: fix TypeError: write() argument must be str, not int Bug: https://bugs.gentoo.org/748012 Fixes: 0552665627bf ("SimpleEmergeTestCase: run tests in coroutine method") Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/tests/emerge/test_simple.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
The "TypeError: write() argument must be str, not int" error is triggered by an earlier command failure here: > testSimple (portage.tests.emerge.test_simple.SimpleEmergeTestCase) ... * This action can remove important packages! In order to be safer, use > * `emerge -pv --depclean <atom>` to check for reverse dependencies before > * removing packages. > ERROR Normally it would output some kind of informative error message to stderr, but instead it failed silently and see nothing more than ERROR (the preceding message about depclean is unrelated). Is this failure repoducible?
The TypeError occurred while processing a message that was written to stdout, and the fix in 3cd49702014c6641190c858744ce4ea4a047366f will allow see that message which may provide a clue about what went wrong.
Please re-open if you see a similar failure with sys-apps/portage-3.0.9.