Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780663 - dev-java/snakeyaml-1.28 fails tests
Summary: dev-java/snakeyaml-1.28 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2017-18640
  Show dependency tree
 
Reported: 2021-04-06 19:35 UTC by Agostino Sarubbo
Modified: 2022-03-25 15:12 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,44.69 KB, text/plain)
2021-04-06 19:35 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 2021-04-06 19:35:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/snakeyaml-1.28 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-06 19:35:53 UTC
CC'ing also the author of the commit
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-06 19:35:54 UTC
Created attachment 698049 [details]
build.log

build log and emerge --info
Comment 3 Volkmar W. Pogatzki 2021-04-07 08:56:38 UTC
(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
Comment 4 Miroslav Šulc gentoo-dev 2021-04-07 09:13:30 UTC
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...
Comment 5 Larry the Git Cow gentoo-dev 2021-04-07 09:27:10 UTC
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(+)