Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 252: Allow clients to specify message expiration time. #253

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Fix SpotBugs issues.

d3cc165
Select commit
Loading
Failed to load commit list.
Open

Issue 252: Allow clients to specify message expiration time. #253

Fix SpotBugs issues.
d3cc165
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Tests / docker && linux-11 / Build (docker && linux-11) failed May 22, 2024 in 0s

failed: 2, passed: 131

Send us feedback

Details

com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testSimpleCIEventTriggerWithDefaultValue

Stack trace
java.lang.NullPointerException
	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1468)
	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatusSuccess(JenkinsRule.java:1502)
	at com.redhat.jenkins.plugins.ci.integration.SharedMessagingPluginIntegrationTest._testSimpleCIEventTriggerWithDefaultValue(SharedMessagingPluginIntegrationTest.java:168)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testSimpleCIEventTriggerWithDefaultValue(AmqMessagingPluginIntegrationTest.java:150)
	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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:613)
	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:829)
Standard error
0.010 [id=330]	INFO	o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:34775/jenkins/
   0.079 [id=344]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
   0.080 [id=345]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
   0.221 [id=345]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
   0.224 [id=345]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
   0.226 [id=348]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
   0.931 [id=347]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
   0.940 [id=345]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
   0.940 [id=349]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
   0.940 [id=344]	INFO	c.r.j.p.c.m.MessageProviderMigrator#migrateCIMessageBuilders: Attempting to migrate all CIMessageBuilders, CIMessageNotifier and CIMessageSubscriberBuilders build/publish steps
   0.941 [id=344]	INFO	c.r.j.p.c.m.MessageProviderMigrator#migrateCIMessageBuilders: Updated 0 build/publish step(s)
   0.941 [id=346]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
   0.944 [id=347]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
   2.051 [id=340]	INFO	o.a.a.util.ThreadPoolUtils#awaitTermination: Waited 2.000 seconds for ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] to terminate...
   4.051 [id=340]	INFO	o.a.a.util.ThreadPoolUtils#awaitTermination: Waited 4.004 seconds for ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] to terminate...
   4.299 [id=330]	INFO	c.r.j.plugins.ci.CIBuildTrigger#stopTriggerThreads: Stopping thread (77) for 'test0'.
   4.299 [id=330]	INFO	c.r.j.p.c.t.CITriggerThread#shutdown: CIBuildTrigger-test0-1-ActiveMqMessagingProvider is dead already
   4.300 [id=330]	INFO	c.r.j.plugins.ci.CIBuildTrigger#startTriggerThreads: Starting thread (368) for 'test0'.
   6.052 [id=340]	INFO	o.a.a.util.ThreadPoolUtils#awaitTermination: Waited 6.005 seconds for ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] to terminate...
   7.324 [id=352]	INFO	com.redhat.utils.MessageUtils#sendMessage: Sending message for job 'test1'.
   8.052 [id=340]	INFO	o.a.a.util.ThreadPoolUtils#awaitTermination: Waited 8.005 seconds for ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] to terminate...
  10.048 [id=340]	INFO	o.a.a.util.ThreadPoolUtils#awaitTermination: Waited 10.000 seconds for ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] to terminate...
  10.048 [id=340]	WARNING	o.a.a.util.ThreadPoolUtils#doShutdown: Forcing shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] due first await termination elapsed.
  10.048 [id=340]	WARNING	o.a.a.util.ThreadPoolUtils#doShutdown: Forcing shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] due interrupted.
  10.048 [id=340]	INFO	o.a.a.util.ThreadPoolUtils#doShutdown: Shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@34d08fae[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] is shutdown: true and terminated: false took: 10.001 seconds.
  10.049 [id=315]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32770 Could not connect to broker URL: tcp://127.0.0.1:32770. Reason: java.net.ConnectException: Connection refused (Connection refused)
  10.099 [id=368]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Connection started
  10.099 [id=368]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#subscribe: Subscribing job 'test0' to 'topic' topic.
  10.117 [id=352]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#sendMessage: Sent unknown type message for job 'test1' to topic 'topic':
Message Headers:
  JMSDestination: topic://topic
  JMSDeliveryMode: persistent
  JMSExpiration: 0
  JMSPriority: 4
  JMSMessageID: ID:ubuntu-22-f22290-44363-1716396276248-51:1:1:1:1
  JMSTimestamp: 16:45:36
  JMSCorrelationID: null
  JMSReplyTo: null
  JMSRedelivered: false
  JMSType: application/json
Message Properties:
  CI_STATUS: passed
  CI_NAME: test1
Message Body:
Hello World
  10.121 [id=352]	INFO	com.redhat.utils.MessageUtils#sendMessage: Sent successfully with messageId: ID:ubuntu-22-f22290-44363-1716396276248-51:1:1:1:1
  10.131 [id=368]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#subscribe: Successfully subscribed job 'test0' to 'topic' topic with selector: 
  11.218 [id=368]	WARNING	c.r.j.p.c.m.ActiveMqMessagingWorker#receive: JMS exception raised while receiving, unsubscribing job 'test0'.
java.io.EOFException
	at java.base/java.io.DataInputStream.readInt(DataInputStream.java:397)
	at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
	at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:240)
	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:232)
	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused: javax.jms.JMSException
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
	at org.apache.activemq.ActiveMQMessageConsumer.dequeue(ActiveMQMessageConsumer.java:505)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:666)
	at com.redhat.jenkins.plugins.ci.messaging.ActiveMqMessagingWorker.receive(ActiveMqMessagingWorker.java:308)
	at com.redhat.jenkins.plugins.ci.threads.CITriggerThread.run(CITriggerThread.java:90)
  11.219 [id=368]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#unsubscribe: Unsubscribing job 'test0' from the 'topic' topic.
  11.221 [id=368]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32772 Cannot send, channel has already failed: tcp://127.0.0.1:32772
  11.515 [id=330]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
  11.610 [id=330]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
Standard out
=== Starting testSimpleCIEventTriggerWithDefaultValue(com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest)
Launching Docker container `docker run -d -p 127.0.0.1::61616 -p 127.0.0.1::8161 jenkins/activeamq:464eee7f3c0e`
INFO: Loading '/opt/activemq/bin/env'
INFO: Using java '/usr/local/openjdk-8/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
INFO: Creating pidfile /opt/activemq/data/activemq.pid
Java Runtime: Oracle Corporation 1.8.0_212 /usr/local/openjdk-8
  Heap sizes: current=62976k  free=58706k  max=932352k
    JVM args: -Xms64M -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/opt/activemq/conf/login.config -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Djava.io.tmpdir=/opt/activemq/tmp -Dactivemq.classpath=/opt/activemq/conf:/opt/activemq/../lib/: -Dactivemq.home=/opt/activemq -Dactivemq.base=/opt/activemq -Dactivemq.conf=/opt/activemq/conf -Dactivemq.data=/opt/activemq/data
Extensions classpath:
  [/opt/activemq/lib,/opt/activemq/lib/camel,/opt/activemq/lib/optional,/opt/activemq/lib/web,/opt/activemq/lib/extra]
ACTIVEMQ_HOME: /opt/activemq
ACTIVEMQ_BASE: /opt/activemq
ACTIVEMQ_CONF: /opt/activemq/conf
ACTIVEMQ_DATA: /opt/activemq/data
Loading message broker from: xbean:activemq.xml
 INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1a968a59: startup date [Wed May 22 16:45:27 UTC 2024]; root of context hierarchy
 INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/opt/activemq/data/kahadb]
 INFO | PListStore:[/opt/activemq/data/localhost/tmp_storage] started
 INFO | Apache ActiveMQ 5.15.9 (localhost, ID:3100d4dbee8b-39325-1716396328706-0:1) is starting
 INFO | Listening for connections at: tcp://3100d4dbee8b:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector openwire started
 INFO | Listening for connections at: amqp://3100d4dbee8b:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector amqp started
 INFO | Listening for connections at: stomp://3100d4dbee8b:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector stomp started
 INFO | Listening for connections at: mqtt://3100d4dbee8b:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector mqtt started
 INFO | Starting Jetty server
 INFO | Creating Jetty connector
 WARN | [email protected]@7aaca91a{/,null,STARTING} has uncovered http methods for path: /
 INFO | Listening for connections at ws://3100d4dbee8b:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector ws started
 INFO | Apache ActiveMQ 5.15.9 (localhost, ID:3100d4dbee8b-39325-1716396328706-0:1) started
 INFO | For help or more information please see: http://activemq.apache.org
 INFO | No Spring WebApplicationInitializer types detected on classpath
 INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/
 INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/
 INFO | Initializing Spring FrameworkServlet 'dispatcher'
 INFO | No Spring WebApplicationInitializer types detected on classpath
 INFO | jolokia-agent: Using policy access restrictor classpath:/jolokia-access.xml

com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testPipelineJobPropertiesMultipleProviders

ActiveMQ.*Task- count expected:<1> but was:<2>
Stack trace
java.lang.AssertionError: ActiveMQ.*Task- count expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:647)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest._testPipelineJobProperties(AmqMessagingPluginIntegrationTest.java:403)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testPipelineJobPropertiesMultipleProviders(AmqMessagingPluginIntegrationTest.java:359)
	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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:613)
	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:829)
Standard error
0.006 [id=3541]	INFO	o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:40507/jenkins/
   0.073 [id=3554]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
   0.074 [id=3559]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
   0.234 [id=3558]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
   0.236 [id=3554]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
   0.238 [id=3556]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
   0.835 [id=3553]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
   0.844 [id=3558]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
   0.844 [id=3555]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
   0.844 [id=3553]	INFO	c.r.j.p.c.m.MessageProviderMigrator#migrateCIMessageBuilders: Attempting to migrate all CIMessageBuilders, CIMessageNotifier and CIMessageSubscriberBuilders build/publish steps
   0.844 [id=3553]	INFO	c.r.j.p.c.m.MessageProviderMigrator#migrateCIMessageBuilders: Updated 0 build/publish step(s)
   0.844 [id=3555]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
   0.847 [id=3560]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
   1.403 [id=3510]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32848 Could not connect to broker URL: tcp://127.0.0.1:32848. Reason: java.net.ConnectException: Connection refused (Connection refused)
   1.590 [id=1292]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32796 Could not connect to broker URL: tcp://127.0.0.1:32796. Reason: java.net.ConnectException: Connection refused (Connection refused)
   3.404 [id=3510]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32848 Could not connect to broker URL: tcp://127.0.0.1:32848. Reason: java.net.ConnectException: Connection refused (Connection refused)
   3.591 [id=1292]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32796 Could not connect to broker URL: tcp://127.0.0.1:32796. Reason: java.net.ConnectException: Connection refused (Connection refused)
   4.174 [id=3510]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#unsubscribe: Unsubscribing job 'jobA' from the 'otopic' topic.
   4.174 [id=3510]	SEVERE	h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (CIBuildTrigger-jobA-1-ActiveMqMessagingProvider/3510) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.ThreadDeath
	at java.base/java.lang.Thread.stop(Thread.java:937)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest._testPipelineJobProperties(AmqMessagingPluginIntegrationTest.java:367)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testPipelineJobPropertiesMultipleProviders(AmqMessagingPluginIntegrationTest.java:359)
	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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:613)
	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:829)
   4.175 [id=1292]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#unsubscribe: Unsubscribing job 'test1' from the 'topic' topic.
   4.175 [id=3507]	SEVERE	o.a.a.t.TaskRunnerFactory$1$1#uncaughtException: Error in thread 'ActiveMQ Session Task-1'
java.lang.ThreadDeath
	at java.base/java.lang.Thread.stop(Thread.java:937)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest._testPipelineJobProperties(AmqMessagingPluginIntegrationTest.java:367)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testPipelineJobPropertiesMultipleProviders(AmqMessagingPluginIntegrationTest.java:359)
	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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:613)
	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:829)
   4.175 [id=1292]	SEVERE	h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (CIBuildTrigger-test1-1-ActiveMqMessagingProvider/1292) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.ThreadDeath
	at java.base/java.lang.Thread.stop(Thread.java:937)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest._testPipelineJobProperties(AmqMessagingPluginIntegrationTest.java:367)
	at com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest.testPipelineJobPropertiesMultipleProviders(AmqMessagingPluginIntegrationTest.java:359)
	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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:613)
	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:829)
   4.252 [id=1120]	INFO	c.r.j.plugins.ci.CIBuildTrigger#stopTriggerThreads: Stopping thread (315) for 'receive'.
   4.252 [id=1120]	INFO	c.r.j.p.c.t.CITriggerThread#shutdown: CIBuildTrigger-receive-1-ActiveMqMessagingProvider is dead already
   4.252 [id=1120]	INFO	c.r.j.plugins.ci.CIBuildTrigger#startTriggerThreads: Starting thread (3586) for 'receive'.
   4.305 [id=3586]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Connection started
   4.305 [id=3586]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#subscribe: Subscribing job 'receive' to 'topic' topic.
   4.339 [id=3586]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#subscribe: Successfully subscribed job 'receive' to 'topic' topic with selector: CI_NAME = 'send'
   5.285 [id=98]	INFO	o.j.p.workflow.job.WorkflowRun#finish: receive #1 completed: SUCCESS
   7.325 [id=3586]	WARNING	c.r.j.p.c.m.ActiveMqMessagingWorker#receive: JMS exception raised while receiving, unsubscribing job 'receive'.
java.io.EOFException
	at java.base/java.io.DataInputStream.readInt(DataInputStream.java:397)
	at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
	at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:240)
	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:232)
	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused: javax.jms.JMSException
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
	at org.apache.activemq.ActiveMQMessageConsumer.dequeue(ActiveMQMessageConsumer.java:505)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:666)
	at com.redhat.jenkins.plugins.ci.messaging.ActiveMqMessagingWorker.receive(ActiveMqMessagingWorker.java:308)
	at com.redhat.jenkins.plugins.ci.threads.CITriggerThread.run(CITriggerThread.java:90)
   7.326 [id=3586]	INFO	c.r.j.p.c.m.ActiveMqMessagingWorker#unsubscribe: Unsubscribing job 'receive' from the 'topic' topic.
   7.327 [id=3586]	SEVERE	c.r.j.p.c.m.ActiveMqMessagingWorker#connect: Unable to connect to tcp://127.0.0.1:32850 Cannot send, channel has already failed: tcp://127.0.0.1:32850
   7.615 [id=3541]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
   7.707 [id=3541]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
Standard out
=== Starting testPipelineJobPropertiesMultipleProviders(com.redhat.jenkins.plugins.ci.integration.AmqMessagingPluginIntegrationTest)
Launching Docker container `docker run -d -p 127.0.0.1::61616 -p 127.0.0.1::8161 jenkins/activeamq:464eee7f3c0e`
INFO: Loading '/opt/activemq/bin/env'
INFO: Using java '/usr/local/openjdk-8/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
INFO: Creating pidfile /opt/activemq/data/activemq.pid
Java Runtime: Oracle Corporation 1.8.0_212 /usr/local/openjdk-8
  Heap sizes: current=62976k  free=58707k  max=932352k
    JVM args: -Xms64M -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/opt/activemq/conf/login.config -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Djava.io.tmpdir=/opt/activemq/tmp -Dactivemq.classpath=/opt/activemq/conf:/opt/activemq/../lib/: -Dactivemq.home=/opt/activemq -Dactivemq.base=/opt/activemq -Dactivemq.conf=/opt/activemq/conf -Dactivemq.data=/opt/activemq/data
Extensions classpath:
  [/opt/activemq/lib,/opt/activemq/lib/camel,/opt/activemq/lib/optional,/opt/activemq/lib/web,/opt/activemq/lib/extra]
ACTIVEMQ_HOME: /opt/activemq
ACTIVEMQ_BASE: /opt/activemq
ACTIVEMQ_CONF: /opt/activemq/conf
ACTIVEMQ_DATA: /opt/activemq/data
Loading message broker from: xbean:activemq.xml
 INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1a968a59: startup date [Wed May 22 16:54:06 UTC 2024]; root of context hierarchy
 INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/opt/activemq/data/kahadb]
 INFO | PListStore:[/opt/activemq/data/localhost/tmp_storage] started
 INFO | Apache ActiveMQ 5.15.9 (localhost, ID:f06bf6137044-34343-1716396847715-0:1) is starting
 INFO | Listening for connections at: tcp://f06bf6137044:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector openwire started
 INFO | Listening for connections at: amqp://f06bf6137044:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector amqp started
 INFO | Listening for connections at: stomp://f06bf6137044:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector stomp started
 INFO | Listening for connections at: mqtt://f06bf6137044:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector mqtt started
 INFO | Starting Jetty server
 INFO | Creating Jetty connector
 WARN | [email protected]@7aaca91a{/,null,STARTING} has uncovered http methods for path: /
 INFO | Listening for connections at ws://f06bf6137044:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 INFO | Connector ws started
 INFO | Apache ActiveMQ 5.15.9 (localhost, ID:f06bf6137044-34343-1716396847715-0:1) started
 INFO | For help or more information please see: http://activemq.apache.org
 INFO | No Spring WebApplicationInitializer types detected on classpath
 INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/
 INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/
 INFO | Initializing Spring FrameworkServlet 'dispatcher'
 INFO | No Spring WebApplicationInitializer types detected on classpath
 INFO | jolokia-agent: Using policy access restrictor classpath:/jolokia-access.xml