diff --git a/.github/workflows/rabbitmq_peer_discovery_aws.yaml b/.github/workflows/rabbitmq_peer_discovery_aws.yaml index 4550510131f0..1364d57323b1 100644 --- a/.github/workflows/rabbitmq_peer_discovery_aws.yaml +++ b/.github/workflows/rabbitmq_peer_discovery_aws.yaml @@ -1,10 +1,10 @@ name: Peer Discovery AWS Integration Test on: - push: - paths-ignore: - - '.github/workflows/secondary-umbrella.yaml' - - '.github/workflows/update-elixir-patches.yaml' - - '.github/workflows/update-otp-patches.yaml' + # push: + # paths-ignore: + # - '.github/workflows/secondary-umbrella.yaml' + # - '.github/workflows/update-elixir-patches.yaml' + # - '.github/workflows/update-otp-patches.yaml' workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref_name }} diff --git a/.github/workflows/test-make-target.yaml b/.github/workflows/test-make-target.yaml index 7d08bca09b2c..36cedb400401 100644 --- a/.github/workflows/test-make-target.yaml +++ b/.github/workflows/test-make-target.yaml @@ -20,7 +20,7 @@ on: jobs: test: name: ${{ inputs.plugin }} (${{ inputs.make_target }}) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: - name: CHECKOUT REPOSITORY @@ -77,5 +77,4 @@ jobs: name: CT logs (${{ inputs.plugin }} ${{ inputs.make_target }} OTP-${{ inputs.erlang_version }} ${{ inputs.metadata_store }}) path: | logs/ - !logs/**/log_private if-no-files-found: ignore diff --git a/.github/workflows/test-make-tests.yaml b/.github/workflows/test-make-tests.yaml index a0142656815d..653dc5effed7 100644 --- a/.github/workflows/test-make-tests.yaml +++ b/.github/workflows/test-make-tests.yaml @@ -12,29 +12,29 @@ on: required: true type: string jobs: - test-rabbit: - name: Test rabbit - strategy: - fail-fast: false - matrix: - make_target: - - parallel-ct-set-1 - - parallel-ct-set-2 - - parallel-ct-set-3 - - parallel-ct-set-4 - - ct-clustering_management - - eunit ct-dead_lettering - - ct-feature_flags - - ct-metadata_store_clustering - - ct-quorum_queue - - ct-rabbit_stream_queue - uses: ./.github/workflows/test-make-target.yaml - with: - erlang_version: ${{ inputs.erlang_version }} - elixir_version: ${{ inputs.elixir_version }} - metadata_store: ${{ inputs.metadata_store }} - make_target: ${{ matrix.make_target }} - plugin: rabbit + # test-rabbit: + # name: Test rabbit + # strategy: + # fail-fast: false + # matrix: + # make_target: + # - parallel-ct-set-1 + # - parallel-ct-set-2 + # - parallel-ct-set-3 + # - parallel-ct-set-4 + # - ct-clustering_management + # - eunit ct-dead_lettering + # - ct-feature_flags + # - ct-metadata_store_clustering + # - ct-quorum_queue + # - ct-rabbit_stream_queue + # uses: ./.github/workflows/test-make-target.yaml + # with: + # erlang_version: ${{ inputs.erlang_version }} + # elixir_version: ${{ inputs.elixir_version }} + # metadata_store: ${{ inputs.metadata_store }} + # make_target: ${{ matrix.make_target }} + # plugin: rabbit test-rabbitmq-mqtt: name: Test rabbitmq_mqtt @@ -43,72 +43,72 @@ jobs: erlang_version: ${{ inputs.erlang_version }} elixir_version: ${{ inputs.elixir_version }} metadata_store: ${{ inputs.metadata_store }} - make_target: parallel-ct-set-1 + make_target: ct-java plugin: rabbitmq_mqtt # The integration_SUITE requires secrets and # is therefore run from a separate workflow. - test-rabbitmq-peer-discovery-aws: - name: Test rabbitmq_peer_discovery_aws (partially) - uses: ./.github/workflows/test-make-target.yaml - with: - erlang_version: ${{ inputs.erlang_version }} - elixir_version: ${{ inputs.elixir_version }} - metadata_store: ${{ inputs.metadata_store }} - make_target: ct-config_schema ct-unit - plugin: rabbitmq_peer_discovery_aws + # test-rabbitmq-peer-discovery-aws: + # name: Test rabbitmq_peer_discovery_aws (partially) + # uses: ./.github/workflows/test-make-target.yaml + # with: + # erlang_version: ${{ inputs.erlang_version }} + # elixir_version: ${{ inputs.elixir_version }} + # metadata_store: ${{ inputs.metadata_store }} + # make_target: ct-config_schema ct-unit + # plugin: rabbitmq_peer_discovery_aws - test-plugin: - name: Test plugins - strategy: - fail-fast: false - matrix: - plugin: - - amqp10_client - - amqp10_common - - amqp_client - - oauth2_client - - rabbit_common - - rabbitmq_amqp_client - - rabbitmq_auth_backend_cache - - rabbitmq_auth_backend_http - - rabbitmq_auth_backend_ldap - - rabbitmq_auth_backend_oauth2 - - rabbitmq_auth_mechanism_ssl - - rabbitmq_aws - - rabbitmq_cli - - rabbitmq_consistent_hash_exchange - - rabbitmq_event_exchange - - rabbitmq_federation - - rabbitmq_federation_management - - rabbitmq_federation_prometheus - - rabbitmq_jms_topic_exchange - - rabbitmq_management - - rabbitmq_management_agent - - rabbitmq_peer_discovery_common - - rabbitmq_peer_discovery_consul - - rabbitmq_peer_discovery_etcd - - rabbitmq_peer_discovery_k8s - - rabbitmq_prelaunch - - rabbitmq_prometheus - - rabbitmq_recent_history_exchange - - rabbitmq_sharding - - rabbitmq_shovel - - rabbitmq_shovel_management - - rabbitmq_shovel_prometheus - - rabbitmq_stomp - - rabbitmq_stream - - rabbitmq_stream_common - - rabbitmq_stream_management - - rabbitmq_tracing - - rabbitmq_trust_store - - rabbitmq_web_dispatch - - rabbitmq_web_mqtt - - rabbitmq_web_stomp - uses: ./.github/workflows/test-make-target.yaml - with: - erlang_version: ${{ inputs.erlang_version }} - elixir_version: ${{ inputs.elixir_version }} - metadata_store: ${{ inputs.metadata_store }} - make_target: tests - plugin: ${{ matrix.plugin }} + # test-plugin: + # name: Test plugins + # strategy: + # fail-fast: false + # matrix: + # plugin: + # - amqp10_client + # - amqp10_common + # - amqp_client + # - oauth2_client + # - rabbit_common + # - rabbitmq_amqp_client + # - rabbitmq_auth_backend_cache + # - rabbitmq_auth_backend_http + # - rabbitmq_auth_backend_ldap + # - rabbitmq_auth_backend_oauth2 + # - rabbitmq_auth_mechanism_ssl + # - rabbitmq_aws + # - rabbitmq_cli + # - rabbitmq_consistent_hash_exchange + # - rabbitmq_event_exchange + # - rabbitmq_federation + # - rabbitmq_federation_management + # - rabbitmq_federation_prometheus + # - rabbitmq_jms_topic_exchange + # - rabbitmq_management + # - rabbitmq_management_agent + # - rabbitmq_peer_discovery_common + # - rabbitmq_peer_discovery_consul + # - rabbitmq_peer_discovery_etcd + # - rabbitmq_peer_discovery_k8s + # - rabbitmq_prelaunch + # - rabbitmq_prometheus + # - rabbitmq_recent_history_exchange + # - rabbitmq_sharding + # - rabbitmq_shovel + # - rabbitmq_shovel_management + # - rabbitmq_shovel_prometheus + # - rabbitmq_stomp + # - rabbitmq_stream + # - rabbitmq_stream_common + # - rabbitmq_stream_management + # - rabbitmq_tracing + # - rabbitmq_trust_store + # - rabbitmq_web_dispatch + # - rabbitmq_web_mqtt + # - rabbitmq_web_stomp + # uses: ./.github/workflows/test-make-target.yaml + # with: + # erlang_version: ${{ inputs.erlang_version }} + # elixir_version: ${{ inputs.elixir_version }} + # metadata_store: ${{ inputs.metadata_store }} + # make_target: tests + # plugin: ${{ matrix.plugin }} diff --git a/.github/workflows/test-make.yaml b/.github/workflows/test-make.yaml index 85e04fea086c..e2732d272025 100644 --- a/.github/workflows/test-make.yaml +++ b/.github/workflows/test-make.yaml @@ -15,40 +15,40 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: - build-and-xref: - name: Build and Xref - strategy: - fail-fast: false - matrix: - erlang_version: - - '26' - - '27' - elixir_version: - - '1.17' - # @todo Add macOS and Windows. - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - name: CHECKOUT REPOSITORY - uses: actions/checkout@v4 + # build-and-xref: + # name: Build and Xref + # strategy: + # fail-fast: false + # matrix: + # erlang_version: + # - '26' + # - '27' + # elixir_version: + # - '1.17' + # # @todo Add macOS and Windows. + # runs-on: ubuntu-latest + # timeout-minutes: 30 + # steps: + # - name: CHECKOUT REPOSITORY + # uses: actions/checkout@v4 - - name: FETCH TAGS - run: git fetch --tags + # - name: FETCH TAGS + # run: git fetch --tags - - name: SETUP OTP & ELIXIR - uses: erlef/setup-beam@v1.17 - with: - otp-version: ${{ matrix.erlang_version }} - elixir-version: ${{ matrix.elixir_version }} - hexpm-mirrors: | - https://builds.hex.pm - https://cdn.jsdelivr.net/hex + # - name: SETUP OTP & ELIXIR + # uses: erlef/setup-beam@v1.17 + # with: + # otp-version: ${{ matrix.erlang_version }} + # elixir-version: ${{ matrix.elixir_version }} + # hexpm-mirrors: | + # https://builds.hex.pm + # https://cdn.jsdelivr.net/hex - - name: BUILD - run: make + # - name: BUILD + # run: make - - name: XREF - run: make xref + # - name: XREF + # run: make xref test: name: Test @@ -69,16 +69,16 @@ jobs: elixir_version: ${{ matrix.elixir_version }} metadata_store: ${{ matrix.metadata_store }} - type-check: - name: Type check - strategy: - fail-fast: false - matrix: - erlang_version: # Latest OTP - - '27' - elixir_version: # Latest Elixir - - '1.17' - uses: ./.github/workflows/test-make-type-check.yaml - with: - erlang_version: ${{ matrix.erlang_version }} - elixir_version: ${{ matrix.elixir_version }} + # type-check: + # name: Type check + # strategy: + # fail-fast: false + # matrix: + # erlang_version: # Latest OTP + # - '27' + # elixir_version: # Latest Elixir + # - '1.17' + # uses: ./.github/workflows/test-make-type-check.yaml + # with: + # erlang_version: ${{ matrix.erlang_version }} + # elixir_version: ${{ matrix.elixir_version }} diff --git a/.github/workflows/test-mixed-versions.yaml b/.github/workflows/test-mixed-versions.yaml index f79c4bce8833..3df015804d31 100644 --- a/.github/workflows/test-mixed-versions.yaml +++ b/.github/workflows/test-mixed-versions.yaml @@ -21,7 +21,7 @@ on: - '*.bzl' - '*.bazel' - .github/workflows/test-mixed-versions.yaml - pull_request: + # pull_request: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true diff --git a/deps/rabbitmq_mqtt/test/java_SUITE.erl b/deps/rabbitmq_mqtt/test/java_SUITE.erl index eb4f6ac48622..16498d59d7b4 100644 --- a/deps/rabbitmq_mqtt/test/java_SUITE.erl +++ b/deps/rabbitmq_mqtt/test/java_SUITE.erl @@ -22,14 +22,14 @@ all() -> [ - {group, v3}, - {group, v5} + {group, v3} + % {group, v5} ]. groups() -> [ - {v3, [], [java_v3]}, - {v5, [], [java_v5]} + {v3, [], [java_v3]} + % {v5, [], [java_v5]} ]. suite() -> @@ -99,7 +99,7 @@ end_per_testcase(Testcase, Config) -> %% ------------------------------------------------------------------- java_v3(Config) -> - run_test(Config, ["tests", "ssltests"]). + run_test(Config, ["ssltests"]). java_v5(Config) -> run_test(Config, ["v5tests", "v5ssltests"]). diff --git a/deps/rabbitmq_mqtt/test/java_SUITE_data/Makefile b/deps/rabbitmq_mqtt/test/java_SUITE_data/Makefile index 58774410e3dd..33c872cc6e3d 100644 --- a/deps/rabbitmq_mqtt/test/java_SUITE_data/Makefile +++ b/deps/rabbitmq_mqtt/test/java_SUITE_data/Makefile @@ -21,7 +21,8 @@ tests: @mvnw -q $(MVN_FLAGS) -Dtest=MqttTest test ssltests: - @mvnw -q $(MVN_FLAGS) -Dtest=MqttSSLTest test + @mvnw -q $(MVN_FLAGS) -Dtest=MqttSSLTest#invalidUser test + # @mvnw -q $(MVN_FLAGS) -Dtest=MqttSSLTest test v5tests: @mvnw -q $(MVN_FLAGS) -Dtest=MqttV5Test test