Latest Status: OQ14-CORE-42 was successful
Build Result OQ14-CORE-18
Labels:
NONE
Build OQ14-CORE-18 failed with 22 failing tests.
- There were 22 new failing tests.
- Build completed on Dec 6, 2011 4:56:53 PM - 5 months ago
- Build took 38 minutes
- This build is fixed in OQ14-CORE-28 (Updated by Dick Anderson).
- Built on agent Default Agent
Code Changes
Code has been updated by Dick Anderson.
-
Dick Anderson
OQ-278,OQ-277,OQ-276: Annotation processor added. Services refactored to use annotation. Refactored unit and integration tests. Tests now run as part of the bamboo build.
Tests
- 245 tests in total
- 22 tests failed
- 22 are new failure(s)
New Test Failures (22) New Test Failures (22)
TestAttribute : Set operations for locale specificd currency values (testSetOperationsForLocaleSpecificdCurrencyValues) History
org.junit.ComparisonFailure: expected:<[921.3]> but was:<[NaN]> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at com.ail.core.TestAttribute.testSetOperationsForLocaleSpecificdCurrencyValues(TestAttribute.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (19 more lines...)
TestAttribute : Attribute formatting (testAttributeFormatting) History
java.lang.IllegalStateException: Could not parse the value of attribute (id='amount5') format defined as 'number;pattern=?#.00' at com.ail.core.Attribute.getObject(Attribute.java:500) at com.ail.core.Attribute.getFormattedValue(Attribute.java:352) at com.ail.core.TestAttribute.testAttributeFormatting(TestAttribute.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (19 more lines...)
TestAttribute : Currency attribute (testCurrencyAttribute) History
org.junit.ComparisonFailure: expected:<[?]1,002.23> but was:<[?]1,002.23> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at com.ail.core.TestAttribute.testCurrencyAttribute(TestAttribute.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (19 more lines...)
TestAttribute : Locale specific currency formatting (testLocaleSpecificCurrencyFormatting) History
org.junit.ComparisonFailure: expected:<[?]1,002.23> but was:<[?]1,002.23> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at com.ail.core.TestAttribute.testLocaleSpecificCurrencyFormatting(TestAttribute.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (19 more lines...)
TestTypeXpath : Attribute xpath get and set (testAttributeXpathGetAndSet) History
org.junit.ComparisonFailure: expected:<[12]> but was:<[NaN]> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at com.ail.core.TestTypeXpath.testAttributeXpathGetAndSet(TestTypeXpath.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (18 more lines...)
TestUrlHandlers : Alfresco url access with locale (testAlfrescoUrlAccessWithLocale) History
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) (34 more lines...)
TestUrlHandlers : Alfresco url access without a ticket (testAlfrescoUrlAccessWithoutATicket) History
expected error to contain: 'HTTP response code: 401', but message was: 'Connection refused' junit.framework.AssertionFailedError: expected error to contain: 'HTTP response code: 401', but message was: 'Connection refused' at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$4.addError(JUnitTestRunner.java:975) at junit.framework.TestResult.addError(TestResult.java:38) at junit.framework.JUnit4TestAdapterCache$1.testFailure(JUnit4TestAdapterCache.java:51) at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100) at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41) at org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:97) (29 more lines...)
TestUrlHandlers : Product url access with locale (testProductUrlAccessWithLocale) History
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) (39 more lines...)
TestUrlHandlers : Prodct url access (testProdctUrlAccess) History
Caught unexpected java.net.ConnectException junit.framework.AssertionFailedError: Caught unexpected java.net.ConnectException at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$4.addError(JUnitTestRunner.java:975) at junit.framework.TestResult.addError(TestResult.java:38) at junit.framework.JUnit4TestAdapterCache$1.testFailure(JUnit4TestAdapterCache.java:51) at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100) at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41) at org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:97) (28 more lines...)
TestUrlHandlers : Alfresco url access with a ticket (testAlfrescoUrlAccessWithATicket) History
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) (34 more lines...)
TestEJBConfigurationLoader : Save configuration (testSaveConfiguration) History
com.ail.core.configure.BootstrapConfigurationError Failed to contact configuration server:javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at com.ail.core.configure.EJBConfigurationLoader.getLoaderEJB(EJBConfigurationLoader.java:71) at com.ail.core.configure.EJBConfigurationLoader.reset(EJBConfigurationLoader.java:179) at com.ail.core.configuration.TestEJBConfigurationLoader.setUp(TestEJBConfigurationLoader.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (17 more lines...)
TestEJBConfigurationLoader : Save load save load load old configuration (testSaveLoadSaveLoadLoadOldConfiguration) History
com.ail.core.configure.BootstrapConfigurationError Failed to contact configuration server:javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at com.ail.core.configure.EJBConfigurationLoader.getLoaderEJB(EJBConfigurationLoader.java:71) at com.ail.core.configure.EJBConfigurationLoader.reset(EJBConfigurationLoader.java:179) at com.ail.core.configuration.TestEJBConfigurationLoader.setUp(TestEJBConfigurationLoader.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (17 more lines...)
TestEJBConfigurationLoader : Load with missing table (testLoadWithMissingTable) History
com.ail.core.configure.BootstrapConfigurationError Failed to contact configuration server:javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at com.ail.core.configure.EJBConfigurationLoader.getLoaderEJB(EJBConfigurationLoader.java:71) at com.ail.core.configure.EJBConfigurationLoader.reset(EJBConfigurationLoader.java:179) at com.ail.core.configuration.TestEJBConfigurationLoader.setUp(TestEJBConfigurationLoader.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (17 more lines...)
TestEJBConfigurationLoader : Save and load configuration (testSaveAndLoadConfiguration) History
com.ail.core.configure.BootstrapConfigurationError Failed to contact configuration server:javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at com.ail.core.configure.EJBConfigurationLoader.getLoaderEJB(EJBConfigurationLoader.java:71) at com.ail.core.configure.EJBConfigurationLoader.reset(EJBConfigurationLoader.java:179) at com.ail.core.configuration.TestEJBConfigurationLoader.setUp(TestEJBConfigurationLoader.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (17 more lines...)
TestEJBConfigurationLoader : Load undefined configuration (testLoadUndefinedConfiguration) History
com.ail.core.configure.BootstrapConfigurationError Failed to contact configuration server:javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at com.ail.core.configure.EJBConfigurationLoader.getLoaderEJB(EJBConfigurationLoader.java:71) at com.ail.core.configure.EJBConfigurationLoader.reset(EJBConfigurationLoader.java:179) at com.ail.core.configuration.TestEJBConfigurationLoader.setUp(TestEJBConfigurationLoader.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (17 more lines...)
TestGenerateDocument : Generate document from core (testGenerateDocumentFromCore) History
com.ail.core.document.generatedocument.RenderException: Translation exception: javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 1 error detected. at com.ail.core.document.generatedocument.RenderFopPdfDocumentService.invoke(RenderFopPdfDocumentService.java:115) at com.ail.core.command.ClassAccessor.invoke(ClassAccessor.java:34) at com.ail.core.command.CommandImpl.invoke(CommandImpl.java:93) at com.ail.core.document.generatedocument.GenerateDocumentService.invoke(GenerateDocumentService.java:85) at com.ail.core.command.ClassAccessor.invoke(ClassAccessor.java:34) at com.ail.core.command.CommandImpl.invoke(CommandImpl.java:93) at com.ail.core.Core.generateDocument(Core.java:1090) (50 more lines...)
TestGenerateDocument : F o p doc gen service (testFOPDocGenService) History
com.ail.core.document.generatedocument.RenderException: Translation exception: javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 1 error detected. at com.ail.core.document.generatedocument.RenderFopPdfDocumentService.invoke(RenderFopPdfDocumentService.java:115) at com.ail.core.command.ClassAccessor.invoke(ClassAccessor.java:34) at com.ail.core.command.CommandImpl.invoke(CommandImpl.java:93) at com.ail.core.document.generatedocument.GenerateDocumentService.invoke(GenerateDocumentService.java:85) at com.ail.core.command.ClassAccessor.invoke(ClassAccessor.java:34) at com.ail.core.command.CommandImpl.invoke(CommandImpl.java:93) at com.ail.core.document.TestGenerateDocument.testFOPDocGenService(TestGenerateDocument.java:158) (23 more lines...)
TestContentServlets : Guest servlets content exists node ref (testGuestServletsContentExistsNodeRef) History
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) (33 more lines...)
TestContentServlets : Guest servlets content exists path ref (testGuestServletsContentExistsPathRef) History
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) (33 more lines...)
TestXMLString : Safe xml to string (testSafeXmlToString) History
org.junit.ComparisonFailure: expected:<A[?]B> but was:<A[?]B> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at com.ail.core.TestXMLString.testSafeXmlToString(TestXMLString.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (18 more lines...)
TestXMLString : String to safe xml (testStringToSafeXml) History
org.junit.ComparisonFailure: expected:<[16]3;?> but was:<[6553]3;?> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at com.ail.core.TestXMLString.testStringToSafeXml(TestXMLString.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (18 more lines...)
TestServiceInvocation : J m s service (testJMSService) History
javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.ail.core.command.JMSAccessor.getConnectionFactoryInstance(JMSAccessor.java:124) at com.ail.core.command.JMSAccessor.invoke(JMSAccessor.java:62) at com.ail.core.command.CommandImpl.invoke(CommandImpl.java:93) (44 more lines...)
Error Summary
The build generated some errors. See the full build log for details.
[exec] Result: 137
BUILD FAILED
/mnt/volume1/bamboo/xml-data/build-dir/OQ14-CORE/Build.xml:45: The following error occurred while executing this line:
/mnt/volume1/bamboo/xml-data/build-dir/OQ14-CORE/Build.xml:52: The following error occurred while executing this line:
/mnt/volume1/bamboo/xml-data/build-dir/OQ14-DEVELOPMENT/macros/BuildJavaMacros.xml:412: /mnt/volume1/bamboo/xml-data/build-dir/OQ14-CORE/target/test/unit-test.jar not found.
Total time: 38 minutes 4 seconds
BUILD FAILED
/mnt/volume1/bamboo/xml-data/build-dir/OQ14-CORE/Build.xml:45: The following error occurred while executing this line:
/mnt/volume1/bamboo/xml-data/build-dir/OQ14-CORE/Build.xml:52: The following error occurred while executing this line:
/mnt/volume1/bamboo/xml-data/build-dir/OQ14-DEVELOPMENT/macros/BuildJavaMacros.xml:412: /mnt/volume1/bamboo/xml-data/build-dir/OQ14-CORE/target/test/unit-test.jar not found.
Total time: 38 minutes 4 seconds