Bump org.mockito:mockito-all from 1.9.5 to 1.10.19 #406
ci.jenkins.io / Tests / linux-17 / Build (linux-17)
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.268 [id=21] 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.035 [id=21] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:42365/jenkins/
1.484 [id=21] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.635 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.762 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.783 [id=41] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h10905658626302759398/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.571 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.586 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.587 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.207 [id=40] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.319 [id=40] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.319 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.326 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.548 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.662 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.712 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.746 [id=21] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h10905658626302759398
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.195 [id=76] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:43189/jenkins/
0.298 [id=76] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.305 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.307 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.309 [id=95] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h14894937951254570633/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.485 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.488 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.489 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.817 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.844 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.844 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.845 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.850 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.881 [id=76] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.890 [id=76] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.941 [id=76] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h14894937951254570633
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.104 [id=116] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:32925/jenkins/
0.211 [id=116] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.216 [id=129] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.217 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.219 [id=134] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2090190200167902335/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.386 [id=135] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.389 [id=130] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.390 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.611 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.637 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.638 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.639 [id=128] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.642 [id=129] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.671 [id=116] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.681 [id=116] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.720 [id=116] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h2090190200167902335
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.260 [id=21] 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=21] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:46655/jenkins/
1.490 [id=21] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.652 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.754 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.775 [id=35] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h11103132993776841572/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.736 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.755 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.758 [id=40] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.514 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.629 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.629 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.637 [id=40] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.846 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.969 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
6.017 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
6.074 [id=21] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h11103132993776841572
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.142 [id=74] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:34149/jenkins/
0.247 [id=74] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.256 [id=87] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.258 [id=93] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.260 [id=91] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h13356654038508146388/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.466 [id=93] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.469 [id=87] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.470 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.550 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.577 [id=87] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.578 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.579 [id=86] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.584 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.608 [id=74] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.615 [id=74] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.646 [id=74] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h13356654038508146388
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.087 [id=114] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:34077/jenkins/
0.174 [id=114] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.178 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.179 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.180 [id=128] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h16991060381966126403/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.314 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.316 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.318 [id=131] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.448 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.464 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.464 [id=129] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.465 [id=131] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.467 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.490 [id=114] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.496 [id=114] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.539 [id=114] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h16991060381966126403
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.091 [id=153] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:38843/jenkins/
0.176 [id=153] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.181 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.182 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.184 [id=172] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h857375369102985252/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.311 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.313 [id=167] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.314 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.316 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.483 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.484 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.485 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.489 [id=172] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.509 [id=153] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.515 [id=153] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.550 [id=153] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h857375369102985252
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.315 [id=21] 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.162 [id=21] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:36119/jenkins/
1.644 [id=21] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.811 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.914 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.933 [id=40] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h11094604965801642721/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.753 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.768 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.769 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.257 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.364 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.364 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.375 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.573 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.708 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.747 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.785 [id=21] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h11094604965801642721
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.310 [id=21] 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.050 [id=21] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:40671/jenkins/
1.464 [id=21] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.626 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.698 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.719 [id=37] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h16573409180345515730/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.526 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.541 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.543 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.310 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.427 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.428 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.436 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.647 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.764 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.807 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.839 [id=21] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h16573409180345515730
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.159 [id=75] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:44675/jenkins/
0.259 [id=75] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.266 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.268 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.270 [id=89] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h17861496897698997076/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.453 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.456 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.457 [id=87] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.645 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.671 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.671 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.673 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.677 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.699 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.706 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.749 [id=75] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h17861496897698997076
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.263 [id=21] 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.026 [id=21] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:42783/jenkins/
1.451 [id=21] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
1.609 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2.727 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2.746 [id=35] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7917971489664030895/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.507 [id=40] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.525 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.526 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
5.200 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
5.307 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
5.308 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
5.315 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
5.520 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
5.645 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
5.697 [id=21] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.734 [id=21] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7917971489664030895
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.166 [id=73] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:41599/jenkins/
0.284 [id=73] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.291 [id=86] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.292 [id=85] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.295 [id=91] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h5489000250496744623/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.457 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.459 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.460 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.622 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.648 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.649 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.650 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.654 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.673 [id=73] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.679 [id=73] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.723 [id=73] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h5489000250496744623
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.096 [id=113] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:33461/jenkins/
0.188 [id=113] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.193 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.195 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.196 [id=128] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h8089613187548932345/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.351 [id=131] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.354 [id=129] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.354 [id=129] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.542 [id=129] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.562 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.563 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.564 [id=128] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.567 [id=128] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.589 [id=113] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.597 [id=113] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.629 [id=113] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h8089613187548932345
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.099 [id=154] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:39045/jenkins/
0.207 [id=154] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.213 [id=167] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.213 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.215 [id=171] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7979000418479071610/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.386 [id=170] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.388 [id=170] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.388 [id=169] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.600 [id=172] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.617 [id=172] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.618 [id=169] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.619 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.625 [id=171] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.646 [id=154] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.653 [id=154] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.698 [id=154] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h7979000418479071610
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.079 [id=194] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:45163/jenkins/
0.165 [id=194] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.169 [id=207] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.169 [id=213] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.170 [id=208] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h10395243819879377704/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.284 [id=208] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.286 [id=213] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.286 [id=210] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.373 [id=212] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.384 [id=212] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.385 [id=212] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.385 [id=212] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.387 [id=210] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.412 [id=194] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.420 [id=194] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.463 [id=194] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h10395243819879377704
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:569)
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:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.089 [id=234] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:35191/jenkins/
0.193 [id=234] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.197 [id=247] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.198 [id=246] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.199 [id=253] INFO j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h5446962128824812730/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.336 [id=252] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.338 [id=251] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.339 [id=250] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.516 [id=250] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
0.529 [id=247] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
0.530 [id=250] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
0.531 [id=248] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
0.538 [id=246] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
0.566 [id=234] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
0.574 [id=234] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
0.611 [id=234] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ns_openstack-cloud-plugin_PR-406/plugin/target/tmp/j h5446962128824812730
Standard out
=== Starting terminateNodeWithShutoffServer(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
more test results are not shown here, view them on Jenkins
Loading