Skip to content

Commit e7793b1

Browse files
committed
[Backport] 8334441: Mark tests in jdk_security_infra group as manual
Summary: make ca related tests manual to avoid ci failure Testing: ci pipeline Reviewers: lvfei, yangyi Issue: #669
1 parent 419cf4b commit e7793b1

File tree

8 files changed

+101
-97
lines changed

8 files changed

+101
-97
lines changed

jdk/test/TEST.groups

+2
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ jdk_security = \
179179
:jdk_security3 \
180180
:jdk_security4
181181

182+
# Tests in this group are manual as they depend on external infra
183+
# and may fail with external reasons, for instance - change in CA test portal.
182184
jdk_security_infra = \
183185
security/infra/java/security/cert/CertPathValidator/certification \
184186
sun/security/lib/cacerts

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java

+81-79
Large diffs are not rendered by default.

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/CertignaCA.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,8 +26,8 @@
2626
* @bug 8245654 8256895
2727
* @summary Interoperability tests with Certigna Root CAs from Dhimyotis
2828
* @build ValidatePathWithParams
29-
* @run main/othervm -Djava.security.debug=certpath CertignaCA OCSP
30-
* @run main/othervm -Djava.security.debug=certpath CertignaCA CRL
29+
* @run main/othervm/manual -Djava.security.debug=certpath CertignaCA OCSP
30+
* @run main/othervm/manual -Djava.security.debug=certpath CertignaCA CRL
3131
*/
3232
public class CertignaCA {
3333
// Owner: CN=Certigna Services CA, OID.2.5.4.97=NTRFR-48146308100036,

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -27,8 +27,8 @@
2727
* @summary Interoperability tests with "D-Trust Root Class 3 CA 2 2009" and
2828
* "D-Trust Root Class 3 CA 2 EV 2009" CAs
2929
* @build ValidatePathWithParams
30-
* @run main/othervm -Djava.security.debug=certpath DTrustCA OCSP
31-
* @run main/othervm -Djava.security.debug=certpath DTrustCA CRL
30+
* @run main/othervm/manual -Djava.security.debug=certpath DTrustCA OCSP
31+
* @run main/othervm/manual -Djava.security.debug=certpath DTrustCA CRL
3232
*/
3333
public class DTrustCA {
3434

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/DigicertCSRootG5.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,8 +26,8 @@
2626
* @bug 8318759
2727
* @summary Interoperability tests with Digicert CS Root G5 certificates
2828
* @build ValidatePathWithParams
29-
* @run main/othervm -Djava.security.debug=ocsp,certpath DigicertCSRootG5 OCSP
30-
* @run main/othervm -Djava.security.debug=certpath DigicertCSRootG5 CRL
29+
* @run main/othervm/manual -Djava.security.debug=ocsp,certpath DigicertCSRootG5 OCSP
30+
* @run main/othervm/manual -Djava.security.debug=certpath DigicertCSRootG5 CRL
3131
*/
3232

3333
public class DigicertCSRootG5 {

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/EmSignRootG2CA.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,8 +26,8 @@
2626
* @bug 8319187
2727
* @summary Interoperability tests with eMudhra emSign Root CA G2 CS root
2828
* @build ValidatePathWithParams
29-
* @run main/othervm -Djava.security.debug=certpath EmSignRootG2CA OCSP
30-
* @run main/othervm -Djava.security.debug=certpath EmSignRootG2CA CRL
29+
* @run main/othervm/manual -Djava.security.debug=certpath EmSignRootG2CA OCSP
30+
* @run main/othervm/manual -Djava.security.debug=certpath EmSignRootG2CA CRL
3131
*/
3232

3333
public class EmSignRootG2CA {

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,8 +26,8 @@
2626
* @bug 8256421
2727
* @summary Interoperability tests with Harica CAs
2828
* @build ValidatePathWithParams
29-
* @run main/othervm -Djava.security.debug=certpath HaricaCA OCSP
30-
* @run main/othervm -Djava.security.debug=certpath HaricaCA CRL
29+
* @run main/othervm/manual -Djava.security.debug=certpath HaricaCA OCSP
30+
* @run main/othervm/manual -Djava.security.debug=certpath HaricaCA CRL
3131
*/
3232

3333
/*

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,8 +26,8 @@
2626
* @bug 8232019
2727
* @summary Interoperability tests with LuxTrust Global Root 2 CA
2828
* @build ValidatePathWithParams
29-
* @run main/othervm -Djava.security.debug=certpath LuxTrustCA OCSP
30-
* @run main/othervm -Djava.security.debug=certpath LuxTrustCA CRL
29+
* @run main/othervm/manual -Djava.security.debug=certpath LuxTrustCA OCSP
30+
* @run main/othervm/manual -Djava.security.debug=certpath LuxTrustCA CRL
3131
*/
3232

3333
/*

0 commit comments

Comments
 (0)