Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdk23 functional tests don't compile on Windows, related to OpenJCEPlus #20004

Closed
pshipton opened this issue Aug 15, 2024 · 6 comments · Fixed by adoptium/aqa-tests#5512
Closed
Assignees

Comments

@pshipton
Copy link
Member

Example link, none of sanity,extended,special functional testing compiles.
https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk23_j9_special.functional_x86-64_windows_testList_0/2

09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:202: error: cannot find symbol
09:51:40      [javac]         X509v1CertificateBuilder builder = new X509v1CertificateBuilder(issuer, BigInteger.ONE, validityBeginDate, validityEndDate,
09:51:40      [javac]         ^
09:51:40      [javac]   symbol:   class X509v1CertificateBuilder
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:202: error: cannot find symbol
09:51:40      [javac]         X509v1CertificateBuilder builder = new X509v1CertificateBuilder(issuer, BigInteger.ONE, validityBeginDate, validityEndDate,
09:51:40      [javac]                                                ^
09:51:40      [javac]   symbol:   class X509v1CertificateBuilder
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:205: error: cannot find symbol
09:51:40      [javac]         ContentSigner signer = new JcaContentSignerBuilder(null).setProvider(new BouncyCastleProvider())
09:51:40      [javac]         ^
09:51:40      [javac]   symbol:   class ContentSigner
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:205: error: cannot find symbol
09:51:40      [javac]         ContentSigner signer = new JcaContentSignerBuilder(null).setProvider(new BouncyCastleProvider())
09:51:40      [javac]                                    ^
09:51:40      [javac]   symbol:   class JcaContentSignerBuilder
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:207: error: cannot find symbol
09:51:40      [javac]         X509CertificateHolder holder = builder.build(signer);
09:51:40      [javac]         ^
09:51:40      [javac]   symbol:   class X509CertificateHolder
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:209: error: cannot find symbol
09:51:40      [javac]         JcaX509CertificateConverter converter = new JcaX509CertificateConverter()
09:51:40      [javac]         ^
09:51:40      [javac]   symbol:   class JcaX509CertificateConverter
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:40      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows_testList_0\aqa-tests\functional\OpenJcePlusTests\OpenJCEPlus\src\test\java\ibm\jceplus\junit\base\BaseTestRSAPSSSignature.java:209: error: cannot find symbol
09:51:40      [javac]         JcaX509CertificateConverter converter = new JcaX509CertificateConverter()
09:51:40      [javac]                                                     ^
09:51:40      [javac]   symbol:   class JcaX509CertificateConverter
09:51:40      [javac]   location: class BaseTestRSAPSSSignature
09:51:42      [javac] 12 errors
@pshipton pshipton added this to the Java 23 (0.47) milestone Aug 15, 2024
@pshipton pshipton added the jdk23 label Aug 15, 2024
@pshipton
Copy link
Member Author

@jasonkatonica @llxia pls take a look

@llxia
Copy link
Contributor

llxia commented Aug 16, 2024

DYNAMIC_COMPILE needs to be set to true for functional tests. In this case, we only compile what is needed.

@pshipton
Copy link
Member Author

pshipton commented Aug 16, 2024

Re-running with DYNAMIC_COMPILE and Lan to fix the pipeline so this is set in the future.

@llxia
Copy link
Contributor

llxia commented Aug 20, 2024

For now, we will regen all functional test builds on wins with DYNAMIC_COMPILE = true.
The issue will be fixed via adoptium/aqa-tests#5512

llxia added a commit to llxia/aqa-tests that referenced this issue Aug 20, 2024
related: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
@llxia
Copy link
Contributor

llxia commented Aug 20, 2024

JDK23 windows functional jobs are auto-generated (link)

llxia added a commit to llxia/aqa-tests that referenced this issue Aug 20, 2024
related: adoptium#5510
fixes: adoptium#5509
fixes: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
@pshipton
Copy link
Member Author

I'll go ahead and close this one then.

pshipton pushed a commit to adoptium/aqa-tests that referenced this issue Aug 20, 2024
related: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
smlambert pushed a commit to adoptium/aqa-tests that referenced this issue Aug 28, 2024
related: #5510
fixes: #5509
fixes: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
llxia added a commit to llxia/aqa-tests that referenced this issue Aug 28, 2024
pshipton pushed a commit to adoptium/aqa-tests that referenced this issue Aug 29, 2024
related: #5510
fixes: #5509
fixes: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
llxia added a commit to llxia/aqa-tests that referenced this issue Aug 29, 2024
LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this issue Aug 29, 2024
* Improve AQA_Test_Pipeline for release testing (#5512)

related: #5510
fixes: #5509
fixes: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>

* Limit FIPS functional testing on OpenJcePlusTests and security

related: backlog/issues/1494

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>

---------

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
llxia added a commit to llxia/aqa-tests that referenced this issue Sep 6, 2024
pshipton pushed a commit to adoptium/aqa-tests that referenced this issue Sep 6, 2024
related: #5510
fixes: #5509
fixes: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants