Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save scottmarlow/f691ecc3f3eff496ad1a75e59f2ad9f5 to your computer and use it in GitHub Desktop.
Save scottmarlow/f691ecc3f3eff496ad1a75e59f2ad9f5 to your computer and use it in GitHub Desktop.
[INFO] Running jenkins.plugins.openstack.compute.ProvisioningTest
[ERROR] Tests run: 17, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 117.584 s <<< FAILURE! - in jenkins.plugins.openstack.compute.ProvisioningTest
[ERROR] jenkins.plugins.openstack.compute.ProvisioningTest.timeoutLaunchingJnlp Time elapsed: 6.719 s <<< FAILURE!
java.lang.AssertionError:
Server details are printed
Expected: a string containing "Server state: Mock for "
but: was "Failed to connect agent template0-2 within timeout (1000 ms): JNLP connection was not established yet
Server does no longer exist: f30e0df2-d4fa-4b42-882a-b703c25a1dd7"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at jenkins.plugins.openstack.compute.ProvisioningTest.timeoutLaunchingJnlp(ProvisioningTest.java:355)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:586)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:601)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
[ERROR] jenkins.plugins.openstack.compute.ProvisioningTest.findFixedIpv4WhenNoExplicitTypeIsGiven Time elapsed: 6.797 s <<< FAILURE!
org.junit.ComparisonFailure: expected:<template0[-3]> but was:<template0[]>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at jenkins.plugins.openstack.compute.ProvisioningTest.verifyPreferredAddressUsed(ProvisioningTest.java:490)
at jenkins.plugins.openstack.compute.ProvisioningTest.findFixedIpv4WhenNoExplicitTypeIsGiven(ProvisioningTest.java:464)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:586)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:601)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
[ERROR] jenkins.plugins.openstack.compute.ProvisioningTest.preferFixedIpv4 Time elapsed: 7.106 s <<< FAILURE!
org.junit.ComparisonFailure: expected:<template0[-11]> but was:<template0[]>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at jenkins.plugins.openstack.compute.ProvisioningTest.verifyPreferredAddressUsed(ProvisioningTest.java:490)
at jenkins.plugins.openstack.compute.ProvisioningTest.preferFixedIpv4(ProvisioningTest.java:457)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:586)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:601)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
[INFO] Running jenkins.plugins.openstack.compute.ServerScopeTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.145 s - in jenkins.plugins.openstack.compute.ServerScopeTest
[INFO] Running jenkins.plugins.openstack.compute.SingleUseSlaveTest
[ERROR] Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 229.815 s <<< FAILURE! - in jenkins.plugins.openstack.compute.SingleUseSlaveTest
[ERROR] jenkins.plugins.openstack.compute.SingleUseSlaveTest.sequenceOfJobsWillNotReuse Time elapsed: 180.079 s <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 180 seconds
at java.base@11.0.2/java.lang.Object.wait(Native Method)
at java.base@11.0.2/java.lang.Object.wait(Object.java:328)
at app//hudson.remoting.AsyncFutureImpl.get(AsyncFutureImpl.java:79)
at app//jenkins.plugins.openstack.compute.SingleUseSlaveTest.awaitBuild(SingleUseSlaveTest.java:200)
at app//jenkins.plugins.openstack.compute.SingleUseSlaveTest$$Lambda$396/0x000000010086c040.apply(Unknown Source)
at java.base@11.0.2/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base@11.0.2/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
at java.base@11.0.2/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base@11.0.2/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base@11.0.2/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base@11.0.2/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@11.0.2/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at app//jenkins.plugins.openstack.compute.SingleUseSlaveTest.sequenceOfJobsWillNotReuse(SingleUseSlaveTest.java:188)
at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base@11.0.2/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base@11.0.2/java.lang.reflect.Method.invoke(Method.java:566)
at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at app//jenkins.plugins.openstack.PluginTestRule$3.evaluate(PluginTestRule.java:586)
at app//org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:601)
at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.base@11.0.2/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
[I
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment