Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Sporadic test failures on Jenkins:
testFile src/test/resources/runtimets/queries/feeds/change-feed-with-meta-pk-in-meta-index-after-ingest/change-feed-with-meta-pk-in-meta-index-after-ingest.3.ddl.aql raised an exception: HTTP operation failed: Dataset KeyVerse.KVStore is currently being fed into by the following active entities. KeyVerse.KVChangeStream(Feed) [CompilationException] STATUS LINE: HTTP/1.1 500 Internal Server Error SUMMARY: org.apache.asterix.common.exceptions.CompilationException: Dataset KeyVerse.KVStore is currently being fed into by the following active entities. HTTP operation failed: Dataset KeyVerse.KVStore is currently being fed into by the following active entities. KeyVerse.KVChangeStream(Feed) [CompilationException] STATUS LINE: HTTP/1.1 500 Internal Server Error SUMMARY: org.apache.asterix.common.exceptions.CompilationException: Dataset KeyVerse.KVStore is currently being fed into by the following active entities. at org.apache.asterix.test.common.TestExecutor.checkResponse(TestExecutor.java:474) at org.apache.asterix.test.common.TestExecutor.executeAndCheckHttpRequest(TestExecutor.java:437) at org.apache.asterix.test.common.TestExecutor.executeDDL(TestExecutor.java:719) at org.apache.asterix.test.common.TestExecutor.executeTestFile(TestExecutor.java:837) at org.apache.asterix.test.common.TestExecutor.executeTest(TestExecutor.java:1310) at org.apache.asterix.test.runtime.LangExecutionUtil.test(LangExecutionUtil.java:125) at org.apache.asterix.test.runtime.LangExecutionUtil.test(LangExecutionUtil.java:112) at org.apache.asterix.test.runtime.AqlExecutionTest.test(AqlExecutionTest.java:63) 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:498) 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.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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: org.apache.asterix.common.exceptions.CompilationException: Dataset KeyVerse.KVStore is currently being fed into by the following active entities. KeyVerse.KVChangeStream(Feed) at org.apache.asterix.app.translator.QueryTranslator.validateIfResourceIsActiveInFeed(QueryTranslator.java:709) at org.apache.asterix.app.translator.QueryTranslator.doCreateIndex(QueryTranslator.java:880) at org.apache.asterix.app.translator.QueryTranslator.handleCreateIndexStatement(QueryTranslator.java:860) at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:303) at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:259) at org.apache.asterix.api.http.server.RestApiServlet.doHandle(RestApiServlet.java:206) at org.apache.asterix.api.http.server.RestApiServlet.getOrPost(RestApiServlet.java:176) at org.apache.asterix.api.http.server.RestApiServlet.post(RestApiServlet.java:165) at org.apache.hyracks.http.server.AbstractServlet.handle(AbstractServlet.java:78) 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) ...Unexpected!