[Builder] Build failed in Jenkins: product-mdm__java8 » WSO2 MDM Backend Integration Tests #77
cbuilder at wso2.org
cbuilder at wso2.org
Mon Dec 21 23:56:54 PST 2015
See <https://wso2.org/jenkins/job/product-mdm__java8/org.wso2.mdm$tests-integration/77/changes>
Changes:
[hasunie] fixed certificate authentication request
[sachithp] Fixed Assert Parameter swap
------------------------------------------
[...truncated 1787 lines...]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at java.lang.Thread.run(Thread.java:745)
INFO [org.wso2.carbon.automation.engine.testlisteners.TestManagerListener] - On test success...
INFO [org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener] - Inside Test Suite Listener - On Finish
INFO [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] - Inside Test Execution Listener - On Finish
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,460] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin at carbon.super [-1234]' logged in at [2015-12-22 07:54:44,460+0000]
INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful
INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser11
INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser21
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,553] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin at carbon.super [-1234]' logged in at [2015-12-22 07:54:44,553+0000]
INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,594] @wso2.com [1] [EMM] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Starting to clean tenant : wso2.com
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,602] @wso2.com [1] [EMM] INFO {org.wso2.carbon.mediation.initializer.multitenancy.TenantServiceBusInitializer} - Shutting down the persistence manager for the tenant: wso2.com
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,607] @wso2.com [1] [EMM] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Cleaned up tenant wso2.com
INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - wso2.com
INFO [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Shutting down server..
INFO [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil] - Successfully connected to the server on port 10543
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,647] WARN {org.wso2.carbon.server.admin.module.handler.AuthenticationHandler} - Illegal access attempt at [2015-12-22 07:54:44,0647] from IP address 127.0.0.1 while trying to authenticate access to service ServerAdmin
INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] - basic authentication scheme selected
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:44,658] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin at carbon.super [-1234]' logged in at [2015-12-22 07:54:44,658+0000]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,660] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutting down WSO2 Enterprise Mobility Manager...
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,666] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutting down OSGi framework...
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,767] INFO {org.wso2.carbon.appmgt.mobile.internal.AppManagerMobileComponent} - App Manger MDM is unbound
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,773] INFO {org.wso2.carbon.appmgt.mobile.internal.AppManagerMobileComponent} - App Manger MDM is unbound
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,774] INFO {org.wso2.carbon.appmgt.mobile.internal.AppManagerMobileComponent} - App Manger Mobile Component deactivated
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,775] INFO {org.wso2.carbon.appmgt.mobile.internal.AppManagerMobileComponent} - App Manger MDM is unbound
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,807] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Stopping CarbonServerManager...
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,890] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-admin] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1 at 323a03d5]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@6a13b5f9]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,902] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mdm-admin]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,940] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-windows-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1 at 17b1a77]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference at 7ef5f0c4, class org.wso2.carbon.mdm.mobileservices.windows.services.discovery.jaxws_asm.Discover=java.lang.ref.WeakReference at 1e001e40, class org.apache.cxf.ws.addressing.AttributedURIType=java.lang.ref.WeakReference at 7e98f5ed, class org.apache.cxf.ws.addressing.EndpointReferenceType=java.lang.ref.WeakReference at 2769e0eb, class org.wso2.carbon.mdm.mobileservices.windows.services.discovery.beans.DiscoveryRequest=java.lang.ref.WeakReference at 764b5712}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,941] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-windows-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1 at 17b1a77]) and a value of type [java.util.WeakHashMap] (value [{class org.wso2.carbon.mdm.mobileservices.windows.services.authbst.beans.Credentials=java.lang.ref.WeakReference at 6827a585}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,942] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-windows-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1 at 17b1a77]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference at 512902f1, class org.apache.cxf.ws.addressing.AttributedURIType=java.lang.ref.WeakReference at 39afde87, class org.wso2.carbon.mdm.mobileservices.windows.services.xcep.jaxws_asm.GetPolicies=java.lang.ref.WeakReference at 15f0fd67, class org.apache.cxf.ws.addressing.EndpointReferenceType=java.lang.ref.WeakReference at 40ae79d1, class org.wso2.carbon.mdm.mobileservices.windows.services.xcep.beans.Client=java.lang.ref.WeakReference at 5989c5bf, class org.wso2.carbon.mdm.mobileservices.windows.services.xcep.beans.RequestFilter=java.lang.ref.WeakReference at 1e1573ef}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,942] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-windows-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1 at 17b1a77]) and a value of type [java.util.WeakHashMap] (value [{class org.wso2.carbon.mdm.mobileservices.windows.services.wstep.beans.ContextItem=java.lang.ref.WeakReference at c9cbe8f, class org.wso2.carbon.mdm.mobileservices.windows.services.wstep.jaxws_asm.RequestSecurityToken=java.lang.ref.WeakReference at 3fcf2e3c, class org.apache.cxf.ws.addressing.AttributedURIType=java.lang.ref.WeakReference at 287cb047, class java.util.ArrayList=java.lang.ref.WeakReference at 1dc334ac, class org.wso2.carbon.mdm.mobileservices.windows.services.wstep.beans.AdditionalContext=java.lang.ref.WeakReference at 7442995d, class org.apache.cxf.ws.addressing.EndpointReferenceType=java.lang.ref.WeakReference at 32baf727}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,948] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mdm-windows-agent]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,993] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-android-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1 at 4de2c773]) and a value of type [java.util.WeakHashMap] (value [{class org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration=java.lang.ref.WeakReference at 6b7a7a63, class java.util.ArrayList=java.lang.ref.WeakReference at 6a9f678f, class org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationEntry=java.lang.ref.WeakReference at 38b3efd8}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,993] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-android-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1 at 63b17ee2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@5b20b995]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,994] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-android-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1 at 63b17ee2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@4a120e61]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,994] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-android-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1 at 4de2c773]) and a value of type [java.util.WeakHashMap] (value [{class org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration=java.lang.ref.WeakReference at 6df8f5d4, class java.util.ArrayList=java.lang.ref.WeakReference at 556c0e7, class org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationEntry=java.lang.ref.WeakReference at 5be43dc9}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,994] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-android-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1 at 63b17ee2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1df51d2]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,995] ERROR {org.apache.catalina.loader.WebappClassLoader} - The web application [/mdm-android-agent] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1 at 63b17ee2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@2ba35268]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:45,997] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mdm-android-agent]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,044] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/authenticationendpoint]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,046] INFO {org.springframework.web.context.support.XmlWebApplicationContext} - Closing Root WebApplicationContext: startup date [Tue Dec 22 07:54:16 UTC 2015]; root of context hierarchy
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,049] INFO {org.springframework.beans.factory.support.DefaultListableBeanFactory} - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory at 78c250e6: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,RegistrationService,RegistrationServiceBean,jsonProvider,faultResponseWriter]; root of factory hierarchy
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,067] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dynamic-client-web]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,069] INFO {org.springframework.web.context.support.XmlWebApplicationContext} - Closing Root WebApplicationContext: startup date [Tue Dec 22 07:54:27 UTC 2015]; root of context hierarchy
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,071] INFO {org.springframework.beans.factory.support.DefaultListableBeanFactory} - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory at 51cb4621: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean]; root of factory hierarchy
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,083] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,095] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/emm]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,105] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/emm-web-agent]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,114] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/store]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:46,124] INFO {org.wso2.carbon.webapp.mgt.WebApplication} - Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/publisher]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:48,361] INFO {org.wso2.carbon.tomcat.ext.internal.CarbonTomcatServiceComponent} - Stopping the carbon web-app registered under : /
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - Stopping org.wso2.jaggery.scxml with RealmService disabled
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:49,053] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutdown complete
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2015-12-22 07:54:49,053] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Halting JVM
INFO [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Server stopped successfully...
Tests run: 138, Failures: 24, Errors: 0, Skipped: 17, Time elapsed: 62.376 sec <<< FAILURE!
testCountDevicesWithNoDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagementWithNoDevices) Time elapsed: 0.18 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[0]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagementWithNoDevices.testCountDevicesWithNoDevices(MobileDeviceManagementWithNoDevices.java:45)
testViewDevicesWithNoDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagementWithNoDevices) Time elapsed: 0.036 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[[]]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagementWithNoDevices.testViewDevicesWithNoDevices(MobileDeviceManagementWithNoDevices.java:52)
testIsEnrolled(org.wso2.mdm.integration.device.enrollment.AndroidEnrollment) Time elapsed: 0.036 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.common.AssertUtil.jsonPayloadCompare(AssertUtil.java:40)
at org.wso2.mdm.integration.device.enrollment.AndroidEnrollment.testIsEnrolled(AndroidEnrollment.java:69)
testGetListOfDevicesOperations(org.wso2.mdm.integration.device.operation.AndroidOperation) Time elapsed: 0.055 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.device.operation.AndroidOperation.testGetListOfDevicesOperations(AndroidOperation.java:833)
testGetAllDevices(org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement) Time elapsed: 0.014 sec <<< FAILURE!
java.lang.IllegalStateException: This is not a JSON Array.
at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106)
at org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement.testGetAllDevices(AndroidDeviceManagement.java:50)
testGetLicense(org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement) Time elapsed: 0.02 sec <<< FAILURE!
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement.testGetLicense(AndroidDeviceManagement.java:98)
testGetDevice(org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement) Time elapsed: 0.023 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement.testGetDevice(AndroidDeviceManagement.java:58)
testGetDeviceAppsWithWrongDeviceID(org.wso2.mdm.integration.operation.OperationManagement) Time elapsed: 0.035 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<500> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.operation.OperationManagement.testGetDeviceAppsWithWrongDeviceID(OperationManagement.java:80)
testGetDeviceOperationsWithWrongDeviceID(org.wso2.mdm.integration.operation.OperationManagement) Time elapsed: 0.031 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<500> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.operation.OperationManagement.testGetDeviceOperationsWithWrongDeviceID(OperationManagement.java:88)
testCountDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.026 sec <<< FAILURE!
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testCountDevices(MobileDeviceManagement.java:82)
testGetAndroidDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.031 sec <<< FAILURE!
java.lang.IllegalStateException: This is not a JSON Array.
at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testGetAndroidDevices(MobileDeviceManagement.java:117)
testGetDeviceWithMinusLength(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.022 sec <<< FAILURE!
java.lang.IllegalStateException: This is not a JSON Array.
at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testGetDeviceWithMinusLength(MobileDeviceManagement.java:148)
testGetDevicesBelongToAdmin(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.02 sec <<< FAILURE!
java.lang.IllegalStateException: This is not a JSON Array.
at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testGetDevicesBelongToAdmin(MobileDeviceManagement.java:133)
testGetDevicesForSetOfDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.026 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testGetDevicesForSetOfDevices(MobileDeviceManagement.java:105)
testGetDevicesWithInvalidStartNumber(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.043 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<404> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testGetDevicesWithInvalidStartNumber(MobileDeviceManagement.java:141)
testGetWindowsDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.022 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[[]]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testGetWindowsDevices(MobileDeviceManagement.java:126)
testViewDeviceTypes(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement) Time elapsed: 0.028 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[[{"id":1,"name":"android"},{"id":2,"name":"windows"}]]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement.testViewDeviceTypes(MobileDeviceManagement.java:95)
testViewUserWithoutUsers(org.wso2.mdm.integration.user.UserManagement) Time elapsed: 0.021 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<404> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.user.UserManagement.testViewUserWithoutUsers(UserManagement.java:49)
testViewRoles(org.wso2.mdm.integration.role.RoleManagement) Time elapsed: 0.022 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.common.AssertUtil.jsonPayloadCompare(AssertUtil.java:40)
at org.wso2.mdm.integration.role.RoleManagement.testViewRoles(RoleManagement.java:54)
testRemoveRoleWithoutRoles(org.wso2.mdm.integration.role.RoleManagement) Time elapsed: 0.017 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<500> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.role.RoleManagement.testRemoveRoleWithoutRoles(RoleManagement.java:114)
testGetAllPolicies(org.wso2.mdm.integration.policy.WindowsPolicyManagement) Time elapsed: 0.022 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.policy.WindowsPolicyManagement.setPolicyIDs(WindowsPolicyManagement.java:117)
at org.wso2.mdm.integration.policy.WindowsPolicyManagement.testGetAllPolicies(WindowsPolicyManagement.java:72)
testViewFeaturesWithErroneousEndPoint(org.wso2.mdm.integration.feature.FeatureManagement) Time elapsed: 0.014 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<404> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.feature.FeatureManagement.testViewFeaturesWithErroneousEndPoint(FeatureManagement.java:51)
testGetConfiguration(org.wso2.mdm.integration.configuration.ConfigurationManagement) Time elapsed: 0.018 sec <<< FAILURE!
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at org.wso2.mdm.integration.common.AssertUtil.jsonPayloadCompare(AssertUtil.java:40)
at org.wso2.mdm.integration.configuration.ConfigurationManagement.testGetConfiguration(ConfigurationManagement.java:56)
testGetConfigurationWithErroneousEndPoint(org.wso2.mdm.integration.configuration.ConfigurationManagement) Time elapsed: 0.017 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<401> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.wso2.mdm.integration.configuration.ConfigurationManagement.testGetConfigurationWithErroneousEndPoint(ConfigurationManagement.java:65)
Results :
Failed tests: testCountDevicesWithNoDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagementWithNoDevices): null expected:<[0]> but was:<[]>
testViewDevicesWithNoDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagementWithNoDevices): null expected:<[[]]> but was:<[]>
testIsEnrolled(org.wso2.mdm.integration.device.enrollment.AndroidEnrollment): Not a JSON Object: null
testGetListOfDevicesOperations(org.wso2.mdm.integration.device.operation.AndroidOperation): Not a JSON Object: null
testGetAllDevices(org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement): This is not a JSON Array.
testGetLicense(org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement)
testGetDevice(org.wso2.mdm.integration.device.mgt.AndroidDeviceManagement): Not a JSON Object: null
testGetDeviceAppsWithWrongDeviceID(org.wso2.mdm.integration.operation.OperationManagement): expected:<500> but was:<200>
testGetDeviceOperationsWithWrongDeviceID(org.wso2.mdm.integration.operation.OperationManagement): expected:<500> but was:<200>
testCountDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement)
testGetAndroidDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): This is not a JSON Array.
testGetDeviceWithMinusLength(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): This is not a JSON Array.
testGetDevicesBelongToAdmin(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): This is not a JSON Array.
testGetDevicesForSetOfDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): Not a JSON Object: null
testGetDevicesWithInvalidStartNumber(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): expected:<404> but was:<200>
testGetWindowsDevices(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): null expected:<[[]]> but was:<[]>
testViewDeviceTypes(org.wso2.mdm.integration.mobileDevice.MobileDeviceManagement): null expected:<[[{"id":1,"name":"android"},{"id":2,"name":"windows"}]]> but was:<[]>
testViewUserWithoutUsers(org.wso2.mdm.integration.user.UserManagement): expected:<404> but was:<200>
testViewRoles(org.wso2.mdm.integration.role.RoleManagement): Not a JSON Object: null
testRemoveRoleWithoutRoles(org.wso2.mdm.integration.role.RoleManagement): expected:<500> but was:<200>
testGetAllPolicies(org.wso2.mdm.integration.policy.WindowsPolicyManagement): Not a JSON Object: null
testViewFeaturesWithErroneousEndPoint(org.wso2.mdm.integration.feature.FeatureManagement): expected:<404> but was:<200>
testGetConfiguration(org.wso2.mdm.integration.configuration.ConfigurationManagement): Not a JSON Object: null
testGetConfigurationWithErroneousEndPoint(org.wso2.mdm.integration.configuration.ConfigurationManagement): expected:<401> but was:<200>
Tests run: 138, Failures: 24, Errors: 0, Skipped: 17
[JENKINS] Recording test results
More information about the Builder
mailing list