Bump org.mockito:mockito-all from 1.9.5 to 1.10.19 #406
ci.jenkins.io / Tests / windows-17 / Build (windows-17)
failed
May 23, 2025 in 0s
failed: 78, skipped: 4, passed: 60
failed: 78, skipped: 4, 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.255 [id=19] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\jenkins-for-test
1.165 [id=19] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50104/jenkins/
2.324 [id=19] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
2.476 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
5.970 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
5.975 [id=38] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h2505907956725735407\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
10.888 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
10.916 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
10.919 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
11.482 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
11.575 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
11.576 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
11.582 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
11.771 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
11.889 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
11.930 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
11.981 [id=19] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h2505907956725735407
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.281 [id=75] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50115/jenkins/
0.770 [id=75] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.787 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.788 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.791 [id=94] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h15653252149791944059\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.979 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.983 [id=93] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.985 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.991 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.191 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.191 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.192 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.206 [id=87] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.229 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.243 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.290 [id=75] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h15653252149791944059
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.294 [id=114] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50118/jenkins/
0.777 [id=114] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.794 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.796 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.798 [id=133] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h2160769234560048256\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.984 [id=130] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.988 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.989 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.220 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.243 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.243 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.244 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.249 [id=133] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.287 [id=114] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.299 [id=114] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.340 [id=114] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h2160769234560048256
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.240 [id=19] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\jenkins-for-test
1.107 [id=19] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50121/jenkins/
2.164 [id=19] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
2.305 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
5.723 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
5.729 [id=35] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h17761305031112467697\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
10.700 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
10.715 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
10.718 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
11.174 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
11.266 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
11.267 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
11.275 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
11.467 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
11.586 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
11.625 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
11.670 [id=19] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h17761305031112467697
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.315 [id=75] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50131/jenkins/
0.810 [id=75] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.827 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.828 [id=87] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.830 [id=87] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h12434182227740192665\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
1.042 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
1.045 [id=93] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
1.048 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.068 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.206 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.207 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.208 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.221 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.246 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.257 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.296 [id=75] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h12434182227740192665
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.266 [id=113] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50134/jenkins/
0.714 [id=113] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.730 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.731 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.733 [id=125] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h503774440059991818\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.908 [id=131] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.911 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.912 [id=127] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.920 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.113 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.114 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.115 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.129 [id=125] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.159 [id=113] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.168 [id=113] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.207 [id=113] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h503774440059991818
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.268 [id=151] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50137/jenkins/
0.694 [id=151] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.712 [id=164] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.713 [id=163] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.715 [id=164] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h10568236056459487851\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.881 [id=167] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.884 [id=169] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.886 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.168 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.189 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.189 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.190 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.202 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.224 [id=151] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.234 [id=151] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.282 [id=151] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h10568236056459487851
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.238 [id=19] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\jenkins-for-test
1.256 [id=19] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50142/jenkins/
2.344 [id=19] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
2.484 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
6.097 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
6.103 [id=35] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h5882755786208746888\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
11.151 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
11.167 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
11.170 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
11.699 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
11.817 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
11.817 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
11.825 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
12.010 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
12.112 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
12.152 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
12.198 [id=19] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h5882755786208746888
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.243 [id=19] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\jenkins-for-test
1.134 [id=19] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50152/jenkins/
2.132 [id=19] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
2.269 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
6.179 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
6.185 [id=35] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h1576873219033799223\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
11.478 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
11.505 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
11.507 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
12.061 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
12.170 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
12.170 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
12.178 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
12.382 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
12.507 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
12.550 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
12.597 [id=19] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h1576873219033799223
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.379 [id=75] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50173/jenkins/
0.956 [id=75] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.974 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.975 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.978 [id=90] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h3186856599542056703\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
1.205 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
1.208 [id=94] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
1.212 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.452 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.485 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.486 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.487 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.491 [id=93] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.519 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.533 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.572 [id=75] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h3186856599542056703
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.255 [id=19] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\jenkins-for-test
1.266 [id=19] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50177/jenkins/
2.420 [id=19] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
2.564 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
7.097 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
7.103 [id=35] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h2385238888527903714\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
13.340 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
13.375 [id=39] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
13.380 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
14.199 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
14.311 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
14.311 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
14.322 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
14.578 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
14.721 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
14.767 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
14.816 [id=19] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h2385238888527903714
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
3.435 [id=75] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50203/jenkins/
4.387 [id=75] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
4.403 [id=88] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
4.405 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
4.406 [id=93] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h15574466266648713402\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
4.627 [id=93] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
4.631 [id=92] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
4.634 [id=90] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
4.913 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
4.939 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
4.940 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
4.941 [id=89] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
4.950 [id=91] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
4.972 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
4.987 [id=75] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
5.040 [id=75] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h15574466266648713402
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.275 [id=113] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50211/jenkins/
0.761 [id=113] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.779 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.780 [id=125] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.782 [id=125] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h3260913411719687077\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.964 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.968 [id=132] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.971 [id=131] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.163 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.192 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.193 [id=128] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.193 [id=130] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.196 [id=126] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.219 [id=113] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.228 [id=113] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.283 [id=113] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h3260913411719687077
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.348 [id=152] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50214/jenkins/
0.818 [id=152] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.840 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.841 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.842 [id=164] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h18088282587011437929\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
1.010 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
1.013 [id=165] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
1.018 [id=171] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.142 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.168 [id=168] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.168 [id=167] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.169 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.172 [id=166] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.192 [id=152] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
2.201 [id=152] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
2.240 [id=152] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h18088282587011437929
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.316 [id=188] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50217/jenkins/
0.779 [id=188] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.799 [id=201] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.800 [id=200] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.801 [id=203] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h8894189990300872528\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.965 [id=200] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.991 [id=200] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.992 [id=202] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
1.208 [id=204] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.222 [id=204] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.222 [id=204] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.223 [id=204] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.228 [id=200] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.256 [id=188] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.269 [id=188] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.326 [id=188] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h8894189990300872528
1.334 [id=223] SEVERE j.p.o.c.JCloudsCleanupThread#execute: Unable to perform the cleanup
java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
at jenkins.model.Jenkins.get(Jenkins.java:804)
at jenkins.plugins.openstack.compute.JCloudsComputer.getAll(JCloudsComputer.java:49)
at jenkins.plugins.openstack.compute.JCloudsCleanupThread.terminateNodesPendingDeletion(JCloudsCleanupThread.java:103)
at jenkins.plugins.openstack.compute.JCloudsCleanupThread.execute(JCloudsCleanupThread.java:55)
at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:102)
at java.base/java.lang.Thread.run(Thread.java:840)
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.261 [id=227] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:50221/jenkins/
0.796 [id=227] INFO jenkins.model.Jenkins#<init>: Starting version 2.504.1
0.816 [id=240] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
0.817 [id=239] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
0.818 [id=244] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h4855360104665097226\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
0.975 [id=242] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
0.978 [id=242] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
0.981 [id=243] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
0.986 [id=243] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
1.123 [id=243] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
1.124 [id=243] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
1.124 [id=243] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
1.145 [id=245] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
1.169 [id=227] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
1.179 [id=227] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
1.225 [id=227] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\ns_openstack-cloud-plugin_PR-406\plugin\target\tmp\j h4855360104665097226
Standard out
=== Starting terminateNodeWithShutoffServer(jenkins.plugins.openstack.compute.JCloudsCleanupThreadTest)
more test results are not shown here, view them on Jenkins
Loading