Skip to content

Conversation

@drencrom
Copy link

Proposed Changes

Merging pull request #5726 to 3.9.x branch

We are seeing this issue in Ubuntu installations with rabbitmq 3.9 (Jammy and Kinetic) with unknown free disk space breaking rabbitmqctl status command.

@pivotal-cla
Copy link

@drencrom Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@mergify mergify bot added the bazel label Dec 12, 2022
@michaelklishin michaelklishin added this to the 3.9.27 milestone Dec 12, 2022
@michaelklishin
Copy link
Collaborator

Test suites fail to compile with

rabbit_disk_monitor.erl:344:10: function run_cmd/1 undefined

Let me take a look.

@drencrom
Copy link
Author

Test suites fail to compile with

My fault. The pull request was missing one change to fix that.

@michaelklishin
Copy link
Collaborator

Now I wonder if #6614 should be backported to reduce the delta. Probably not.

@michaelklishin
Copy link
Collaborator

@pivotal-cla this is an obvious fix

@pivotal-cla
Copy link

@drencrom This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.

@michaelklishin
Copy link
Collaborator

I get two failures locally from

bazel test //deps/rabbit:disk_monitor_SUITE

They are

=== Location: [{erpc,call,702},
              {disk_monitor_SUITE,disk_monitor,[64](file:///private/var/tmp/_bazel_antares/25b268eeb499d77835ff5396f24e1d0d/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/deps/rabbit/disk_monitor_SUITE/test.outputs/outputs/ct_run.ct-rabbit-disk_monitor_SUITE@klishinm-a02.2022-12-12_21.57.23/deps.rabbit.disk_monitor_SUITE.logs/run.2022-12-12_21.57.24/disk_monitor_suite.src.html#64)},
              {test_server,ts_tc,1782},
              {test_server,run_test_case_eval1,1291},
              {test_server,run_test_case_eval,1223}]
=== === Reason: {exception,
                     {badmatch,false},
                     [{disk_monitor_SUITE,disk_monitor1,1,
                          [{file,"disk_monitor_SUITE.erl"},{line,74}]}]}
  in function  erpc:call/5 (erpc.erl, line 702)
  in call from disk_monitor_SUITE:disk_monitor/1 (disk_monitor_SUITE.erl, line 64)
=== Location: [{erpc,call,702},
              {disk_monitor_SUITE,disk_monitor_enable,[78](file:///private/var/tmp/_bazel_antares/25b268eeb499d77835ff5396f24e1d0d/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/deps/rabbit/disk_monitor_SUITE/test.outputs/outputs/ct_run.ct-rabbit-disk_monitor_SUITE@klishinm-a02.2022-12-12_21.57.23/deps.rabbit.disk_monitor_SUITE.logs/run.2022-12-12_21.57.24/disk_monitor_suite.src.html#78)},
              {test_server,ts_tc,1782},
              {test_server,run_test_case_eval1,1291},
              {test_server,run_test_case_eval,1223}]
=== === Reason: {exception,
                     {badmatch,false},
                     [{disk_monitor_SUITE,disk_monitor_enable1,1,
                          [{file,"disk_monitor_SUITE.erl"},{line,88}]}]}
  in function  erpc:call/5 (erpc.erl, line 702)
  in call from disk_monitor_SUITE:disk_monitor_enable/1 (disk_monitor_SUITE.erl, line 78)

If you haven't used Bazel to work on RabbitMQ before, please take a look at this contributor guide.

@michaelklishin
Copy link
Collaborator

OK, this must be this local environment (Bazel sandboxing on macOS can break things in obscure ways).

@michaelklishin michaelklishin changed the title Merge pull request #5726 from rabbitmq/rabbitmq-server-5721 Backport #5726 (disk monitor resiliency improvements) Dec 12, 2022
@michaelklishin michaelklishin merged commit 446c3e0 into rabbitmq:v3.9.x Dec 12, 2022
@michaelklishin michaelklishin changed the title Backport #5726 (disk monitor resiliency improvements) Backport #5726 (disk monitor resiliency improvements) to v3.9.x Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants