Adding testcase for kdump after migration! - #36
Open
Anushree-Mathur wants to merge 1 commit into
Open
Conversation
Test scenario: 1. Configure VM with host-model CPU (auto-detected on ppc64/ppc64le) and set on_crash=restart so the guest reboots after a kernel panic. 2. Perform live migration to the destination host. 3. Open a serial console session on the destination guest — serial is used instead of SSH because the VM MAC is no longer reachable on the source host virbr0 after migration, which causes wait_for_login() to fail due to stale ARP/address-cache entries. 4. Record pre-crash vmcore list from /var/crash/. 5. Trigger a kernel panic via echo c > /proc/sysrq-trigger. 6. Wait for the guest to reboot (on_crash=restart). 7. Re-open serial session, collect post-crash vmcore list and confirm at least one new vmcore was created — failure is reported otherwise. Config additions: - variants kdump: kdump_migration (post_migration_kdump=yes) / no_kdump - Additional migration modes: p2p_tunneled, postcopy, postcopy_p2p, auto_converge, auto_converge_p2p — kdump crosses all of them. - numa_cell updated to 32 vCPUs / 16 GiB to match a Power LPAR layout. - custom cpu_mode excludes ppc64le,ppc64 (no named model available).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test scenario:
Config additions:
Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>