airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Wijeratne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRAVATA-861) Integration tests are failing
Date Fri, 24 May 2013 14:50:19 GMT

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

Saminda Wijeratne resolved AIRAVATA-861.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8
    
> Integration tests are failing
> -----------------------------
>
>                 Key: AIRAVATA-861
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-861
>             Project: Airavata
>          Issue Type: Bug
>          Components: Distribution
>    Affects Versions: 0.8
>            Reporter: Chathuri Wimalasena
>             Fix For: 0.8
>
>
> Integration tests are failing with below exception.
> [ERROR] Host descriptor localhost already exists.
> org.apache.airavata.registry.api.exception.gateway.DescriptorAlreadyExistsException:
The Descriptor localhost already exists !!! already exists!!!
> 	at org.apache.airavata.rest.client.DescriptorResourceClient.addHostDescriptor(DescriptorResourceClient.java:181)
> 	at org.apache.airavata.rest.client.RegistryClient.addHostDescriptor(RegistryClient.java:249)
> 	at org.apache.airavata.client.impl.ApplicationManagerImpl.addHostDescription(ApplicationManagerImpl.java:318)
> 	at org.apache.airavata.integration.BaseCaseIT.testUpdateEchoService(BaseCaseIT.java:309)
> 	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)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	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:62)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.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)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> [INFO] Updating host description ....
> [INFO] Adding service description ...
> [ERROR] Service descriptor Echo already exists.
> org.apache.airavata.registry.api.exception.gateway.DescriptorAlreadyExistsException:
The Descriptor Echo already exists !!! already exists!!!
> 	at org.apache.airavata.rest.client.DescriptorResourceClient.addServiceDescriptor(DescriptorResourceClient.java:514)
> 	at org.apache.airavata.rest.client.RegistryClient.addServiceDescriptor(RegistryClient.java:284)
> 	at org.apache.airavata.client.impl.ApplicationManagerImpl.addServiceDescription(ApplicationManagerImpl.java:91)
> 	at org.apache.airavata.integration.BaseCaseIT.testUpdateEchoService(BaseCaseIT.java:331)
> 	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)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	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:62)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.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)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> [INFO] Updating service description ....
> [INFO] Adding deployment description ...
> [ERROR] Application descriptor EchoApplication already associated to host localhost and
service Echo
> org.apache.airavata.registry.api.exception.gateway.DescriptorAlreadyExistsException:
The Descriptor EchoApplication already exists !!! already exists!!!
> 	at org.apache.airavata.rest.client.DescriptorResourceClient.addApplicationDescriptor(DescriptorResourceClient.java:853)
> 	at org.apache.airavata.rest.client.RegistryClient.addApplicationDescriptor(RegistryClient.java:330)
> 	at org.apache.airavata.client.impl.ApplicationManagerImpl.addApplicationDescription(ApplicationManagerImpl.java:174)
> 	at org.apache.airavata.integration.BaseCaseIT.testUpdateEchoService(BaseCaseIT.java:348)
> 	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)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	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:62)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.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)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> [INFO] Updating application description ....
> [INFO] Saving workflow ...
> [ERROR] Workflow Echo already exists in the system.
> org.apache.airavata.registry.api.exception.worker.UserWorkflowAlreadyExistsException:
The workflow Echo already exists !!! already exists in user space!!!
> 	at org.apache.airavata.rest.client.UserWorkflowResourceClient.addWorkflow(UserWorkflowResourceClient.java:182)
> 	at org.apache.airavata.rest.client.RegistryClient.addWorkflow(RegistryClient.java:771)
> 	at org.apache.airavata.client.impl.WorkflowManagerImpl.addWorkflow(WorkflowManagerImpl.java:109)
> 	at org.apache.airavata.client.impl.WorkflowManagerImpl.addOwnerWorkflow(WorkflowManagerImpl.java:98)
> 	at org.apache.airavata.client.impl.WorkflowManagerImpl.addWorkflow(WorkflowManagerImpl.java:292)
> 	at org.apache.airavata.integration.BaseCaseIT.testUpdateEchoService(BaseCaseIT.java:366)
> 	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)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	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:62)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.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)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 36.958 sec <<<
FAILURE!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message