diff --git a/external/common_functions.sh b/external/common_functions.sh index c8eb12ba85..0ff9f09316 100755 --- a/external/common_functions.sh +++ b/external/common_functions.sh @@ -14,7 +14,7 @@ # # Supported versions -supported_versions="8 11 17" +supported_versions="8 11 17 21 22" # Supported JVMs supported_jvms="hotspot openj9" diff --git a/openjdk/excludes/ProblemList_openjdk11-openj9.txt b/openjdk/excludes/ProblemList_openjdk11-openj9.txt index 5d2499d576..c1b29a350b 100644 --- a/openjdk/excludes/ProblemList_openjdk11-openj9.txt +++ b/openjdk/excludes/ProblemList_openjdk11-openj9.txt @@ -51,6 +51,7 @@ java/lang/String/CaseConvertSameInstance.java https://github.com/eclipse-openj9/ java/lang/String/CaseInsensitiveComparator.java https://github.com/eclipse-openj9/openj9/issues/6665 generic-all java/lang/String/CompactString/IndexOf.java https://github.com/eclipse-openj9/openj9/issues/6673 generic-all java/lang/String/EqualsIgnoreCase.java https://github.com/eclipse-openj9/openj9/issues/6666 generic-all +java/lang/StringBuilder/HugeCapacity.java https://github.com/eclipse-openj9/openj9/issues/17323 linux-s390x java/lang/System/Logger/custom/CustomLoggerTest.java https://github.com/eclipse-openj9/openj9/issues/6674 generic-all java/lang/System/Logger/default/DefaultLoggerTest.java https://github.com/eclipse-openj9/openj9/issues/6674 generic-all java/lang/System/LoggerFinder/BaseLoggerFinderTest/BaseLoggerFinderTest.java https://github.com/eclipse-openj9/openj9/issues/6674 generic-all @@ -306,16 +307,6 @@ sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java https://gith # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/GoogleCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - - ############################################################################ # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk11.txt b/openjdk/excludes/ProblemList_openjdk11.txt index da17ac7714..281c4456fd 100644 --- a/openjdk/excludes/ProblemList_openjdk11.txt +++ b/openjdk/excludes/ProblemList_openjdk11.txt @@ -214,15 +214,6 @@ sun/security/pkcs11/Secmod/AddTrustedCert.java https://github.com/adoptium/aqa-t # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/GoogleCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ############################################################################ # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk17-openj9.txt b/openjdk/excludes/ProblemList_openjdk17-openj9.txt index 2724ab6941..c7d9cc73f1 100644 --- a/openjdk/excludes/ProblemList_openjdk17-openj9.txt +++ b/openjdk/excludes/ProblemList_openjdk17-openj9.txt @@ -1,3 +1,5 @@ + + ############################################################################ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -337,15 +339,6 @@ sun/security/krb5/auto/NoAddresses.java https://github.com/adoptium/aqa-tests/is # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/GoogleCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ###################################################################################################### # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk17.txt b/openjdk/excludes/ProblemList_openjdk17.txt index cff85c677f..85586c4c7a 100644 --- a/openjdk/excludes/ProblemList_openjdk17.txt +++ b/openjdk/excludes/ProblemList_openjdk17.txt @@ -230,15 +230,6 @@ sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java https://github.com/adoptium/aq # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/GoogleCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ######################################################################################################################################################## # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk21-openj9.txt b/openjdk/excludes/ProblemList_openjdk21-openj9.txt index 7d3a4d7f38..11e9daba31 100644 --- a/openjdk/excludes/ProblemList_openjdk21-openj9.txt +++ b/openjdk/excludes/ProblemList_openjdk21-openj9.txt @@ -349,10 +349,6 @@ java/security/SecureRandom/ApiTest.java https://github.com/eclipse-openj9/openj9 java/security/SecureRandom/EnoughSeedTest.java https://github.com/eclipse-openj9/openj9/issues/16734 windows-all java/security/Signature/ResetAfterException.java https://github.com/eclipse-openj9/openj9/issues/12807 windows-all java/security/Signature/SignatureLength.java https://github.com/eclipse-openj9/openj9/issues/12807 windows-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all ############################################################################ @@ -402,16 +398,6 @@ sun/security/krb5/auto/Cleaners.java https://github.com/eclipse-openj9/openj9/is # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/GoogleCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ######################################################################################################################################################## # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk21.txt b/openjdk/excludes/ProblemList_openjdk21.txt index bc60e2b000..0bc0f040dd 100644 --- a/openjdk/excludes/ProblemList_openjdk21.txt +++ b/openjdk/excludes/ProblemList_openjdk21.txt @@ -283,16 +283,6 @@ sun/security/krb5/auto/Cleaners.java https://github.com/adoptium/aqa-tests/issue # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/GoogleCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ############################################################################ # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk22-openj9.txt b/openjdk/excludes/ProblemList_openjdk22-openj9.txt index 2dd79e495a..3cf454ef32 100644 --- a/openjdk/excludes/ProblemList_openjdk22-openj9.txt +++ b/openjdk/excludes/ProblemList_openjdk22-openj9.txt @@ -350,10 +350,6 @@ java/security/SecureRandom/ApiTest.java https://github.com/eclipse-openj9/openj9 java/security/SecureRandom/EnoughSeedTest.java https://github.com/eclipse-openj9/openj9/issues/16734 windows-all java/security/Signature/ResetAfterException.java https://github.com/eclipse-openj9/openj9/issues/12807 windows-all java/security/Signature/SignatureLength.java https://github.com/eclipse-openj9/openj9/issues/12807 windows-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all ############################################################################ @@ -403,15 +399,6 @@ sun/security/krb5/auto/Cleaners.java https://github.com/eclipse-openj9/openj9/is # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ######################################################################################################################################################## # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk22.txt b/openjdk/excludes/ProblemList_openjdk22.txt index b1f71e8fa6..afb9b19e32 100644 --- a/openjdk/excludes/ProblemList_openjdk22.txt +++ b/openjdk/excludes/ProblemList_openjdk22.txt @@ -260,8 +260,6 @@ java/nio/channels/DatagramChannel/PromiscuousIPv6.java https://github.com/adopti # jdk_security -sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java https://github.com/adoptium/aqa-tests/issues/3811 windows-x86 - ############################################################################ # jdk_security3 @@ -282,15 +280,6 @@ sun/security/krb5/auto/Cleaners.java https://github.com/adoptium/aqa-tests/issue # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ############################################################################ # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk23-openj9.txt b/openjdk/excludes/ProblemList_openjdk23-openj9.txt index 2dd79e495a..3cf454ef32 100644 --- a/openjdk/excludes/ProblemList_openjdk23-openj9.txt +++ b/openjdk/excludes/ProblemList_openjdk23-openj9.txt @@ -350,10 +350,6 @@ java/security/SecureRandom/ApiTest.java https://github.com/eclipse-openj9/openj9 java/security/SecureRandom/EnoughSeedTest.java https://github.com/eclipse-openj9/openj9/issues/16734 windows-all java/security/Signature/ResetAfterException.java https://github.com/eclipse-openj9/openj9/issues/12807 windows-all java/security/Signature/SignatureLength.java https://github.com/eclipse-openj9/openj9/issues/12807 windows-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all ############################################################################ @@ -403,15 +399,6 @@ sun/security/krb5/auto/Cleaners.java https://github.com/eclipse-openj9/openj9/is # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ######################################################################################################################################################## # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk23.txt b/openjdk/excludes/ProblemList_openjdk23.txt index b1f71e8fa6..3591fc88f2 100644 --- a/openjdk/excludes/ProblemList_openjdk23.txt +++ b/openjdk/excludes/ProblemList_openjdk23.txt @@ -282,15 +282,6 @@ sun/security/krb5/auto/Cleaners.java https://github.com/adoptium/aqa-tests/issue # jdk_security_infra -security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java https://bugs.openjdk.org/browse/JDK-8309088 generic-all -security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/EntrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all -security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java https://github.com/adoptium/aqa-tests/issues/2074 generic-all - ############################################################################ # jdk_sound diff --git a/openjdk/excludes/ProblemList_openjdk8-openj9.txt b/openjdk/excludes/ProblemList_openjdk8-openj9.txt index 61cdc6c63a..06de758615 100644 --- a/openjdk/excludes/ProblemList_openjdk8-openj9.txt +++ b/openjdk/excludes/ProblemList_openjdk8-openj9.txt @@ -34,6 +34,7 @@ java/lang/SecurityManager/CheckPackageAccess.java https://github.com/eclipse-op java/lang/String/CaseConvertSameInstance.java https://github.com/eclipse-openj9/openj9/issues/3303 generic-all java/lang/String/CaseInsensitiveComparator.java https://github.com/eclipse-openj9/openj9/issues/1128 generic-all java/lang/StringBuilder/Exceptions.java https://github.com/eclipse-openj9/openj9/issues/1128 generic-all +java/lang/StringBuilder/HugeCapacity.java https://github.com/eclipse-openj9/openj9/issues/17323 linux-s390x java/lang/StringBuilder/Supplementary.java https://github.com/eclipse-openj9/openj9/issues/5315 linux-s390x java/lang/StringBuffer/Exceptions.java https://github.com/eclipse-openj9/openj9/issues/1128 generic-all java/lang/StringBuffer/TestSynchronization.java https://github.com/eclipse-openj9/openj9/issues/1128 generic-all diff --git a/openjdk/openjdk.mk b/openjdk/openjdk.mk index 13cbe06b7b..3f75b82c20 100644 --- a/openjdk/openjdk.mk +++ b/openjdk/openjdk.mk @@ -16,10 +16,11 @@ NPROCS:=1 MEMORY_SIZE:=1024 OS:=$(shell uname -s) +ARCH:=$(shell uname -m) ifeq ($(OS),Linux) NPROCS:=$(shell grep -c ^processor /proc/cpuinfo) - MEMORY_SIZE:=$(shell KMEMMB=`awk '/^MemTotal:/{print int($$2/1024)}' /proc/meminfo`; if [ -r /sys/fs/cgroup/memory/memory.limit_in_bytes ]; then CGMEM=`cat /sys/fs/cgroup/memory/memory.limit_in_bytes`; else CGMEM=`expr $${KMEMMB} \* 1024`; fi; CGMEMMB=`expr $${CGMEM} / 1048576`; if [ "$${KMEMMB}" -lt "$${CGMEMMB}" ]; then echo "$${KMEMMB}"; else echo "$${CGMEMMB}"; fi) + MEMORY_SIZE:=$(shell KMEMMB=`awk '/^MemTotal:/{print int($$2/1024)}' /proc/meminfo`; if [ -r /sys/fs/cgroup/memory/memory.limit_in_bytes ]; then CGMEM=`cat /sys/fs/cgroup/memory/memory.limit_in_bytes`; else CGMEM=`expr $${KMEMMB} \* 1024`; fi; CGMEMMB=`expr $${CGMEM} / 1024`; if [ "$${KMEMMB}" -lt "$${CGMEMMB}" ]; then echo "$${KMEMMB}"; else echo "$${CGMEMMB}"; fi) endif ifeq ($(OS),Darwin) NPROCS:=$(shell sysctl -n hw.ncpu) @@ -46,7 +47,7 @@ endif # Upstream OpenJDK, roughly, sets concurrency based on the # following: min(NPROCS/2, MEM_IN_GB/2). MEM := $(shell expr $(MEMORY_SIZE) / 2048) -CORE := $(shell expr $(NPROCS) / 2) +CORE := $(shell expr $(NPROCS) / 2 + 1) CONC := $(CORE) ifeq ($(shell expr $(CORE) \> $(MEM)), 1) CONC := $(MEM) @@ -97,6 +98,11 @@ ifeq ($(libcVendor),musl) JTREG_KEY_OPTIONS := -k:'!headful' VMOPTION_HEADLESS := -Djava.awt.headless=true endif +# RISC-V is built in headless mode for now. See https://github.com/adoptium/ci-jenkins-pipelines/pull/867 +ifeq ($(ARCH),riscv64) + JTREG_KEY_OPTIONS := -k:'!headful' + VMOPTION_HEADLESS := -Djava.awt.headless=true +endif JTREG_BASIC_OPTIONS += $(JTREG_KEY_OPTIONS) # set JTREG_BASIC_OPTIONS value into a new parameter before adding EXTRA_JTREG_OPTIONS diff --git a/openjdk/playlist.xml b/openjdk/playlist.xml index 7da40217b4..045d7b9ec4 100644 --- a/openjdk/playlist.xml +++ b/openjdk/playlist.xml @@ -25,7 +25,7 @@ $(FULLPATH_JDK_CUSTOM_TARGET); \ $(TEST_STATUS) - extended + special openjdk @@ -54,7 +54,7 @@ $(Q)$(JTREG_LANGTOOLS_TEST_DIR)$(D)$(LANGTOOLS_CUSTOM_TARGET)$(Q); \ $(TEST_STATUS) - extended + special openjdk @@ -110,7 +110,7 @@ $(FULLPATH_HOTSPOT_CUSTOM_TARGET); \ $(TEST_STATUS) - extended + special openjdk @@ -1877,6 +1877,9 @@ openj9 fips140_2 + + https://github.com/adoptium/aqa-tests/issues/4808 + Mode150 @@ -1898,15 +1901,38 @@ extended - - hotspot - openj9 - ibm - openjdk + + jdk_security_infra_zos + + Mode150 + Mode650 + Mode1000 + + $(JAVA_COMMAND) -Xmx512m -jar $(Q)$(TEST_RESROOT)$(D)jtreg$(D)lib$(D)jtreg.jar$(Q) \ + $(JTREG_BASIC_OPTIONS) $(JDK_NATIVE_OPTIONS) -vmoptions:$(Q)-Xmx512m $(JVM_OPTIONS) $(VMOPTION_HEADLESS)$(Q) \ + $(TIMEOUT_HANDLER) \ + -w $(Q)$(REPORTDIR)$(D)work$(Q) \ + -r $(Q)$(REPORTDIR)$(D)report$(Q) \ + -jdk:$(Q)$(TEST_JDK_HOME)$(Q) \ + -exclude:$(Q)$(JTREG_JDK_TEST_DIR)$(D)ProblemList.txt$(Q) \ + -exclude:$(Q)$(TEST_RESROOT)$(D)$(PROBLEM_LIST_FILE)$(Q) \ + ${FEATURE_PROBLEM_LIST_FILE} \ + ${VENDOR_PROBLEM_LIST_FILE} \ + $(Q)$(JTREG_JDK_TEST_DIR):jdk_security_infra$(Q); \ + $(TEST_STATUS) + + extended + + os.zos + + openjdk + + + jdk_native_sanity