Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cannot index with new data. More than likely the application needs to be rebuilt and deployed first
2017-03-22 09:47:19,498 CRIT Supervisor running as root (no user in config file)
2017-03-22 09:47:19,500 INFO supervisord started with pid 5
2017-03-22 09:47:20,501 INFO spawned: 'frontend' with pid 8
2017-03-22 09:47:20,503 INFO spawned: 'jetty' with pid 9
yarn server v0.21.3
2017-03-22 09:47:20.989:INFO::main: Logging initialized @479ms
$ run-s build server:run
2017-03-22 09:47:21.296:INFO:oejs.SetUIDListener:main: Setting umask=02
2017-03-22 09:47:21.341:INFO:oejs.SetUIDListener:main: Opened ServerConnector@96532d6{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2017-03-22 09:47:21.341:INFO:oejs.SetUIDListener:main: Setting GID=101
2017-03-22 09:47:21.342:INFO:oejs.SetUIDListener:main: Setting UID=100
2017-03-22 09:47:21.345:INFO:oejs.Server:main: jetty-9.3.12.v20160915
2017-03-22 09:47:21.365:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///var/lib/jetty/webapps/] at interval 1
yarn run v0.21.3
2017-03-22 09:47:21,683 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-22 09:47:21,684 INFO success: jetty entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
$ run-s clean test && run-p build:client build:server
yarn run v0.21.3
$ rimraf dist
Done in 0.47s.
yarn run v0.21.3
$ jest --coverage
2017-03-22 09:47:27.058:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=4859ms
PASS __tests__/reducers/ui-test.js
09:47:28.319 [main] INFO i.j.p.d.EmbeddedElasticsearchServer - Initialize elasticsearch
PASS __tests__/actions/index-test.js
PASS __tests__/reducers/data-test.js
-----------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
-----------------------|----------|----------|----------|----------|----------------|
All files | 87.65 | 97.5 | 87.5 | 87.12 | |
plugins | 100 | 100 | 100 | 100 | |
setup-jasmine-env.js | 100 | 100 | 100 | 100 | |
plugins/app/actions | 100 | 100 | 100 | 100 | |
index.js | 100 | 100 | 100 | 100 | |
plugins/app/commons | 60.38 | 75 | 68.97 | 60.38 | |
api.js | 60.38 | 75 | 68.97 | 60.38 |... 140,152,153 |
plugins/app/reducers | 100 | 100 | 100 | 100 | |
data.js | 100 | 100 | 100 | 100 | |
ui.js | 100 | 100 | 100 | 100 | |
plugins/app/state | 100 | 100 | 100 | 100 | |
data.js | 100 | 100 | 100 | 100 | |
index.js | 100 | 100 | 100 | 100 | |
ui.js | 100 | 100 | 100 | 100 | |
-----------------------|----------|----------|----------|----------|----------------|
Test Suites: 3 passed, 3 total
Tests: 53 passed, 53 total
Snapshots: 0 total
Time: 4.172s
Ran all test suites.
Done in 5.70s.
yarn run v0.21.3
yarn run v0.21.3
$ cross-env NODE_ENV=production webpack --config ./webpack/webpack.config.client.entry.js --colors --display-error-details
$ cross-env NODE_ENV=production webpack --config ./webpack/webpack.config.server.entry.js --colors --display-error-details
09:47:31.205 [main] INFO i.j.p.d.EmbeddedElasticsearchServer - Initialized elasticsearch
09:47:34.150 [main] INFO i.j.p.s.i.DefaultConfigurationService - Using Last-Modified [Wed, 22 Mar 2017 08:52:57 GMT]
09:47:34.176 [main] INFO i.j.p.s.i.ElasticsearchPrepareDatastoreService - Alias doesn't exist
09:47:34.180 [main] WARN i.j.p.s.i.ElasticsearchPrepareDatastoreService - Data has mapping version 'deddc38a424f0fc617d5203fffec0cb1398d3c8db4278cb32b4d3880a0a9948e' but application has '19bd38406fae463e81db10e841c4b3ec8d26c9454d736546c195b16ac2b74d9a'
09:47:34.180 [main] WARN i.j.p.s.i.ElasticsearchPrepareDatastoreService - Cannot index with new data. More than likely the application needs to be rebuilt and deployed first
2017-03-22 09:47:34.186:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@4cf777e8{/,file:///tmp/jetty/jetty-0.0.0.0-8080-ROOT.war-_-any-8688458691280489454.dir/webapp/,AVAILABLE}{/ROOT.war}
2017-03-22 09:47:34.207:INFO:oejs.AbstractConnector:main: Started ServerConnector@96532d6{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2017-03-22 09:47:34.207:INFO:oejs.Server:main: Started @13697ms
Hash: c0340bc54fdf00a6454a
Version: webpack 1.14.0
Time: 6463ms
Asset Size Chunks Chunk Names
server.js 148 kB 0 [emitted] server
+ 71 hidden modules
Done in 10.69s.
Hash: 315d0229f493f3787c1a
Version: webpack 1.14.0
Time: 15600ms
Asset Size Chunks Chunk Names
main.js 1.19 MB 0 [emitted] main
Hash: 315d0229f493f3787c1a
Version: webpack 1.14.0
Time: 15600ms
Asset Size Chunks Chunk Names
main.js 1.19 MB 0 [emitted] main
[0] multi main 40 bytes {0} [built]
+ 750 hidden modules
Done in 17.93s.
Done in 26.65s.
yarn run v0.21.3
$ node dist/server/server.js
Downloading header file from 'https://jenkins.io/plugins/index.html'
==> Listening on port 5000
09:47:58.462 [qtp2143192188-8] ERROR i.j.p.s.i.ElasticsearchDatastoreService - Problem getting labels
java.util.concurrent.ExecutionException: [plugins] IndexNotFoundException[no such index]
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:290)
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:277)
at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:116)
at io.jenkins.plugins.services.impl.ElasticsearchDatastoreService.getLabels(ElasticsearchDatastoreService.java:220)
at io.jenkins.plugins.endpoints.LabelsEndpoint.getLabels(LabelsEndpoint.java:33)
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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:523)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.index.IndexNotFoundException: no such index
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:585)
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:133)
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:113)
at org.elasticsearch.action.search.AbstractSearchAsyncAction.<init>(AbstractSearchAsyncAction.java:99)
at org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction.<init>(SearchQueryThenFetchAsyncAction.java:53)
at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:93)
at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:47)
at org.elasticsearch.action.support.TransportAction.doExecute(TransportAction.java:149)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:137)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:85)
at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
... 53 common frames omitted
09:47:58.462 [qtp2143192188-8] ERROR i.j.plugins.endpoints.LabelsEndpoint - Problem getting labels
io.jenkins.plugins.services.ServiceException: Problem getting labels
at io.jenkins.plugins.services.impl.ElasticsearchDatastoreService.getLabels(ElasticsearchDatastoreService.java:229)
at io.jenkins.plugins.endpoints.LabelsEndpoint.getLabels(LabelsEndpoint.java:33)
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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:523)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: [plugins] IndexNotFoundException[no such index]
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:290)
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:277)
at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:116)
at io.jenkins.plugins.services.impl.ElasticsearchDatastoreService.getLabels(ElasticsearchDatastoreService.java:220)
... 52 common frames omitted
Caused by: org.elasticsearch.index.IndexNotFoundException: no such index
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:585)
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:133)
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:113)
at org.elasticsearch.action.search.AbstractSearchAsyncAction.<init>(AbstractSearchAsyncAction.java:99)
at org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction.<init>(SearchQueryThenFetchAsyncAction.java:53)
at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:93)
at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:47)
at org.elasticsearch.action.support.TransportAction.doExecute(TransportAction.java:149)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:137)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:85)
at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
... 53 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.