HCD-241: Add a dedicated DSE 6.9 upgrade test#90
Conversation
29c452e to
6aeadf3
Compare
31a03c5 to
9b4456f
Compare
e0a5501 to
b293de7
Compare
|
|
||
|
|
||
| @flaky(rerun_filter=test_failure_due_to_timeout) | ||
| #@flaky(rerun_filter=test_failure_due_to_timeout) |
| # In case you want to test a patch with your own CCM branch, further to changing below CCM repo and branch name, you need to add -e flag at the beginning | ||
| # Example: -e git+https://github.com/userb/ccm.git@cassandra-17182#egg=ccm | ||
| git+https://github.com/datastax/cassandra-ccm.git@converged-cassandra#egg=ccm | ||
| -e git+https://github.com/datastax/cassandra-ccm.git@HCD-267#egg=ccm |
There was a problem hiding this comment.
TODO: remove once datastax/cassandra-ccm#3 is merged
7db627f to
25fa91b
Compare
|
Note that 25fa91b is purely experimental, will be dropped before merging. |
| upgraded_node_3 = self._upgrade_node(cluster, nodes[2], internode_encryption=internode_encryption) | ||
| self._assert_insert_select_works(upgraded_node_3, 300, 400) | ||
|
|
||
| # rolling restart post upgrade |
There was a problem hiding this comment.
This should be explained imo as to why are we doing it. Couldn't all these be just a loop against an array `upgraded_nodes' i.e.?
There was a problem hiding this comment.
Could be, I thought about not polluting the loop with weird usage of index to get different ranges of data to write but I can try it out.
I do agree a comment explaining the motivation for post upgrade restart is a good idea.
The goal of this patch is to add a distinct upgrade test for DSE 6.9 upgrade path. The test aims at preparing some lightweight data and conduct a rolling upgrade while inserting more data - the goal is to ensure the internode communication does not break when cluster is in a mixed version state. The test consists from encrypted and non-encrypted variant.
Jenkins does not have permissions to checkout from bdp
This reverts commit a2a4490.
| r'Received a read request from .* for a token .* that is not owned by the current replica .* key=cassandra .*' | ||
| r'Received a read request from .* for a token .* that is not owned by the current replica .* key=cassandra .*', | ||
| # the two below error patterns are needed by DSE upgrade tests | ||
| r'that is incompatible with the version this node can handle', |
There was a problem hiding this comment.
fyi, this line addresses (by suppression) HCD-193
https://github.com/riptano/bdp/pull/21617
|
It seems there has been some activity on this PR while I was away, I will let myself review what has changed and what the next steps should be. |
The goal of this patch is to add a distinct upgrade test for DSE 6.9 upgrade path.
The test aims at preparing some lightweight data and conduct a rolling upgrade
while inserting more data - the goal is to ensure the internode communication does not
break when cluster is in a mixed version state.
The test consists from encrypted and non-encrypted variant.
Complementary ccm PR: datastax/cassandra-ccm#3
It is a test for datastax/cassandra#2240
How to run the test locally: