Skip to content

Conversation

ncabatoff
Copy link
Collaborator

@ncabatoff ncabatoff commented Jul 27, 2021

Works around a rabbitmq regression in v3.9 with UserInfo.Tags; looks like they're now returning a string array into of a string?

This should fix these test failures:

https://app.circleci.com/pipelines/github/hashicorp/vault/19403/workflows/6758dc1c-b540-44f3-b4d5-0dae53366f32/jobs/251152/tests#failed-test-3

With the above changes I was seeing unrelated failures in Cassandra: looks like they came out with a 4.0.0 docker image just 7 hours ago.

Failures: https://app.circleci.com/pipelines/github/hashicorp/vault/19404/workflows/206773e4-f72f-44fa-86dc-ac88ff6329bf/jobs/251201

So now I'm pinning Cassandra to 3.11 in this PR, in addition to pinning RabbitMQ 3.8.

Presumably we'll still need to make changes to Vault to support newer RabbitMQ/Cassandra versions.

@ncabatoff ncabatoff requested a review from a team July 27, 2021 10:51
@vercel vercel bot temporarily deployed to Preview – vault July 27, 2021 11:48 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook July 27, 2021 11:48 Inactive
@ncabatoff ncabatoff changed the title Use rabbitmq 3.8 in tests Pin RabbitMQ and Cassandra docker image versions Jul 27, 2021
@vercel vercel bot temporarily deployed to Preview – vault-storybook July 27, 2021 12:21 Inactive
@vercel vercel bot temporarily deployed to Preview – vault July 27, 2021 12:21 Inactive
Copy link
Contributor

@tomhjp tomhjp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this seems like the correct level to pin these dependencies at.

@ncabatoff ncabatoff merged commit a83a629 into main Jul 27, 2021
@ncabatoff ncabatoff deleted the fix-rabbitmq-test-failures branch July 27, 2021 12:45
ncabatoff added a commit that referenced this pull request Jul 29, 2021
* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)
ncabatoff added a commit that referenced this pull request Jul 29, 2021
* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)
ncabatoff added a commit that referenced this pull request Jul 30, 2021
* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)
ncabatoff added a commit that referenced this pull request Jul 30, 2021
* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)
swayne275 pushed a commit that referenced this pull request Aug 23, 2021
* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)
swayne275 added a commit that referenced this pull request Aug 23, 2021
* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants