Bump org.mockito:mockito-all from 1.9.5 to 1.10.19 #406
ci.jenkins.io / Tests / linux-21 / Build (linux-21)
failed
May 23, 2025 in 0s
failed: 80, skipped: 2, passed: 60
failed: 80, skipped: 2, passed: 60
Details
jenkins.plugins.openstack.compute.InstanceCapacityTest.doNotProvisionOnceInstanceCapReached
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:320)
at jenkins.plugins.openstack.compute.InstanceCapacityTest.doNotProvisionOnceInstanceCapReached(InstanceCapacityTest.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.290 [id=30] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/jenkins-for-test
1.088 [id=30] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:40479/jenkins/
1.616 [id=30] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.772 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.881 [id=50] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.905 [id=46] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2342080748268983152/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.894 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.924 [id=46] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.925 [id=46] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.636 [id=50] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.745 [id=49] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.745 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.755 [id=46] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
6.006 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
6.139 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
6.183 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
6.233 [id=30] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2342080748268983152
Standard out
=== Starting doNotProvisionOnceInstanceCapReached(jenkins.plugins.openstack.compute.InstanceCapacityTest)
jenkins.plugins.openstack.compute.InstanceCapacityTest.useSeveralTemplatesToProvisionInOneBatchWhenTemplateInstanceCapExceeded
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.InstanceCapacityTest.useSeveralTemplatesToProvisionInOneBatchWhenTemplateInstanceCapExceeded(InstanceCapacityTest.java:60)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.199 [id=85] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:37619/jenkins/
0.308 [id=85] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.315 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.317 [id=101] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.319 [id=101] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2158847312407617652/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.508 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.511 [id=102] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.512 [id=99] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.696 [id=97] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.724 [id=101] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.724 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.725 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.729 [id=101] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.752 [id=85] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.760 [id=85] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.816 [id=85] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2158847312407617652
Standard out
=== Starting useSeveralTemplatesToProvisionInOneBatchWhenTemplateInstanceCapExceeded(jenkins.plugins.openstack.compute.InstanceCapacityTest)
jenkins.plugins.openstack.compute.InstanceCapacityTest.reportInstanceCapBasedOnSlaves
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:320)
at jenkins.plugins.openstack.compute.InstanceCapacityTest.reportInstanceCapBasedOnSlaves(InstanceCapacityTest.java:85)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.096 [id=125] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:32875/jenkins/
0.187 [id=125] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.193 [id=138] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.194 [id=139] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.196 [id=140] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h18209629601458685623/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.344 [id=142] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.346 [id=142] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.346 [id=137] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.464 [id=144] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.491 [id=144] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.492 [id=137] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.493 [id=139] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.497 [id=141] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.523 [id=125] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.532 [id=125] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.585 [id=125] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h18209629601458685623
Standard out
=== Starting reportInstanceCapBasedOnSlaves(jenkins.plugins.openstack.compute.InstanceCapacityTest)
jenkins.plugins.openstack.compute.InstancesMinTest.createSlavesUpToLimit
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.InstancesMinTest.createSlavesUpToLimit(InstancesMinTest.java:47)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.291 [id=30] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/jenkins-for-test
0.974 [id=30] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:42547/jenkins/
1.401 [id=30] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.569 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.645 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.670 [id=50] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h3185873726224036232/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.481 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.497 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.499 [id=48] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.013 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.102 [id=49] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.103 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.110 [id=48] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.289 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.400 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.434 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.476 [id=30] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h3185873726224036232
Standard out
=== Starting createSlavesUpToLimit(jenkins.plugins.openstack.compute.InstancesMinTest)
jenkins.plugins.openstack.compute.InstancesMinTest.doNotCreateNorDeleteWhenSatisfied
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.InstancesMinTest.doNotCreateNorDeleteWhenSatisfied(InstancesMinTest.java:63)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.128 [id=86] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:35113/jenkins/
0.221 [id=86] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.226 [id=99] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.227 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.230 [id=104] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7893938435362363484/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.399 [id=105] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.401 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.402 [id=102] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.616 [id=104] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.634 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.634 [id=100] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.635 [id=100] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.638 [id=105] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.661 [id=86] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.667 [id=86] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.706 [id=86] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7893938435362363484
Standard out
=== Starting doNotCreateNorDeleteWhenSatisfied(jenkins.plugins.openstack.compute.InstancesMinTest)
jenkins.plugins.openstack.compute.InstancesMinTest.removeSlavesOverLimit
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.InstancesMinTest.removeSlavesOverLimit(InstancesMinTest.java:89)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.087 [id=126] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:37327/jenkins/
0.194 [id=126] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.198 [id=139] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.199 [id=140] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.201 [id=138] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h18181461430057542824/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.345 [id=138] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.347 [id=138] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.348 [id=140] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.453 [id=141] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.468 [id=141] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.468 [id=138] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.469 [id=144] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.471 [id=142] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.492 [id=126] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.498 [id=126] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.541 [id=126] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h18181461430057542824
Standard out
=== Starting removeSlavesOverLimit(jenkins.plugins.openstack.compute.InstancesMinTest)
jenkins.plugins.openstack.compute.InstancesMinTest.doNotOverprovision
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.InstancesMinTest.doNotOverprovision(InstancesMinTest.java:129)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.097 [id=166] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:41153/jenkins/
0.184 [id=166] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.188 [id=179] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.189 [id=184] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.190 [id=178] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h16567579066152135677/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.350 [id=185] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.352 [id=178] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.355 [id=184] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.464 [id=182] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.486 [id=179] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.486 [id=182] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.487 [id=180] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.489 [id=183] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.509 [id=166] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.516 [id=166] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.557 [id=166] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h16567579066152135677
Standard out
=== Starting doNotOverprovision(jenkins.plugins.openstack.compute.InstancesMinTest)
jenkins.plugins.openstack.compute.InstancesToRunTest.descriptorUiMethods
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.PluginTestRule.configureSlaveLaunchingWithFloatingIP(PluginTestRule.java:326)
at jenkins.plugins.openstack.compute.InstancesToRunTest.descriptorUiMethods(InstancesToRunTest.java:29)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.283 [id=30] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/jenkins-for-test
1.042 [id=30] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:42275/jenkins/
1.471 [id=30] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.626 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.563 [id=49] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.582 [id=49] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h8929563868502856577/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.400 [id=49] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.412 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.413 [id=46] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.141 [id=50] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.243 [id=49] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.244 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.254 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.483 [id=48] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.594 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.635 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.686 [id=30] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h8929563868502856577
Standard out
=== Starting descriptorUiMethods(jenkins.plugins.openstack.compute.InstancesToRunTest)
jenkins.plugins.openstack.compute.JCloudsBuildWrapperTest.provisionSeveral
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.PluginTestRule.configureSlaveLaunchingWithFloatingIP(PluginTestRule.java:326)
at jenkins.plugins.openstack.compute.JCloudsBuildWrapperTest.provisionSeveral(JCloudsBuildWrapperTest.java:38)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.227 [id=30] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/jenkins-for-test
0.849 [id=30] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:38601/jenkins/
1.239 [id=30] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.393 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.353 [id=48] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.376 [id=47] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h3681275351024307117/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.100 [id=50] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.112 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.113 [id=50] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
4.643 [id=46] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
4.742 [id=46] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
4.743 [id=48] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
4.750 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
4.948 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.052 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.087 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.129 [id=30] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h3681275351024307117
Standard out
=== Starting provisionSeveral(jenkins.plugins.openstack.compute.JCloudsBuildWrapperTest)
jenkins.plugins.openstack.compute.JCloudsBuildWrapperTest.failToProvisionWhenOpenstackFails
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.JCloudsBuildWrapperTest.failToProvisionWhenOpenstackFails(JCloudsBuildWrapperTest.java:80)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.136 [id=85] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:43141/jenkins/
0.234 [id=85] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.239 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.240 [id=101] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.242 [id=99] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h15495490345076472206/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.396 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.398 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.399 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.526 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.542 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.542 [id=100] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.543 [id=97] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.546 [id=97] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.569 [id=85] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.577 [id=85] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.616 [id=85] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h15495490345076472206
Standard out
=== Starting failToProvisionWhenOpenstackFails(jenkins.plugins.openstack.compute.JCloudsBuildWrapperTest)
jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.terminateNodeWithoutServer
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.terminateNodeWithoutServer(JCloudsCleanupThreadTest.java:197)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.286 [id=30] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/jenkins-for-test
1.057 [id=30] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:46047/jenkins/
1.483 [id=30] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.649 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.665 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.692 [id=49] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h9311235839182773412/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.474 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.486 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.487 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.156 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.262 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.263 [id=47] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.271 [id=50] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.508 [id=49] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.640 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.674 [id=30] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.737 [id=30] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h9311235839182773412
Standard out
=== Starting terminateNodeWithoutServer(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.doNotDeleteSlaveThatIsNotIdle
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.doNotDeleteSlaveThatIsNotIdle(JCloudsCleanupThreadTest.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.122 [id=84] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:42671/jenkins/
0.223 [id=84] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.229 [id=97] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.230 [id=103] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.232 [id=96] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h17472739240782569288/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.383 [id=96] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.386 [id=100] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.387 [id=97] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.490 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.506 [id=98] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.506 [id=96] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.507 [id=102] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.510 [id=101] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.528 [id=84] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.535 [id=84] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.575 [id=84] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h17472739240782569288
Standard out
=== Starting doNotDeleteSlaveThatIsNotIdle(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.discardTemporarilyOfflineSlave
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.discardTemporarilyOfflineSlave(JCloudsCleanupThreadTest.java:60)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.083 [id=123] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:40983/jenkins/
0.168 [id=123] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.173 [id=136] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.173 [id=141] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.175 [id=136] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2991578569307709918/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.303 [id=137] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.305 [id=136] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.305 [id=135] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.407 [id=138] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.421 [id=138] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.421 [id=135] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.422 [id=135] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.424 [id=140] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.439 [id=123] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.445 [id=123] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.479 [id=123] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2991578569307709918
Standard out
=== Starting discardTemporarilyOfflineSlave(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.discardDisconnectedSlave
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.discardDisconnectedSlave(JCloudsCleanupThreadTest.java:78)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.081 [id=164] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:41623/jenkins/
0.161 [id=164] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.166 [id=177] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.167 [id=176] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.168 [id=177] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7997464209852272784/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.288 [id=180] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.289 [id=178] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.290 [id=176] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.497 [id=182] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.514 [id=181] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.515 [id=177] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.515 [id=180] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.519 [id=183] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.537 [id=164] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.544 [id=164] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.588 [id=164] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7997464209852272784
Standard out
=== Starting discardDisconnectedSlave(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.doNotTerminateNodeThatIsBeingProvisioned
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:320)
at jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.doNotTerminateNodeThatIsBeingProvisioned(JCloudsCleanupThreadTest.java:274)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.078 [id=204] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:40853/jenkins/
0.167 [id=204] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.172 [id=217] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.173 [id=216] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.174 [id=220] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h6487015974124086454/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.314 [id=222] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.316 [id=220] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.316 [id=219] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.582 [id=223] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.593 [id=217] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.593 [id=223] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.594 [id=223] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.599 [id=219] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.626 [id=204] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.632 [id=204] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.670 [id=204] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h6487015974124086454
Standard out
=== Starting doNotTerminateNodeThatIsBeingProvisioned(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.terminateNodeWithShutoffServer
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
Stack trace
org.mockito.exceptions.base.MockitoException:
You are using the setting 'withSettings().serializable()' however the type you are trying to mock 'Openstack'
do not implement Serializable AND do not have a no-arg constructor.
This combination is requested, otherwise you will get an 'java.io.InvalidClassException' when the mock will be serialized
Also note that as requested by the Java serialization specification, the whole hierarchy need to implements Serializable,
i.e. the top-most superclass has to implements Serializable.
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:680)
at jenkins.plugins.openstack.PluginTestRule$MockJCloudsCloud.<init>(PluginTestRule.java:685)
at jenkins.plugins.openstack.PluginTestRule.dummyCloud(PluginTestRule.java:314)
at jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest.terminateNodeWithShutoffServer(JCloudsCleanupThreadTest.java:226)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:621)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:648)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.093 [id=244] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:42147/jenkins/
0.175 [id=244] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.180 [id=257] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.180 [id=261] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.182 [id=259] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h756677879369052385/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.298 [id=263] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.300 [id=263] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.300 [id=257] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.515 [id=263] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.527 [id=263] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.527 [id=260] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.528 [id=260] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.530 [id=259] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.549 [id=244] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.555 [id=244] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.598 [id=244] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h756677879369052385
Standard out
=== Starting terminateNodeWithShutoffServer(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
more test results are not shown here, view them on Jenkins
Loading