Comment 52 for bug 2036873

Revision history for this message
Vladimir Petko (vpa1977) wrote (last edit ):

Note: as per Dan Bungert comment here are test plan notes for openjdk-21 21.0.1+12.

[Test Plan]

A package is built in

PPA ppa:vpa1977/openjdk-21-sru[1]

that has proposed enabled and uses bootstrap build published in the previous step

The package is tested by a set of JTREG (Java Regression Test Framework) tier1 and tier2 tests.
---- cut---
tier1: This is the most fundamental test tier. Roughly speaking, a failure of a test in this tier has the potential to indicate a problem that would affect many Java programs. Tests in tier1 include tests of HotSpot, core APIs in the java.base module, and the javac compiler. Multiple developers run these tests every day. Because of the widespread use, the tests in tier1 are carefully selected and optimized to run fast, and to run in the most stable manner. As a guideline, nearly all individual tests in tier1 are expected to run to completion in ten seconds or less when run on common configurations used for development. Long-running tests, even of core functionality, should occur in higher tiers or be covered in other kinds of testing. The test failures in tier1 are usually followed up on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows, if enabled, run tier1 tests.

tier2: This test group covers even more ground. These contain, among other things, tests that either run for too long to be at tier1, or may require special configuration, or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components(for example, XML)."
-----------[2]

The package should pass installation and upgrade tests with piupparts.

[Where problems could occur]

In addition to normal regression tests the user may have expectations that packages provided in the archive will work when using openjdk-21 as java update-alternative. This will require additional SRUs such as LP: #1930541 (fix maven for openjdk-17).

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-sru/+packages
[2] https://openjdk.org/groups/build/doc/testing.html