-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rainer,
On 1/6/19 10:09, Rainer Jung wrote: > Hi Chris, > > Am 05.01.2019 um 22:25 schrieb Christopher Schultz: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >> >> All, >> >> Hmm... this my fault. The EncryptInterceptor tests pass on my >> local machine but not on the buildbot server, apparently. >> >> How can I get the log file from the test failure? junit's stdout >> isn't enough. > > Not the answer to your question, but the test fails for me as well > - if I run them using Java 7. For 8 they run fine. > > Errors with Java 7 (same errors for all three connectors, I get > the errors on Solaris and eg. on RHEL 7 using Oracle HotSpot JDK > 1.7.80): > > Testsuite: > org.apache.catalina.tribes.group.interceptors.TestEncryptInterceptor > > Tests run: 18, Failures: 0, Errors: 3, Skipped: 2, Time elapsed: 2.375 s ec > ------------- Standard Error ----------------- 06-Jan-2019 > 15:20:11.215 SEVERE [main] > org.apache.catalina.tribes.group.interceptors.EncryptInterceptor.sendM essage > > Failed to encrypt message > 06-Jan-2019 15:20:11.252 SEVERE [main] > org.apache.catalina.tribes.group.interceptors.EncryptInterceptor.sendM essage > > Failed to encrypt message > File message.bin does not exist. Skipping test. ------------- > ---------------- --------------- > > Testcase: test192BitKey took 1.281 sec Caused an ERROR > java.security.InvalidKeyException: Illegal key size; No faulty > members identified. org.apache.catalina.tribes.ChannelException: > java.security.InvalidKeyException: Illegal key size; No faulty > members identified. Oh... I'll bet that's a problem with the "limited crypto" garbage. I can skip the test if the keys are too long. I'll add that. > Caused by: java.security.NoSuchAlgorithmException: Unsupported mode > GCM at > sun.security.pkcs11.P11Cipher.engineSetMode(P11Cipher.java:202) at > javax.crypto.Cipher$Transform.setModePadding(Cipher.java:362) at > javax.crypto.Cipher.getInstance(Cipher.java:522) Right, also lack of GCM in older JVMs. I can detect-and-skip that test, too. > The first two errors can be fixed by installing the "Java > Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy > Files" for Java 7. The third one is probably due to the use of an > algorithm that's simply not available for the latest free Java 7. > > Probably the build slave observed the same problem(s). Thanks for the analysis. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlwySWYACgkQHPApP6U8 pFhHsBAAqemJdrmVnudsINKmxoDQuY7vz2Zo5JWNrnaUJDM08A4MGGKCka5D0RNT Fd9LIYMRU2LRPNQECupf2idXLwYkCpwvihtqAImuydnyPPxPKXrqOlGB+Dr1rb5C YMBoPUVhohFiT7BrSal5aNw0X9OvRh5KxhK3tPUuFKmTuF0EWT9sxYPWr0EQq3tN OgN8fkRYcrU0Hst2I72ANpeCRnxcIdDFpxDrvRtucxlboJCE3BU4UmqXw8bOqz0G gNowHnRKgZ1Yn/OasNGDFypDsiucIyFyR53zbVuBFFSxj+hPOtbozxzSTBdqjNPX sfQ48d5hzRLcktYJ86ROaEor039xnMXnFr/IvkNiWHrBdnszzM9CpGzos/FINWIw RGszmyBop+Vttt0ofmR3cjxjP53Ap4JVUv3YNTDrUDPCswcGgGM8SbG8lcSVh3wc 0CEgWenfZuzQQQGQCVdygdaa3r1I2QAzF7OAUSzMmQUHwa4J1rufaI71/eInWhJW svLc8cOltCdTcPuEUCcM5Mr33XG3WsL4lmWJmCvq009jewLzoru+sj9Q5SLPcX8N Bpb/gGycyby/Ox/XC8Qez+mOMZ5Gt+CdKBeNW7PXoPqdj6E9zzO9TUavfkUHtdMl DgdGnAkFIGZx3gVIOznz/v3A0PGvx1ukMzgTPq9gOb5+UQvqN9E= =i5Oy -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org