falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FALCON-1927) org.apache.falcon.unit.TestFalconUnit failures on Falcon
Date Mon, 25 Apr 2016 21:15:13 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Balu Vellanki resolved FALCON-1927.
-----------------------------------
    Resolution: Not A Problem

This seems to be a local setup issue caused by a different process using port required by
TestFalconUnit. Closing as not an issue. 

> org.apache.falcon.unit.TestFalconUnit failures on Falcon 
> ---------------------------------------------------------
>
>                 Key: FALCON-1927
>                 URL: https://issues.apache.org/jira/browse/FALCON-1927
>             Project: Falcon
>          Issue Type: Bug
>          Components: tests
>            Reporter: Balu Vellanki
>            Priority: Critical
>             Fix For: trunk
>
>
> The following tests are failing on Falcon trunk 
> {code}
> Failed tests:
>   TestFalconUnit.testDelete:142->FalconUnitTestBase.scheduleProcess:178 » FalconCLI
>   TestFalconUnit>FalconUnitTestBase.cleanUpActionXml:126 » FalconWeb
> {code}
> The exceptions look as follows,
> {code}
> Running org.apache.falcon.unit.TestFalconUnit
> objc[38926]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
> Tests run: 25, Failures: 2, Errors: 0, Skipped: 23, Time elapsed: 6.099 sec <<<
FAILURE! - in org.apache.falcon.unit.TestFalconUnit
> testDelete(org.apache.falcon.unit.TestFalconUnit)  Time elapsed: 0.767 sec  <<<
FAILURE!
> org.apache.falcon.client.FalconCLIException: FAILED
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.readControlFile(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(Unknown
Source)
> 	at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
> 	at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
> 	at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
> 	at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown
Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown
Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
> 	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
> 	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
> 	at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
> 	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
> 	at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
> 	at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
> 	at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
> 	at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
> 	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
> 	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
> 	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
> 	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:86)
> 	at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:90)
> 	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603)
> 	at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1518)
> 	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:533)
> 	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:458)
> 	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:121)
> 	at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
> 	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
> 	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:967)
> 	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:958)
> 	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:642)
> 	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:202)
> 	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:154)
> 	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
> 	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
> 	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
> 	at org.apache.oozie.service.JPAService.getEntityManager(JPAService.java:500)
> 	at org.apache.oozie.service.JPAService.init(JPAService.java:201)
> 	at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)
> 	at org.apache.oozie.service.Services.setService(Services.java:372)
> 	at org.apache.oozie.service.Services.loadServices(Services.java:305)
> 	at org.apache.oozie.service.Services.init(Services.java:213)
> 	at org.apache.oozie.local.LocalOozie.start(LocalOozie.java:64)
> 	at org.apache.falcon.workflow.engine.OozieClientFactory.getLocalOozieClient(OozieClientFactory.java:71)
> 	at org.apache.falcon.workflow.engine.OozieClientFactory.getClientRef(OozieClientFactory.java:62)
> 	at org.apache.falcon.workflow.engine.OozieClientFactory.get(OozieClientFactory.java:51)
> 	at org.apache.falcon.workflow.engine.OozieClientFactory.get(OozieClientFactory.java:55)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.findBundles(OozieWorkflowEngine.java:334)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.findLatestBundle(OozieWorkflowEngine.java:378)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.findLatestBundle(OozieWorkflowEngine.java:370)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:153)
> 	at org.apache.falcon.unit.FalconUnitClient.schedule(FalconUnitClient.java:209)
> 	at org.apache.falcon.unit.FalconUnitTestBase.scheduleProcess(FalconUnitTestBase.java:178)
> 	at org.apache.falcon.unit.TestFalconUnit.testDelete(TestFalconUnit.java:142)
> cleanUpActionXml(org.apache.falcon.unit.TestFalconUnit)  Time elapsed: 0.907 sec  <<<
FAILURE!
> org.apache.falcon.FalconWebException: null
> 	at org.apache.falcon.FalconWebException.newAPIException(FalconWebException.java:62)
> 	at org.apache.falcon.FalconWebException.newAPIException(FalconWebException.java:50)
> 	at org.apache.falcon.FalconWebException.newAPIException(FalconWebException.java:45)
> 	at org.apache.falcon.resource.AbstractEntityManager.delete(AbstractEntityManager.java:287)
> 	at org.apache.falcon.unit.LocalSchedulableEntityManager.delete(LocalSchedulableEntityManager.java:56)
> 	at org.apache.falcon.unit.FalconUnitClient.delete(FalconUnitClient.java:132)
> 	at org.apache.falcon.unit.FalconUnitTestBase.cleanUpActionXml(FalconUnitTestBase.java:126)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
> 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:753)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:91)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:128)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:112)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message