Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdoptOpenJDK 8u242 JIT enabled aarch32 build missing (Raspberry Pi) #1531

Closed
justinyunke opened this issue Feb 7, 2020 · 18 comments
Closed
Assignees
Labels
bug Issues that are problems in the code as reported by the community
Milestone

Comments

@justinyunke
Copy link

Hi --

The current AdoptOpenJDK arm (aarch32) release for 8u232 is unusable on the Raspberry Pi, causing a CPU 100% issue similar to that documented here: #1287

The daily build (8u252 series) does not experience this issue.

Can we please see an 8u24x or fixed 8u23x release in your repositories soon?

-- Justin

@karianna karianna added the bug Issues that are problems in the code as reported by the community label Feb 10, 2020
@karianna karianna added this to TODO in temurin-build via automation Feb 10, 2020
@karianna
Copy link
Contributor

@gdams - did we miss this in the latest release?

@sxa
Copy link
Member

sxa commented Feb 10, 2020

@karianna We are still missing JDK8/HS/arm32 (subject of this issue), JDK8/HS/aarch64 (I've been managing the resolution to a broken mirror for that one) and JDK13/HS/AIX

@sxa
Copy link
Member

sxa commented Feb 10, 2020

We enabled the JIT on arm32/JDK8/HS and need to properly go through the contents of adoptium/aqa-tests#1548 to ensure it's safe before looking to release that one.

@justinyunke
Copy link
Author

Thanks for answering so quickly. Please post to this issue thread if there's something I can do to help. I have Pi Zero/Pi 2/Pi 3/Pi 4 platforms on which I can build/run tests.

@karianna
Copy link
Contributor

We enabled the JIT on arm32/JDK8/HS and need to properly go through the contents of AdoptOpenJDK/openjdk-tests#1548 to ensure it's safe before looking to release that one.

Perhaps we could give @justinyunke an RC binary for him to test on his hardware?

@karianna karianna moved this from TODO to In Progress in temurin-build Feb 12, 2020
@karianna karianna added this to the February 2020 milestone Feb 12, 2020
@sxa sxa removed their assignment Feb 18, 2020
@karianna karianna added this to To do in Top Priorities via automation Feb 18, 2020
@karianna karianna moved this from To do to In progress in Top Priorities Feb 18, 2020
@karianna karianna self-assigned this Feb 19, 2020
@karianna
Copy link
Contributor

I'm following up on adoptium/aqa-tests#1548 - I'm personally OK with releasing this since it seems to be more about intermittent hardware failures than anything else.

@sxa
Copy link
Member

sxa commented Feb 25, 2020

Currently awaiting advice from @johnoliver on the mirroring since I can't build the JIT-enabled version at the correct level from our mirror of the source repository. If we can't get this resolved soon I might just release a non-JIT version again :'(

@sxa sxa modified the milestones: February 2020, March 2020 Mar 3, 2020
@sxa sxa unassigned karianna Mar 3, 2020
@sxa
Copy link
Member

sxa commented Mar 5, 2020

In the absence of an alternative solution being forthcoming I have reverted the build jobs back to using the main JDK8u repository and will attempt to push out an 8u242 without a JIT (Consistent with previous releases) ASAP

@sxa
Copy link
Member

sxa commented Mar 13, 2020

We've released 8u242 but without a JIT again as we can't easily build the GA level with JIT support unfortunately.

temurin-build automation moved this from In Progress to Done Mar 23, 2020
Top Priorities automation moved this from In progress to Done Mar 23, 2020
@sxa
Copy link
Member

sxa commented Mar 23, 2020

@karianna Since we haven't got a JIT-enabled GA JDK8/aarch32 build at the moment, the original problem description still stands, so I'm not sure it's appropriate to close this.

@sxa sxa reopened this Mar 23, 2020
temurin-build automation moved this from Done to In Progress Mar 23, 2020
Top Priorities automation moved this from Done to In progress Mar 23, 2020
@karianna karianna changed the title AdoptOpenJDK 8u242 for aarch32 (Raspberry Pi) available? AdoptOpenJDK 8u242 JIT enabled aarch32 build missing (Raspberry Pi) Mar 23, 2020
@karianna karianna modified the milestones: March 2020, April 2020 Apr 2, 2020
@karianna karianna modified the milestones: April 2020, May 2020 May 4, 2020
@karianna karianna modified the milestones: May 2020, June 2020 Jun 1, 2020
@karianna karianna modified the milestones: June 2020, July 2020 Jul 1, 2020
@karianna karianna modified the milestones: July 2020, August 2020 Aug 3, 2020
@karianna karianna modified the milestones: August 2020, September 2020 Sep 1, 2020
@karianna
Copy link
Contributor

@sxa We can close this now correct? We have test failures, but there is a working binary?

@karianna karianna modified the milestones: September 2020, November 2020 Nov 3, 2020
@aahlenst
Copy link
Contributor

We have a working binary since 8u272, yay!

$ jdk8u272-b10-aarch32-20201026/bin/java -version
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK Client VM (build 25.272-b10, mixed mode)

temurin-build automation moved this from In Progress to Done Nov 11, 2020
Top Priorities automation moved this from In progress to Done Nov 11, 2020
@justinyunke
Copy link
Author

What is the most efficient way to get this into the Raspberry Pi OS buster package repo to replace the currently-supported "stable 8u212-b01-1+rpi1?

If it's a matter of contacting the Raspberry Pi OS maintainers, I'll put in the effort if someone can give me a push. Here are the current results for "openjdk-8":

openjdk-8-dbg/stable 8u212-b01-1+rpi1 armhf
Java runtime based on OpenJDK (debugging symbols)

openjdk-8-demo/stable 8u212-b01-1+rpi1 armhf
Java runtime based on OpenJDK (demos and examples)

openjdk-8-doc/stable 8u212-b01-1+rpi1 all
OpenJDK Development Kit (JDK) documentation

openjdk-8-jdk/stable 8u212-b01-1+rpi1 armhf
OpenJDK Development Kit (JDK)

openjdk-8-jdk-headless/stable 8u212-b01-1+rpi1 armhf
OpenJDK Development Kit (JDK) (headless)

openjdk-8-jre/stable 8u212-b01-1+rpi1 armhf
OpenJDK Java runtime, using Hotspot JIT

openjdk-8-jre-headless/stable 8u212-b01-1+rpi1 armhf
OpenJDK Java runtime, using Hotspot JIT (headless)

openjdk-8-jre-zero/stable 8u212-b01-1+rpi1 armhf
Alternative JVM for OpenJDK, using Zero/Shark

openjdk-8-source/stable 8u212-b01-1+rpi1 all
OpenJDK Development Kit (JDK) source files

@sxa
Copy link
Member

sxa commented Nov 11, 2020

Let me see what I can do - it probably is worth persuing this now that we are fully operational with a JIT ... Didn't make much sense previously.

@aahlenst
Copy link
Contributor

aahlenst commented Nov 11, 2020

Our Debian repos work great on Raspbian. What's the problem apart from AdoptOpenJDK not being part of the official package feeds? And that's unlikely to change because Linux distributions usually do not accept binary packages and we cannot deliver anything else than binaries because of legal requirements.

@justinyunke
Copy link
Author

Tried following the instructions on the AdoptOpenJDK page (https://adoptopenjdk.net/installation.html) to add the repo and got "Error: could not find a distribution template for Raspbian/buster". For the benefit of those that stumble upon this post, can you provide steps on how to add the Debian repo? I believe I tried this a while back and assumed it didn't work for Raspberry Pi OS (nee Raspbian) so I gave up.

@sxa
Copy link
Member

sxa commented Nov 11, 2020

If the instructions don't work for you (and I'll admit they didn't for me when I tried earlier today - we'll need to look at that) add this line to /etc/apt/sources.list, then run apt-get update as usual and you should be good to go I think:

deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main

The apt-cache search adoptopenjdk to see what you can get from it

@aahlenst
Copy link
Contributor

I've prepared a PR to improve the instructions for all the Debian and Ubuntu flavours: AdoptOpenJDK/openjdk-website#842

@gdams gdams removed this from Done in Top Priorities Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community
Projects
No open projects
temurin-build
  
Done
Development

No branches or pull requests

4 participants