-
Notifications
You must be signed in to change notification settings - Fork 132
Description
After running integrity.py in Rhel8.4 with Avocado (version: 92.0), it shows “FAIL: Test failed”.
《Debug-Log of UID 2》
L0658 INFO | Running 'make'
L0470 DEBUG| [stdout] gcc mem_integrity_test.c -o mem_integrity_test -lnuma -w
L0740 INFO | Command 'make' finished with 0 after 0.058674022s
L0658 INFO | Running './mem_integrity_test -s 2'
L0470 DEBUG| [stderr] mbind() fails: Input/output error
L0470 DEBUG| [stdout] Total memory size 511813222400 bytes
L0470 DEBUG| [stdout]
L0470 DEBUG| [stdout] Scenario : Numa Migration
L0470 DEBUG| [stdout]
L0470 DEBUG| [stdout] Nodes used in test 0 8
L0470 DEBUG| [stdout] Lock all mapped memory
L0470 DEBUG| [stdout] Write into mapped memory
L0470 DEBUG| [stdout] 780965 pages allocated in Node 0
L0470 DEBUG| [stdout] Unlock all mapped memory
L0470 DEBUG| [stdout] All pages have been allocated in node 0
L0470 DEBUG| [stdout] Move pages from Node 0 to Node 8
L0740 INFO | Command './mem_integrity_test -s 2' finished with 255 after 89.698317622s
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/integrity.py", line 76, in test
L0045 ERROR| self.fail("Test failed")
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: Test failed
L0046 ERROR|
《Manual Test Log》
[root@sut1 integrity.py.data]# ls
integrity.yaml Makefile mem_integrity_test.c README
[root@sut1 integrity.py.data]# make
gcc mem_integrity_test.c -o mem_integrity_test -lnuma -w
[root@sut1 integrity.py.data]# ./mem_integrity_test -s 2
Total memory size 530409914368 bytes
Scenario : Numa Migration
Nodes used in test 0 8
Lock all mapped memory
Write into mapped memory
809342 pages allocated in Node 0
Unlock all mapped memory
All pages have been allocated in node 0
Move pages from Node 0 to Node 8
Lock all mapped memory
Reading from memory
809342 pages allocated in Node 8
All pages have been allocated in node 8
Unlock all mapped memory
Unmapping Memory
Test Passed!!
[root@sut1 integrity.py.data]#
※ Manual-Test is PASS !! Please check if it is script’s issue.
《Avocado Test Log》
20211108-SUT1-Distro-integrity.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
