Details
-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b16
Description
com/oracle/security/ucrypto/TestAES.java fails intermittently
----------System.out:(46/1152)----------
AES/ECB/NoPadding: ENC Passed
AES/ECB/NoPadding: DEC Passed
AES/CBC/NoPadding: ENC Passed
AES/CBC/NoPadding: DEC Passed
AES/CFB128/NoPadding: ENC Passed
AES/CFB128/NoPadding: DEC Passed
AES/CTR/NoPadding: ENC Passed
AES/CTR/NoPadding: DEC Passed
CIPHER Interop Tests Passed
AES/ECB/PKCS5Padding: ENC Passed
AES/ECB/PKCS5Padding: DEC Passed
AES/CBC/PKCS5Padding: ENC Passed
AES/CBC/PKCS5Padding: DEC Passed
AES/CFB128/PKCS5Padding: ENC Passed
AES/CFB128/PKCS5Padding: DEC Passed
CIPHER Interop Tests Passed
Input offset size: 1
Input offset size: 2
Input offset size: 3
Input offset size: 4
Input offset size: 5
Input offset size: 6
Input offset size: 7
Input offset size: 8
Input offset size: 9
Input offset size: 10
Input offset size: 11
Input offset size: 12
Input offset size: 13
Input offset size: 14
CIPHER Offset Tests Passed
Input offset size: 1
DIFFERENT OUT LENGTH
Input offset size: 2
Input offset size: 3
Input offset size: 4
Input offset size: 5
Input offset size: 6
Input offset size: 7
Input offset size: 8
Input offset size: 9
Input offset size: 10
Input offset size: 11
Input offset size: 12
Input offset size: 13
Input offset size: 14
----------System.err:(16/948)----------
java.lang.RuntimeException: One or more CIPHER test failed!
at TestAES.testCipherOffset(TestAES.java:193)
at TestAES.doTest(TestAES.java:70)
at UcryptoTest.main(UcryptoTest.java:59)
at TestAES.main(TestAES.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
----------System.out:(46/1152)----------
AES/ECB/NoPadding: ENC Passed
AES/ECB/NoPadding: DEC Passed
AES/CBC/NoPadding: ENC Passed
AES/CBC/NoPadding: DEC Passed
AES/CFB128/NoPadding: ENC Passed
AES/CFB128/NoPadding: DEC Passed
AES/CTR/NoPadding: ENC Passed
AES/CTR/NoPadding: DEC Passed
CIPHER Interop Tests Passed
AES/ECB/PKCS5Padding: ENC Passed
AES/ECB/PKCS5Padding: DEC Passed
AES/CBC/PKCS5Padding: ENC Passed
AES/CBC/PKCS5Padding: DEC Passed
AES/CFB128/PKCS5Padding: ENC Passed
AES/CFB128/PKCS5Padding: DEC Passed
CIPHER Interop Tests Passed
Input offset size: 1
Input offset size: 2
Input offset size: 3
Input offset size: 4
Input offset size: 5
Input offset size: 6
Input offset size: 7
Input offset size: 8
Input offset size: 9
Input offset size: 10
Input offset size: 11
Input offset size: 12
Input offset size: 13
Input offset size: 14
CIPHER Offset Tests Passed
Input offset size: 1
DIFFERENT OUT LENGTH
Input offset size: 2
Input offset size: 3
Input offset size: 4
Input offset size: 5
Input offset size: 6
Input offset size: 7
Input offset size: 8
Input offset size: 9
Input offset size: 10
Input offset size: 11
Input offset size: 12
Input offset size: 13
Input offset size: 14
----------System.err:(16/948)----------
java.lang.RuntimeException: One or more CIPHER test failed!
at TestAES.testCipherOffset(TestAES.java:193)
at TestAES.doTest(TestAES.java:70)
at UcryptoTest.main(UcryptoTest.java:59)
at TestAES.main(TestAES.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
Attachments
Issue Links
- duplicates
-
JDK-8175137 com/oracle/security/ucrypto/TestAES.java fails intermittently
-
- Closed
-
- relates to
-
JDK-8173708 Re-enable AES cipher with CFB128 mode for Ucrypto provider
-
- Closed
-