Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796995 - dev-java/jaxb-api-2.3.3: failed (test phase):
Summary: dev-java/jaxb-api-2.3.3: failed (test phase):
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: CVE-2020-10683
  Show dependency tree
 
Reported: 2021-06-20 21:13 UTC by Volkmar W. Pogatzki
Modified: 2021-11-07 08:33 UTC (History)
1 user (show)

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


Attachments
build log (build.log,514.40 KB, text/plain)
2021-06-20 21:13 UTC, Volkmar W. Pogatzki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2021-06-20 21:13:50 UTC
Created attachment 717243 [details]
build log

See https://github.com/gentoo/gentoo/pull/21326#issuecomment-864589892
Comment 1 Miroslav Šulc gentoo-dev 2021-06-20 21:20:36 UTC
do the tests also fail when openjdk-11 is used for compilation?
Comment 2 Volkmar W. Pogatzki 2021-06-20 21:32:46 UTC
(In reply to Miroslav Šulc from comment #1)
> do the tests also fail when openjdk-11 is used for compilation?

When setting >=virtual/jdk-1.8:* and system vm openjdk-11 the compilation fails even without FEATURES=test.
For this reason the ebuild has virtual/jdk:1.8 which compiles successfully but only without FEATURES=test.
Comment 3 Volkmar W. Pogatzki 2021-06-20 21:39:55 UTC
With module-info.java removed [1] and before patching java-pkg-simple.eclass all 232 tests passed.

[1] https://github.com/gentoo/gentoo/commit/b60c4b21b334f38e293fb9dbc4e6d3c053c546af#diff-e0b32725baaf0f94ca3b22c712db04d863a7cfaa63065e2abd3218d3dcec88a2R42-R43
Comment 4 Jakov Smolić archtester gentoo-dev 2021-11-05 11:16:41 UTC
I'm hitting these failures as well
Comment 5 Volkmar W. Pogatzki 2021-11-06 11:32:15 UTC
These test failures do not happen with openjdk:{11,17}[gentoo-vm]
Comment 6 Larry the Git Cow gentoo-dev 2021-11-07 07:20:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=877e2a3295ad15eaba5aa99cc2fef792b2f0af33

commit 877e2a3295ad15eaba5aa99cc2fef792b2f0af33
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2021-11-06 16:52:01 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-11-07 07:20:01 +0000

    dev-java/jaxb-api: suppress tests for vm_version 1.8
    
    Closes: https://bugs.gentoo.org/796995
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/22847
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/jaxb-api/jaxb-api-2.3.3.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)