Skip to content

Commit 1a28a5a

Browse files
Disable rabbitmq_auth_backend_ldap suites
slapd(8) currently segfaults on Actions no matter what OS or OpenLDAP version we try. We would be better off with a green build and a functioning v4.0.x pipeline than the status quo. Running slapd(8) in a container might help. This is something to investigate.
1 parent 4911947 commit 1a28a5a

File tree

5 files changed

+1
-67
lines changed

5 files changed

+1
-67
lines changed

.github/workflows/check-build-system-equivalence.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
erlang_version: ${{ inputs.erlang_version || github.event.inputs.erlang_version }}
3333
elixir_version: ${{ inputs.elixir_version || github.event.inputs.elixir_version }}
3434
VERSION: ${{ inputs.project_version || github.event.inputs.project_version }}
35-
PLUGINS: amqp10_common amqp10_client rabbitmq_amqp1_0 rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_consistent_hash_exchange rabbitmq_event_exchange rabbitmq_federation rabbitmq_jms_topic_exchange rabbitmq_mqtt rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_sharding rabbitmq_shovel rabbitmq_stomp rabbitmq_stream rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_management_agent rabbitmq_management rabbitmq_prometheus rabbitmq_federation_management rabbitmq_shovel_management rabbitmq_stream_management rabbitmq_top rabbitmq_tracing rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_k8s rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd
35+
PLUGINS: amqp10_common amqp10_client rabbitmq_amqp1_0 rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_consistent_hash_exchange rabbitmq_event_exchange rabbitmq_federation rabbitmq_jms_topic_exchange rabbitmq_mqtt rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_sharding rabbitmq_shovel rabbitmq_stomp rabbitmq_stream rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_management_agent rabbitmq_management rabbitmq_prometheus rabbitmq_federation_management rabbitmq_shovel_management rabbitmq_stream_management rabbitmq_top rabbitmq_tracing rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_k8s rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd
3636
EXTRA_PLUGINS: accept amqp_client aten base64url cowboy cowlib credentials_obfuscation cuttlefish eetcd enough gen_batch_server getopt gun jose observer_cli osiris prometheus quantile_estimator ra ranch recon redbug seshat stdout_formatter syslog sysmon_handler systemd thoas
3737
jobs:
3838
build-with-bazel:

.github/workflows/test-mixed-versions.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -470,24 +470,6 @@ jobs:
470470
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
471471
plugin: rabbitmq_auth_backend_http
472472
secrets: inherit
473-
test-rabbitmq_auth_backend_ldap-mixed:
474-
needs:
475-
- check-workflow
476-
- test-rabbit-0-mixed
477-
- test-rabbit-1-mixed
478-
- test-rabbit-2-mixed
479-
- test-rabbit-3-mixed
480-
- test-rabbit-4-mixed
481-
- test-rabbit-5-mixed
482-
- test-rabbit-6-mixed
483-
- test-rabbit-7-mixed
484-
- test-rabbit-8-mixed
485-
- test-rabbit-9-mixed
486-
uses: ./.github/workflows/test-plugin-mixed.yaml
487-
with:
488-
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
489-
plugin: rabbitmq_auth_backend_ldap
490-
secrets: inherit
491473
test-rabbitmq_auth_backend_oauth2-mixed:
492474
needs:
493475
- check-workflow
@@ -1151,7 +1133,6 @@ jobs:
11511133
- test-rabbitmq_amqp1_0-mixed
11521134
- test-rabbitmq_auth_backend_cache-mixed
11531135
- test-rabbitmq_auth_backend_http-mixed
1154-
- test-rabbitmq_auth_backend_ldap-mixed
11551136
- test-rabbitmq_auth_backend_oauth2-mixed
11561137
- test-rabbitmq_auth_mechanism_ssl-mixed
11571138
- test-rabbitmq_aws-mixed

.github/workflows/test-plugin-mixed.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,6 @@ jobs:
9090
if: inputs.plugin == 'rabbit'
9191
run: |
9292
# reduce sandboxing so that maven works
93-
cat << EOF >> user.bazelrc
94-
build --strategy=TestRunner=local
95-
EOF
96-
- name: deps/rabbitmq_auth_backend_ldap SETUP
97-
if: inputs.plugin == 'rabbitmq_auth_backend_ldap'
98-
run: |
99-
sudo apt-get update && \
100-
sudo apt-get install -y \
101-
ldap-utils \
102-
slapd
103-
104-
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
105-
sudo systemctl disable apparmor.service
106-
10793
cat << EOF >> user.bazelrc
10894
build --strategy=TestRunner=local
10995
EOF

.github/workflows/test-plugin.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,6 @@ jobs:
8787
if: inputs.plugin == 'rabbit'
8888
run: |
8989
# reduce sandboxing so that maven works
90-
cat << EOF >> user.bazelrc
91-
build --strategy=TestRunner=local
92-
EOF
93-
- name: deps/rabbitmq_auth_backend_ldap SETUP
94-
if: inputs.plugin == 'rabbitmq_auth_backend_ldap'
95-
run: |
96-
sudo apt-get update && \
97-
sudo apt-get install -y \
98-
ldap-utils \
99-
slapd
100-
101-
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
102-
sudo systemctl disable apparmor.service
103-
10490
cat << EOF >> user.bazelrc
10591
build --strategy=TestRunner=local
10692
EOF

.github/workflows/test.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -411,24 +411,6 @@ jobs:
411411
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
412412
plugin: rabbitmq_auth_backend_http
413413
secrets: inherit
414-
test-rabbitmq_auth_backend_ldap:
415-
needs:
416-
- check-workflow
417-
- test-rabbit-0
418-
- test-rabbit-1
419-
- test-rabbit-2
420-
- test-rabbit-3
421-
- test-rabbit-4
422-
- test-rabbit-5
423-
- test-rabbit-6
424-
- test-rabbit-7
425-
- test-rabbit-8
426-
- test-rabbit-9
427-
uses: ./.github/workflows/test-plugin.yaml
428-
with:
429-
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
430-
plugin: rabbitmq_auth_backend_ldap
431-
secrets: inherit
432414
test-rabbitmq_auth_backend_oauth2:
433415
needs:
434416
- check-workflow
@@ -1092,7 +1074,6 @@ jobs:
10921074
- test-rabbitmq_amqp1_0
10931075
- test-rabbitmq_auth_backend_cache
10941076
- test-rabbitmq_auth_backend_http
1095-
- test-rabbitmq_auth_backend_ldap
10961077
- test-rabbitmq_auth_backend_oauth2
10971078
- test-rabbitmq_auth_mechanism_ssl
10981079
- test-rabbitmq_aws

0 commit comments

Comments
 (0)