Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1811

RuntimeTest got feed error.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ING - Ingestion
    • Labels:
      None
    • Environment:
      Linux Ubuntu 14.04

      Description

      Recently, when we try to setup MangixExecutionIT and runtimeTest in a Linux Server, we got a series of errors regarding feed connections. We guess maybe some other applications have used the port what feeds want. The error testcases include:

      runtimets/queries/feeds/change-feed-with-meta-csv/change-feed-with-meta-csv.2.update.aql
      feeds/feed-with-filtered-dataset/feed-with-filtered-dataset.2.update.aql 
      feeds/feed-with-meta-pk-in-meta/feed-with-meta-pk-in-meta.2.update.aql
      feeds/feeds_02/feeds_02.2.update.aql 
      feeds/feeds_10/feeds_10.2.update.aql 
      feeds/feeds_11/feeds_11.2.update.aql 
      feeds/feeds_12/feeds_12.2.update.aql 
      feeds/issue_230_feeds/issue_230_feeds.2.update.aql
      

      A sample log from runtimets/queries/feeds/change-feed-with-meta-csv/change-feed-with-meta-csv.2.update.aql is listed as follows:

      testFile ../asterix-app/src/test/resources/runtimets/queries/feeds/change-feed-with-meta-csv/change-feed-with-meta-csv.2.update.aql raised an exception: java.lang.Exception: HTTP operation failed: 
      STATUS LINE: HTTP/1.1 500 Internal Server Error
      SUMMARY: ASX3007: Failure in active job.
       caused by: org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertNoFailure(ActiveLifecycleEventSubscriber.java:65)
      STACKTRACE: org.apache.asterix.common.exceptions.RuntimeDataException: ASX3007: Failure in active job.
      	at org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertNoFailure(ActiveLifecycleEventSubscriber.java:65)
      	at org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertEvent(ActiveLifecycleEventSubscriber.java:57)
      	at org.apache.asterix.app.translator.QueryTranslator.handleConnectFeedStatement(QueryTranslator.java:2223)
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:363)
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:265)
      	at org.apache.asterix.api.http.server.RestApiServlet.doHandle(RestApiServlet.java:197)
      	at org.apache.asterix.api.http.server.RestApiServlet.handle(RestApiServlet.java:168)
      	at org.apache.hyracks.http.server.HttpRequestHandler.handle(HttpRequestHandler.java:70)
      	at org.apache.hyracks.http.server.HttpRequestHandler.call(HttpRequestHandler.java:55)
      	at org.apache.hyracks.http.server.HttpRequestHandler.call(HttpRequestHandler.java:36)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      
      java.lang.Exception: HTTP operation failed: 
      STATUS LINE: HTTP/1.1 500 Internal Server Error
      SUMMARY: ASX3007: Failure in active job.
       caused by: org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertNoFailure(ActiveLifecycleEventSubscriber.java:65)
      STACKTRACE: org.apache.asterix.common.exceptions.RuntimeDataException: ASX3007: Failure in active job.
      	at org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertNoFailure(ActiveLifecycleEventSubscriber.java:65)
      	at org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertEvent(ActiveLifecycleEventSubscriber.java:57)
      	at org.apache.asterix.app.translator.QueryTranslator.handleConnectFeedStatement(QueryTranslator.java:2223)
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:363)
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:265)
      	at org.apache.asterix.api.http.server.RestApiServlet.doHandle(RestApiServlet.java:197)
      	at org.apache.asterix.api.http.server.RestApiServlet.handle(RestApiServlet.java:168)
      	at org.apache.hyracks.http.server.HttpRequestHandler.handle(HttpRequestHandler.java:70)
      	at org.apache.hyracks.http.server.HttpRequestHandler.call(HttpRequestHandler.java:55)
      	at org.apache.hyracks.http.server.HttpRequestHandler.call(HttpRequestHandler.java:36)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      
      	at org.apache.asterix.test.aql.TestExecutor.checkResponse(TestExecutor.java:441)
      	at org.apache.asterix.test.aql.TestExecutor.executeAndCheckHttpRequest(TestExecutor.java:407)
      	at org.apache.asterix.test.aql.TestExecutor.executeUpdate(TestExecutor.java:593)
      	at org.apache.asterix.test.aql.TestExecutor.executeTestFile(TestExecutor.java:761)
      	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:1130)
      	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:735)
      	at org.apache.asterix.installer.test.AbstractExecutionIT.test(AbstractExecutionIT.java:161)
      	at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
      	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      ...Unexpected!
      
      java.lang.Exception: Test "../asterix-app/src/test/resources/runtimets/queries/feeds/change-feed-with-meta-csv/change-feed-with-meta-csv.2.update.aql" FAILED!
      
      	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:1158)
      	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:735)
      	at org.apache.asterix.installer.test.AbstractExecutionIT.test(AbstractExecutionIT.java:161)
      	at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
      	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      Caused by: java.lang.Exception: HTTP operation failed: 
      STATUS LINE: HTTP/1.1 500 Internal Server Error
      SUMMARY: ASX3007: Failure in active job.
       caused by: org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertNoFailure(ActiveLifecycleEventSubscriber.java:65)
      STACKTRACE: org.apache.asterix.common.exceptions.RuntimeDataException: ASX3007: Failure in active job.
      	at org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertNoFailure(ActiveLifecycleEventSubscriber.java:65)
      	at org.apache.asterix.external.feed.management.ActiveLifecycleEventSubscriber.assertEvent(ActiveLifecycleEventSubscriber.java:57)
      	at org.apache.asterix.app.translator.QueryTranslator.handleConnectFeedStatement(QueryTranslator.java:2223)
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:363)
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:265)
      	at org.apache.asterix.api.http.server.RestApiServlet.doHandle(RestApiServlet.java:197)
      	at org.apache.asterix.api.http.server.RestApiServlet.handle(RestApiServlet.java:168)
      	at org.apache.hyracks.http.server.HttpRequestHandler.handle(HttpRequestHandler.java:70)
      	at org.apache.hyracks.http.server.HttpRequestHandler.call(HttpRequestHandler.java:55)
      	at org.apache.hyracks.http.server.HttpRequestHandler.call(HttpRequestHandler.java:36)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      
      	at org.apache.asterix.test.aql.TestExecutor.checkResponse(TestExecutor.java:441)
      	at org.apache.asterix.test.aql.TestExecutor.executeAndCheckHttpRequest(TestExecutor.java:407)
      	at org.apache.asterix.test.aql.TestExecutor.executeUpdate(TestExecutor.java:593)
      	at org.apache.asterix.test.aql.TestExecutor.executeTestFile(TestExecutor.java:761)
      	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:1130)
      	... 40 more
      

        Attachments

          Activity

            People

            • Assignee:
              idleft Xikui Wang
              Reporter:
              lwhay Wenhai Li
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: