Created attachment 948853 [details] Result of failing test - includes backtrace Description of problem: When building canl-java-1.3.3 for Fedora 20 using java-1.7.0-openjdk-devel-1.7.0.71-2.5.3.0.fc20 it fails with a ArrayOutOfBoundsException during a test that checks SHA2 certificates. See attatched test rusult file for details. https://koji.fedoraproject.org/koji/taskinfo?taskID=7923128 Version-Release number of selected component (if applicable): java-1.7.0-openjdk-devel-1.7.0.71-2.5.3.0.fc20 How reproducible: Always - more attemts in koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=7910997 https://koji.fedoraproject.org/koji/taskinfo?taskID=7910634 Steps to Reproduce: 1. Build canl-java-1.3.3-1 using java-1.7.0-openjdk-devel-1.7.0.71-2.5.3.0.fc20 Actual results: ArrayOutOfBoundsException Expected results: Working canl-java build - especially since it used to work before. See the additional info below. Additional info: A previous scratch build using the previous version of java-1.7.0-openjdk (java-1.7.0-openjdk-devel-1.7.0.65-2.5.2.5.fc20) worked fine: https://koji.fedoraproject.org/koji/taskinfo?taskID=7847841 A similar problem exists in EPEL7 where building canl-java-2.1.1 worked with java-1.7.0-openjdk-devel-1.7.0.65-2.5.1.2.el7_0: https://koji.fedoraproject.org/koji/taskinfo?taskID=7849180 But failed with java-1.7.0-openjdk-devel-1.7.0.71-2.5.3.1.el7_0: https://koji.fedoraproject.org/koji/taskinfo?taskID=7910638 The following try on EPEL7 worked - but then somehow the openjdk version went backwards to java-1.7.0-openjdk-devel-1.7.0.65-2.5.1.2.el7_0 again: https://koji.fedoraproject.org/koji/taskinfo?taskID=7923140 Not quite sure how the version went back to the old version in the EPEL7 build root. You can declare build root overrides in koji that can expire, but the openjdk is a RHEL package and not an EPEL package, and as far as I know you can't declare overrides for RHEL packages. These build problems are reproducible locally and in a local mock - they are not specific to koji. The problem affects version 1.7.0.71 in both F20 and EPEL7, but not 1.7.0.65 in either of them. The 1.7.0.71 update for F19 has not been pushed to stable yet but it is likely that it is affected too.
Created attachment 949240 [details] Backport of 8000897 to fix bug I replicated the same failure on RHEL 7. Patching OpenJDK with the attached patch makes the build succeed. I'll backport this to 6-HEAD, 7-HEAD, 6-1.13 and 7-2.5 upstream.
All backports completed. The bug will be fixed when Fedora updates to the next upstream release.
Is there an ETA for fixing this? It seems not to be fixed by the update java-1.7.0-openjdk-1.7.0.71-2.5.3.1.fc20.
The change will be released in 2.5.4 in mid-January. Fedora could provide the fix earlier by applying the patch locally, but that's up to the Fedora maintainer.
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk/rev/0af95754ffc5
pushed: http://pkgs.fedoraproject.org/cgit/java-1.7.0-openjdk.git/commit/?h=f20&id=66d8925eb4f396db7a5d8632141dd025f7e8ddce and building http://koji.fedoraproject.org/koji/taskinfo?taskID=8328783 If you comfirm sucess, I will do an update.
After installing java-1.7.0-openjdk-1.7.0.71-2.5.3.2.fc20 the build of canl-java-1.3.3-1.fc20 succeeds.
oook. I will update once bodhi will come out of dead.
Thank you very much for the update. Would it be possible to have a buildroot override so that canl-java can be built in koji?
I have no idea how to workaround it (otherwise then quickly karma++ in https://admin.fedoraproject.org/updates/java-1.7.0-openjdk-1.7.0.71-2.5.3.2.fc19 / https://admin.fedoraproject.org/updates/java-1.7.0-openjdk-1.7.0.71-2.5.3.2.fc20 ) Feel free to ping fedora release engineers.
Buildroot overrides are created by the maintainer from: https://admin.fedoraproject.org/updates/override/new
Oh, I didnt know. Thnak you. Here you go: Your buildroot override has been successfully tagged. It may take up to 20 minutes for the buildroot to regenerate. You can wait for the new buildroot by running `koji wait-repo f20-build --build=java-1.7.0-openjdk-1.7.0.71-2.5.3.2.fc20` Expires 12.12.2014 Not sure what canl-java is, but it owes me a beer :)
Thank you. canl-java built in koji for F20. http://koji.fedoraproject.org/koji/buildinfo?buildID=586561