https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-java/snakeyaml-1.28 fails tests. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit
Created attachment 698049 [details] build.log build log and emerge --info
(In reply to Agostino Sarubbo from comment #1) > CC'ing also the author of the commit Author cannot reproduce that error. Not even with openjdk-bin:8
i saw this error once when testing the ebuild. when running it several times after, the error did not occur. i even looked at the code and saw nothing suspicious. the code tests heap overflow, and when the heap overflow exception is thrown, the code checks whether the eeception's message contains text "heap". so i suppose there might be an issue when e.getMessage() returns null (due to heap overflow) and then null pointer exception is thrown. i can change the condition so that it does not fail no matter what case it is...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39c97bc4f6f26fcd3aca46c9df106be53107b40b commit 39c97bc4f6f26fcd3aca46c9df106be53107b40b Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-04-07 09:26:49 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-04-07 09:27:06 +0000 dev-java/snakeyaml: fixed a randomly failing test in 1.28 Closes: https://bugs.gentoo.org/780663 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> .../snakeyaml/files/snakeyaml-1.28-fix-test-check.patch | 14 ++++++++++++++ dev-java/snakeyaml/snakeyaml-1.28.ebuild | 9 +++++++++ 2 files changed, 23 insertions(+)