Details
-
Epic
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
0
-
0%
-
0
-
0%
Description
We can see some failures in
https://fusesource-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Productization%20Tests/job/fuse-productization-tests-cxf/22/
exception is java.io.IOException: Could not load keystore resource keys/servicestore.jks at org.apache.cxf.transport.http.netty.client.integration.SSLNettyClientTest.start(SSLNettyClientTest.java:69) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpj:engine#5357c287': Cannot create inner bean '(inner bean)#21c64522' of type [org.apache.cxf.configuration.jsse.TLSServerParametersConfig] while setting bean property 'tlsServerParameters'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#21c64522': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.cxf.configuration.jsse.TLSServerParametersConfig]: Constructor threw exception; nested exception is java.io.IOException: Could not load keystore resource keys/servicestore.jks at org.apache.cxf.transport.http.netty.client.integration.SSLNettyClientTest.start(SSLNettyClientTest.java:69) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#21c64522': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.cxf.configuration.jsse.TLSServerParametersConfig]: Constructor threw exception; nested exception is java.io.IOException: Could not load keystore resource keys/servicestore.jks at org.apache.cxf.transport.http.netty.client.integration.SSLNettyClientTest.start(SSLNettyClientTest.java:69) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.cxf.configuration.jsse.TLSServerParametersConfig]: Constructor threw exception; nested exception is java.io.IOException: Could not load keystore resource keys/servicestore.jks at org.apache.cxf.transport.http.netty.client.integration.SSLNettyClientTest.start(SSLNettyClientTest.java:69) Caused by: java.io.IOException: Could not load keystore resource keys/servicestore.jks at org.apache.cxf.transport.http.netty.client.integration.SSLNettyClientTest.start(SSLNettyClientTest.java:69) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] SSLNettyClientTest.start:69->AbstractBusClientServerTestBase.createStaticBus:61 ยป Runtime [INFO] [ERROR] Tests run: 7, Failures: 0, Errors: 1, Skipped: 0 [INFO] [ERROR] There are test failures.
This is caused by that in CXF, private keys/certs used for later test is built in testutils module, and all private keys/certs are packaged into cxf-testutils-${version}-keys.jar when install goal is executed. So we need to add install goal in fuse-jenkins-pipelines/productization/productization-tests/cxf/Jenkinsfile