13:25:08.962 [main] INFO  [AutoScalerFactory:launch:227] - creating AutoScalerFactory from config: {
  "storageDir": "target/autoscaler/instances"
}
13:25:08.962 [main] DEBUG [AutoScalerFactory:configure:124] - AutoScalerFactory created with configuration: {
  "storageDir": "target/autoscaler/instances"
}
13:25:08.963 [main] DEBUG [AutoScalerFactory:restoreInstances:446] - Restoring autoscaler instances from /home/simon/git/elastisys/autoscaler/target/checkout/server/target/autoscaler/instances
13:25:08.964 [main] INFO  [AutoScalerFactory:start:156] - autoscaler factory started.
13:25:08.964 [main] INFO  [AbstractAutoScalerCoreRestTest:beforeTest:75] - server options: {
  "storageDir": "/var/lib/elastisys/autoscaler/instances",
  "addonsConfig": null,
  "enableExitHandler": false,
  "httpPort": null,
  "httpsPort": 43307,
  "sslKeyStore": "src/test/resources/security/server/server_keystore.p12",
  "sslKeyStorePassword": "serverpass",
  "requireClientCert": false,
  "sslTrustStore": null,
  "sslTrustStorePassword": null,
  "requireBasicAuth": true,
  "realmFile": "src/test/resources/security/server/security-realm.properties",
  "requireRole": "USER",
  "help": false,
  "version": false,
  "positionalArgs": []
}
13:25:08.966 [main] DEBUG [ServletServerBuilder:createServletHandler:206] - adding servlet 'org.glassfish.jersey.servlet.ServletContainer@9608d1d' at context path '/' with path spec '/*' and init-params {}
13:25:08.966 [main] DEBUG [ServletServerBuilder:addCrossOriginFilter:113] - enabling CORS support
13:25:08.967 [main] INFO  [Server:doStart:371] - jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 11.0.2+9-Ubuntu-3ubuntu118.04.3
13:25:08.976 [main] INFO  [DefaultSessionIdManager:doStart:365] - DefaultSessionIdManager workerName=node0
13:25:08.977 [main] INFO  [DefaultSessionIdManager:doStart:370] - No SessionScavenger set, using defaults
13:25:08.977 [main] INFO  [HouseKeeper:startScavenging:149] - node0 Scavenging every 600000ms
13:25:09.041 [main] INFO  [ContextHandler:doStart:850] - Started o.e.j.s.ServletContextHandler@12855c52{/,null,AVAILABLE}
13:25:09.047 [main] INFO  [SslContextFactory:load:310] - x509=X509@57bfb6c7(1,h=[],w=[]) for SslContextFactory@26843c72[provider=null,keyStore=file:///home/simon/git/elastisys/autoscaler/target/checkout/server/src/test/resources/security/server/server_keystore.p12,trustStore=file:///home/simon/git/elastisys/autoscaler/target/checkout/server/src/test/resources/security/server/server_keystore.p12]
13:25:09.051 [main] INFO  [AbstractConnector:doStart:292] - Started ServerConnector@631f2a85{SSL,[ssl, http/1.1]}{0.0.0.0:43307}
13:25:09.051 [main] INFO  [Server:doStart:408] - Started @15791ms
13:25:09.051 [main] DEBUG [AbstractAutoScalerCoreRestTest:beforeTestMethod:86] - Test method can now run
13:25:09.052 [main] DEBUG [AutoScalerFactory:buildAutoScaler:281] - Building auto-scaler with id Optional[autoscaler1] and uuid 1ce21255-0c76-433d-871d-009cd0c866b2 from:
blueprint: {
  "id": "autoscaler1",
  "monitoringSubsystem": "com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem",
  "alerter": "com.elastisys.autoscaler.core.alerter.impl.standard.StandardAlerter",
  "metronome": "com.elastisys.autoscaler.core.metronome.impl.standard.StandardMetronome",
  "predictionSubsystem": "com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem",
  "cloudPool": "com.elastisys.autoscaler.server.restapi.stubs.CloudPoolProxyStub"
}
add-ons: {}
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > POST https://localhost:43307/autoscaler/instances/autoscaler1/config
1 > Accept: application/json
1 > Content-Type: application/json

13:25:09.163 [qtp1135163644-187] INFO  [RequestLogFilter:filter:26] - POST https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.189 [qtp1135163644-187] DEBUG [AutoScaler:ensureApplicableOrFail:274] - creating a copy autoscaler to validate config ...
13:25:09.211 [qtp1135163644-187] DEBUG [AutoScaler:ensureApplicableOrFail:276] - trying out configuration on copy autoscaler ...
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.224 [qtp1135163644-187] DEBUG [AutoScaler:ensureApplicableOrFail:278] - configuration successfully applied to copy autoscaler.
13:25:09.225 [qtp1135163644-187] INFO  [AutoScaler:applyConfig:226] - applying configuration ...
13:25:09.232 [qtp1135163644-187] DEBUG [StandardAlerter:apply:127] - applying configuration ...
13:25:09.233 [qtp1135163644-187] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:25:09.233 [qtp1135163644-187] INFO  [PredictorRegistry:apply:139] - Ignoring received configuration, since it is equal to the existing one.
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.238 [qtp1135163644-187] INFO  [AutoScalerFactory:save:425] - Saving instance state for auto-scaler autoscaler1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 200
1 < Content-Length: 0
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET https://localhost:43307/autoscaler/instances/autoscaler1/config

13:25:09.280 [qtp1135163644-192] INFO  [RequestLogFilter:filter:26] - GET https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 200
1 < Content-Length: 910
1 < Content-Type: application/json
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

13:25:09.286 [main] DEBUG [AbstractAutoScalerCoreRestTest:afterTestMethod:92] - Test method has run, cleaning up
13:25:09.286 [main] INFO  [AutoScalerFactory:deleteAutoScaler:401] - Deleting auto-scaler instance autoscaler1
13:25:09.286 [main] INFO  [AutoScaler:stop:327] - stopping autoscaler autoscaler1 ...
13:25:09.287 [main] DEBUG [AbstractAutoScalerCoreRestTest:beforeTestMethod:86] - Test method can now run
13:25:09.288 [main] DEBUG [AutoScalerFactory:buildAutoScaler:281] - Building auto-scaler with id Optional[autoscaler1] and uuid 16bd1c12-6bed-4890-b0b6-45fe2def19c4 from:
blueprint: {
  "id": "autoscaler1",
  "monitoringSubsystem": "com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem",
  "alerter": "com.elastisys.autoscaler.core.alerter.impl.standard.StandardAlerter",
  "metronome": "com.elastisys.autoscaler.core.metronome.impl.standard.StandardMetronome",
  "predictionSubsystem": "com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem",
  "cloudPool": "com.elastisys.autoscaler.server.restapi.stubs.CloudPoolProxyStub"
}
add-ons: {}
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > POST https://localhost:43307/autoscaler/instances/autoscaler1/config
1 > Accept: application/json
1 > Content-Type: application/json

13:25:09.336 [qtp1135163644-190] INFO  [RequestLogFilter:filter:26] - POST https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
13:25:09.344 [qtp1135163644-190] WARN  [AutoScalerFactoryRestApi:setSubsystemConfig:403] - failed to set config: monitoringSubsystem: systemHistorian config could not be applied: systemHistorian: openTsdbHost missing
java.lang.IllegalArgumentException: monitoringSubsystem: systemHistorian config could not be applied: systemHistorian: openTsdbHost missing
	at com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem.createAndConfigureSystemHistorian(StandardMonitoringSubsystem.java:184)
	at com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem.ensureConfigurationCanBeRealized(StandardMonitoringSubsystem.java:106)
	at com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem.validate(StandardMonitoringSubsystem.java:90)
	at com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem.validate(StandardMonitoringSubsystem.java:49)
	at com.elastisys.autoscaler.core.autoscaler.AutoScaler.validate(AutoScaler.java:165)
	at com.elastisys.autoscaler.core.autoscaler.AutoScaler.validate(AutoScaler.java:77)
	at com.elastisys.autoscaler.server.restapi.AutoScalerFactoryRestApi.setSubsystemConfig(AutoScalerFactoryRestApi.java:399)
	at com.elastisys.autoscaler.server.restapi.AutoScalerFactoryRestApi.postInstanceConfig(AutoScalerFactoryRestApi.java:235)
	at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
	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:865)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
	at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:311)
	at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:265)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:513)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.Server.handle(Server.java:503)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalArgumentException: systemHistorian: openTsdbHost missing
	at com.elastisys.autoscaler.systemhistorians.opentsdb.config.OpenTsdbSystemHistorianConfig.validate(OpenTsdbSystemHistorianConfig.java:93)
	at com.elastisys.autoscaler.systemhistorians.opentsdb.OpenTsdbSystemHistorian.validate(OpenTsdbSystemHistorian.java:95)
	at com.elastisys.autoscaler.systemhistorians.opentsdb.OpenTsdbSystemHistorian.validate(OpenTsdbSystemHistorian.java:42)
	at com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem.createAndConfigureSystemHistorian(StandardMonitoringSubsystem.java:180)
	... 71 common frames omitted
Caused by: java.lang.NullPointerException: openTsdbHost missing
	at java.base/java.util.Objects.requireNonNull(Objects.java:246)
	at com.elastisys.autoscaler.systemhistorians.opentsdb.config.OpenTsdbSystemHistorianConfig.validate(OpenTsdbSystemHistorianConfig.java:88)
	... 74 common frames omitted
13:25:09.345 [qtp1135163644-190] INFO  [AutoScalerFactory:save:425] - Saving instance state for auto-scaler autoscaler1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 400
1 < Content-Length: 7944
1 < Content-Type: application/json
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET https://localhost:43307/autoscaler/instances/autoscaler1/config

13:25:09.381 [qtp1135163644-190] INFO  [RequestLogFilter:filter:26] - GET https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
13:25:09.381 [qtp1135163644-190] WARN  [AutoScalerFactoryRestApi:getSubsystemConfig:438] - failed to get config: no configuration set for subsystem 'com.elastisys.autoscaler.core.autoscaler.AutoScaler'
java.lang.NullPointerException: no configuration set for subsystem 'com.elastisys.autoscaler.core.autoscaler.AutoScaler'
	at java.base/java.util.Objects.requireNonNull(Objects.java:246)
	at com.elastisys.autoscaler.server.restapi.AutoScalerFactoryRestApi.getSubsystemConfig(AutoScalerFactoryRestApi.java:427)
	at com.elastisys.autoscaler.server.restapi.AutoScalerFactoryRestApi.getInstanceConfig(AutoScalerFactoryRestApi.java:260)
	at jdk.internal.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
	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:865)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
	at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:311)
	at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:265)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:513)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.Server.handle(Server.java:503)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
	at java.base/java.lang.Thread.run(Thread.java:834)
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 404
1 < Content-Length: 6272
1 < Content-Type: application/json
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

13:25:09.385 [main] DEBUG [AbstractAutoScalerCoreRestTest:afterTestMethod:92] - Test method has run, cleaning up
13:25:09.385 [main] INFO  [AutoScalerFactory:deleteAutoScaler:401] - Deleting auto-scaler instance autoscaler1
13:25:09.385 [main] INFO  [AutoScaler:stop:327] - stopping autoscaler autoscaler1 ...
13:25:09.386 [main] DEBUG [AbstractAutoScalerCoreRestTest:beforeTestMethod:86] - Test method can now run
13:25:09.387 [main] DEBUG [AutoScalerFactory:buildAutoScaler:281] - Building auto-scaler with id Optional[autoscaler1] and uuid 2daf7df8-1cf1-4667-83c5-5dee4865120e from:
blueprint: {
  "id": "autoscaler1",
  "monitoringSubsystem": "com.elastisys.autoscaler.core.monitoring.impl.standard.StandardMonitoringSubsystem",
  "alerter": "com.elastisys.autoscaler.core.alerter.impl.standard.StandardAlerter",
  "metronome": "com.elastisys.autoscaler.core.metronome.impl.standard.StandardMetronome",
  "predictionSubsystem": "com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem",
  "cloudPool": "com.elastisys.autoscaler.server.restapi.stubs.CloudPoolProxyStub"
}
add-ons: {}
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > POST https://localhost:43307/autoscaler/instances/autoscaler1/config
1 > Accept: application/json
1 > Content-Type: application/json

13:25:09.422 [qtp1135163644-190] INFO  [RequestLogFilter:filter:26] - POST https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.441 [qtp1135163644-190] DEBUG [AutoScaler:ensureApplicableOrFail:274] - creating a copy autoscaler to validate config ...
13:25:09.455 [qtp1135163644-190] DEBUG [AutoScaler:ensureApplicableOrFail:276] - trying out configuration on copy autoscaler ...
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.468 [qtp1135163644-190] DEBUG [AutoScaler:ensureApplicableOrFail:278] - configuration successfully applied to copy autoscaler.
13:25:09.468 [qtp1135163644-190] INFO  [AutoScaler:applyConfig:226] - applying configuration ...
13:25:09.476 [qtp1135163644-190] DEBUG [StandardAlerter:apply:127] - applying configuration ...
13:25:09.476 [qtp1135163644-190] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:25:09.477 [qtp1135163644-190] INFO  [PredictorRegistry:apply:139] - Ignoring received configuration, since it is equal to the existing one.
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.483 [qtp1135163644-190] INFO  [AutoScalerFactory:save:425] - Saving instance state for auto-scaler autoscaler1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 200
1 < Content-Length: 0
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET https://localhost:43307/autoscaler/instances/autoscaler1/config

13:25:09.510 [qtp1135163644-190] INFO  [RequestLogFilter:filter:26] - GET https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 200
1 < Content-Length: 910
1 < Content-Type: application/json
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > POST https://localhost:43307/autoscaler/instances/autoscaler1/config
1 > Accept: application/json
1 > Content-Type: application/json

13:25:09.544 [qtp1135163644-190] INFO  [RequestLogFilter:filter:26] - POST https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.565 [qtp1135163644-190] DEBUG [AutoScaler:ensureApplicableOrFail:274] - creating a copy autoscaler to validate config ...
13:25:09.590 [qtp1135163644-190] DEBUG [AutoScaler:ensureApplicableOrFail:276] - trying out configuration on copy autoscaler ...
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.609 [qtp1135163644-190] DEBUG [AutoScaler:ensureApplicableOrFail:278] - configuration successfully applied to copy autoscaler.
13:25:09.610 [qtp1135163644-190] INFO  [AutoScaler:applyConfig:226] - applying configuration ...
13:25:09.620 [qtp1135163644-190] DEBUG [StandardAlerter:apply:127] - applying configuration ...
13:25:09.621 [qtp1135163644-190] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:25:09.621 [qtp1135163644-190] INFO  [PredictorRegistry:apply:139] - Ignoring received configuration, since it is equal to the existing one.
Warning: Nashorn engine is planned to be removed from a future JDK release
13:25:09.627 [qtp1135163644-190] INFO  [AutoScalerFactory:save:425] - Saving instance state for auto-scaler autoscaler1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 200
1 < Content-Length: 0
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET https://localhost:43307/autoscaler/instances/autoscaler1/config

13:25:09.660 [qtp1135163644-190] INFO  [RequestLogFilter:filter:26] - GET https://localhost:43307/autoscaler/instances/autoscaler1/config by 127.0.0.1
May 08, 2019 1:25:09 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Client response received on thread main
1 < 200
1 < Content-Length: 910
1 < Content-Type: application/json
1 < Date: Wed, 08 May 2019 11:25:09 GMT
1 < Server: Jetty(9.4.12.v20180830)

13:25:09.664 [main] DEBUG [AbstractAutoScalerCoreRestTest:afterTestMethod:92] - Test method has run, cleaning up
13:25:09.664 [main] INFO  [AutoScalerFactory:deleteAutoScaler:401] - Deleting auto-scaler instance autoscaler1
13:25:09.664 [main] INFO  [AutoScaler:stop:327] - stopping autoscaler autoscaler1 ...
13:25:09.668 [main] INFO  [AbstractConnector:doStop:341] - Stopped ServerConnector@631f2a85{SSL,[ssl, http/1.1]}{0.0.0.0:43307}
13:25:09.668 [main] INFO  [HouseKeeper:stopScavenging:167] - node0 Stopped scavenging
13:25:09.669 [main] INFO  [ContextHandler:doStop:1040] - Stopped o.e.j.s.ServletContextHandler@12855c52{/,null,UNAVAILABLE}
