Commit Graph

11216 Commits

Author SHA1 Message Date
Justin Bertram 2b7737301f ARTEMIS-5182 STOMP sub w/noLocal + selector missing messages 2024-12-20 17:15:18 +01:00
Clebert Suconic 505180dc7b ARTEMIS-5214 Ensuring stomp is loaded as a protocol on the server
I have seen a CI test failing once because the protocol was not loaded,
then I saw it failing all the time on my IDE.

This will ensure the protocol is always loaded.
2024-12-19 17:00:48 -05:00
Robbie Gemmell 5d497140be ARTEMIS-5225: update junit to 5.11.4 2024-12-19 15:18:19 +00:00
Clebert Suconic 3f93f96ea3 ARTEMIS-5214 Deleting SyncSendTest
This test was flaky from day one. You would need a reliable way to measure the storage time (RECORD_TIME). If you get GC or any other event happening during storage you will get a failure.
2024-12-19 10:04:23 -05:00
Thomas Lavocat ccf500ee1b [ARTEMIS-5219] load all certificates
In the JAAS login module for Kubernetes, the current implementation is
loading only a single CA from the bundle that is given by OpenShift,
which in turn leads to an issue where the broker don't find a proper
PKIX path.

This is fixing the issue by loading every certificates from the bundle.
2024-12-19 14:51:39 +00:00
Justin Bertram a7a70d6595 ARTEMIS-5142 support never expiring incoming messages 2024-12-19 11:28:14 +00:00
Justin Bertram e22f0ecba2 ARTEMIS-5224 bump org.apache.commons:commons-text from 1.12.0 to 1.13.0 2024-12-18 23:54:43 -06:00
Clebert Suconic 8685b816f5 ARTEMIS-5214 Replacing 1.5.5 artemis and 2.0.0 libraries since they are not compatible with the current JDK
Also fixing a possible leak
2024-12-18 16:39:48 -05:00
Clebert Suconic 7bf596ce01 ARTEMIS-5214 Using Fork on compatibility tests
Compatibility tests is creating classLoaders which may leak or be held of SoftCaches in Groovy
2024-12-18 16:39:48 -05:00
Justin Bertram 83df814438 ARTEMIS-5223 bump log4j.version from 2.24.2 to 2.24.3 2024-12-18 15:32:09 -06:00
Justin Bertram 69cd4fa859 ARTEMIS-5222 bump com.puppycrawl.tools:checkstyle from 10.20.2 to 10.21.0 2024-12-18 15:29:33 -06:00
Timothy Bish 6e96968742 ARTEMIS-5215 AMQP federation consumer close can allow duplicates on remote
Messages that are in-flight on a link when the federation consumer is closed
due to removal of local demand might get enqueued on the local broker but the
disposition might not get sent to the remote leading to a release of the message
back to the source queue leading to a duplicate being left on the remote. The
AMQP receiver links need to be drained and any pending settlements need to be
sent before the link can be allowed to be detached.
2024-12-18 15:09:34 +00:00
Clebert Suconic 54f99937bd ARTEMIS-5218 StompHandler HeartBeat restarted after being stopped 2024-12-17 14:36:28 -06:00
Clebert Suconic 5c1ecea69a ARTEMIS-5214 Fixing test with Wait.assertEquals 2024-12-17 11:18:00 -05:00
Clebert Suconic 934061764c ARTEMIS-5214 Fixing checkstyle 2024-12-16 13:34:30 -05:00
Clebert Suconic 76a1ccf086 ARTEMIS-5214 Removing invalid test
This test was invalid from day one but we would accept eventual failures back then.
As we now want to be more strict about failures it is time for this test to go.

We would need to implement XA and a more complex test for this. as of now the test is invalid and it needs to go.
2024-12-16 13:28:59 -05:00
Clebert Suconic 0906893934 ARTEMIS-5214 Trying to address intermittent failure on CuratorDistributedLockTest
To be honest I am not 100% sure this will fix the issue I saw, but it will certainly help me diagnose future failures,
by making sure the server is stopped and assigning a proper ID on each server.

For future record I am seeing the following exception occasionally on a CI:

Caused by: org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Client and election port must be different! Please update the configuration file on server.14
	at org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer.initializeWithAddressString(QuorumPeer.java:366)
2024-12-16 12:14:41 -05:00
Clebert Suconic e3c49e63d7 ARTEMIS-5173 avoiding test failure 2024-12-16 10:31:19 -05:00
Justin Bertram d49476d0a1 [maven-release-plugin] prepare for next development iteration 2024-12-16 09:25:19 -06:00
Justin Bertram fb1c6e3217 [maven-release-plugin] prepare release 2.39.0 2024-12-16 09:19:43 -06:00
Justin Bertram e6f97f6e5c
Revert "[maven-release-plugin] prepare release 2.39.0"
This reverts commit 0604de39d6.
2024-12-16 08:55:55 -06:00
Justin Bertram 6b6ae242ed
Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 918ef0efbe.
2024-12-16 08:55:38 -06:00
Justin Bertram 9f2a24a927
NO-JIRA update version doc for release 2024-12-16 08:54:46 -06:00
Emmanuel Hugonnet 7eaea5a7a6 ARTEMIS-5172: Reduce the permissions on temp file.
*  Ensure that the temproray large message content can only be read by the
    user associated with the process.
* Fixing initial ARTEMIS-5172 PR which wasn't removing rw permissions.

Issue: https://issues.apache.org/jira/browse/ARTEMIS-5172

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2024-12-13 14:36:52 -05:00
Clebert Suconic c7ec3c7c77 ARTEMIS-5173 Removing test not well designed
This test has a variable number of messages sent. it would need to be rewrittent and improved.
Best to just let it go.
2024-12-13 12:16:04 -05:00
Clebert Suconic 899f88ab51 ARTEMIS-5173 Disabling test not designed for LargeMessage 2024-12-13 12:16:04 -05:00
Justin Bertram 918ef0efbe [maven-release-plugin] prepare for next development iteration 2024-12-13 08:10:30 -06:00
Justin Bertram 0604de39d6 [maven-release-plugin] prepare release 2.39.0 2024-12-13 08:05:42 -06:00
Clebert Suconic c680356717 ARTEMIS-5173 Trying another test fix 2024-12-12 17:51:15 -05:00
Justin Bertram a2357b9d6d ARTEMIS-5210 bump com.google.errorprone:error_prone_core from 2.31.0 to 2.36.0 2024-12-12 12:20:26 -05:00
Clebert Suconic 82c0c3f329 NO-JIRA Upgrade RollingUpgradeTest version to 2.37.0 2024-12-12 12:17:40 -05:00
Justin Bertram 539bd0881c ARTEMIS-5208 bump Jetty from 10.0.24 to 12.0.15 2024-12-12 16:21:44 +00:00
Justin Bertram c7c5dce42b ARTEMIS-5211 bump org.jline:jline from 3.27.1 to 3.28.0 2024-12-12 11:04:11 -05:00
Justin Bertram 0869bdbfd3 ARTEMIS-5212 bump io.micrometer:micrometer-core from 1.14.1 to 1.14.2 2024-12-12 11:03:52 -05:00
Clebert Suconic 69df7ea30d ARTEMIS-5173 Fixing a flaky test 2024-12-12 10:59:14 -05:00
Justin Bertram 3d6a1db930
NO-JIRA doc syntax fix for keyboard shortcut 2024-12-12 08:19:02 -06:00
Clebert Suconic 684d376da2 ARTEMIS-5173 Avoiding exception on tests 2024-12-11 16:54:39 -05:00
Clebert Suconic ca8d57eb5e ARTEMIS-5173 Improving test reliability 2024-12-11 15:41:04 -05:00
Clebert Suconic 796ee0534a ARTEMIS-5173 Trying to improve reliability on FederatedAddressTest 2024-12-11 12:39:44 -05:00
Clebert Suconic 2a067e08ee ARTEMIS-5173 Improving reliability on test 2024-12-11 10:54:43 -05:00
Clebert Suconic 8eebcb9d14 ARTEMIS-5173 Removing Random verification test
As a Dilbert card say:
"Are you sure that's random? That's the problem with randomness. You can never be sure."
2024-12-11 10:03:53 -05:00
Clebert Suconic 98f231d6f0 ARTEMIS-5173 Improving reliability on LVQTest 2024-12-11 09:38:41 -05:00
Justin Bertram 755c40daea ARTEMIS-5202 require Java 17+ (i.e drop support for Java 11)
This commit drops support for Java 11. All code changes were related to
output from ErrorProne that prevented the build from completing.
2024-12-11 14:29:25 +00:00
Clebert Suconic 34f8946c77 ARTEMIS-5173 Removing dodgy test
This test was validating the number of files and not any real usage scenario.
It's flaky now and it's pointless to fix it.
2024-12-10 17:55:44 -05:00
Clebert Suconic 73ca0021af ARTEMIS-5173 Replacing SimpleManager by direct object usage 2024-12-10 16:00:34 -05:00
Clebert Suconic da861bd6fd ARTEMIS-5173 Using Wait.assertEquals 2024-12-10 14:24:57 -05:00
Clebert Suconic 393167fff5 ARTEMIS-5173 Accepting certain exceptions on MultiThreadExceptionReattach 2024-12-10 14:24:57 -05:00
Clebert Suconic 41481265e5 ARTEMIS-5173 Adequating number of large messages sent on OpenWireLargeMessageTest 2024-12-10 14:24:57 -05:00
Clebert Suconic bb7d567f5d ARTEMIS-5206 Provide description='' instead of null in some ActiveMQException instances 2024-12-10 10:07:47 -05:00
Gary Tully ea2b80d79e ARTEMIS-5201 when non embedded use exit(1) on exception for artemis cli main like artemis boot 2024-12-09 15:07:52 -06:00