Skip to content
This repository has been archived by the owner on Aug 16, 2020. It is now read-only.

Build failure #28

Open
kmakowski opened this issue Dec 8, 2014 · 0 comments
Open

Build failure #28

kmakowski opened this issue Dec 8, 2014 · 0 comments

Comments

@kmakowski
Copy link

  1. Clone repo
  2. execute $ mvn install

reindexChilds(com.pannous.es.reindex.ReIndexActionJsonTest) Time elapsed: 0.67 sec <<< FAILURE!
java.lang.RuntimeException: Problem while POST, Error:Problem 404 while POST {"error":"IndexMissingException[[oldtweets] missing]","status":404}, url:http://localhost:9200/oldtweets/tweet/_search?search_type=scan&scroll=1m&size=10
at com.pannous.es.reindex.MySearchResponseJson.requestContent(MySearchResponseJson.java:253)
at com.pannous.es.reindex.MySearchResponseJson.doPost(MySearchResponseJson.java:211)
at com.pannous.es.reindex.MySearchResponseJson.(MySearchResponseJson.java:98)
at com.pannous.es.reindex.ReIndexActionJsonTest.scrollSearch(ReIndexActionJsonTest.java:9)
at com.pannous.es.reindex.ReIndexActionTester.scrollSearch(ReIndexActionTester.java:54)
at com.pannous.es.reindex.ReIndexActionTester.reindexChilds(ReIndexActionTester.java:101)
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:483)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
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:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
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:483)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.RuntimeException: Problem 404 while POST {"error":"IndexMissingException[[oldtweets] missing]","status":404}
at com.pannous.es.reindex.MySearchResponseJson.requestContent(MySearchResponseJson.java:250)
... 39 more
Caused by: java.lang.RuntimeException: Problem 404 while POST {"error":"IndexMissingException[[oldtweets] missing]","status":404}
at com.pannous.es.reindex.MySearchResponseJson.requestContent(MySearchResponseJson.java:250)
... 39 more

Results :

Failed tests: reindexAll(com.pannous.es.reindex.ReIndexActionJsonTest): Problem while POST, Error:Problem 404 while POST {"error":"IndexMissingException[[oldtweets] missing]","status":404}, url:http://localhost:9200/oldtweets/tweet/_search?search_type=scan&scroll=1m&size=10
reindexAllPartial(com.pannous.es.reindex.ReIndexActionJsonTest): Problem while POST, Error:Problem 404 while POST {"error":"IndexMissingException[[oldtweets] missing]","status":404}, url:http://localhost:9200/oldtweets/tweet/_search?search_type=scan&scroll=1m&size=10
reindexChilds(com.pannous.es.reindex.ReIndexActionJsonTest): Problem while POST, Error:Problem 404 while POST {"error":"IndexMissingException[[oldtweets] missing]","status":404}, url:http://localhost:9200/oldtweets/tweet/_search?search_type=scan&scroll=1m&size=10

Tests run: 6, Failures: 3, Errors: 0, Skipped: 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant