Up
collapse
66%
WDescription%
Build stability: 1 out of the last 3 builds failed.66
Test Result: 9 tests failing out of a total of 96 tests.90
Build History
x
 Identified problems29 MB[sonarqube]
 Identified problems42 MB[sonarqube]
 41 MB[sonarqube]

Maven project sonar-carbon-governance

Project disk usage information + trend graph
Disk Usage: Workspace 362996856, Builds {all=116782753, locked=0}, Job directory 123849034
Test Result Trend
[Test result trend chart]
(just show failures) enlarge

More graphs
Code Coverage Trend
enlarge
Maven-generated site
SonarQube
Last Successful Artifacts
dependency-updates-report.xml194.38 KB view
Recent Changes
Latest Test Result (9 failures / ±0)

Identified problems

testAddPolicyFromContentNoName

junit.framework.AssertionFailedError: Unable to read WSDL content at junit.framework.Assert.fail(Assert.java:47) at org.wso2.carbon.governance.api.test.PolicyTest.testAddPolicyFromContentNoName(PolicyTest.java:137)

testAddPolicy

org.wso2.carbon.governance.api.exception.GovernanceException: Error in adding the Policy. policy id: 952059c3-592e-414b-bee9-360298cedc47. at org.wso2.carbon.governance.api.policies.PolicyManager.addPolicy(PolicyManager.java:146) at org.wso2.carbon.governance.api.test.PolicyTest.testAddPolicy(PolicyTest.java:45) Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: The URL http://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.api/src/test/resources/test-resources/policy/policy.xml is incorrect. at org.wso2.carbon.registry.extensions.handlers.PolicyMediaTypeHandler.importResource(PolicyMediaTypeHandler.java:134) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2568) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:993) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:782) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.importResource(CacheBackedRegistry.java:389) at org.wso2.carbon.registry.core.session.UserRegistry.importResourceInternal(UserRegistry.java:904) at org.wso2.carbon.registry.core.session.UserRegistry.access$1200(UserRegistry.java:61) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:878) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:875) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:875) at org.wso2.carbon.governance.api.policies.PolicyManager.addPolicy(PolicyManager.java:137) ... 29 more Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.api/src/test/resources/test-resources/policy/policy.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at org.wso2.carbon.registry.extensions.handlers.PolicyMediaTypeHandler.importResource(PolicyMediaTypeHandler.java:132) ... 40 more

testAddPolicyFromContent

junit.framework.AssertionFailedError: Unable to read WSDL content at junit.framework.Assert.fail(Assert.java:47) at org.wso2.carbon.governance.api.test.PolicyTest.testAddPolicyFromContent(PolicyTest.java:104)

testAddSchemaFromContentNoName

junit.framework.AssertionFailedError: Unable to read WSDL content at junit.framework.Assert.fail(Assert.java:47) at org.wso2.carbon.governance.api.test.SchemaTest.testAddSchemaFromContentNoName(SchemaTest.java:132)

testAddSchema

org.wso2.carbon.governance.api.exception.GovernanceException: Error in adding the Schema. schema id: 20455eeb-edc7-4b21-b333-954b6276a4d2. at org.wso2.carbon.governance.api.schema.SchemaManager.addSchema(SchemaManager.java:151) at org.wso2.carbon.governance.api.test.SchemaTest.testAddSchema(SchemaTest.java:39) Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Could not read the XML Schema Definition file. at org.wso2.carbon.registry.extensions.handlers.utils.SchemaProcessor.importSchemaToRegistry(SchemaProcessor.java:231) at org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler.processSchemaImport(XSDMediaTypeHandler.java:460) at org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler.importResource(XSDMediaTypeHandler.java:224) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2568) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:993) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:782) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.importResource(CacheBackedRegistry.java:389) at org.wso2.carbon.registry.core.session.UserRegistry.importResourceInternal(UserRegistry.java:904) at org.wso2.carbon.registry.core.session.UserRegistry.access$1200(UserRegistry.java:61) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:878) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:875) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:875) at org.wso2.carbon.governance.api.schema.SchemaManager.addSchema(SchemaManager.java:142) ... 29 more Caused by: org.apache.ws.commons.schema.XmlSchemaException: Server returned HTTP response code: 403 for URL: http://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.api/src/test/resources/test-resources/xsd/purchasing.xsd at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:389) at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:425) at org.wso2.carbon.registry.extensions.handlers.utils.SchemaProcessor.importSchemaToRegistry(SchemaProcessor.java:216) ... 42 more

testAddSchemaFromContent

junit.framework.AssertionFailedError: Unable to read WSDL content at junit.framework.Assert.fail(Assert.java:47) at org.wso2.carbon.governance.api.test.SchemaTest.testAddSchemaFromContent(SchemaTest.java:100)

testServiceAttachments

org.wso2.carbon.governance.api.exception.GovernanceException: Error in adding the wsdl. wsdl id: cd7e3a1a-9064-45aa-b89a-ba00b0c4d46c. at org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:151) at org.wso2.carbon.governance.api.test.ServiceTest.testServiceAttachments(ServiceTest.java:234) Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid WSDL definition found. at org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:560) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2568) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:993) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:782) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.importResource(CacheBackedRegistry.java:389) at org.wso2.carbon.registry.core.session.UserRegistry.importResourceInternal(UserRegistry.java:904) at org.wso2.carbon.registry.core.session.UserRegistry.access$1200(UserRegistry.java:61) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:878) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:875) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:875) at org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:142) ... 29 more Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid WSDL definition found. at org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.evaluateWSDLsToDefinitions(WSDLProcessor.java:543) at org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.addWSDLToRegistry(WSDLProcessor.java:212) at org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.processWSDLImport(WSDLMediaTypeHandler.java:595) at org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:549) ... 40 more

testServiceSearch

org.wso2.carbon.governance.api.exception.GovernanceException: Failed to add artifact: artifact id: 3637f497-c7d0-4096-a7bb-d1e4bf7708df. Invalid WSDL definition found. at org.wso2.carbon.governance.api.common.GovernanceArtifactManager.addGovernanceArtifact(GovernanceArtifactManager.java:252) at org.wso2.carbon.governance.api.services.ServiceManager.addService(ServiceManager.java:122) at org.wso2.carbon.governance.api.test.ServiceTest.testServiceSearch(ServiceTest.java:150) Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid WSDL definition found. at org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.evaluateWSDLsToDefinitions(WSDLProcessor.java:543) at org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.addWSDLToRegistry(WSDLProcessor.java:212) at org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler.put(ServiceMediaTypeHandler.java:274) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.put(HandlerManager.java:2505) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.put(HandlerLifecycleManager.java:958) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:705) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:591) at org.wso2.carbon.registry.core.session.UserRegistry.putInternal(UserRegistry.java:828) at org.wso2.carbon.registry.core.session.UserRegistry.access$1000(UserRegistry.java:61) at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:804) at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:801) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:801) at org.wso2.carbon.governance.api.common.GovernanceArtifactManager.addGovernanceArtifact(GovernanceArtifactManager.java:221) ... 30 more

testAddWSDL

org.wso2.carbon.governance.api.exception.GovernanceException: Error in adding the wsdl. wsdl id: e0b2d94c-4c1b-451f-b901-829a6f8a463b. at org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:151) at org.wso2.carbon.governance.api.test.WSDLTest.testAddWSDL(WSDLTest.java:41) Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid WSDL definition found. at org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:560) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2568) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:993) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:782) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.importResource(CacheBackedRegistry.java:389) at org.wso2.carbon.registry.core.session.UserRegistry.importResourceInternal(UserRegistry.java:904) at org.wso2.carbon.registry.core.session.UserRegistry.access$1200(UserRegistry.java:61) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:878) at org.wso2.carbon.registry.core.session.UserRegistry$13.run(UserRegistry.java:875) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:875) at org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:142) ... 29 more Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid WSDL definition found. at org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.evaluateWSDLsToDefinitions(WSDLProcessor.java:543) at org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.addWSDLToRegistry(WSDLProcessor.java:212) at org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.processWSDLImport(WSDLMediaTypeHandler.java:595) at org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:549) ... 40 more

Latest Test Result (9 failures / ±0)