The test/jdk/com/sun/crypto/provider/Cipher/AES/TestAesGcmIntrinsic.java is a new test being added in https://github.com/openjdk/jdk/pull/28363 for JDK-8371864.
On AVX512 enabled machines, the test fail rarely (2 out of 200 runs) with AEADBadTagException: Tag mismatch:
Caused by: javax.crypto.AEADBadTagException: Tag mismatch
at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1505)
at java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:402)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2320)
...
On AVX512 enabled machines, the test fail rarely (2 out of 200 runs) with AEADBadTagException: Tag mismatch:
Caused by: javax.crypto.AEADBadTagException: Tag mismatch
at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1505)
at java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:402)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2320)
...