Commit Graph

49431 Commits

Author SHA1 Message Date
Philip Kuryloski 35ab19c4a6 Bazel test timeouts 2021-08-03 17:06:12 +02:00
Philip Kuryloski 40954c1ca2 Update some bazel test timeouts 2021-08-03 15:51:02 +02:00
Philip Kuryloski c9e016d545 Remove duplicate compilation options in rabbit_common 2021-08-03 14:31:05 +02:00
Michael Klishin 236882c7d1
Merge pull request #3255 from rabbitmq/mk-try-out-mergify
Update rabbitmq.conf.example header
2021-08-03 13:20:52 +03:00
Michael Klishin c12544f545
Update rabbitmq.conf.example header
mostly to test Mergify integration with @pjk25.
2021-08-03 13:19:52 +03:00
Philip Kuryloski 68872c4959 Add an initial mergify.io configuration 2021-08-03 12:04:30 +02:00
Philip Kuryloski 76ee8f454c Add a workflow for analyzing bazel cache hits
The workflow (manually triggered) peforms two runs of the same test,
saving binary execution logs. It then parses the logs and uploads them
as an artifact. The result can be downloaded and compared with a
regular diffing tool.
2021-08-02 18:12:49 +02:00
David Ansari 4b774db5c1 Use same threshold color for "Errors since boot" 2021-08-02 17:05:17 +02:00
David Ansari c99ee6961e Use same colorMode in all RabbitMQ-Stream panels
Co-authored-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-08-02 13:33:00 +02:00
David Ansari ea18c31288 Make RabbitMQ-Stream dashboard work via ConfigMap
Before this commit, importing the dashboard via ConfigMap as seen in
1eb1dc618e
didn't work because DS_PROMETHEUS variable was undefined in Grafana.

Related to https://github.com/rabbitmq/rabbitmq-server/pull/3250

Co-authored-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-08-02 13:12:48 +02:00
Philip Kuryloski 17f463d6e2 Remove the Backport Workflow
The associated action does not seem to work correctly (See #3250).
2021-08-02 09:30:36 +02:00
Philip Kuryloski 3e1c907dab Clarify autogenerated PR title
For PRs that updated the pinned bazel remote build execution image
2021-07-30 18:35:04 +02:00
Michael Klishin eff69f5772
Move release notes from rabbitmq/rabbitmq-website
Keeping them in this repo might encourage more people to update
them as changes are merged, and simplify release automation a bit.

So let's try it. Per suggestion from @gerhard.
2021-07-30 19:24:08 +03:00
Gerhard Lazu 65afbb931b
Ensure RabbitMQ-Stream dashboard works correctly after import
This breaks the docker-compose integration, but we need to move away
from it anyways, the whole dev flow needs revisiting after our focus on
K8s.

$__rate_interval does not work with irate, dropping it in favour of 60s,
same as all other dashboards.

This is a follow-up to https://github.com/rabbitmq/rabbitmq-server/pull/3250

Thanks @ansd for mentioning about the post-import issues.

It was uploaded as https://grafana.com/api/dashboards/14798/revisions/3/download

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-07-30 13:53:02 +01:00
Gerhard Lazu ee6aa3067e
Merge pull request #3250 from rabbitmq/add-streams-grafana-dashboard
Publish RabbitMQ-Stream dashboard to grafana.com
2021-07-30 12:10:58 +01:00
Gerhard Lazu 35a6369327
Restart stream-perf-test on-failure
This handles the scenario where rmq2 is not available, and
stream-perf-test exits with a non-zero exit code. Good spot @ansd!

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-07-30 11:25:36 +01:00
David Ansari 47d572908d Convert string to integer for ulimits.nofile
Before this commit:

> make overview metrics
services.rmq1.ulimits.nofile.hard must be a integer
make: *** [Makefile:68: overview] Error 15

Accoring to the docs
https://docs.docker.com/compose/compose-file/compose-file-v3/#ulimits
this must be an integer.
2021-07-30 09:46:38 +02:00
Gerhard Lazu 6f5c4118ea
Publish RabbitMQ-Stream dashboard to grafana.com
Removed the Dockerfile and slimmed down the Makefile, all of this is now
handled by https://github.com/rabbitmq/rabbitmq-server/blob/master/.github/workflows/oci.yaml
cc @Zerpet @pjk25

More details here (including the steps used to publish to grafana.com):
https://github.com/rabbitmq/release-engineering/issues/11#issuecomment-887627938

I don't want to hold up this PR, will invest in automating the
steps described in the previous link another time. Time to 🚀

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-07-29 19:34:05 +01:00
Philip Kuryloski 2aeaf06bcd Fix workflow typo 2021-07-29 17:17:40 +02:00
Philip Kuryloski cb3c93cc9e Increase a test timeout 2021-07-29 14:50:43 +02:00
Philip Kuryloski e52a562cee Use globally installed buildozer in github actions
This avoids placing unnecessary files in the working tree
2021-07-29 14:46:52 +02:00
Philip Kuryloski 445a2d0e83 Avoid creating extra files when bumping bazel rbe images 2021-07-29 14:36:53 +02:00
Philip Kuryloski acc33843d1 Fixup update-rbe-images.yaml 2021-07-29 13:57:22 +02:00
Philip Kuryloski 7744b9adf2 Add a workflow for keeping bazel rbe images up to date 2021-07-29 13:42:07 +02:00
Gerhard Lazu 5f639faff7
Merge pull request #3247 from rabbitmq/add-rebar3_hex_to_auto-generated-rebar3-config
Add rebar3_hex plugin reference to rebar3.config generated by erlang.mk
2021-07-29 12:10:13 +01:00
Ilya Khaprov a206519a9c
Add rebar3_hex plugin reference to rebar3.config generated by erlang.mk 2021-07-29 12:43:12 +02:00
Philip Kuryloski a1561ff53f Update BUILD.osiris to match recent changes 2021-07-29 11:23:04 +02:00
Michael Klishin 1596f031ee
Merge pull request #3239 from rabbitmq/some-sort-of-unicode-support-in-env-files
Do not crash on badarg when env file has certain Unicode characters
2021-07-28 23:18:41 +03:00
Michael Klishin 6ef0c513e8
Merge pull request #3241 from rabbitmq/stream-absent
Handle 'absent' return value
2021-07-28 23:13:51 +03:00
dcorbacho 606429e90c Handle 'absent' return value 2021-07-28 21:48:37 +02:00
Michael Klishin 0617419e75
This *is* a Unicode character, U+060E 2021-07-28 19:04:16 +03:00
Ilya Khaprov 854f26ac18
Do not crash on badarg when env file has an 'unusual' unicode character
closes #3212
2021-07-28 16:39:17 +02:00
Philip Kuryloski d8a38ecb48 Add the Backporting Github Action
See https://github.com/marketplace/actions/backporting for usage
2021-07-28 15:55:16 +02:00
Philip Kuryloski 966d9e3ccb Revert "Save the bazel execution log binary in Github Actions"
This reverts commit 4b210bd8c4.

Unfortunately this seems to increase the chances that we hit
https://github.com/bazelbuild/bazel/issues/12510 so I am reverting it
for now
2021-07-28 11:42:12 +02:00
Philip Kuryloski c8cfd023a9
Merge pull request #3189 from rabbitmq/docker-library-rabbitmq-500
Bring the docker image up to date with the docker-library version
2021-07-28 11:15:27 +02:00
Philip Kuryloski 967f314f6f bazel timeouts 2021-07-28 10:38:04 +02:00
Philip Kuryloski a0a5bf3c01 Update peer discovery aws tests for docker image changes 2021-07-28 10:19:11 +02:00
Philip Kuryloski ce155d840e Add a .bazelversion file
Bazelisk will honor this, and appears to be good practice
2021-07-28 09:33:11 +02:00
Philip Kuryloski ba0ba46893 Log the bazel release version in CI
So that it may be provided when reporting issue within bazel itself
2021-07-28 09:32:22 +02:00
Philip Kuryloski b8cabfe3dd bump test timeouts 2021-07-28 08:37:40 +02:00
Michael Klishin 2efc3d22fa
Merge pull request #3176 from rabbitmq/stream-error-handling
Better error handling for streams
2021-07-27 22:25:06 +03:00
Michael Klishin 9c2eeee595
Wording 2021-07-27 21:44:33 +03:00
Michael Klishin 2d3f31eb21
Merge pull request #3204 from rabbitmq/keep-state-and-data
Use keep_state_and_data
2021-07-27 21:39:06 +03:00
Gerhard Lazu 1b5c7e328e
Merge pull request #3230 from rabbitmq/fix-notify-limiter
Fix channel rate limiter for ack messages
2021-07-27 16:49:22 +01:00
Philip Kuryloski 68361d5d79 Extend the bazel timeout for unit_disk_monitor_mocks_SUITE 2021-07-27 16:02:10 +02:00
Philip Kuryloski 6967019495 Bazel test timeouts 2021-07-27 13:32:06 +02:00
Philip Kuryloski 4b210bd8c4 Save the bazel execution log binary in Github Actions
This file can be parsed as per
https://docs.bazel.build/versions/4.1.0/remote-execution-caching-debug.html#comparing-the-execution-logs
to better understand things like cache hits and misses
2021-07-27 13:26:55 +02:00
Philip Kuryloski 2a6a9c786b Bazel test timeouts 2021-07-27 10:57:50 +02:00
Philip Kuryloski ee23cf1872 Bump test timeouts in bazel 2021-07-27 09:54:44 +02:00
Michael Klishin 5bfbe5b8b1
Merge pull request #3233 from britto/fix-ensure-safe-call-timeout-clause
Fix typo in ensure_safe_call_timeout/2
2021-07-26 23:48:39 +03:00