See <http://jenkins.buildacloud.org/job/build-master-noredist/3415/changes>
Changes: [Rohit Yadav] SAML2: add saml sso and slo apicmds skeleton, add classes to AuthManager [Rohit Yadav] server: add opensaml as dependency [Rohit Yadav] SAML: WIP redirections work now [Rohit Yadav] ApiServer: change loginUser method signature to return ResponseObject [Rohit Yadav] DefaultLoginAPIAuthenticatorCmd: move createLoginResponse to ApiServer [Rohit Yadav] SAML2LoginAPIAuthenticatorCmd: Implement SAML SSO using HTTP Redirect binding [Rohit Yadav] ApiServlet: Fix NPE while inserting to auditTrail [Rohit Yadav] ui: Unbox extra quotes from sessionKey cookie value [Rohit Yadav] SAML2LoginAPIAuthenticatorCmd: Set all necessary cookies and redirect to UI [Rohit Yadav] Minor fixes [Rohit Yadav] ui: refactor and use a unified unboxing helping method in cloudStack.js [Rohit Yadav] utils: refactor and aggregate methods in SAMLUtils [Rohit Yadav] Maven: add opensaml 2.6.1 version id in pom.xml [Rohit Yadav] saml: move refactor files from server to api module [Rohit Yadav] api: fix refactored ApiServerService interface to api [Rohit Yadav] api: Add PluggableAPIAuthenticator interface [Rohit Yadav] core: Add registry and beans in spring registry for PluggableAPIAuthenticator [Rohit Yadav] saml2: Implement SAML2AuthServiceImpl which is a PluggableAPIAuthenticator [Rohit Yadav] server: fix server package after auth plugin refactor [Rohit Yadav] saml2: Fix plugin after refactoring [Rohit Yadav] ApiServer: Fix imports order, use org.apache.cloudstack.api.ApiServerService [Rohit Yadav] saml: Implement SAML2AuthManager interface [Rohit Yadav] server: Add SAML related config params in Config [Rohit Yadav] utils: Remove hard coded strings from SAMLUtils [Rohit Yadav] saml: Have the plugin use IDP metadata from URL, get values from Config [Rohit Yadav] server: Add IDP entity ID config param [Rohit Yadav] SAMLUtils: leave bootstrapping to upper layers [Rohit Yadav] api: add method to pass on api authenticators to cmd classes [Rohit Yadav] saml: Implement logic to check response against X509 keys [Rohit Yadav] saml2: Add GetServiceProviderMetaDataCmd that returns SP metadata XML [Rohit Yadav] client: add getSPMetadata API in commands.properties [Rohit Yadav] utils: fix SAMLUtils's authnrequest maker [Rohit Yadav] apidocs: add entry for getSPMetaData [Rohit Yadav] Config: add config for saml user account, domain and redirected URL to ACS UI [Rohit Yadav] saml: use values from config for user account, domain and redirected url [Rohit Yadav] SAMLUtils: add logout request utility for saml slo [Rohit Yadav] SAML2LoginAPIAuthenticatorCmd: store nameid and session index in user's session [Rohit Yadav] SAML2LogoutAPIAuthenticatorCmd: implement single log out [Rohit Yadav] SAML2UserAuthenticator: check that request params has SAMLResponse [Rohit Yadav] saml: use SAML_RESPONSE from SAMLUtils [Rohit Yadav] SAMLUtils: Create new NameID using passed nameId taking just id and session idx [Rohit Yadav] SAML2LogoutAPIAuthenticatorCmd: check logout response and redirect to UI [Rohit Yadav] SAMLUtils: add unit test for SAMLUtils and method to randomly generate X509 certs [Rohit Yadav] saml: Add unit tests for saml plugin [Rohit Yadav] SAML2LogoutAPIAuthenticatorCmd: if session is null, redirect to login page [Rohit Yadav] utils: fix static certificate value string in SAMLUtils [Rohit Yadav] server: add config to enable/disable SAML SSO/SLO plugin [Rohit Yadav] saml: fix tests and update method signature that generates random certs [Rohit Yadav] saml: disable plugin by default and don't initiate if not enabled [Rohit Yadav] SAML2LoginAPIAuthenticatorCmdTest: Add missing license ------------------------------------------ [...truncated 7467 lines...] [INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/build-master-noredist/ws/vmware-base/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-vmware-base --- [INFO] Compiling 2 source files to <http://jenkins.buildacloud.org/job/build-master-noredist/ws/vmware-base/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-vmware-base --- [INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-master-noredist/ws/vmware-base/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-vmware-base --- [INFO] Building jar: <http://jenkins.buildacloud.org/job/build-master-noredist/ws/vmware-base/target/cloud-vmware-base-4.5.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-vmware-base --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-vmware-base --- [INFO] Installing <http://jenkins.buildacloud.org/job/build-master-noredist/ws/vmware-base/target/cloud-vmware-base-4.5.0-SNAPSHOT.jar> to /jenkins/.m2/repository/org/apache/cloudstack/cloud-vmware-base/4.5.0-SNAPSHOT/cloud-vmware-base-4.5.0-SNAPSHOT.jar [INFO] Installing <http://jenkins.buildacloud.org/job/build-master-noredist/ws/vmware-base/pom.xml> to /jenkins/.m2/repository/org/apache/cloudstack/cloud-vmware-base/4.5.0-SNAPSHOT/cloud-vmware-base-4.5.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Plugin - Hypervisor VMware 4.5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-plugin-hypervisor-vmware --- [INFO] Deleting <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-plugin-hypervisor-vmware --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-plugin-hypervisor-vmware --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-plugin-hypervisor-vmware --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-plugin-hypervisor-vmware --- [INFO] Compiling 51 source files to <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-plugin-hypervisor-vmware --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-plugin-hypervisor-vmware --- [INFO] Compiling 3 source files to <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-plugin-hypervisor-vmware --- [INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.cloud.hypervisor.vmware.resource.VmwareResourceTest log4j:WARN No appenders could be found for logger (com.cloud.serializer.GsonHelper). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.811 sec Running com.cloud.hypervisor.vmware.VmwareDatacenterApiUnitTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.619 sec Running org.apache.cloudstack.storage.motion.VmwareStorageMotionStrategyTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec Results : Tests run: 10, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-plugin-hypervisor-vmware --- [INFO] Building jar: <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/target/cloud-plugin-hypervisor-vmware-4.5.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-hypervisor-vmware --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-plugin-hypervisor-vmware --- [INFO] Installing <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/target/cloud-plugin-hypervisor-vmware-4.5.0-SNAPSHOT.jar> to /jenkins/.m2/repository/org/apache/cloudstack/cloud-plugin-hypervisor-vmware/4.5.0-SNAPSHOT/cloud-plugin-hypervisor-vmware-4.5.0-SNAPSHOT.jar [INFO] Installing <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/hypervisors/vmware/pom.xml> to /jenkins/.m2/repository/org/apache/cloudstack/cloud-plugin-hypervisor-vmware/4.5.0-SNAPSHOT/cloud-plugin-hypervisor-vmware-4.5.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Plugin - Cisco VNMC 4.5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-plugin-network-cisco-vnmc --- [INFO] Deleting <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/network-elements/cisco-vnmc/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/network-elements/cisco-vnmc> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-plugin-network-cisco-vnmc --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-plugin-network-cisco-vnmc --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-plugin-network-cisco-vnmc --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-plugin-network-cisco-vnmc --- [INFO] Compiling 30 source files to <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/network-elements/cisco-vnmc/target/classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java>:[1231,127] error: unreported exception GeneralSecurityException; must be caught or declared to be thrown [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [1.007s] [INFO] Apache CloudStack ................................. SUCCESS [1.597s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.908s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [2.783s] [INFO] Apache CloudStack Utils ........................... SUCCESS [11.381s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.047s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [6.229s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [3.749s] [INFO] Apache CloudStack API ............................. SUCCESS [13.345s] [INFO] Apache CloudStack Framework - REST ................ SUCCESS [2.494s] [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [5.291s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.044s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [4.221s] [INFO] Apache CloudStack Framework - Security ............ SUCCESS [2.121s] [INFO] Apache CloudStack Core ............................ SUCCESS [17.345s] [INFO] Apache CloudStack Agents .......................... SUCCESS [5.421s] [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [2.719s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.646s] [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [11.945s] [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [4.293s] [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [2.746s] [INFO] Apache CloudStack Server .......................... SUCCESS [34.187s] [INFO] Apache CloudStack Usage Server .................... SUCCESS [5.244s] [INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [7.309s] [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.047s] [INFO] Apache CloudStack Secondary Storage ............... SUCCESS [0.357s] [INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [4.279s] [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [5.600s] [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [3.746s] [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [2.458s] [INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS [2.191s] [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [2.155s] [INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [5.991s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [1.801s] [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [4.837s] [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.323s] [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [5.880s] [INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS [2.027s] [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS [4.002s] [INFO] Apache CloudStack Plugin - API SolidFire .......... SUCCESS [2.161s] [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [3.770s] [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [2.268s] [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [2.042s] [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS [2.164s] [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SUCCESS [1.903s] [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SUCCESS [1.996s] [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS [5.803s] [INFO] Apache CloudStack Plugin - Skip Heurestics Planner SUCCESS [1.916s] [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.204s] [INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [5.688s] [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [2.862s] [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [3.027s] [INFO] Apache CloudStack Plugin - Hypervisor XenServer ... SUCCESS [7.517s] [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [7.444s] [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [2.149s] [INFO] Apache CloudStack Plugin - In Memory Event Bus .... SUCCESS [3.631s] [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [3.622s] [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [2.411s] [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SUCCESS [4.749s] [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SUCCESS [4.632s] [INFO] Apache CloudStack Plugin - Network Internal Load Balancer SUCCESS [7.363s] [INFO] Apache CloudStack Framework - Spring Life Cycle ... SUCCESS [1.917s] [INFO] Apache CloudStack Plugin - Network Juniper Contrail SUCCESS [10.432s] [INFO] Apache CloudStack Plugin - Palo Alto .............. SUCCESS [6.011s] [INFO] Apache CloudStack Plugin - Network Netscaler ...... SUCCESS [3.531s] [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [8.439s] [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SUCCESS [5.043s] [INFO] Apache CloudStack Plugin - Network Brocade VCS .... SUCCESS [7.185s] [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [5.404s] [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SUCCESS [5.119s] [INFO] Apache CloudStack Plugin - Network Opendaylight ... SUCCESS [4.799s] [INFO] Apache CloudStack Plugin - Storage Allocator Random SUCCESS [2.012s] [INFO] Apache CloudStack Plugin - User Authenticator LDAP SUCCESS [2.914s] [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [3.590s] [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SUCCESS [1.887s] [INFO] Apache CloudStack Plugin - User Authenticator SAML2 SUCCESS [7.843s] [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SUCCESS [3.864s] [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [1.907s] [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [2.117s] [INFO] Apache CloudStack Plugin - Storage Image Swift provider SUCCESS [1.848s] [INFO] Apache CloudStack Plugin - Storage Image default provider SUCCESS [1.755s] [INFO] Apache CloudStack Plugin - Storage Image sample provider SUCCESS [1.715s] [INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider SUCCESS [3.446s] [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider SUCCESS [2.751s] [INFO] Apache CloudStack Plugin - Storage Volume sample provider SUCCESS [1.775s] [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [3.839s] [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [3.242s] [INFO] Apache CloudStack Plugin - Network VXLAN .......... SUCCESS [4.163s] [INFO] Apache CloudStack Plugin - GloboDNS ............... SUCCESS [6.968s] [INFO] Apache CloudStack Plugin - NetApp File System ..... SUCCESS [2.762s] [INFO] Apache CloudStack Plugin - F5 ..................... SUCCESS [2.837s] [INFO] Apache CloudStack Plugin - Juniper SRX ............ SUCCESS [3.208s] [INFO] Apache CloudStack Plugin - Nuage VSP .............. SUCCESS [6.156s] [INFO] Apache CloudStack VMware Base ..................... SUCCESS [5.315s] [INFO] Apache CloudStack Plugin - Hypervisor VMware ...... SUCCESS [10.177s] [INFO] Apache CloudStack Plugin - Cisco VNMC ............. FAILURE [2.759s] [INFO] Apache CloudStack Plugin - MySQL HA Strategy ...... SKIPPED [INFO] Apache CloudStack Framework - Spring Module ....... SKIPPED [INFO] Apache CloudStack Secondary Storage Controller .... SKIPPED [INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED [INFO] Apache CloudStack Console Proxy ................... SKIPPED [INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED [INFO] Apache CloudStack System VM ....................... SKIPPED [INFO] Apache CloudStack Client UI ....................... SKIPPED [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED [INFO] Apache CloudStack AWS API Bridge .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7:06.454s [INFO] Finished at: Thu Aug 28 20:20:54 CEST 2014 [INFO] Final Memory: 92M/412M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project cloud-plugin-network-cisco-vnmc: Compilation failure [ERROR] <http://jenkins.buildacloud.org/job/build-master-noredist/ws/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java>:[1231,127] error: unreported exception GeneralSecurityException; must be caught or declared to be thrown [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :cloud-plugin-network-cisco-vnmc Build step 'Invoke top-level Maven targets' marked build as failure Archiving artifacts