(Fix typo: case => cease. Add myself as being available for answering questions.) |
(added first basic cases) |
||
Line 45: | Line 45: | ||
TODO: | TODO: | ||
<pre> | <pre> | ||
dnf install java | sudo dnf install java | ||
# have it installed JRE you expected? | |||
# is java on path and working? | |||
# are java applications working? | |||
# do you miss something? | |||
# is content of /usr/lib/jvm sane? | |||
dnf install java-openjdk | sudo dnf install java-devel | ||
dnf install java-11-openjdk | # have it installed JDK you expected? | ||
dnf install java-1.8.0-openjdk | # is java and javac on path and working? | ||
# do you miss something? | |||
# is content of /usr/lib/jvm sane? | |||
sudo dnf install java-openjdk | |||
# have it installed JRE you expected? | |||
# is java on path and working? | |||
# are java applications working? | |||
# do you miss something? | |||
# similarly for java-openjdk-devel as jwith ava-devel | |||
# is content of /usr/lib/jvm sane? | |||
sudo dnf install java-11-openjdk | |||
# have it installed JRE you expected? | |||
# is java on path and working? | |||
# are java applications working? | |||
# do you miss something? | |||
# similarly for java-11-openjdk-devel as jwith ava-devel | |||
# is content of /usr/lib/jvm sane? | |||
sudo dnf install java-1.8.0-openjdk | |||
# have it installed JRE you expected? | |||
# is java on path and working? | |||
# are java applications working? | |||
# do you miss something? | |||
# similarly for java-1.8.0-openjdk-devel as jwith ava-devel | |||
# is content of /usr/lib/jvm sane? | |||
sudo dnf install java-9-openjdk | |||
# should install nothing on f29 | |||
# if it does, it is a bug | |||
# should install on f28 | |||
######################################################## | |||
# There are *many* jdk packages and countless subpackages | |||
######################################################## | |||
no | sudo dnf install "java*openjdk*" | |||
dnf search "java*openjdk*" | |||
# note for f28 - jdk9 is no longer supported, and is there only because jdk10 was not alive in time of f28 release | |||
# on f29 you should NOT see jdk9 appear | |||
alternatives --config javac/javac and other master | alternatives --config javac/javac and other master |
Revision as of 15:28, 6 September 2018
java OpenJDK | |
---|---|
Date | 2018-09-XX |
Time | all day |
Website | QA/Test Days |
IRC | #fedora-devel (webirc) |
Mailing list | test |
What to test?
Today's instalment of Fedora Test Day will focus on OpenJDK 11 and OpenJDK 10. Currently we have java-1.8.0-openjdk as main JDK in Fedora. It accompanied java-1.7.0-openjdk as JRE for a year, and replaced it in buildroot in F21. Similarly, as did java-1.7.0-openjdk to java-1.6.0-openjdk in F16 as parallel JRE and replaced it in F17 in build root and main JDK. However, today the situation is more complicated. Oracle changed release process, see OpenJDK 11 summary and OpenJDK 10 summary, so currently, in F27 and up, you have java-1.8.0-openjdk as main JDK, java-openjdk as rolling release of STS JDK 10, and java-11-openjdk as techpreview of future LTS JDK. Javaws is provided in another package - icedtea-web
- Most crucial is, that JDK10 and JDK11, unlike JDK8, are modular, so many java applications will cease to work.
- This is not crucial part of the testing, but to have an matrix of most common failures would be interesting
Among other changes are
- parallel installability
- switching of JRE/JDK
- platform docs and sources
- config files in /etc
- system wide crypto policy
Who's available
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion. In case of problem related to test day organization/wiki/whatever, please reach out to sumantrom.
- CET: jvanek, zzambers, mvala, pmikova, jerboaa
- EDT: still_looking_for_volunteers
Prerequisite for Test Day
- kind relationship to java
- basic knowledge of java and javac or rpms.
- basic knowledge of java's jigsaw (major change in jdk9) is advantage
- Root access on the system where testing is happening
Known issue
How to test?
TODO:
sudo dnf install java # have it installed JRE you expected? # is java on path and working? # are java applications working? # do you miss something? # is content of /usr/lib/jvm sane? sudo dnf install java-devel # have it installed JDK you expected? # is java and javac on path and working? # do you miss something? # is content of /usr/lib/jvm sane? sudo dnf install java-openjdk # have it installed JRE you expected? # is java on path and working? # are java applications working? # do you miss something? # similarly for java-openjdk-devel as jwith ava-devel # is content of /usr/lib/jvm sane? sudo dnf install java-11-openjdk # have it installed JRE you expected? # is java on path and working? # are java applications working? # do you miss something? # similarly for java-11-openjdk-devel as jwith ava-devel # is content of /usr/lib/jvm sane? sudo dnf install java-1.8.0-openjdk # have it installed JRE you expected? # is java on path and working? # are java applications working? # do you miss something? # similarly for java-1.8.0-openjdk-devel as jwith ava-devel # is content of /usr/lib/jvm sane? sudo dnf install java-9-openjdk # should install nothing on f29 # if it does, it is a bug # should install on f28 ######################################################## # There are *many* jdk packages and countless subpackages ######################################################## no | sudo dnf install "java*openjdk*" dnf search "java*openjdk*" # note for f28 - jdk9 is no longer supported, and is there only because jdk10 was not alive in time of f28 release # on f29 you should NOT see jdk9 appear alternatives --config javac/javac and other master JAVA_HOME usage content of /usr/lib/jvm (and all the vendor/version less links) configs in /etc system crypto infulence Shenandoah?
Exploratory testing
If you run out of test cases, congratulations! But that's not the end! You can still help out by playing around with the various installs uninstalls parallel isntalls jre/jdk switching... in whatever ways you can think of: try out all the things you can find. Get creative! Any problems you find please file a bug, or report to the IRC channel.
Reporting bugs
If you have problems with any of the tests, report a bug to Bugzilla usually for the component java-openjdk or java-11-openjdk or java-1.8.0-openjdk. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you.