Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.559 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.560 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.583 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.583 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:58.584 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.584 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:58.586 [pool-17-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:58.592 [pool-17-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:58.595 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 500.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:58.605 [pool-17-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":500.0}}
13:19:58.606 [pool-17-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"topic":"/predictionSubsystem/prediction/FAILURE","severity":"ERROR","timestamp":"2013-01-01T10:00:00.000Z","message":"prediction pipeline failure","details":"prediction pipeline failure: capacity mapping table does not contain any mapping for metric 'cpu.user.rate'\njava.lang.IllegalArgumentException: capacity mapping table does not contain any mapping for metric 'cpu.user.rate'\n\tat com.elastisys.scale.commons.util.precond.Preconditions.checkArgument(Preconditions.java:26)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.mapper.CapacityMapper.toComputeUnits(CapacityMapper.java:134)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem.map(StandardPredictionSubsystem.java:335)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem.predict(StandardPredictionSubsystem.java:227)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.TestStandardPredictionSubsystemOperation.predictWithMissingCapacityMapping(TestStandardPredictionSubsystemOperation.java:215)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\n\tat org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)\n\tat org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)\n\tat org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)\n","metadata":{}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.621 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.622 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.AbsentComputeUnitPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.631 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.632 [main] INFO  [AbstractPredictor:start:157] - AbsentComputeUnitPredictor started.
13:19:58.632 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.633 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:58.633 [pool-18-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":2,"allocated":2,"active":1}]
13:19:58.634 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional.empty]
13:19:58.635 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional.empty
13:19:58.635 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional.empty
13:19:58.635 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional.empty
13:19:58.635 [main] INFO  [StandardPredictionSubsystem:limit:390] - prediction absent, applying capacity limit to current desired pool size: 2
13:19:58.635 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[2]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.653 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.654 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.661 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.662 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:58.662 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.662 [main] DEBUG [PredictorRegistry:stop:182] - stopping predictor p1
13:19:58.662 [main] INFO  [AbstractPredictor:stop:168] - ConstantCapacityPredictor stopped.
13:19:58.663 [main] INFO  [StandardPredictionSubsystem:stop:168] - StandardPredictionSubsystem stopped.
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.680 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.681 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
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:19:58.717 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.717 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":100}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.732 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.732 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:58.732 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.733 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:58.738 [pool-21-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:58.740 [pool-21-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 100 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:58.744 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 100.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:58.746 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 1.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
13:19:58.747 [pool-21-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":100.0}}
13:19:58.748 [pool-21-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":1.0}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.759 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":1.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":1.0}]};

13:19:58.776 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
p1.prediction;
13:19:58.782 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional[1.0]
13:19:58.783 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional[1.0]
13:19:58.783 [pool-21-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.aggregate","tags":{},"time":"2013-01-01T10:00:00.000Z","value":1.0}}
13:19:58.787 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[2]
13:19:58.788 [main] INFO  [TestStandardPredictionSubsystemOperation:predictWithMinCapacityLimitKickingIn:190] - prediction: 2
13:19:58.788 [pool-21-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.capacity.limit.min","tags":{"limit":"limit"},"time":"2013-01-01T10:00:00.000Z","value":2.0}}
13:19:58.789 [pool-21-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.capacity.limit.max","tags":{"limit":"limit"},"time":"2013-01-01T10:00:00.000Z","value":3.0}}
13:19:58.790 [pool-21-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.bounded","tags":{},"time":"2013-01-01T10:00:00.000Z","value":2.0}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.824 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.825 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.834 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.835 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:58.835 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.835 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:58.838 [pool-22-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:58.843 [pool-22-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:58.844 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 500.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:58.845 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.852 [pool-22-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":500.0}}
13:19:58.853 [pool-22-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:58.858 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":5.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":5.0}]};

13:19:58.882 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
p1.prediction;
13:19:58.890 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional[5.0]
13:19:58.891 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional[5.0]
13:19:58.891 [pool-22-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.aggregate","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:58.893 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[3]
13:19:58.893 [main] INFO  [TestStandardPredictionSubsystemOperation:predictWithCapacityLimit:163] - prediction: 3
13:19:58.896 [pool-22-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.capacity.limit.min","tags":{"limit":"limit"},"time":"2013-01-01T10:00:00.000Z","value":2.0}}
13:19:58.897 [pool-22-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.capacity.limit.max","tags":{"limit":"limit"},"time":"2013-01-01T10:00:00.000Z","value":3.0}}
13:19:58.898 [pool-22-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.bounded","tags":{},"time":"2013-01-01T10:00:00.000Z","value":3.0}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.913 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.914 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.923 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.923 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:58.923 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.923 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:58.926 [pool-23-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional.empty
13:19:58.927 [pool-23-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:58.928 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 500.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:58.929 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.935 [pool-23-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":500.0}}
13:19:58.936 [pool-23-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:58.937 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":5.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":5.0}]};

13:19:58.947 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
p1.prediction;
13:19:58.954 [pool-23-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.aggregate","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:58.954 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional[5.0]
13:19:58.955 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional[5.0]
13:19:58.955 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[5]
13:19:58.956 [pool-23-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.bounded","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.976 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:58.976 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:58.990 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:58.990 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:58.991 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:58.991 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:58.992 [pool-24-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:58.993 [pool-24-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:58.994 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 500.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:58.995 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.001 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":5.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":5.0}]};

13:19:59.005 [pool-24-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":500.0}}
13:19:59.010 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
Math.max(p1.prediction,p2.prediction)
13:19:59.013 [pool-24-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.036 [pool-24-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"topic":"/predictionSubsystem/prediction/FAILURE","severity":"ERROR","timestamp":"2013-01-01T10:00:00.000Z","message":"prediction pipeline failure","details":"prediction pipeline failure: Prediction aggregation script \"Math.max(p1.prediction,p2.prediction)\" failed: ReferenceError: \"p2\" is not defined in <eval> at line number 1\ncom.elastisys.autoscaler.core.prediction.impl.standard.aggregator.AggregatorException: Prediction aggregation script \"Math.max(p1.prediction,p2.prediction)\" failed: ReferenceError: \"p2\" is not defined in <eval> at line number 1\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.aggregator.Aggregator.aggregate(Aggregator.java:157)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem.aggregate(StandardPredictionSubsystem.java:358)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem.predict(StandardPredictionSubsystem.java:228)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.TestStandardPredictionSubsystemOperation.predictWithUnexpectedAggregatorFailure(TestStandardPredictionSubsystemOperation.java:291)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)\n\tat org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)\n\tat org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)\nCaused by: javax.script.ScriptException: ReferenceError: \"p2\" is not defined in <eval> at line number 1\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:477)\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:461)\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:413)\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:409)\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:162)\n\tat java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.aggregator.Aggregator.aggregate(Aggregator.java:153)\n\t... 29 more\nCaused by: <eval>:1 ReferenceError: \"p2\" is not defined\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319)\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291)\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1616)\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$62$\\^eval\\_/0x0000000840351840.:program(<eval>:1)\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655)\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527)\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:456)\n\t... 34 more\n","metadata":{}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.055 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:59.056 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.071 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:59.071 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:59.071 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:59.072 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:59.078 [pool-25-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:59.080 [pool-25-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:59.081 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 500.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:59.082 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
13:19:59.083 [pool-25-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":500.0}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.086 [pool-25-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.091 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":5.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":5.0}]};

13:19:59.101 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
p1.prediction;
13:19:59.107 [pool-25-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.aggregate","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.108 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional[5.0]
13:19:59.108 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional[5.0]
13:19:59.109 [pool-25-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.bounded","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.109 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[5]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.130 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:59.131 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
13:19:59.132 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p2","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":600}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.140 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:59.141 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:59.141 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p2
13:19:59.141 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:59.141 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:59.142 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:59.156 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p2
13:19:59.156 [pool-26-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:59.162 [pool-26-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:59.162 [pool-26-thread-1] DEBUG [AbstractPredictor:predict:204] - p2 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:59.168 [pool-26-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 600 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:59.170 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 500.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}],p2: Optional[{
  "value": 600.0,
  "unit": "METRIC",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:59.171 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
13:19:59.172 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 6.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.177 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":5.0};
var p2 = {"predictor":"p2","prediction":6.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":5.0},{"predictor":"p2","prediction":6.0}]};

13:19:59.183 [pool-26-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":500.0}}
13:19:59.189 [pool-26-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p2","metric":"cpu.user.rate","unit":"METRIC"},"time":"2013-01-01T10:00:00.000Z","value":600.0}}
13:19:59.190 [pool-26-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.191 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
Math.max(p1.prediction, p2.prediction)
13:19:59.194 [pool-26-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p2","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":6.0}}
13:19:59.211 [pool-26-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.aggregate","tags":{},"time":"2013-01-01T10:00:00.000Z","value":6.0}}
13:19:59.212 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional[6.0]
13:19:59.212 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional[6.0]
13:19:59.213 [pool-26-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.bounded","tags":{},"time":"2013-01-01T10:00:00.000Z","value":6.0}}
13:19:59.214 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[6]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.233 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:59.233 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantComputeUnitPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":5}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.244 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:59.246 [main] INFO  [AbstractPredictor:start:157] - ConstantComputeUnitPredictor started.
13:19:59.247 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:59.248 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:59.249 [pool-27-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:59.251 [pool-27-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 5 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:59.252 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]]
13:19:59.253 [pool-27-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.253 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional[{
  "value": 5.0,
  "unit": "COMPUTE",
  "metric": "cpu.user.rate",
  "timestamp": "2013-01-01T10:00:00.000Z"
}]
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.256 [pool-27-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction","tags":{"predictor":"p1","metric":"cpu.user.rate","unit":"COMPUTE"},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.259 [main] DEBUG [Aggregator:aggregate:150] - executing aggregator init script:
var p1 = {"predictor":"p1","prediction":5.0};
var input = {"timestamp":"2013-01-01T10:00:00.000Z","predictions":[{"predictor":"p1","prediction":5.0}]};

13:19:59.273 [main] DEBUG [Aggregator:aggregate:152] - executing aggregator script:
p1.prediction;
13:19:59.288 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional[5.0]
13:19:59.288 [main] DEBUG [StandardPredictionSubsystem:predict:240] - Policy-bounded prediction (CU): Optional[5.0]
13:19:59.288 [pool-27-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.aggregate","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
13:19:59.288 [main] DEBUG [StandardPredictionSubsystem:predict:242] - Limit-bounded prediction (CU): Optional[5]
13:19:59.289 [pool-27-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"value":{"metric":"autoscaler.prediction.bounded","tags":{},"time":"2013-01-01T10:00:00.000Z","value":5.0}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.308 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:59.309 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
13:19:59.310 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p2","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.FailingPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.317 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:59.318 [main] INFO  [AbstractPredictor:start:157] - ConstantCapacityPredictor started.
13:19:59.318 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p2
13:19:59.318 [main] INFO  [AbstractPredictor:start:157] - FailingPredictor started.
13:19:59.318 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:59.319 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:59.319 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p2
13:19:59.319 [pool-28-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:59.321 [pool-28-thread-1] DEBUG [ConstantCapacityPredictor:doPrediction:60] - predicting that value will be 500 for metric 'cpu.user.rate' at time 2013-01-01T10:00:00.000Z
13:19:59.321 [pool-28-thread-1] DEBUG [AbstractPredictor:predict:204] - p2 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional[{"timestamp":"2013-01-01T10:00:00.000Z","desiredSize":0,"allocated":0,"active":0}]
13:19:59.327 [pool-28-thread-1] DEBUG [TestStandardPredictionSubsystemOperation:eventListener:70] - Event: {"topic":"/predictionSubsystem/prediction/FAILURE","severity":"ERROR","timestamp":"2013-01-01T10:00:00.000Z","message":"prediction pipeline failure","details":"prediction pipeline failure: com.elastisys.autoscaler.core.prediction.api.PredictionException: java.lang.NullPointerException: Does not compute\njava.util.concurrent.ExecutionException: com.elastisys.autoscaler.core.prediction.api.PredictionException: java.lang.NullPointerException: Does not compute\n\tat java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)\n\tat java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem.await(StandardPredictionSubsystem.java:300)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem.predict(StandardPredictionSubsystem.java:226)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.TestStandardPredictionSubsystemOperation.predictWithUnexpectedPredictorFailure(TestStandardPredictionSubsystemOperation.java:262)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)\n\tat org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)\n\tat org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)\nCaused by: com.elastisys.autoscaler.core.prediction.api.PredictionException: java.lang.NullPointerException: Does not compute\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.predictor.AbstractPredictor.predict(AbstractPredictor.java:215)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem$PredictionTask.call(StandardPredictionSubsystem.java:438)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.StandardPredictionSubsystem$PredictionTask.call(StandardPredictionSubsystem.java:424)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:834)\nCaused by: java.lang.NullPointerException: Does not compute\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.stubs.FailingPredictor.doPrediction(FailingPredictor.java:31)\n\tat com.elastisys.autoscaler.core.prediction.impl.standard.predictor.AbstractPredictor.predict(AbstractPredictor.java:209)\n\t... 7 more\n","metadata":{}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.342 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:59.342 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.ConstantCapacityPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{"constant.prediction":500}}
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:19:59.367 [main] DEBUG [StandardPredictionSubsystem:configure:133] - applying configuration ...
13:19:59.368 [main] DEBUG [PredictorRegistry:addPredictor:204] - adding predictor: {"id":"p1","type":"com.elastisys.autoscaler.core.prediction.impl.standard.stubs.AbsentComputeUnitPredictor","state":"STARTED","metricStream":"cpu.user.rate","parameters":{}}
Warning: Nashorn engine is planned to be removed from a future JDK release
13:19:59.375 [main] DEBUG [PredictorRegistry:start:166] - starting predictor p1
13:19:59.375 [main] INFO  [AbstractPredictor:start:157] - AbsentComputeUnitPredictor started.
13:19:59.375 [main] INFO  [StandardPredictionSubsystem:start:157] - StandardPredictionSubsystem started.
13:19:59.375 [main] DEBUG [StandardPredictionSubsystem:startPredictions:274] - Launching predictor p1
13:19:59.376 [pool-30-thread-1] DEBUG [AbstractPredictor:predict:204] - p1 asked to predict for time 2013-01-01T10:00:00.000Z for machine pool of size Optional.empty
13:19:59.376 [main] DEBUG [StandardPredictionSubsystem:logPredictionResults:315] - prediction results: [p1: Optional.empty]
13:19:59.377 [main] DEBUG [StandardPredictionSubsystem:map:336] - prediction (CU): Optional.empty
13:19:59.377 [main] DEBUG [StandardPredictionSubsystem:predict:229] - Aggregate prediction (CU): Optional.empty
13:19:59.377 [main] WARN  [StandardPredictionSubsystem:predict:234] - no prediction was produced and pool size is unknown. pool size prediction set to absent.
