Description of problem: There are test failures in S-RAMP 6.0.0.ER2 quickstarts: ER2: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.361 sec <<< FAILURE! Results : Tests in error: invokeOrderWebService(org.switchyard.quickstarts.demo.multiapp.service.WebServiceTest): java.lang.NullPointerException Test mechanism: Connection manager has been shut down Tests run: 7, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] S-RAMP Demos: Switchyard Multi App Deployment ..... SUCCESS [0.797s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Service Artifacts SUCCESS [1.498s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Order Service FAILURE [12.290s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Order Consumer SKIPPED [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Web App SKIPPED early ER3: Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.974 sec <<< FAILURE! Results : Failed tests: invokeOrderWebService(org.switchyard.quickstarts.demo.multiapp.service.WebServiceTest): org.custommonkey.xmlunit.Diff(..) Tests run: 6, Failures: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] S-RAMP Demos: Switchyard Multi App Deployment ..... SUCCESS [0.680s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Service Artifacts SUCCESS [1.430s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Order Service FAILURE [12.199s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Order Consumer SKIPPED [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Web App SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.101s [INFO] Finished at: Wed Sep 18 15:30:47 CEST 2013 [INFO] Final Memory: 77M/600M [INFO] ------------------------------------------------------------------------ Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install and run FSW + S-RAMP 6.0.0.ER2/ER3 2. execute mvn clean install -Dmaven.skip.tests=false in the s-ramp quickstart(s) 3. Actual results: Expected results: Additional info:
Hi Stephan, The tests all pass when I run in the '0.3.0.Final-prod-ip6.0' branch in the s-ramp-distro/s-ramp-distro-assembly/s-ramp-demos/s-ramp-demos-switchyard-multiapp: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] S-RAMP Demos: Switchyard Multi App Deployment ..... SUCCESS [0.193s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Service Artifacts SUCCESS [2.299s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Order Service SUCCESS [8.697s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Order Consumer SUCCESS [1.714s] [INFO] S-RAMP Demos: Switchyard Multi App Deployment - Web App SUCCESS [1.182s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.964s [INFO] Finished at: Wed Sep 25 17:36:56 EDT 2013 [INFO] Final Memory: 31M/81M I'm happy to help if you give me the instructions on how to build the FSW installer. I'm thinking something goes missing from the this demo when it is copied over. --Kurt
Please, have a look at what I did: http://pastebin.test.redhat.com/166373
Ah it is not activating the 'demo' profile and is trying to do an actual deploy; it seems a release even. This *should* be fixed on ER4.
Nick just told me for FSW switchyard 1.1.0M3 is used. Which causes the failure. I will have to update the example so it works with this version. The project uses 0.8.0.Final.
Fix should be in the the ER4-2 tag for the s-ramp-distro
Note that we have the same issue in a DTGov demo. Addressing this too.
Actually it doesn't. That demo is ok; I'm still updating it to use 1.0.0 but I'm not adding a new tag for unless someone tells me otherwise.
Verified in FSW 6.0.0.ER4