Marcial Rosales
0a4d8a8a50
Fix channel in test cases related to capabilities
2024-10-24 10:24:45 +02:00
Marcial Rosales
eeebd4a80b
Bump up ibmmq docker image
2024-10-24 10:24:45 +02:00
Marcial Rosales
0e53c3745c
Bump up ibmmq docker image version
2024-10-24 10:24:45 +02:00
Marcial Rosales
6e11d54faf
Fix password
2024-10-24 10:24:45 +02:00
Marcial Rosales
de14668e2a
Add negative authentication test within ibmmq group
2024-10-24 10:24:45 +02:00
Marcial Rosales
3dd1cf6521
Log connection related events
...
added capture_logs function to the ibmmq_helper
but not called until I figure out how to add
extra logging. So far the only auth events captured
are those originated from the admin ui
2024-10-24 10:24:44 +02:00
Marcial Rosales
b22807841f
Wait for connection and session events
2024-10-24 10:24:44 +02:00
Marcial Rosales
2cdbebd8a4
Test with non-binary capabilities
2024-10-24 10:24:44 +02:00
Marcial Rosales
7779984198
Try a bigger delay before starting to use ibm mq
2024-10-24 10:24:44 +02:00
Marcial Rosales
e79c07b02c
Skip test which sends illegal capability
2024-10-24 10:24:44 +02:00
Marcial Rosales
2d55f8fa90
Try to send capability in an array without any non-binary
2024-10-24 10:24:44 +02:00
Marcial Rosales
dcbad6288e
Add extra logging around connection states
2024-10-24 10:24:44 +02:00
Marcial Rosales
8986c5cc59
Fix issue in the ibmmq helper
2024-10-24 10:24:44 +02:00
Marcial Rosales
92d390f003
Sleep for 500msec before considering ibmmq running
2024-10-24 10:24:44 +02:00
Marcial Rosales
82c1e1fc35
Test capabilities with activemq and ibmmq
2024-10-24 10:24:44 +02:00
Marcial Rosales
5725797092
Log eveny operation related to stop event
2024-10-24 10:24:44 +02:00
Marcial Rosales
351038a5dd
Log around sending frame
2024-10-24 10:24:44 +02:00
Marcial Rosales
bb5045f397
Test capabilities with activemq
2024-10-24 10:24:44 +02:00
Marcial Rosales
6bccbd6627
Log return from send_attach
2024-10-24 10:24:44 +02:00
Marcial Rosales
b390138dea
REvert last change
2024-10-24 10:24:44 +02:00
Marcial Rosales
19e18ce77f
Modified log statement
2024-10-24 10:24:44 +02:00
Marcial Rosales
09f95b369b
Fix issue
2024-10-24 10:24:44 +02:00
Marcial Rosales
2e1b8f74ff
Add extra logging
2024-10-24 10:24:44 +02:00
Marcial Rosales
04ef8cf758
Add extra logging
2024-10-24 10:24:44 +02:00
Marcial Rosales
0987877811
Add extra logging on attach
2024-10-24 10:24:44 +02:00
Marcial Rosales
53dc39d0be
Change message
2024-10-24 10:24:44 +02:00
Marcial Rosales
f990c3ccb8
Add missing log statement
2024-10-24 10:24:44 +02:00
Marcial Rosales
1cf8b35e0a
Capture error and log it
...
To help troublehshoot an issue originated from
translate_terminus_capabilities
2024-10-24 10:24:44 +02:00
Marcial Rosales
c3ac525615
Log with warning level instead
2024-10-24 10:24:44 +02:00
Marcial Rosales
800085ffd8
Use logger:debug to log capabilities
2024-10-24 10:24:44 +02:00
Marcial Rosales
619ab00098
interim change ct:log to be able to
...
log what capabilites are sent on each
test case scenario
it looks like some times the test case passes
because the non-binary value `dummy` is properly
skipped but sometimes the test cases fails because
it is not skipping it . i.e. is_binary(dummy) returns true.
2024-10-24 10:24:44 +02:00
Marcial Rosales
edbf33e5b3
Ignore sender/receiver non-binary capabilities
2024-10-24 10:24:44 +02:00
Marcial Rosales
1dca32ff62
Minor cleanup
2024-10-24 10:24:44 +02:00
Marcial Rosales
9fc1e0cead
Configure capabilities on the source/target field in the ATTACH frame
2024-10-24 10:24:44 +02:00
Michael Klishin
1150d51df1
Merge pull request #12577 from rabbitmq/su_aws/actually_handle_timeout_reconciliation
...
QQ periodic membership reconciliation: correctly return a `ra:members/2` error in case of a timeout
2024-10-23 22:21:27 -04:00
Simon Unge
dacdeb024d
Fix so that the code handles a timeout return
2024-10-23 23:12:36 +00:00
David Ansari
17df1b9343
Attempt to eliminate test flake
...
This commit attempts to eliminate the test flake described in
https://github.com/rabbitmq/rabbitmq-server/issues/12413#issuecomment-2385449940
```
rabbitmq_mqtt > parallel-ct-set-1 > mqtt_shared_SUITE > cluster_size_3 > v4 rabbit_mqtt_qos0_queue_kill_node
=== Ended at 2024-10-01 09:59:52
=== Location: [{mqtt_shared_SUITE,rabbit_mqtt_qos0_queue_kill_node,[1165](https://github.com/rabbitmq/rabbitmq-server/issues/mqtt_shared_suite.src.html#1165 )},
{test_server,ts_tc,1793},
{test_server,run_test_case_eval1,1302},
{test_server,run_test_case_eval,1234}]
=== === Reason: no match of right hand side value {publish_not_received,
<<"m1">>}
in function mqtt_shared_SUITE:rabbit_mqtt_qos0_queue_kill_node/1 (mqtt_shared_SUITE.erl, line 1165)
in call from test_server:ts_tc/3 (test_server.erl, line 1793)
in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)
```
This flake could not be reproduced locally.
This commit also assumes that this flake occurred under Khepri but not
under Mnesia.
The hypothesis is the following:
* Node 0 is down
* MQTT client creates binding on node 1
* Khepri commits since the binding is replicated and persisted on node 1
and node 2. However the binding isn't reflected yet in node 2's
routing projecting table.
* Publishing a message to node 2 routes to nowhere.
2024-10-23 17:36:58 +00:00
David Ansari
814d44dd82
Convert array from AMQP 1.0 to AMQP 0.9.1
...
Fix the following crash when an AMQP 0.9.1 client consumes an AMQP 1.0
encoded message that contains an array value in message annotations:
```
crasher:
initial call: rabbit_channel:init/1
pid: <0.685.0>
registered_name: []
exception exit: {function_clause,
[{mc_amqpl,to_091,
[<<"x-array">>,
{array,utf8,[{utf8,<<"e1">>},{utf8,<<"e2">>}]}],
[{file,"mc_amqpl.erl"},{line,737}]},
{mc_amqpl,'-convert_from/3-fun-3-',1,
[{file,"mc_amqpl.erl"},{line,168}]},
{lists,filtermap_1,2,
[{file,"lists.erl"},{line,2279}]},
{mc_amqpl,convert_from,3,
[{file,"mc_amqpl.erl"},{line,158}]},
{mc,convert,3,[{file,"mc.erl"},{line,332}]},
{rabbit_channel,handle_deliver0,4,
[{file,"rabbit_channel.erl"},{line,2619}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,2151}]},
{lists,foldl,3,[{file,"lists.erl"},{line,2146}]}]}
```
2024-10-22 12:16:19 +02:00
Michael Klishin
d7c4e94331
Merge pull request #12550 from rabbitmq/lukebakken/shellcheck-init-slapd
...
Ensure init-slapd.sh passes `shellcheck`
2024-10-22 00:56:30 -04:00
GitHub
7d8d338bf0
bazel run gazelle
2024-10-22 04:02:23 +00:00
Lois Soto Lopez
3ff7e82c5c
Provide specific f. to fix client ssl options
...
Provides a specific function to fix client ssl options, i.e.: apply all
fixes that are applied for TLS listeneres and clients on previous
versions but also sets `cacerts` option to CA certificates obtained by
`public_key:cacerts_get`, only when no `cacertfile` or `cacerts` are
provided.
2024-10-21 18:00:06 -04:00
Michael Klishin
f4e689310f
Merge pull request #12563 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/main/junit.jupiter.version-5.11.3
...
build(deps-dev): bump junit.jupiter.version from 5.11.2 to 5.11.3 in /deps/rabbitmq_stream_management/test/http_SUITE_data
2024-10-21 15:04:12 -04:00
Michael Klishin
770c807b56
Merge pull request #12560 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/main/org.junit.jupiter-junit-jupiter-params-5.11.3
...
build(deps-dev): bump org.junit.jupiter:junit-jupiter-params from 5.11.2 to 5.11.3 in /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot
2024-10-21 15:04:04 -04:00
Michael Klishin
b72adebf0c
Merge pull request #12561 from rabbitmq/dependabot/maven/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/main/junit.jupiter.version-5.11.3
...
build(deps-dev): bump junit.jupiter.version from 5.11.2 to 5.11.3 in /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data
2024-10-21 15:03:57 -04:00
dependabot[bot]
87ebc27c1c
build(deps-dev): bump junit.jupiter.version
...
Bumps `junit.jupiter.version` from 5.11.2 to 5.11.3.
Updates `org.junit.jupiter:junit-jupiter-engine` from 5.11.2 to 5.11.3
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3 )
Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.2 to 5.11.3
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-params
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 19:00:47 +00:00
dependabot[bot]
45d285b06d
build(deps-dev): bump org.junit.jupiter:junit-jupiter
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 19:00:19 +00:00
dependabot[bot]
c9206ca2cd
build(deps-dev): bump junit.jupiter.version
...
Bumps `junit.jupiter.version` from 5.11.2 to 5.11.3.
Updates `org.junit.jupiter:junit-jupiter-engine` from 5.11.2 to 5.11.3
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3 )
Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.2 to 5.11.3
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-params
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 18:57:44 +00:00
dependabot[bot]
7016af6c53
build(deps-dev): bump org.junit.jupiter:junit-jupiter-params
...
Bumps [org.junit.jupiter:junit-jupiter-params](https://github.com/junit-team/junit5 ) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-params
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 18:44:27 +00:00
David Ansari
cbe5551cf1
bazel run gazelle
2024-10-20 12:41:23 +02:00
David Ansari
dc9ebc5b81
Check topic permissions of CC and BCC headers
2024-10-20 11:41:29 +02:00