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

jtreg-wrappers: Limit BC test variants to linux and windows #18

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

zzambers
Copy link
Collaborator

@zzambers zzambers commented Nov 7, 2023

Even with sed fix, there is still some other problem (exception) on MacOS in BC (BouncyCastle) variant:

Error: Exception in thread "main" java.io.IOException: keystore password was incorrect
	at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2116)
	at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:222)
	at java.base/java.security.KeyStore.load(KeyStore.java:1479)
	at SSLSocketTester.loadKeystore(SSLSocketTester.java:148)
	at SSLSocketTester.getKeyManagers(SSLSocketTester.java:123)
	at SSLSocketTester.init(SSLSocketTester.java:94)
	at Main.main(Main.java:29)
Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
	... 7 more

As debugging problems with only GHA, without access to physical machine, is clumsy and time consuming, I am not going to dig into it right now and rather limit jtreg-wrappers to run BC variants only on Linux and Windows. Jtreg-wrappers still run ssl-tests in basic configuration on MacOS.

@zzambers zzambers merged commit 8d704a7 into rh-openjdk:master Nov 7, 2023
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant