-
Notifications
You must be signed in to change notification settings - Fork 130
Description
After running migrate_page.py in Rhel8.4 with Avocado (version: 92.0), it shows “FAIL: Please check the logs for failure”.
《Debug-Log of UID 1》
L0658 INFO | Running 'make'
L0470 DEBUG| [stdout] gcc node_move_pages.c -o node_move_pages -lhugetlbfs -lnuma
L0470 DEBUG| [stderr] node_move_pages.c: In function ‘write_read_pattern_numa_migration’:
L0470 DEBUG| [stderr] node_move_pages.c:210:38: warning: passing argument 1 of ‘posix_memalign’ from incompatible pointer type [-Wincompatible-pointer-types]
L0470 DEBUG| [stderr] posix_memalign(mmap_pointer[i], memory_to_use, page_size);
L0470 DEBUG| [stderr] ~~~~~~~~~~~~^~~
L0470 DEBUG| [stderr] In file included from node_move_pages.c:4:
L0470 DEBUG| [stderr] /usr/include/stdlib.h:577:35: note: expected ‘void **’ but argument is of type ‘char *’
L0470 DEBUG| [stderr] extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
L0470 DEBUG| [stderr] ~~~~~~~^~~~~~~~
L0470 DEBUG| [stderr] node_move_pages.c:221:102: warning: passing argument 6 of ‘mbind’ makes integer from pointer without a cast [-Wint-conversion]
L0470 DEBUG| [stderr] mbind_status = mbind(mmap_pointer[i], memory_to_use, MPOL_BIND, &mask, nodes_to_use[0] + 2, NULL);
L0470 DEBUG| [stderr] ^~~~
L0470 DEBUG| [stderr] In file included from node_move_pages.c:8:
L0470 DEBUG| [stderr] /usr/include/numaif.h:14:62: note: expected ‘unsigned int’ but argument is of type ‘void *’
L0470 DEBUG| [stderr] const unsigned long *nmask, unsigned long maxnode, unsigned flags);
L0470 DEBUG| [stderr] ~~~~~~~~~^~~~~
L0740 INFO | Command 'make' finished with 0 after 0.091897654s
L0658 INFO | Running './node_move_pages -n 5'
L0470 DEBUG| [stderr] /bin/sh: ./node_move_pages: Text file busy
L0740 INFO | Command './node_move_pages -n 5' finished with 126 after 0.000988213s
L0039 ERROR|
L0042 ERROR| Reproduced traceback from: /usr/local/lib/python3.6/site-packages/avocado/core/test.py:793
L0045 ERROR| Traceback (most recent call last):
L0045 ERROR| File "/root/tests/tests/avocado-misc-tests/memory/migrate_pages.py", line 99, in test
L0045 ERROR| self.fail('Please check the logs for failure')
L0045 ERROR| File "/usr/local/lib/python3.6/site-packages/avocado/core/test.py", line 979, in fail
L0045 ERROR| raise exceptions.TestFail(message)
L0045 ERROR| avocado.core.exceptions.TestFail: Please check the logs for failure
L0046 ERROR|
《Debug-Log of UID 2》
L0658 INFO | Running './node_move_pages -n 2 -h'
L0470 DEBUG| [stderr] /bin/sh: ./node_move_pages: Text file busy
L0740 INFO | Command './node_move_pages -n 2 -h' finished with 126 after 0.001051965s
L0039 ERROR|
L0042 ERROR| Reproduced traceback from: /usr/local/lib/python3.6/site-packages/avocado/core/test.py:793
L0045 ERROR| Traceback (most recent call last):
L0045 ERROR| File "/root/tests/tests/avocado-misc-tests/memory/migrate_pages.py", line 99, in test
L0045 ERROR| self.fail('Please check the logs for failure')
L0045 ERROR| File "/usr/local/lib/python3.6/site-packages/avocado/core/test.py", line 979, in fail
L0045 ERROR| raise exceptions.TestFail(message)
L0045 ERROR| avocado.core.exceptions.TestFail: Please check the logs for failure
L0046 ERROR|
L0798 DEBUG| Local variables:
L0801 DEBUG| -> ret <class 'int'>: 126
L0801 DEBUG| -> cmd <class 'str'>: ./node_move_pages -n 2 -h
L0801 DEBUG| -> self <class 'migrate_pages.MigratePages'>: 1-MigratePages.test
L0208 DEBUG| DATA (filename=output.expected) => NOT FOUND (data sources: variant, test, file)
L0208 DEBUG| DATA (filename=stdout.expected) => NOT FOUND (data sources: variant, test, file)
L0208 DEBUG| DATA (filename=stderr.expected) => NOT FOUND (data sources: variant, test, file)
L0208 DEBUG| Not logging partitions (no change detected)
L0208 DEBUG| Not logging grep -v ^# _etc_kdump.conf (no change detected)
L0208 DEBUG| Not logging modules (no change detected)
L0208 DEBUG| Not logging dmesg (no change detected)
L0199 DEBUG| Not logging /proc/pci (file not found)
L0208 DEBUG| Not logging sched_features (no change detected)
L0208 DEBUG| Not logging ip link (no change detected)
L0208 DEBUG| Not logging scaling_governor (no change detected)
L0208 DEBUG| Not logging grep -v ^# etc_sysconfig_kdump (no change detected)
L0201 ERROR| Collection <class 'avocado.utils.sysinfo.JournalctlWatcher'> failed: [Errno 2] No such file or directory: '/var/tmp/.avocado-taskku56vgmk/test-results/1-MigratePages.test/sysinfo/pre/journalctl.gz'
L0208 DEBUG| Not logging lsprop proc_device-tree_openprom (no change detected)
L0208 DEBUG| Not logging cpuinfo (no change detected)
L0208 DEBUG| Not logging lspci -vvnn (no change detected)
L0208 DEBUG| Not logging uname -a (no change detected)
L0208 DEBUG| Not logging ld --version (no change detected)
L0208 DEBUG| Not logging lsprop proc_device-tree_ibm,firmware-versions (no change detected)
L0208 DEBUG| Not logging lsblk (no change detected)
L0208 DEBUG| Not logging hostname (no change detected)
L0208 DEBUG| Not logging ppc64_cpu --info (no change detected)
L0208 DEBUG| Not logging lvdisplay (no change detected)
L0208 DEBUG| Not logging netstat -s (no change detected)
L0208 DEBUG| Not logging fdisk -l (no change detected)
L0208 DEBUG| Not logging cmdline (no change detected)
L0208 DEBUG| Not logging current_clocksource (no change detected)
L0208 DEBUG| Not logging lscpu (no change detected)
L0208 DEBUG| Not logging gcc --version (no change detected)
L0208 DEBUG| Not logging version (no change detected)
L0208 DEBUG| Not logging mounts (no change detected)
L0201 ERROR| Collection <class 'avocado.utils.sysinfo.Command'> failed: [Errno 2] No such file or directory: '/var/tmp/.avocado-taskku56vgmk/test-results/1-MigratePages.test/sysinfo/pre/supportconfig -R $AVOCADO_SYSINFODIR'
L0201 ERROR| Collection <class 'avocado.utils.sysinfo.Command'> failed: [Errno 2] No such file or directory: '/var/tmp/.avocado-taskku56vgmk/test-results/1-MigratePages.test/sysinfo/pre/sosreport --batch --tmp-dir $AVOCADO_SYSINFODIR'
《Manual Test Log》
※ Manual-Test of UID-1 and UID-2 are PASS !! Please check if it is script’s issue.
Manual-Test-Log.txt
《Avocado Test Log》
20211108-SUT1-Distro-migrate_pages.zip
《Configuration》
[Kernel]
4.18.0-305.25.1.el8_4.ppc64le
[FW Config]
BMC: op940.22.mih-1-0-g41157d8d2e
Pnor: OP9_v2.4.1-4.31-prod
[HW Config]
CPU DD2.3 20 core *2
Micron Technology (72ASS8G72PSZ-2S6G1) 64GiB x32
SAMSUNG PM985 (MZ1LB960HAJQ-00007) 960GB M.2 x1
PSU ACBEL 2000w *2
Slot10: Broadcom 9305-16i SAS/SATA HBA PCIe Gen3 x8 LP
Slot9: Broadcom 5719 QP 1G (1G/100M/10M) Network Interface Card PCIe x4 LP
00VN497 - Seagate Skybolt - HDD 2400GB SAS *8
