Merge ~vpa1977/ubuntu/+source/openjdk-lts:merge-openjdk-11 into ubuntu/+source/openjdk-lts:ubuntu/devel
- Git
- lp:~vpa1977/ubuntu/+source/openjdk-lts
- merge-openjdk-11
- Merge into ubuntu/devel
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | ~vpa1977/ubuntu/+source/openjdk-lts:merge-openjdk-11 | ||||
Merge into: | ubuntu/+source/openjdk-lts:ubuntu/devel | ||||
Prerequisite: | ~vpa1977/ubuntu/+source/openjdk-lts:openjdk-11-merge-source | ||||
Diff against target: |
672 lines (+263/-154) 22 files modified
debian/changelog (+26/-0) debian/control (+1/-1) debian/copyright (+0/-2) debian/patches/nss-limited-ecc-tests.patch (+48/-0) debian/patches/reproducible-properties-timestamp.diff (+19/-4) debian/patches/series (+1/-1) debian/rules (+9/-3) debian/source/lintian-overrides (+1/-1) debian/tests/hotspot (+2/-7) debian/tests/jaxp (+4/-2) debian/tests/jdk (+3/-7) debian/tests/jtreg-autopkgtest.in (+4/-1) debian/tests/jtreg-autopkgtest.sh (+3/-0) debian/tests/langtools (+5/-3) debian/tests/problems-armhf.txt (+16/-1) debian/tests/problems-hotspot.txt (+21/-0) debian/tests/problems-i386.txt (+3/-0) debian/tests/problems-jdk.txt (+45/-0) debian/tests/problems-langtools.txt (+24/-0) debian/tests/problems-s390x.txt (+3/-0) debian/tests/write-problems (+25/-0) dev/null (+0/-121) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Klose (community) | Approve | ||
git-ubuntu import | Pending | ||
Review via email: mp+453971@code.launchpad.net |
Commit message
Description of the change
Changes:
* d/source/
* Disable jtreg tests on RISC-V due to the infrastructure issue.
* Merge changes from openjdk-11 11.0.21+9-1 (LP: #2039754).
- d/test: update problemlist.
- d/p: drop exclude-
- d/p/reproducibl
to read the system property (JDK-8272157, 914278).
- d/copyright: remove liblcms from excluded files.
- d/t/jtreg-
to let sun/security/
- Build using GCC 13 on development versions.
- Explicitly configure --without-jtreg with the nocheck profile
- Handle limited ECC capabilities of NSS on older releases.
PPA: ppa:vpa1977/
Note:
- merging commented out lines from upstream to simplify future merges.
Testing:
- jtreg tests (see comment).
- piuparts test[2]
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
[6] https:/
[7] https:/
[8] https:/
[9] https:/
[10] https:/
Vladimir Petko (vpa1977) wrote : | # |
Vladimir Petko (vpa1977) wrote : | # |
Upload with the original tarball from Security Proposed: https:/
Unmerged commits
- 4b96b9c... by Vladimir Petko
-
changelog
- c859439... by Vladimir Petko
-
* d/source/
lintian- overrides: use openjdk-lts package name. - e8f137c... by Vladimir Petko
-
* Merge from Debian openjdk-11 11.0.21+9.
- b1adfdb... by Vladimir Petko
-
New upstream version 11.0.21+9
Preview Diff
1 | diff --git a/debian/changelog b/debian/changelog | |||
2 | index ff6645d..8cbb4f1 100644 | |||
3 | --- a/debian/changelog | |||
4 | +++ b/debian/changelog | |||
5 | @@ -1,3 +1,29 @@ | |||
6 | 1 | openjdk-lts (11.0.21+9-0ubuntu1) noble; urgency=medium | ||
7 | 2 | |||
8 | 3 | * OpenJDK 11.0.21 release, build 9. | ||
9 | 4 | - CVE-2023-22081. | ||
10 | 5 | - Release notes: | ||
11 | 6 | https://mail.openjdk.org/pipermail/jdk-updates-dev/2023-October/026351.html | ||
12 | 7 | * d/source/lintian.overrides: use openjdk-lts package name. | ||
13 | 8 | * Disable jtreg tests on RISC-V due to the infrastructure issue. | ||
14 | 9 | * Merge changes from openjdk-11 11.0.21+9-1 (LP: #2039754). | ||
15 | 10 | - d/test: update problemlist. | ||
16 | 11 | - d/p: drop exclude-broken-tests.patch. | ||
17 | 12 | - d/p/reproducible-properties-timestamp.diff: use the privileged action | ||
18 | 13 | to read the system property (JDK-8272157, 914278). | ||
19 | 14 | - d/copyright: remove liblcms from excluded files. | ||
20 | 15 | - d/t/jtreg-autopkgtest.{sh,in}: JDK-8232153 - set NSS_DEFAULT_DB_TYPE | ||
21 | 16 | to let sun/security/pkcs11/Secmod/AddTrustedCert.java pass. | ||
22 | 17 | |||
23 | 18 | [ Matthias Klose ] | ||
24 | 19 | - Build using GCC 13 on development versions. | ||
25 | 20 | - Explicitly configure --without-jtreg with the nocheck profile | ||
26 | 21 | |||
27 | 22 | [ Pushkar Kulkarni ] | ||
28 | 23 | - Handle limited ECC capabilities of NSS on older releases. | ||
29 | 24 | |||
30 | 25 | -- Vladimir Petko <vladimir.petko@canonical.com> Thu, 26 Oct 2023 16:16:27 +1300 | ||
31 | 26 | |||
32 | 1 | openjdk-lts (11.0.20+8-1ubuntu1) mantic; urgency=high | 27 | openjdk-lts (11.0.20+8-1ubuntu1) mantic; urgency=high |
33 | 2 | 28 | ||
34 | 3 | * OpenJDK 11.0.20 release, build 8. | 29 | * OpenJDK 11.0.20 release, build 8. |
35 | diff --git a/debian/control b/debian/control | |||
36 | index a596563..d3e52fa 100644 | |||
37 | --- a/debian/control | |||
38 | +++ b/debian/control | |||
39 | @@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 11), | |||
40 | 10 | time, strip-nondeterminism, debugedit (>= 4.16), | 10 | time, strip-nondeterminism, debugedit (>= 4.16), |
41 | 11 | jtreg6 (>= 6+1-0~) <!nocheck>, libtestng7-java <!nocheck>, xvfb <!nocheck>, xauth <!nocheck>, xfonts-base <!nocheck>, libgl1-mesa-dri [!x32] <!nocheck>, xfwm4 <!nocheck>, x11-xkb-utils <!nocheck>, dbus-x11 <!nocheck>, libasmtools-java <!nocheck>, googletest <!nocheck>, google-mock <!nocheck>, xvfb <!nocheck>, | 11 | jtreg6 (>= 6+1-0~) <!nocheck>, libtestng7-java <!nocheck>, xvfb <!nocheck>, xauth <!nocheck>, xfonts-base <!nocheck>, libgl1-mesa-dri [!x32] <!nocheck>, xfwm4 <!nocheck>, x11-xkb-utils <!nocheck>, dbus-x11 <!nocheck>, libasmtools-java <!nocheck>, googletest <!nocheck>, google-mock <!nocheck>, xvfb <!nocheck>, |
42 | 12 | autoconf, automake, autotools-dev, ant, ant-optional, | 12 | autoconf, automake, autotools-dev, ant, ant-optional, |
44 | 13 | g++-12 <!cross>, | 13 | g++-13 <!cross>, |
45 | 14 | openjdk-11-jdk-headless:native | openjdk-10-jdk-headless:native, | 14 | openjdk-11-jdk-headless:native | openjdk-10-jdk-headless:native, |
46 | 15 | libxtst-dev, libxi-dev, libxt-dev, libxaw7-dev, libxrender-dev, libcups2-dev, libasound2-dev, liblcms2-dev, libfreetype6-dev (>= 2.2.1), libxinerama-dev, libkrb5-dev, xsltproc, libpcsclite-dev, libxrandr-dev, libelf-dev, libfontconfig1-dev, libgtk2.0-0 | libgtk-3-0, libharfbuzz-dev, | 15 | libxtst-dev, libxi-dev, libxt-dev, libxaw7-dev, libxrender-dev, libcups2-dev, libasound2-dev, liblcms2-dev, libfreetype6-dev (>= 2.2.1), libxinerama-dev, libkrb5-dev, xsltproc, libpcsclite-dev, libxrandr-dev, libelf-dev, libfontconfig1-dev, libgtk2.0-0 | libgtk-3-0, libharfbuzz-dev, |
47 | 16 | libffi-dev, | 16 | libffi-dev, |
48 | diff --git a/debian/copyright b/debian/copyright | |||
49 | index 4598ff2..fb2db69 100644 | |||
50 | --- a/debian/copyright | |||
51 | +++ b/debian/copyright | |||
52 | @@ -2,8 +2,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |||
53 | 2 | Files-Excluded: | 2 | Files-Excluded: |
54 | 3 | .github/* | 3 | .github/* |
55 | 4 | .gitattributes | 4 | .gitattributes |
56 | 5 | src/java.desktop/share/native/liblcms/cms*.c | ||
57 | 6 | src/java.desktop/share/native/liblcms/lcms2*.h | ||
58 | 7 | src/java.base/share/native/libzip/zlib/* | 5 | src/java.base/share/native/libzip/zlib/* |
59 | 8 | src/java.desktop/share/native/libsplashscreen/giflib/* | 6 | src/java.desktop/share/native/libsplashscreen/giflib/* |
60 | 9 | src/java.desktop/share/native/libsplashscreen/libpng/* | 7 | src/java.desktop/share/native/libsplashscreen/libpng/* |
61 | diff --git a/debian/patches/exclude-broken-tests.patch b/debian/patches/exclude-broken-tests.patch | |||
62 | 10 | deleted file mode 100644 | 8 | deleted file mode 100644 |
63 | index 2a9983b..0000000 | |||
64 | --- a/debian/patches/exclude-broken-tests.patch | |||
65 | +++ /dev/null | |||
66 | @@ -1,121 +0,0 @@ | |||
67 | 1 | Description: Disable failing tests | ||
68 | 2 | Disable tests that fail on Ubuntu pending investigation | ||
69 | 3 | Author: Vladimir Petko <vladimir.petko@canonical.com> | ||
70 | 4 | Forwarded: not-needed | ||
71 | 5 | Last-Update: 2023-03-24 | ||
72 | 6 | --- a/test/hotspot/jtreg/ProblemList.txt | ||
73 | 7 | +++ b/test/hotspot/jtreg/ProblemList.txt | ||
74 | 8 | @@ -38,6 +38,26 @@ | ||
75 | 9 | # | ||
76 | 10 | ############################################################################# | ||
77 | 11 | |||
78 | 12 | +# tests that need to be investigated | ||
79 | 13 | + | ||
80 | 14 | +gc/shenandoah/mxbeans/TestChurnNotifications.java#aggressive 0000000 generic-all | ||
81 | 15 | +gc/shenandoah/mxbeans/TestChurnNotifications.java#iu 0000000 generic-all | ||
82 | 16 | + | ||
83 | 17 | +#result: Failed. Execution failed: `main' threw exception: java.io.IOException: Mount point not found | ||
84 | 18 | +# https://bugs.openjdk.org/browse/JDK-8166162 | ||
85 | 19 | + | ||
86 | 20 | +runtime/LoadClass/LongBCP.java 8166162 generic-all | ||
87 | 21 | + | ||
88 | 22 | +# Intermittent failures because LingeredApp.class is not found | ||
89 | 23 | + | ||
90 | 24 | +runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java 000000 generic-all | ||
91 | 25 | +runtime/cds/appcds/jcmd/JCmdTestFileSafety.java 000000 generic-all | ||
92 | 26 | +runtime/cds/appcds/jcmd/JCmdTestStaticDump.java 000000 generic-all | ||
93 | 27 | + | ||
94 | 28 | +# Unexpected exit from the test | ||
95 | 29 | + | ||
96 | 30 | +runtime/NMT/SafepointPollingPages.java 000000 generic-all | ||
97 | 31 | + | ||
98 | 32 | # :hotspot_compiler | ||
99 | 33 | |||
100 | 34 | compiler/aot/verification/vmflags/TrackedFlagTest.java 8215224 generic-all | ||
101 | 35 | --- a/test/langtools/ProblemList.txt | ||
102 | 36 | +++ b/test/langtools/ProblemList.txt | ||
103 | 37 | @@ -23,6 +23,32 @@ | ||
104 | 38 | # | ||
105 | 39 | ########################################################################### | ||
106 | 40 | |||
107 | 41 | +# Wrong test environment in autopkgtest | ||
108 | 42 | +# java.lang.IllegalStateException: Launching JShell execution engine threw: ERROR: transport error 202: getaddrinfo: failed to parse address | ||
109 | 43 | + | ||
110 | 44 | +jdk/jshell/JdiListeningLocalhostExecutionControlTest.java 0000000 generic-all | ||
111 | 45 | + | ||
112 | 46 | +# tests failing due to disable-doclint-by-default.diff | ||
113 | 47 | + | ||
114 | 48 | +jdk/javadoc/doclet/testSupplementary/TestSupplementary.java 0000000 generic-all | ||
115 | 49 | +jdk/javadoc/doclet/testPackageHtml/TestPackageHtml.java 0000000 generic-all | ||
116 | 50 | +jdk/javadoc/doclet/testSummaryTag/TestSummaryTag.java 0000000 generic-all | ||
117 | 51 | +jdk/javadoc/doclet/testStylesheet/TestStylesheet.java 0000000 generic-all | ||
118 | 52 | +jdk/javadoc/doclet/testSeeTag/TestSeeTag.java 0000000 generic-all | ||
119 | 53 | +jdk/javadoc/doclet/testRelativeLinks/TestRelativeLinks.java 0000000 generic-all | ||
120 | 54 | +jdk/javadoc/doclet/testBadHtml/TestBadHtml.java 0000000 generic-all | ||
121 | 55 | +jdk/javadoc/doclet/testParamTaglet/TestParamTaglet.java 0000000 generic-all | ||
122 | 56 | +jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java 0000000 generic-all | ||
123 | 57 | +jdk/javadoc/doclet/dupThrowsTags/TestDupThrowsTags.java 0000000 generic-all | ||
124 | 58 | +jdk/javadoc/doclet/testLinkOption/TestLinkOption.java 0000000 generic-all | ||
125 | 59 | +jdk/javadoc/doclet/T6735320/T6735320.java 0000000 generic-all | ||
126 | 60 | +jdk/javadoc/doclet/testValueTag/TestValueTag.java 0000000 generic-all | ||
127 | 61 | +jdk/javadoc/tool/modules/Modules.java 0000000 generic-all | ||
128 | 62 | +jdk/javadoc/doclet/testWarnings/TestWarnings.java 0000000 generic-all | ||
129 | 63 | +jdk/javadoc/doclet/testHtmlTableStyles/TestHtmlTableStyles.java 0000000 generic-all | ||
130 | 64 | +jdk/javadoc/tool/doclint/DocLintTest.java 0000000 generic-all | ||
131 | 65 | +jdk/javadoc/doclet/testBadPackageFileInJar/TestBadPackageFileInJar.java 0000000 generic-all | ||
132 | 66 | + | ||
133 | 67 | ########################################################################### | ||
134 | 68 | # | ||
135 | 69 | # javadoc | ||
136 | 70 | --- a/test/jdk/ProblemList.txt | ||
137 | 71 | +++ b/test/jdk/ProblemList.txt | ||
138 | 72 | @@ -110,6 +110,49 @@ | ||
139 | 73 | # | ||
140 | 74 | ############################################################################# | ||
141 | 75 | |||
142 | 76 | + | ||
143 | 77 | + | ||
144 | 78 | +# to investigate | ||
145 | 79 | +# unable to read LD_LIBRARY_PATH env variable | ||
146 | 80 | + | ||
147 | 81 | +tools/jpackage/share/AppLauncherEnvTest.java 0000000 generic-all | ||
148 | 82 | + | ||
149 | 83 | +# java.lang.Exception: Proc abnormal end | ||
150 | 84 | + | ||
151 | 85 | +sun/security/krb5/auto/Cleaners.java 0000000 generic-all | ||
152 | 86 | + | ||
153 | 87 | +# result: Failed. Execution failed: `main' threw exception: java.io.IOException: Mount point not found | ||
154 | 88 | +# https://bugs.openjdk.org/browse/JDK-8166162 | ||
155 | 89 | + | ||
156 | 90 | +java/io/File/createTempFile/TargetDirectory.java 8166162 generic-all | ||
157 | 91 | +java/nio/file/Files/CheckPermissions.java 8166162 generic-all | ||
158 | 92 | +java/nio/file/Files/TemporaryFiles.java 8166162 generic-all | ||
159 | 93 | +java/nio/file/Files/Misc.java 8166162 generic-all | ||
160 | 94 | +java/nio/file/Files/CopyAndMove.java 8166162 generic-all | ||
161 | 95 | +java/nio/file/Files/InterruptCopy.java 8166162 generic-all | ||
162 | 96 | +java/nio/file/Files/FileAttributes.java 8166162 generic-all | ||
163 | 97 | +java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java 8166162 generic-all | ||
164 | 98 | +java/nio/file/attribute/AclFileAttributeView/Basic.java 8166162 generic-all | ||
165 | 99 | +java/nio/file/attribute/DosFileAttributeView/Basic.java 8166162 generic-all | ||
166 | 100 | +java/nio/file/attribute/PosixFileAttributeView/Basic.java 8166162 generic-all | ||
167 | 101 | +java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java 8166162 generic-all | ||
168 | 102 | +java/nio/file/FileStore/Basic.java 8166162 generic-all | ||
169 | 103 | +java/nio/channels/FileChannel/directio/DirectIOTest.java 8166162 generic-all | ||
170 | 104 | +java/nio/channels/FileChannel/directio/ReadDirect.java 8166162 generic-all | ||
171 | 105 | +java/nio/channels/FileChannel/directio/PreadDirect.java 8166162 generic-all | ||
172 | 106 | +java/nio/channels/FileChannel/directio/PwriteDirect.java 8166162 generic-all | ||
173 | 107 | +java/nio/channels/FileChannel/directio/WriteDirect.java 8166162 generic-all | ||
174 | 108 | + | ||
175 | 109 | +# utf-8 locale is missing on build machine | ||
176 | 110 | +# https://bugs.openjdk.org/browse/JDK-8249079 | ||
177 | 111 | + | ||
178 | 112 | +java/lang/invoke/lambda/LambdaFileEncodingSerialization.java 8249079 generic-all | ||
179 | 113 | + | ||
180 | 114 | +# reproducible-properties-timestamp.diff introduce a bug that breaks this test | ||
181 | 115 | +# remove after the patch is dropped | ||
182 | 116 | + | ||
183 | 117 | +java/util/logging/LogManager/Configuration/updateConfiguration/SimpleUpdateConfigWithInputStreamTest.java 000000 generic-all | ||
184 | 118 | + | ||
185 | 119 | ############################################################################ | ||
186 | 120 | |||
187 | 121 | # jdk_awt | ||
188 | diff --git a/debian/patches/nss-limited-ecc-tests.patch b/debian/patches/nss-limited-ecc-tests.patch | |||
189 | 122 | new file mode 100644 | 0 | new file mode 100644 |
190 | index 0000000..7a75015 | |||
191 | --- /dev/null | |||
192 | +++ b/debian/patches/nss-limited-ecc-tests.patch | |||
193 | @@ -0,0 +1,48 @@ | |||
194 | 1 | --- a/test/jdk/sun/security/pkcs11/PKCS11Test.java | ||
195 | 2 | +++ b/test/jdk/sun/security/pkcs11/PKCS11Test.java | ||
196 | 3 | @@ -99,7 +99,7 @@ | ||
197 | 4 | // NSS version info | ||
198 | 5 | public static enum ECCState { None, Basic, Extended }; | ||
199 | 6 | static double nss_version = -1; | ||
200 | 7 | - static ECCState nss_ecc_status = ECCState.Extended; | ||
201 | 8 | + static ECCState nss_ecc_status = ECCState.Basic; | ||
202 | 9 | |||
203 | 10 | // The NSS library we need to search for in getNSSLibDir() | ||
204 | 11 | // Default is "libsoftokn3.so", listed as "softokn3" | ||
205 | 12 | --- a/test/jdk/sun/security/pkcs11/ec/TestECDH.java | ||
206 | 13 | +++ b/test/jdk/sun/security/pkcs11/ec/TestECDH.java | ||
207 | 14 | @@ -124,8 +124,12 @@ | ||
208 | 15 | return; | ||
209 | 16 | } | ||
210 | 17 | |||
211 | 18 | - test(p, pub192a, priv192a, pub192b, priv192b, secret192); | ||
212 | 19 | - test(p, pub163a, priv163a, pub163b, priv163b, secret163); | ||
213 | 20 | + if (getSupportedECParameterSpec("secp192r1", p).isPresent()) { | ||
214 | 21 | + test(p, pub192a, priv192a, pub192b, priv192b, secret192); | ||
215 | 22 | + } | ||
216 | 23 | + if (getSupportedECParameterSpec("sect163r1", p).isPresent()) { | ||
217 | 24 | + test(p, pub163a, priv163a, pub163b, priv163b, secret163); | ||
218 | 25 | + } | ||
219 | 26 | |||
220 | 27 | if (getSupportedECParameterSpec("brainpoolP256r1", p).isPresent()) { | ||
221 | 28 | test(p, pubBrainpoolP256r1a, privBrainpoolP256r1a, pubBrainpoolP256r1b, privBrainpoolP256r1b, secretBrainpoolP256r1); | ||
222 | 29 | --- a/test/jdk/sun/security/pkcs11/ec/TestECDSA.java | ||
223 | 30 | +++ b/test/jdk/sun/security/pkcs11/ec/TestECDSA.java | ||
224 | 31 | @@ -156,12 +156,14 @@ | ||
225 | 32 | return; | ||
226 | 33 | } | ||
227 | 34 | |||
228 | 35 | - if (getNSSECC() != ECCState.Basic) { | ||
229 | 36 | + if (getSupportedECParameterSpec("secp192r1", provider).isPresent()) { | ||
230 | 37 | test(provider, pub192, priv192, sig192); | ||
231 | 38 | + } | ||
232 | 39 | + if (getSupportedECParameterSpec("sect163r1", provider).isPresent()) { | ||
233 | 40 | test(provider, pub163, priv163, sig163); | ||
234 | 41 | + } | ||
235 | 42 | + if (getSupportedECParameterSpec("sect571r1", provider).isPresent()) { | ||
236 | 43 | test(provider, pub571, priv571, sig571); | ||
237 | 44 | - } else { | ||
238 | 45 | - System.out.println("ECC Basic only, skipping 192, 163 and 571."); | ||
239 | 46 | } | ||
240 | 47 | test(provider, pub521, priv521, sig521); | ||
241 | 48 | |||
242 | diff --git a/debian/patches/reproducible-properties-timestamp.diff b/debian/patches/reproducible-properties-timestamp.diff | |||
243 | index 596c01c..0f2bd72 100644 | |||
244 | --- a/debian/patches/reproducible-properties-timestamp.diff | |||
245 | +++ b/debian/patches/reproducible-properties-timestamp.diff | |||
246 | @@ -3,7 +3,17 @@ Author: Emmanuel Bourg <ebourg@apache.org> | |||
247 | 3 | Forwarded: no | 3 | Forwarded: no |
248 | 4 | --- a/src/java.base/share/classes/java/util/Properties.java | 4 | --- a/src/java.base/share/classes/java/util/Properties.java |
249 | 5 | +++ b/src/java.base/share/classes/java/util/Properties.java | 5 | +++ b/src/java.base/share/classes/java/util/Properties.java |
251 | 6 | @@ -929,7 +929,7 @@ | 6 | @@ -53,6 +53,9 @@ |
252 | 7 | import sun.nio.cs.UTF_8; | ||
253 | 8 | import sun.nio.cs.ISO_8859_1; | ||
254 | 9 | |||
255 | 10 | +import java.security.AccessController; | ||
256 | 11 | +import java.security.PrivilegedAction; | ||
257 | 12 | + | ||
258 | 13 | /** | ||
259 | 14 | * The {@code Properties} class represents a persistent set of | ||
260 | 15 | * properties. The {@code Properties} can be saved to a stream | ||
261 | 16 | @@ -929,7 +932,7 @@ | ||
262 | 7 | if (comments != null) { | 17 | if (comments != null) { |
263 | 8 | writeComments(bw, comments); | 18 | writeComments(bw, comments); |
264 | 9 | } | 19 | } |
265 | @@ -12,7 +22,7 @@ Forwarded: no | |||
266 | 12 | bw.newLine(); | 22 | bw.newLine(); |
267 | 13 | synchronized (this) { | 23 | synchronized (this) { |
268 | 14 | for (Map.Entry<Object, Object> e : entrySet()) { | 24 | for (Map.Entry<Object, Object> e : entrySet()) { |
270 | 15 | @@ -1579,4 +1579,22 @@ | 25 | @@ -1579,4 +1582,27 @@ |
271 | 16 | } | 26 | } |
272 | 17 | this.map = map; | 27 | this.map = map; |
273 | 18 | } | 28 | } |
274 | @@ -23,14 +33,19 @@ Forwarded: no | |||
275 | 23 | + * environment variable is specified. In this case the format used is | 33 | + * environment variable is specified. In this case the format used is |
276 | 24 | + * locale and timezone insensitive to ensure the output is reproducible. | 34 | + * locale and timezone insensitive to ensure the output is reproducible. |
277 | 25 | + */ | 35 | + */ |
278 | 36 | + @SuppressWarnings("removal") | ||
279 | 26 | + private String getFormattedTimestamp() { | 37 | + private String getFormattedTimestamp() { |
281 | 27 | + if (System.getenv("SOURCE_DATE_EPOCH") == null) { | 38 | + String epoch = AccessController.doPrivileged(new PrivilegedAction<String>(){ |
282 | 39 | + public String run() { return System.getenv("SOURCE_DATE_EPOCH"); } | ||
283 | 40 | + }); | ||
284 | 41 | + | ||
285 | 42 | + if (epoch == null) { | ||
286 | 28 | + return new Date().toString(); | 43 | + return new Date().toString(); |
287 | 29 | + } else { | 44 | + } else { |
288 | 30 | + // Use the SOURCE_DATE_EPOCH timestamp and make the format locale/timezone insensitive | 45 | + // Use the SOURCE_DATE_EPOCH timestamp and make the format locale/timezone insensitive |
289 | 31 | + java.text.SimpleDateFormat fmt = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss z", java.util.Locale.ENGLISH); | 46 | + java.text.SimpleDateFormat fmt = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss z", java.util.Locale.ENGLISH); |
290 | 32 | + fmt.setTimeZone(java.util.TimeZone.getTimeZone("UTC")); | 47 | + fmt.setTimeZone(java.util.TimeZone.getTimeZone("UTC")); |
292 | 33 | + Date date = new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); | 48 | + Date date = new Date(1000 * Long.parseLong(epoch)); |
293 | 34 | + return fmt.format(date); | 49 | + return fmt.format(date); |
294 | 35 | + } | 50 | + } |
295 | 36 | + } | 51 | + } |
296 | diff --git a/debian/patches/series b/debian/patches/series | |||
297 | index 595607b..d03514a 100644 | |||
298 | --- a/debian/patches/series | |||
299 | +++ b/debian/patches/series | |||
300 | @@ -38,4 +38,4 @@ log-generated-classes-test.patch | |||
301 | 38 | update-permission-test.patch | 38 | update-permission-test.patch |
302 | 39 | ldap-timeout-test-use-ip.patch | 39 | ldap-timeout-test-use-ip.patch |
303 | 40 | test-use-ip-address.patch | 40 | test-use-ip-address.patch |
305 | 41 | exclude-broken-tests.patch | 41 | nss-limited-ecc-tests.patch |
306 | diff --git a/debian/rules b/debian/rules | |||
307 | index 6d80f7b..749a613 100755 | |||
308 | --- a/debian/rules | |||
309 | +++ b/debian/rules | |||
310 | @@ -78,6 +78,7 @@ else | |||
311 | 78 | endif | 78 | endif |
312 | 79 | 79 | ||
313 | 80 | is_upstream_release = yes | 80 | is_upstream_release = yes |
314 | 81 | #is_upstream_release = | ||
315 | 81 | 82 | ||
316 | 82 | srcdir = . | 83 | srcdir = . |
317 | 83 | builddir = build | 84 | builddir = build |
318 | @@ -157,7 +158,7 @@ testng_pkg= libtestng7-java | |||
319 | 157 | 158 | ||
320 | 158 | with_check = $(if $(findstring nocheck, $(DEB_BUILD_OPTIONS)),,yes) | 159 | with_check = $(if $(findstring nocheck, $(DEB_BUILD_OPTIONS)),,yes) |
321 | 159 | # see Debian #920161 | 160 | # see Debian #920161 |
323 | 160 | ifneq (,$(filter $(DEB_HOST_ARCH), alpha)) | 161 | ifneq (,$(filter $(DEB_HOST_ARCH), alpha riscv64)) |
324 | 161 | with_check = disabled running check on $(DEB_HOST_ARCH) | 162 | with_check = disabled running check on $(DEB_HOST_ARCH) |
325 | 162 | endif | 163 | endif |
326 | 163 | # no jtreg backport yet | 164 | # no jtreg backport yet |
327 | @@ -335,10 +336,14 @@ else ifneq (,$(filter $(distrel),jammy)) | |||
328 | 335 | export CC = $(DEB_HOST_GNU_TYPE)-gcc-11 | 336 | export CC = $(DEB_HOST_GNU_TYPE)-gcc-11 |
329 | 336 | export CXX = $(DEB_HOST_GNU_TYPE)-g++-11 | 337 | export CXX = $(DEB_HOST_GNU_TYPE)-g++-11 |
330 | 337 | bd_gcc = g++-11 <!cross>, | 338 | bd_gcc = g++-11 <!cross>, |
332 | 338 | else | 339 | else ifneq (,$(filter $(distrel),bookworm lunar)) |
333 | 339 | export CC = $(DEB_HOST_GNU_TYPE)-gcc-12 | 340 | export CC = $(DEB_HOST_GNU_TYPE)-gcc-12 |
334 | 340 | export CXX = $(DEB_HOST_GNU_TYPE)-g++-12 | 341 | export CXX = $(DEB_HOST_GNU_TYPE)-g++-12 |
335 | 341 | bd_gcc = g++-12 <!cross>, | 342 | bd_gcc = g++-12 <!cross>, |
336 | 343 | else | ||
337 | 344 | export CC = $(DEB_HOST_GNU_TYPE)-gcc-13 | ||
338 | 345 | export CXX = $(DEB_HOST_GNU_TYPE)-g++-13 | ||
339 | 346 | bd_gcc = g++-13 <!cross>, | ||
340 | 342 | endif | 347 | endif |
341 | 343 | 348 | ||
342 | 344 | # until we are able to b-d on gcc-for-host ... | 349 | # until we are able to b-d on gcc-for-host ... |
343 | @@ -1878,8 +1883,9 @@ endif | |||
344 | 1878 | dh_builddeb -a $(nodemo) $(nojrez) #$(bd_options) | 1883 | dh_builddeb -a $(nodemo) $(nojrez) #$(bd_options) |
345 | 1879 | 1884 | ||
346 | 1880 | is_release = yes | 1885 | is_release = yes |
347 | 1886 | #is_release = | ||
348 | 1881 | git_project = jdk11u | 1887 | git_project = jdk11u |
350 | 1882 | git_tag = jdk-11.0.20+8 | 1888 | git_tag = jdk-11.0.21+9 |
351 | 1883 | package_version = $(subst jdk-,,$(git_tag)) | 1889 | package_version = $(subst jdk-,,$(git_tag)) |
352 | 1884 | package_version = $(shell echo $(PKGVERSION) | sed 's/-[^-][^-]*$$//') | 1890 | package_version = $(shell echo $(PKGVERSION) | sed 's/-[^-][^-]*$$//') |
353 | 1885 | ifneq ($(is_release),yes) | 1891 | ifneq ($(is_release),yes) |
354 | diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides | |||
355 | index 9cbed57..04c5846 100644 | |||
356 | --- a/debian/source/lintian-overrides | |||
357 | +++ b/debian/source/lintian-overrides | |||
358 | @@ -1,2 +1,2 @@ | |||
359 | 1 | # parts of the test suite, not installed | 1 | # parts of the test suite, not installed |
361 | 2 | openjdk-11 source: source-is-missing | 2 | openjdk-lts source: source-is-missing |
362 | diff --git a/debian/tests/hotspot b/debian/tests/hotspot | |||
363 | index b5a1f87..e937056 100755 | |||
364 | --- a/debian/tests/hotspot | |||
365 | +++ b/debian/tests/hotspot | |||
366 | @@ -4,13 +4,8 @@ set -o errtrace | |||
367 | 4 | set -o pipefail | 4 | set -o pipefail |
368 | 5 | set -o nounset | 5 | set -o nounset |
369 | 6 | 6 | ||
377 | 7 | problem_list=${AUTOPKGTEST_TMP}/hotspot-problems.txt | 7 | problem_list=${AUTOPKGTEST_TMP}/problems.txt |
378 | 8 | cat test/hotspot/jtreg/ProblemList.txt > ${problem_list} | 8 | debian/tests/write-problems ${problem_list} test/hotspot/jtreg/ProblemList.txt hotspot |
372 | 9 | |||
373 | 10 | host_arch="${DEB_HOST_ARCH:-$(dpkg --print-architecture)}" | ||
374 | 11 | if [[ -f debian/tests/problems-${host_arch}.txt ]]; then | ||
375 | 12 | cat debian/tests/problems-${host_arch}.txt >> ${problem_list} | ||
376 | 13 | fi | ||
379 | 14 | 9 | ||
380 | 15 | native_path=$(pwd)/build/images/test/hotspot/jtreg/native | 10 | native_path=$(pwd)/build/images/test/hotspot/jtreg/native |
381 | 16 | debian/tests/jtreg-autopkgtest.sh hotspot \ | 11 | debian/tests/jtreg-autopkgtest.sh hotspot \ |
382 | diff --git a/debian/tests/jaxp b/debian/tests/jaxp | |||
383 | index acdd84f..cad3802 100755 | |||
384 | --- a/debian/tests/jaxp | |||
385 | +++ b/debian/tests/jaxp | |||
386 | @@ -4,10 +4,12 @@ set -o errtrace | |||
387 | 4 | set -o pipefail | 4 | set -o pipefail |
388 | 5 | set -o nounset | 5 | set -o nounset |
389 | 6 | 6 | ||
390 | 7 | problem_list=${AUTOPKGTEST_TMP}/problems.txt | ||
391 | 8 | debian/tests/write-problems ${problem_list} test/jaxp/ProblemList.txt jaxp | ||
392 | 9 | |||
393 | 7 | debian/tests/jtreg-autopkgtest.sh jaxp \ | 10 | debian/tests/jtreg-autopkgtest.sh jaxp \ |
395 | 8 | -exclude:test/jaxp/ProblemList.txt \ | 11 | -exclude:${problem_list} \ |
396 | 9 | -dir:test/jaxp \ | 12 | -dir:test/jaxp \ |
397 | 10 | -k:!stress \ | 13 | -k:!stress \ |
398 | 11 | :tier1 :tier2 | 14 | :tier1 :tier2 |
399 | 12 | |||
400 | 13 | debian/tests/jtdiff-autopkgtest.sh jaxp | 15 | debian/tests/jtdiff-autopkgtest.sh jaxp |
401 | diff --git a/debian/tests/jdk b/debian/tests/jdk | |||
402 | index 9b0553d..79e1ec0 100755 | |||
403 | --- a/debian/tests/jdk | |||
404 | +++ b/debian/tests/jdk | |||
405 | @@ -4,6 +4,7 @@ set -o errtrace | |||
406 | 4 | set -o pipefail | 4 | set -o pipefail |
407 | 5 | set -o nounset | 5 | set -o nounset |
408 | 6 | 6 | ||
409 | 7 | |||
410 | 7 | cleanup() { | 8 | cleanup() { |
411 | 8 | # kill window manager to clean up (rest will exit automatically) | 9 | # kill window manager to clean up (rest will exit automatically) |
412 | 9 | pid="$(jobs -p)" | 10 | pid="$(jobs -p)" |
413 | @@ -25,13 +26,8 @@ export DISPLAY=:10 | |||
414 | 25 | debian/tests/start-xvfb.sh 10 & | 26 | debian/tests/start-xvfb.sh 10 & |
415 | 26 | sleep 3 | 27 | sleep 3 |
416 | 27 | 28 | ||
424 | 28 | problem_list=${AUTOPKGTEST_TMP}/jdk-problems.txt | 29 | problem_list=${AUTOPKGTEST_TMP}/problems.txt |
425 | 29 | cat test/jdk/ProblemList.txt > ${problem_list} | 30 | debian/tests/write-problems ${problem_list} test/jdk/ProblemList.txt jdk |
419 | 30 | |||
420 | 31 | host_arch="${DEB_HOST_ARCH:-$(dpkg --print-architecture)}" | ||
421 | 32 | if [[ -f debian/tests/problems-${host_arch}.txt ]]; then | ||
422 | 33 | cat debian/tests/problems-${host_arch}.txt >> ${problem_list} | ||
423 | 34 | fi | ||
426 | 35 | 31 | ||
427 | 36 | native_path=$(pwd)/build/images/test/jdk/jtreg/native | 32 | native_path=$(pwd)/build/images/test/jdk/jtreg/native |
428 | 37 | debian/tests/jtreg-autopkgtest.sh jdk \ | 33 | debian/tests/jtreg-autopkgtest.sh jdk \ |
429 | diff --git a/debian/tests/jtreg-autopkgtest.in b/debian/tests/jtreg-autopkgtest.in | |||
430 | index 1e3e806..747d296 100755 | |||
431 | --- a/debian/tests/jtreg-autopkgtest.in | |||
432 | +++ b/debian/tests/jtreg-autopkgtest.in | |||
433 | @@ -32,7 +32,7 @@ fi | |||
434 | 32 | if dpkg --compare-versions ${jtreg_version} ge 4.2; then | 32 | if dpkg --compare-versions ${jtreg_version} ge 4.2; then |
435 | 33 | jt_options+=" -conc:auto" | 33 | jt_options+=" -conc:auto" |
436 | 34 | fi | 34 | fi |
438 | 35 | 35 | ||
439 | 36 | # check java binary | 36 | # check java binary |
440 | 37 | if [ ! -x "${JDK_TO_TEST}/bin/java" ]; then | 37 | if [ ! -x "${JDK_TO_TEST}/bin/java" ]; then |
441 | 38 | echo "Error: '${JDK_TO_TEST}/bin/java' is not an executable." >&2 | 38 | echo "Error: '${JDK_TO_TEST}/bin/java' is not an executable." >&2 |
442 | @@ -104,6 +104,9 @@ for i in 0 1 2; do | |||
443 | 104 | -jdk:${JDK_TO_TEST} \ | 104 | -jdk:${JDK_TO_TEST} \ |
444 | 105 | -vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \ | 105 | -vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \ |
445 | 106 | -vmoption:-XX:MaxRAMPercentage=25 \ | 106 | -vmoption:-XX:MaxRAMPercentage=25 \ |
446 | 107 | -vmoption:-Duser.home=${AUTOPKGTEST_TMP} \ | ||
447 | 108 | -vmoption:-Djava.io.tmpdir=${AUTOPKGTEST_TMP} \ | ||
448 | 109 | -e:NSS_DEFAULT_DB_TYPE=sql \ | ||
449 | 107 | ${on_retry:-} $@ \ | 110 | ${on_retry:-} $@ \ |
450 | 108 | && exit_code=0 || exit_code=$? | 111 | && exit_code=0 || exit_code=$? |
451 | 109 | 112 | ||
452 | diff --git a/debian/tests/jtreg-autopkgtest.sh b/debian/tests/jtreg-autopkgtest.sh | |||
453 | index 7e3bfc3..ad0763a 100755 | |||
454 | --- a/debian/tests/jtreg-autopkgtest.sh | |||
455 | +++ b/debian/tests/jtreg-autopkgtest.sh | |||
456 | @@ -109,7 +109,10 @@ for i in 0 1 2; do | |||
457 | 109 | -reportDir:"${report_dir}" \ | 109 | -reportDir:"${report_dir}" \ |
458 | 110 | -jdk:${JDK_TO_TEST} \ | 110 | -jdk:${JDK_TO_TEST} \ |
459 | 111 | -vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \ | 111 | -vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \ |
460 | 112 | -vmoption:-Duser.home=${AUTOPKGTEST_TMP} \ | ||
461 | 113 | -vmoption:-Djava.io.tmpdir=${AUTOPKGTEST_TMP} \ | ||
462 | 112 | -vmoption:-XX:MaxRAMPercentage=25 \ | 114 | -vmoption:-XX:MaxRAMPercentage=25 \ |
463 | 115 | -e:NSS_DEFAULT_DB_TYPE=sql \ | ||
464 | 113 | ${on_retry:-} $@ \ | 116 | ${on_retry:-} $@ \ |
465 | 114 | && exit_code=0 || exit_code=$? | 117 | && exit_code=0 || exit_code=$? |
466 | 115 | 118 | ||
467 | diff --git a/debian/tests/langtools b/debian/tests/langtools | |||
468 | index 9a24522..4db8e24 100755 | |||
469 | --- a/debian/tests/langtools | |||
470 | +++ b/debian/tests/langtools | |||
471 | @@ -4,10 +4,12 @@ set -o errtrace | |||
472 | 4 | set -o pipefail | 4 | set -o pipefail |
473 | 5 | set -o nounset | 5 | set -o nounset |
474 | 6 | 6 | ||
475 | 7 | problem_list=${AUTOPKGTEST_TMP}/problems.txt | ||
476 | 8 | debian/tests/write-problems ${problem_list} test/langtools/ProblemList.txt langtools | ||
477 | 9 | |||
478 | 7 | debian/tests/jtreg-autopkgtest.sh langtools \ | 10 | debian/tests/jtreg-autopkgtest.sh langtools \ |
481 | 8 | -exclude:test/langtools/ProblemList.txt \ | 11 | -exclude:${problem_list} \ |
482 | 9 | -dir:test/langtools \ | 12 | -dir:test/langtools \ |
483 | 10 | -k:!stress \ | 13 | -k:!stress \ |
484 | 11 | :tier1 :tier2 | 14 | :tier1 :tier2 |
485 | 12 | |||
486 | 13 | debian/tests/jtdiff-autopkgtest.sh langtools | 15 | debian/tests/jtdiff-autopkgtest.sh langtools |
487 | diff --git a/debian/tests/problems-armhf.txt b/debian/tests/problems-armhf.txt | |||
488 | index 0df5a72..5557a31 100644 | |||
489 | --- a/debian/tests/problems-armhf.txt | |||
490 | +++ b/debian/tests/problems-armhf.txt | |||
491 | @@ -18,5 +18,20 @@ compiler/codecache/MHIntrinsicAllocFailureTest.java | |||
492 | 18 | # this test passes but is very slow in CI, causing timeout | 18 | # this test passes but is very slow in CI, causing timeout |
493 | 19 | 19 | ||
494 | 20 | jdk/sun/security/rsa/SignedObjectChain.java 000000 generic-all | 20 | jdk/sun/security/rsa/SignedObjectChain.java 000000 generic-all |
495 | 21 | sun/security/rsa/SignedObjectChain.java 000000 generic-all | ||
496 | 21 | sun/security/ec/ed/EdDSATest.java 000000 generic-all | 22 | sun/security/ec/ed/EdDSATest.java 000000 generic-all |
497 | 22 | java/security/SignedObject/Chain.java 000000 generic-all | ||
498 | 23 | \ No newline at end of file | 23 | \ No newline at end of file |
499 | 24 | java/security/SignedObject/Chain.java 000000 generic-all | ||
500 | 25 | |||
501 | 26 | # timeout in SSL connection | ||
502 | 27 | java/net/httpclient/ManyRequestsLegacy.java 000000 generic-all | ||
503 | 28 | # deadlock | ||
504 | 29 | java/util/Random/RandomTestBsi1999.java 000000 generic-all | ||
505 | 30 | |||
506 | 31 | # runner issue, disk space size exceeds 32 bit integer | ||
507 | 32 | java/io/File/GetXSpace.java 000000 generic-all | ||
508 | 33 | |||
509 | 34 | # https://bugs.openjdk.org/browse/JDK-8303168 | ||
510 | 35 | serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java 000000 generic-all | ||
511 | 36 | |||
512 | 37 | # native stack not implemented | ||
513 | 38 | runtime/jni/nativeStack/TestNativeStack.java 000000 generic-all | ||
514 | diff --git a/debian/tests/problems-hotspot.txt b/debian/tests/problems-hotspot.txt | |||
515 | 24 | new file mode 100644 | 39 | new file mode 100644 |
516 | index 0000000..1420b16 | |||
517 | --- /dev/null | |||
518 | +++ b/debian/tests/problems-hotspot.txt | |||
519 | @@ -0,0 +1,21 @@ | |||
520 | 1 | # tests that need to be investigated | ||
521 | 2 | |||
522 | 3 | gc/shenandoah/mxbeans/TestChurnNotifications.java#aggressive 0000000 generic-all | ||
523 | 4 | gc/shenandoah/mxbeans/TestChurnNotifications.java#iu 0000000 generic-all | ||
524 | 5 | |||
525 | 6 | #result: Failed. Execution failed: `main' threw exception: java.io.IOException: Mount point not found | ||
526 | 7 | # https://bugs.openjdk.org/browse/JDK-8166162 | ||
527 | 8 | |||
528 | 9 | runtime/LoadClass/LongBCP.java 8166162 generic-all | ||
529 | 10 | |||
530 | 11 | # flaky test | ||
531 | 12 | compiler/vectorization/runner/MultipleLoopsTest.java 000000 generic-all | ||
532 | 13 | |||
533 | 14 | # Intermittent failures because LingeredApp.class is not found | ||
534 | 15 | runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java 000000 generic-all | ||
535 | 16 | runtime/cds/appcds/jcmd/JCmdTestFileSafety.java 000000 generic-all | ||
536 | 17 | runtime/cds/appcds/jcmd/JCmdTestStaticDump.java 000000 generic-all | ||
537 | 18 | |||
538 | 19 | # Unexpected exit from the test | ||
539 | 20 | runtime/NMT/SafepointPollingPages.java 000000 generic-all | ||
540 | 21 | |||
541 | diff --git a/debian/tests/problems-i386.txt b/debian/tests/problems-i386.txt | |||
542 | index 10cc71e..e28559c 100644 | |||
543 | --- a/debian/tests/problems-i386.txt | |||
544 | +++ b/debian/tests/problems-i386.txt | |||
545 | @@ -13,3 +13,6 @@ gtest/GTestWrapper.java 000000 generic-all | |||
546 | 13 | tools/jlink/JLinkTest.java 000000 generic-all | 13 | tools/jlink/JLinkTest.java 000000 generic-all |
547 | 14 | 14 | ||
548 | 15 | java/net/httpclient/http2/HpackBinaryTestDriver.java 000000 generic-all | 15 | java/net/httpclient/http2/HpackBinaryTestDriver.java 000000 generic-all |
549 | 16 | |||
550 | 17 | # runner issue, disk space size exceeds 32 bit integer | ||
551 | 18 | java/io/File/GetXSpace.java 000000 generic-all | ||
552 | diff --git a/debian/tests/problems-jdk.txt b/debian/tests/problems-jdk.txt | |||
553 | 16 | new file mode 100644 | 19 | new file mode 100644 |
554 | index 0000000..fd5b0ca | |||
555 | --- /dev/null | |||
556 | +++ b/debian/tests/problems-jdk.txt | |||
557 | @@ -0,0 +1,45 @@ | |||
558 | 1 | # NSS3 failure when processing SHA3 hashes (needs investigation) | ||
559 | 2 | sun/security/pkcs11/Signature/KeyAndParamCheckForPSS.java 0000000 generic-all | ||
560 | 3 | sun/security/pkcs11/MessageDigest/TestCloning.java 0000000 generic-all | ||
561 | 4 | sun/security/pkcs11/Signature/SignatureTestPSS.java 0000000 generic-all | ||
562 | 5 | |||
563 | 6 | # https://bugs.openjdk.org/browse/JDK-8312488 | ||
564 | 7 | tools/jpackage/share/AppLauncherEnvTest.java 0000000 generic-all | ||
565 | 8 | |||
566 | 9 | # java.lang.Exception: Proc abnormal end | ||
567 | 10 | sun/security/krb5/auto/Cleaners.java 0000000 generic-all | ||
568 | 11 | |||
569 | 12 | # result: Failed. Execution failed: `main' threw exception: java.io.IOException: Mount point not found | ||
570 | 13 | # https://bugs.openjdk.org/browse/JDK-8166162 | ||
571 | 14 | |||
572 | 15 | java/io/File/createTempFile/TargetDirectory.java 8166162 generic-all | ||
573 | 16 | java/nio/file/Files/CheckPermissions.java 8166162 generic-all | ||
574 | 17 | java/nio/file/Files/TemporaryFiles.java 8166162 generic-all | ||
575 | 18 | java/nio/file/Files/Misc.java 8166162 generic-all | ||
576 | 19 | java/nio/file/Files/CopyAndMove.java 8166162 generic-all | ||
577 | 20 | java/nio/file/Files/InterruptCopy.java 8166162 generic-all | ||
578 | 21 | java/nio/file/Files/FileAttributes.java 8166162 generic-all | ||
579 | 22 | java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java 8166162 generic-all | ||
580 | 23 | java/nio/file/attribute/AclFileAttributeView/Basic.java 8166162 generic-all | ||
581 | 24 | java/nio/file/attribute/DosFileAttributeView/Basic.java 8166162 generic-all | ||
582 | 25 | java/nio/file/attribute/PosixFileAttributeView/Basic.java 8166162 generic-all | ||
583 | 26 | java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java 8166162 generic-all | ||
584 | 27 | java/nio/file/FileStore/Basic.java 8166162 generic-all | ||
585 | 28 | java/nio/channels/FileChannel/directio/DirectIOTest.java 8166162 generic-all | ||
586 | 29 | java/nio/channels/FileChannel/directio/ReadDirect.java 8166162 generic-all | ||
587 | 30 | java/nio/channels/FileChannel/directio/PreadDirect.java 8166162 generic-all | ||
588 | 31 | java/nio/channels/FileChannel/directio/PwriteDirect.java 8166162 generic-all | ||
589 | 32 | java/nio/channels/FileChannel/directio/WriteDirect.java 8166162 generic-all | ||
590 | 33 | |||
591 | 34 | # utf-8 locale is missing on build machine | ||
592 | 35 | # https://bugs.openjdk.org/browse/JDK-8249079 | ||
593 | 36 | |||
594 | 37 | java/lang/invoke/lambda/LambdaFileEncodingSerialization.java 8249079 generic-all | ||
595 | 38 | |||
596 | 39 | # disable scoped value (incubating feature) test pending investigation | ||
597 | 40 | |||
598 | 41 | jdk/incubator/concurrent/ScopedValue/StressStackOverflow.java 000000 generic-all | ||
599 | 42 | java/lang/ScopedValue/StressStackOverflow.java 000000 generic-all | ||
600 | 43 | |||
601 | 44 | # https://bugs.openjdk.org/browse/JDK-8309214 | ||
602 | 45 | sun/security/pkcs11/KeyStore/CertChainRemoval.java 000000 generic-all | ||
603 | diff --git a/debian/tests/problems-langtools.txt b/debian/tests/problems-langtools.txt | |||
604 | 0 | new file mode 100644 | 46 | new file mode 100644 |
605 | index 0000000..ea2e999 | |||
606 | --- /dev/null | |||
607 | +++ b/debian/tests/problems-langtools.txt | |||
608 | @@ -0,0 +1,24 @@ | |||
609 | 1 | # Wrong test environment in autopkgtest | ||
610 | 2 | # java.lang.IllegalStateException: Launching JShell execution engine threw: ERROR: transport error 202: getaddrinfo: failed to parse address | ||
611 | 3 | jdk/jshell/JdiListeningLocalhostExecutionControlTest.java 0000000 generic-all | ||
612 | 4 | |||
613 | 5 | # tests failing due to disable-doclint-by-default.diff | ||
614 | 6 | |||
615 | 7 | jdk/javadoc/doclet/testSupplementary/TestSupplementary.java 0000000 generic-all | ||
616 | 8 | jdk/javadoc/doclet/testPackageHtml/TestPackageHtml.java 0000000 generic-all | ||
617 | 9 | jdk/javadoc/doclet/testSummaryTag/TestSummaryTag.java 0000000 generic-all | ||
618 | 10 | jdk/javadoc/doclet/testStylesheet/TestStylesheet.java 0000000 generic-all | ||
619 | 11 | jdk/javadoc/doclet/testSeeTag/TestSeeTag.java 0000000 generic-all | ||
620 | 12 | jdk/javadoc/doclet/testRelativeLinks/TestRelativeLinks.java 0000000 generic-all | ||
621 | 13 | jdk/javadoc/doclet/testBadHtml/TestBadHtml.java 0000000 generic-all | ||
622 | 14 | jdk/javadoc/doclet/testParamTaglet/TestParamTaglet.java 0000000 generic-all | ||
623 | 15 | jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java 0000000 generic-all | ||
624 | 16 | jdk/javadoc/doclet/dupThrowsTags/TestDupThrowsTags.java 0000000 generic-all | ||
625 | 17 | jdk/javadoc/doclet/testLinkOption/TestLinkOption.java 0000000 generic-all | ||
626 | 18 | jdk/javadoc/doclet/T6735320/T6735320.java 0000000 generic-all | ||
627 | 19 | jdk/javadoc/doclet/testValueTag/TestValueTag.java 0000000 generic-all | ||
628 | 20 | jdk/javadoc/tool/modules/Modules.java 0000000 generic-all | ||
629 | 21 | jdk/javadoc/doclet/testWarnings/TestWarnings.java 0000000 generic-all | ||
630 | 22 | jdk/javadoc/doclet/testHtmlTableStyles/TestHtmlTableStyles.java 0000000 generic-all | ||
631 | 23 | jdk/javadoc/tool/doclint/DocLintTest.java 0000000 generic-all | ||
632 | 24 | jdk/javadoc/doclet/testBadPackageFileInJar/TestBadPackageFileInJar.java 0000000 generic-all | ||
633 | diff --git a/debian/tests/problems-s390x.txt b/debian/tests/problems-s390x.txt | |||
634 | 0 | new file mode 100644 | 25 | new file mode 100644 |
635 | index 0000000..9e66dd1 | |||
636 | --- /dev/null | |||
637 | +++ b/debian/tests/problems-s390x.txt | |||
638 | @@ -0,0 +1,3 @@ | |||
639 | 1 | # https://bugs.openjdk.org/browse/JDK-8309698 | ||
640 | 2 | runtime/NMT/VirtualAllocCommitMerge.java 000000 generic-all | ||
641 | 3 | |||
642 | diff --git a/debian/tests/write-problems b/debian/tests/write-problems | |||
643 | 0 | new file mode 100755 | 4 | new file mode 100755 |
644 | index 0000000..434378f | |||
645 | --- /dev/null | |||
646 | +++ b/debian/tests/write-problems | |||
647 | @@ -0,0 +1,25 @@ | |||
648 | 1 | #!/bin/bash | ||
649 | 2 | |||
650 | 3 | problem_list=$1 | ||
651 | 4 | upstream_problems=$2 | ||
652 | 5 | suite=$3 | ||
653 | 6 | |||
654 | 7 | cat ${upstream_problems} > ${problem_list} | ||
655 | 8 | |||
656 | 9 | if [[ -f debian/tests/problems-${suite}.txt ]]; then | ||
657 | 10 | cat debian/tests/problems-${suite}.txt >> ${problem_list} | ||
658 | 11 | fi | ||
659 | 12 | |||
660 | 13 | distrel=`lsb_release --codename --short` | ||
661 | 14 | if [[ -f debian/tests/problems-${distrel}.txt ]]; then | ||
662 | 15 | cat debian/tests/problems-${distrel}.txt >> ${problem_list} | ||
663 | 16 | fi | ||
664 | 17 | |||
665 | 18 | host_arch="${DEB_HOST_ARCH:-$(dpkg --print-architecture)}" | ||
666 | 19 | if [[ -f debian/tests/problems-${host_arch}.txt ]]; then | ||
667 | 20 | cat debian/tests/problems-${host_arch}.txt >> ${problem_list} | ||
668 | 21 | fi | ||
669 | 22 | |||
670 | 23 | if [[ -f debian/tests/problems-${distrel}-${host_arch}.txt ]]; then | ||
671 | 24 | cat debian/tests/problems-${distrel}-${host_arch}.txt >> ${problem_list} | ||
672 | 25 | fi |
Test results: ------- --cut-- ------- ------- ------- ------- ------- ------- -- tests/jtreg- autopkgtest. sh] nothing to cleanup doc/openjdk- 11-jre- headless/ /test-amd64/ jtreport- hotspot. tar.gz' does not exist. tests/jtreg- autopkgtest. sh] nothing to cleanup doc/openjdk- 11-jre- headless/ /test-amd64/ jtreport- hotspot. tar.gz' does not exist. tests/jtreg- autopkgtest. sh] nothing to cleanup doc/openjdk- 11-jre- headless/ /test-amd64/ jtreport- hotspot. tar.gz' does not exist. .DBus.Error. ServiceUnknown: The name org.a11y.Bus was not provided by any .service files tests/jtreg- autopkgtest. sh] nothing to cleanup doc/openjdk- 11-jre- headless/ /test-amd64/ jtreport- hotspot. tar.gz' does not exist. tests/jtreg- autopkgtest. sh] nothing to cleanup doc/openjdk- 11-jre- headless/ /test-amd64/ jtreport- hotspot. tar.gz' does not exist.
-------
Platform: amd64
--------------- jtreg console summary for hotspot ---------------
Test results: passed: 1,957
[debian/
Unable to compare jtreg results: no build jtreport found for hotspot/amd64.
Reason: '/usr/share/
--------------- jtreg console summary for langtools ---------------
Test results: passed: 3,926
[debian/
Unable to compare jtreg results: no build jtreport found for hotspot/amd64.
Reason: '/usr/share/
--------------- jtreg console summary for jaxp ---------------
Test results: passed: 443
[debian/
Unable to compare jtreg results: no build jtreport found for hotspot/amd64.
Reason: '/usr/share/
--------------- jtreg console summary for jdk ---------------
(xfwm4:455717): dbind-WARNING **: 21:24:00.875: AT-SPI: Error retrieving accessibility bus address: org.freedesktop
(xfwm4:455717): xfwm4-WARNING **: 21:24:01.544: Another compositing manager is running on screen 0
(xfwm4:455717): xfwm4-WARNING **: 21:24:01.546: Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
Test results: passed: 5,347
[debian/
Unable to compare jtreg results: no build jtreport found for hotspot/amd64.
Reason: '/usr/share/
Killed
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Command being timed: "/usr/bin/make -f debian/rules -k jtregcheck TEST_SUITES=hotspot langtools jaxp jdk JTREG_OPTIONS="
User time (seconds): 24601.38
System time (seconds): 1531.71
Percent of CPU this job got: 333%
Elapsed (wall clock) time (h:mm:ss or m:ss): 2:10:45
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 6547400
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 1288
Minor (reclaiming a frame) page faults: 343961120
Voluntary context switches: 47004675
Involuntary context switches: 29439813
Swaps: 0
File system inputs: 2310520
File system outputs: 68760264
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
--------------- jtreg console summary for hotspot ---------------
Test results: passed: 1,957
[debian/
Unable to compare jtreg results: no build jtreport found for hotspot/amd64.
Reason: '/usr/share/
--------------- jtreg console summary for langtools ---------------
Test results: passed: 3...