renzhengeek / issues

0 stars 0 forks source link

ocfs2-test:multi nodes:reflink:fast test break #14

Open renzhengeek opened 9 years ago

renzhengeek commented 9 years ago
m1:/opt/ocfs2-test/log/multi-reflink-test # ls
multi-refcount-tests-run-x86_64-2015-09-07-22-11-51.log  multi-refcount-tests-x86_64-2015-09-07-22-11-51.log
multi-refcount-tests-run-x86_64-2015-09-08-13-43-38.log  multi-refcount-tests-x86_64-2015-09-08-13-43-38.log
m1:/opt/ocfs2-test/log/multi-reflink-test # cat multi-refcount-tests-run-x86_64-2015-09-07-22-11-51.log
=====================Multi-nodes refcount tests start:  Mon Sep  7 22:11:51 CST 2015=====================
<- Running test with 4096 bs and 32768 cs ->
[*] Mkfs device /dev/sdb:                                                      [ PASS ]
[*] Remote Mount among nodes m1,m2:                                            [ PASS ]
[1] Basic Functional Test:                                                     [ PASS ]
[2] Random Test:                                                               [ PASS ]
[3] Mmap Test:                                                                 [ PASS ]
[4] O_DIRECT Test:                                                             [ PASS ]
[5] Concurrent Test:                                                           [ PASS ]
[6] Inline-data Refcount Test:                                                 [ PASS ]
[7] Xattr Combination Test:                                                    [ PASS ]
[8] Stress Test:                                                               [ PASS ]
[*] Umount volume from nodes m1,m2:                                            [ PASS ]
=====================Multi-nodes refcount tests end: Tue Sep  8 13:43:38 CST 2015=====================
Time elapsed(s): 55907
Tests total: 8
Tests passed: 8
m1:/opt/ocfs2-test/log/multi-reflink-test # cat multi-refcount-tests-run-x86_64-2015-09-08-13-43-38.log
=====================Multi-nodes refcount tests start:  Tue Sep  8 13:43:38 CST 2015=====================
<- Running test with 4096 bs and 32768 cs ->
[*] Mkfs device /dev/sdb:                                                      [FAILED]
m1:/opt/ocfs2-test/log/multi-reflink-test # cat multi-refcount-tests-x86_64-2015-09-08-13-43-38.log
2015/09/08,13:43:38  =====================Multi-nodes refcount tests start:  Tue Sep  8 13:43:38 CST 2015=====================
2015/09/08,13:43:38  <- Running test with 4096 bs and 32768 cs ->
2015/09/08,13:43:38  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack= --cluster-name=                                          -b 4096 -C 32768 -L ocfs2-multi-refcount-tests-x86_64 -N 2  /opt/ocfs2-test/log/multi-reflink-test/multi-refcount-tests-x86_64-2015-09-08-13-43-38.log /dev/sdb 
mkfs.ocfs2: Option --cluster-stack requires an argument
2015/09/08,13:43:38  Mkfs failed
renzhengeek commented 9 years ago
run_reflink_test()
{
        local logdir=${LOG_DIR}/multi-reflink-test

        LogRunMsg "reflink-test"
        LogMsg "reflink 'data=ordered' mode test"
        ${BINDIR}/multi_reflink_test_run.sh -r 4 -f ${NODE_LIST} -a rsh -o \
${logdir} -d ${DEVICE} -s ${CLUSTER_STACK} -n ${CLUSTER_NAME} ${MOUNT_POINT} >> ${LOGFILE} 2>&1 || {
        RET=$?
        LogRC $RET
        return $RET
}
        LogMsg "reflink 'data=writeback' mode test"
        ${BINDIR}/multi_reflink_test_run.sh -r 4 -f ${NODE_LIST} -a rsh -o \
${logdir} -W -d ${DEVICE} ${MOUNT_POINT} >> ${LOGFILE} 2>&1
        LogRC $?
}