https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-java/snakeyaml-1.30 fails tests. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (a77bfe0e1aea86bdb3c2b49eba2422a0f759f269)
Created attachment 767774 [details] build.log build log and emerge --info
Error(s) that match a know pattern: FAILURES!!!
Looking at https://bitbucket.org/snakeyaml/snakeyaml/src/49227c24d741dafe3b519a0d5f9d8413d803d9f3/src/test/java/org/yaml/snakeyaml/issues/issue377/BillionLaughsAttackTest.java#lines-72 this smells like a false positive: The test expects the exception message thrown on (stack?)overflow to contain the string 'heap'. But I guess this could vary between Java runtime systems, and hence the test is not robust.
FWIW, this is what I proposed to upstream to make the test more robust: https://bitbucket.org/snakeyaml/snakeyaml/pull-requests/7
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dab318c383567c82677d3edeb6efd34f07d60cc2 commit dab318c383567c82677d3edeb6efd34f07d60cc2 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-03-25 14:25:39 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-03-26 12:20:53 +0000 dev-java/snakeyaml: Add snakeyaml-1.30-fix-test-check.patch Bug: https://bugs.gentoo.org/835988 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24745 Signed-off-by: Florian Schmaus <flow@gentoo.org> .../files/snakeyaml-1.30-fix-test-check.patch | 18 ++++++++++++++++++ dev-java/snakeyaml/snakeyaml-1.30.ebuild | 7 +++++++ 2 files changed, 25 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184fd3afda3a9fe998ade5bea6ba18f75f2a7343 commit 184fd3afda3a9fe998ade5bea6ba18f75f2a7343 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-08-27 08:59:53 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-08-28 05:17:14 +0000 dev-java/snakeyaml: drop 1.30 Closes: https://bugs.gentoo.org/835988 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/snakeyaml/snakeyaml-1.30.ebuild | 95 -------------------------------- 1 file changed, 95 deletions(-)