------- Comment From [email protected] 2024-10-16 13:44 EDT-------
I updated the logs for the different bugzilla to this bugzilla. Now updating 
the bugzilla along with proper logs to specify that it is working fine!

HOST[SOURCE](MDC):
OS : ubuntu
Kernel: 6.8.0-48-generic
qemu : QEMU emulator version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.2)
libvirt : libvirtd (libvirt) 10.0.0

HOST[DESTINATION](NON-MDC)
OS: ubuntu
Kernel: 6.8.0-48-generic
qemu : QEMU emulator version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.2)
libvirt : libvirtd (libvirt) 10.0.0

GUEST:
OS : ubuntu
kernel: 6.8.0-47-generic

I started the ltp memstress test and started the migration of the guest
from MDC to non-MDC system and after 2 hours i saw that the system was
still up!

Setps i tried:
1) Start the LTP memstress test
root@ubuntu:/opt/ltp ./runltp -f controllers -s memcg_stress -t 120m
-------------------------------------------
INFO: runltp script is deprecated, try kirk
https://github.com/linux-test-project/kirk
-------------------------------------------
Checking for required user/group ids

'root' user id and group found.
'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

/etc/lsb-release
/etc/os-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

uname:
Linux ubuntu 6.8.0-47-generic #47-Ubuntu SMP Fri Sep 27 21:38:55 UTC 2024 
ppc64le ppc64le ppc64le GNU/Linux

/proc/cmdline
BOOT_IMAGE=/vmlinux-6.8.0-47-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro 
crashkernel=4096M

Gnu C                  gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang
Gnu make               4.3
util-linux             2.39.3
mount                  linux 2.39.3 (libmount 2.39.3: selinux, smack, btrfs, 
verity, namespaces, idmapping, statx, assert, debug)
modutils               31
e2fsprogs              1.47.0
Linux C Library        gnu/libc.so.6
Dynamic linker (ldd)   2.39
Procps                 4.0.4
iproute2               1.3.0
iputils                20240117
ethtool                6.7
Sh-utils               9.4
Modules Loaded         xt_tcpudp nft_compat nf_tables qrtr cfg80211 binfmt_misc 
uio_pdrv_genirq vmx_crypto uio sch_fq_codel dm_multipath nfnetlink ip_tables 
x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 
ibmvscsi poly1305_p10_crypto crct10dif_vpmsum xhci_pci crc32c_vpmsum 
xhci_pci_renesas aes_gcm_p10_crypto

cpuinfo:
Architecture:             ppc64le
Byte Order:             Little Endian
CPU(s):                   16
On-line CPU(s) list:    0-15
Model name:               POWER10 (architected), altivec supported
Model:                  2.0 (pvr 0080 0200)
Thread(s) per core:     2
Core(s) per socket:     8
Socket(s):              1
Virtualization features:
Hypervisor vendor:      KVM
Virtualization type:    para
Caches (sum of all):
L1d:                    256 KiB (8 instances)
L1i:                    384 KiB (8 instances)
NUMA:
NUMA node(s):           1
NUMA node0 CPU(s):      0-15
Vulnerabilities:
Gather data sampling:   Not affected
Itlb multihit:          Not affected
L1tf:                   Mitigation; RFI Flush, L1D private per thread
Mds:                    Not affected
Meltdown:               Mitigation; RFI Flush, L1D private per thread
Mmio stale data:        Not affected
Reg file data sampling: Not affected
Retbleed:               Not affected
Spec rstack overflow:   Not affected
Spec store bypass:      Mitigation; Kernel entry/exit barrier (eieio)
Spectre v1:             Mitigation; __user pointer sanitization, ori31 specula
tion barrier enabled
Spectre v2:             Mitigation; Software count cache flush (hardware accel
erated), Software link stack flush
Srbds:                  Not affected
Tsx async abort:        Not affected

free reports:
total        used        free      shared  buff/cache   available
Mem:        26067968     1099520    24681664       25024      465600    24968448
Swap:              0           0           0

memory (/proc/meminfo):
MemTotal:       26067968 kB
MemFree:        24681664 kB
MemAvailable:   24968448 kB
Buffers:           16448 kB
Cached:           415488 kB
SwapCached:            0 kB
Active:           454848 kB
Inactive:         108800 kB
Active(anon):     118336 kB
Inactive(anon):    50304 kB
Active(file):     336512 kB
Inactive(file):    58496 kB
Unevictable:       33856 kB
Mlocked:           33856 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:             93568 kB
Writeback:             0 kB
AnonPages:        165440 kB
Mapped:            57472 kB
Shmem:             25024 kB
KReclaimable:      33664 kB
Slab:             449920 kB
SReclaimable:      33664 kB
SUnreclaim:       416256 kB
KernelStack:        5952 kB
PageTables:         4928 kB
SecPageTables:         0 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    13033984 kB
Committed_AS:     511168 kB
VmallocTotal:   549755813888 kB
VmallocUsed:       23744 kB
VmallocChunk:          0 kB
Percpu:            86016 kB
HardwareCorrupted:     0 kB
AnonHugePages:      2048 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:           0 kB
DirectMap64k:    31457280 kB
DirectMap2M:           0 kB
DirectMap1G:           0 kB

available filesystems:
autofs bdev binfmt_misc bpf btrfs cgroup cgroup2 configfs cpuset debugfs devpts 
devtmpfs ecryptfs ext2 ext3 ext4 fuse fuseblk fusectl hugetlbfs mqueue pipefs 
proc pstore ramfs securityfs sockfs squashfs sysfs tmpfs tracefs vfat

mounted filesystems (/proc/mounts):
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs 
rw,nosuid,relatime,size=12999168k,nr_inodes=203112,mode=755,inode64 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=2606848k,mode=755,inode64 
0 0
/dev/mapper/ubuntu--vg-ubuntu--lv / ext4 rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 0 0
cgroup2 /sys/fs/cgroup cgroup2 
rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs 
rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19477 
0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,nosuid,nodev,relatime,pagesize=2M 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/sda2 /boot ext4 rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc 
rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/user/0 tmpfs 
rw,nosuid,nodev,relatime,size=2606784k,nr_inodes=651696,mode=700,inode64 0 0

mounted filesystems (df):
Filesystem                        Type   Size  Used Avail Use% Mounted on
tmpfs                             tmpfs  2.5G   13M  2.5G   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv ext4   9.8G  5.2G  4.1G  57% /
tmpfs                             tmpfs   13G     0   13G   0% /dev/shm
tmpfs                             tmpfs  5.0M     0  5.0M   0% /run/lock
/dev/sda2                         ext4   1.8G  255M  1.4G  16% /boot
tmpfs                             tmpfs  2.5G  192K  2.5G   1% /run/user/0

tainted (/proc/sys/kernel/tainted):
0

AppArmor enabled
apparmor module is loaded.
119 profiles are loaded.
24 profiles are in enforce mode.
/usr/bin/man
/usr/lib/snapd/snap-confine
/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
lsb_release
man_filter
man_groff
nvidia_modprobe
nvidia_modprobe//kmod
plasmashell
plasmashell//QtWebEngineProcess
rsyslogd
tcpdump
ubuntu_pro_apt_news
ubuntu_pro_esm_cache
ubuntu_pro_esm_cache//apt_methods
ubuntu_pro_esm_cache//apt_methods_gpgv
ubuntu_pro_esm_cache//cloud_id
ubuntu_pro_esm_cache//dpkg
ubuntu_pro_esm_cache//ps
ubuntu_pro_esm_cache//ubuntu_distro_info
ubuntu_pro_esm_cache_systemctl
ubuntu_pro_esm_cache_systemd_detect_virt
unix-chkpwd
unprivileged_userns
4 profiles are in complain mode.
transmission-cli
transmission-daemon
transmission-gtk
transmission-qt
0 profiles are in prompt mode.
0 profiles are in kill mode.
91 profiles are in unconfined mode.
1password
Discord
MongoDB Compass
QtWebEngineProcess
balena-etcher
brave
buildah
busybox
cam
ch-checkns
ch-run
chrome
crun
devhelp
element-desktop
epiphany
evolution
firefox
flatpak
foliate
geary
github-desktop
goldendict
ipa_verify
kchmviewer
keybase
lc-compliance
libcamerify
linux-sandbox
loupe
lxc-attach
lxc-create
lxc-destroy
lxc-execute
lxc-stop
lxc-unshare
lxc-usernsexec
mmdebstrap
msedge
nautilus
notepadqq
obsidian
opam
opera
pageedit
podman
polypane
privacybrowser
qcam
qmapshack
qutebrowser
rootlesskit
rpm
rssguard
runc
sbuild
sbuild-abort
sbuild-adduser
sbuild-apt
sbuild-checkpackages
sbuild-clean
sbuild-createchroot
sbuild-destroychroot
sbuild-distupgrade
sbuild-hold
sbuild-shell
sbuild-unhold
sbuild-update
sbuild-upgrade
scide
signal-desktop
slack
slirp4netns
steam
stress-ng
surfshark
systemd-coredump
thunderbird
toybox
trinity
tup
tuxedo-control-center
userbindmount
uwsgi-core
vdens
virtiofsd
vivaldi-bin
vpnns
vscode
wike
wpcom
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are in prompt mode.
0 processes are in kill mode.
0 processes are unconfined but have a profile defined.
0 processes are in mixed mode.

SELinux mode: unknown
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND:    /opt/ltp/bin/ltp-pan   -e -S  -t 60m -a 2579     -n 2579 -p -f 
/tmp/ltp-ELgJBKb6OQ/alltests -l 
/opt/ltp/results/LTP_RUN_ON-2024_10_16-13h_50m_13s.log  -C 
/opt/ltp/output/LTP_RUN_ON-2024_10_16-13h_50m_13s.failed -T 
/opt/ltp/output/LTP_RUN_ON-2024_10_16-13h_50m_13s.tconf
INFO: Restricted to memcg_stress
LOG File: /opt/ltp/results/LTP_RUN_ON-2024_10_16-13h_50m_13s.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2024_10_16-13h_50m_13s.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2024_10_16-13h_50m_13s.tconf
Running tests.......
PAN will run for 3600 seconds
<<<test_start>>>
tag=memcg_stress stime=1729086613
cmdline="memcg_stress_test.sh"
contacts=""
analysis=exit
<<<test_output>>>
memcg_stress_test 1 TINFO: Running: memcg_stress_test.sh
memcg_stress_test 1 TINFO: Tested kernel: Linux ubuntu 6.8.0-47-generic 
#47-Ubuntu SMP Fri Sep 27 21:38:55 UTC 2024 ppc64le ppc64le ppc64le GNU/Linux
memcg_stress_test 1 TINFO: trying to disable AppArmor (requires super/root)

/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
/lib/apparmor/apparmor.systemd: 273: printf: printf: I/O error
memcg_stress_test 1 TINFO: timeout per run is 23h 20m 0s
memcg_stress_test 1 TINFO: test starts with cgroup version 2
memcg_stress_test 1 TINFO: Calculated available memory 24361 MB
memcg_stress_test 1 TINFO: Testing 150 cgroups, using 162 MB, interval 5
memcg_stress_test 1 TINFO: Starting cgroups
memcg_stress_test 1 TINFO: Testing cgroups for 900s

2) start migration from MDC to non MDC system

root@ubuntu:/home# date;virsh migrate --live --domain ubuntu 
qemu+ssh://dest/system --verbose --undefinesource --persistent --auto-converge 
--postcopy ;date
Wed Oct 16 03:24:45 PM UTC 2024
error: internal error: unable to execute QEMU command 
'migrate-set-capabilities': Postcopy is not supported: Userfaultfd not 
available: Operation not permitted

Wed Oct 16 03:24:51 PM UTC 2024
root@ubuntu:/home# date;virsh migrate --live --domain ubuntu 
qemu+ssh://dest/system --verbose --undefinesource --persistent 
--auto-converge;date
Wed Oct 16 03:25:02 PM UTC 2024
Migration: [100.00 %]

3) After 2 hours i saw the non MDC system and it was up and running

4) I tried the migration back to MDC system that also worked fine

virsh console date;virsh migrate --live --domain ubuntu qemu+ssh://dest/system 
--verbose --undefinesource --persistent --auto-converge;date
Wed Oct 16 05:35:30 PM UTC 2024
Migration: [100.00 %]
Wed Oct 16 05:40:46 PM UTC 2024

I mistakenly updated the results of
https://bugzilla.linux.ibm.com/show_bug.cgi?id=208511 this bugzilla in
this bugzilla, sorry for the confusion

Conclusion: It is working fine!

Thanks,
Anushree Mathur

** Bug watch added: bugzilla.linux.ibm.com/ #208511
   https://bugzilla.linux.ibm.com/show_bug.cgi?id=208511

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076866

Title:
  Guest crashes post migration with migrate_misplaced_folio+0x4cc/0x5d0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2076866/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to