Bug 3652 - [Anck 4.19][x86_64][anolis8.6][nightly]xfstests测试套中generic/471用例执行失败,output mismatch:-pwrite: Resource temporarily unavailable,+wrote 1048576/1048576 bytes at offset 0
Summary: [Anck 4.19][x86_64][anolis8.6][nightly]xfstests测试套中generic/471用例执行失败,output m...
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-4.19 (show other bugs) kernel - anck-4.19
Version: 8.6
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaoxiang
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 17:07 UTC by zhixin01
Modified: 2023-01-11 16:05 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhixin01 alibaba_cloud_group 2023-01-06 17:07:43 UTC
Description of problem:
xfstests测试套中generic/471用例执行失败

用例执行日志:
generic/471       - output mismatch (see /tmp/tone/run/xfstests/results//generic/471.out.bad)
    --- tests/generic/471.out   2023-01-06 09:45:28.709131161 +0800
    +++ /tmp/tone/run/xfstests/results//generic/471.out.bad     2023-01-06 16:16:13.559109339 +0800
    @@ -1,5 +1,6 @@
     QA output created by 471
    -pwrite: Resource temporarily unavailable
    +wrote 1048576/1048576 bytes at offset 0
    +1 MiB, 1 ops; 0.0034 sec (287.274 MiB/sec and 287.2738 ops/sec)
     wrote 8388608/8388608 bytes at offset 0
     XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
     RWF_NOWAIT time is within limits.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/471.out /tmp/tone/run/xfstests/results//generic/471.out.bad'  to see the entire diff)
Ran: generic/471
Failures: generic/471
Failed 1 of 1 tests

[tone]Error: The return code of run() in run.sh is not 0
generic/471: Failed
Test running: Done

# diff -u /tmp/tone/run/xfstests/tests/generic/471.out /tmp/tone/run/xfstests/results//generic/471.out.bad
--- /tmp/tone/run/xfstests/tests/generic/471.out        2023-01-06 09:45:28.709131161 +0800
+++ /tmp/tone/run/xfstests/results//generic/471.out.bad 2023-01-06 16:16:13.559109339 +0800
@@ -1,5 +1,6 @@
 QA output created by 471
-pwrite: Resource temporarily unavailable
+wrote 1048576/1048576 bytes at offset 0
+1 MiB, 1 ops; 0.0034 sec (287.274 MiB/sec and 287.2738 ops/sec)
 wrote 8388608/8388608 bytes at offset 0
 XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 RWF_NOWAIT time is within limits.

How reproducible:
必现

Steps to Reproduce:
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb1
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb2
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb3
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb4
export FSTYP=ext4
export TEST_DEV=/dev/vdb1
export SCRATCH_DEV=/dev/vdb2
export TEST_LOGDEV =/dev/vdb3
export SCRATCH_LOGDEV=/dev/vdb4
mkdir -p /fs/vdb1 /fs/vdb2
export TEST_DIR=/fs/vdb1
export SCRATCH_MNT=/fs/vdb2

git clone --branch anck-4.19 https://gitee.com/anolis/xfstests.git
export CFLAGS="-fcommon"
make configure
./configure
make && make install
./check generic/471

Actual results:
用例执行失败

Expected results:
用例执行成功

Additional info:
# uname -r
4.19.91-257.git.dc94d8113a48.an8.x86_64

# free -h
              total        used        free      shared  buff/cache   available
Mem:           15Gi       334Mi        14Gi       0.0Ki       512Mi        14Gi
Swap:            0B          0B          0B

# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Alibaba Cloud
CPU family:          6
Model:               106
Model name:          Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name:     pc-i440fx-2.1
Stepping:            6
CPU MHz:             2699.998
BogoMIPS:            5399.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            49152K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities

# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
Comment 1 anolislw alibaba_cloud_group 2023-01-11 16:05:19 UTC
anolis8.6 ck-4.19 aarch64 nightly xfstest generic/471用例执也存在相关问题

generic/471       - output mismatch (see /tmp/tone/run/xfstests/results//generic/471.out.bad)
    --- tests/generic/471.out	2023-01-10 22:33:35.105187578 +0800
    +++ /tmp/tone/run/xfstests/results//generic/471.out.bad	2023-01-10 23:26:44.403052520 +0800
    @@ -1,5 +1,6 @@
     QA output created by 471
    -pwrite: Resource temporarily unavailable
    +wrote 1048576/1048576 bytes at offset 0
    +1 MiB, 1 ops; 0.0062 sec (159.744 MiB/sec and 159.7444 ops/sec)
     wrote 8388608/8388608 bytes at offset 0
     XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
     RWF_NOWAIT time is within limits.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/471.out /tmp/tone/run/xfstests/results//generic/471.out.bad'  to see the entire diff)