-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(collect_diagnosis_data_test): Add ScyllaDiagnosisReport nemesis #10536
base: master
Are you sure you want to change the base?
Conversation
Argus reports success but jenkins job reports failure. Will fix and remove draft tag from this |
f8d7089
to
3efbff8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe instead of nemesis it should be teradown validator?
def disrupt_sigquit_scylla(self): | ||
stress_cmd = self.tester.params.get('stress_cmd') | ||
self.tester.run_stress_thread( | ||
stress_cmd=stress_cmd, stress_num=1, stats_aggregate_cmds=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nemesis rather don't run stress_cmd - unless it is by specific design (like doubling load)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, will move it outside nemesis.
from sdcm import nemesis | ||
|
||
|
||
class ScyllaDiagnosisReport(ClusterTester): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usually we don't add new tests - only in specific cases.
For this should utilize 'individual nemesis' case
1a1acc7
to
3366de7
Compare
Adds a new ScyllaDiagnosisReport nemesis to send signal to scylladb to dump diagnostics and verify it. Fixes: scylladb#9443 Signed-off-by: Lakshmipathi.Ganapathi <[email protected]>
3366de7
to
3fe026d
Compare
@@ -703,6 +703,18 @@ def _kill_scylla_daemon(self): | |||
self.target_node.wait_jmx_up() | |||
self.cluster.wait_for_schema_agreement() | |||
|
|||
def _sigquit_scylla_daemon(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw. we have already generate_coredump_file
method in BaseNode
class - this could reuse your new method and print diagnosis dump.
Also add node log message with DbNodeLogger
about this signal
Adds a new ScyllaDiagnosisReport nemesis to send signal to scylladb to dump diagnostics and verify it.
Fixes: #9443
Testing
PR pre-checks (self review)
backport
labelsReminders
sdcm/sct_config.py
)unit-test/
folder)