Bug #14262
closedunittest hangs on forever in the middle
0%
Description
//1. first i run run-make-check.sh
[root@ceph-ci-build ceph-1]# ./run-make-check.sh
.......
PASS: unittest_admin_socket
PASS: unittest_ceph_crypto
PASS: unittest_utf8
PASS: unittest_mime
PASS: unittest_escape
PASS: unittest_strtol
PASS: unittest_confutils
PASS: unittest_config
PASS: unittest_context
PASS: unittest_safe_io
PASS: unittest_heartbeatmap
PASS: unittest_formatter
PASS: unittest_daemon_config
PASS: unittest_ipaddr
PASS: unittest_texttable
PASS: unittest_readahead
PASS: unittest_tableformatter
PASS: unittest_bit_vector
PASS: unittest_erasure_code_shec_thread
PASS: unittest_bufferlist
PASS: ../qa/workunits/erasure-code/encode-decode-non-regression.sh
PASS: test/encoding/readable.sh
PASS: unittest_erasure_code_shec_all
//2. check which unittest case hang on
[root@ceph-ci-build ~]# ps axu|grep test-driver
root 7296 0.0 0.0 112640 968 pts/3 S+ 15:54 0:00 grep --color=auto test-driver
root 8315 0.0 0.0 113124 1524 pts/2 S+ 15:39 0:00 /bin/sh c p='test/osd/osd-scrub-repair.sh'; \ b='test/osd/osd-scrub-repair.sh'; \ case $ in e) set e;; esac; srcdirstrip=`echo "." | sed 's|.|.|g'`; case $p in ./*) f=`echo "$p" | sed "s|^$srcdirstrip/||"`;; ) f=$p;; esac; { mgn= red= grn= lgn= blu= brg= std=; am__color_tests=no; if test "X" = Xno; then am__color_tests=no; elif test "X" = Xalways; then am__color_tests=yes; elif test "X$TERM" != Xdumb && { test t 1; } 2>/dev/null; then am__color_tests=yes; fi; if test $am__color_tests = yes; then red='?[0;31m'; grn='?[0;32m'; lgn='?[1;32m'; blu='?[1;34m'; mgn='?[0;35m'; brg='?[1m'; std='?[m'; fi; }; srcdir=.; export srcdir; case "test/osd/osd-scrub-repair.sh.log" in */) am__odir=`echo "./test/osd/osd-scrub-repair.sh.log" | sed 's|/[^/]*$||'`;; ) am__odir=.;; esac; test "x$am__odir" = x"." || test -d "$am__odir" || /usr/bin/mkdir -p "$am__odir" || exit $?; if test -f "./$f"; then dir=./; elif test -f "$f"; then dir=; else dir="./"; fi; tst=$dir$f; log='test/osd/osd-scrub-repair.sh.log'; if test -n ''; then am__enable_hard_errors=no; else am__enable_hard_errors=yes; fi; case " " in *[\ \?]$f[\ \?] | [\ \?]$dir$f[\ \?]) am__expect_failure=yes;; ) am__expect_failure=no;; esac; /bin/sh ../test-driver --test-name "$f" \ --log-file $b.log --trs-file $b.trs \ --color-tests "$am__color_tests" --enable-hard-errors "$am__enable_hard_errors" --expect-failure "$am__expect_failure" - \ "$tst"
root 8325 0.0 0.0 113124 1460 pts/2 S 15:39 0:00 /bin/sh ../test-driver --test-name test/osd/osd-scrub-repair.sh --log-file test/osd/osd-scrub-repair.sh.log --trs-file test/osd/osd-scrub-repair.sh.trs --color-tests yes --enable-hard-errors yes --expect-failure no -- ./test/osd/osd-scrub-repair.sh
root 10740 0.0 0.0 113124 1520 pts/2 S+ 15:38 0:00 /bin/sh c p='test/ceph_objectstore_tool.py'; \ b='test/ceph_objectstore_tool.py'; \ case $ in *e) set e;; esac; srcdirstrip=`echo "." | sed 's|.|.|g'`; case $p in ./*) f=`echo "$p" | sed "s|^$srcdirstrip/||"`;; ) f=$p;; esac; { mgn= red= grn= lgn= blu= brg= std=; am__color_tests=no; if test "X" = Xno; then am__color_tests=no; elif test "X" = Xalways; then am__color_tests=yes; elif test "X$TERM" != Xdumb && { test t 1; } 2>/dev/null; then am__color_tests=yes; fi; if test $am__color_tests = yes; then red='?[0;31m'; grn='?[0;32m'; lgn='?[1;32m'; blu='?[1;34m'; mgn='?[0;35m'; brg='?[1m'; std='?[m'; fi; }; srcdir=.; export srcdir; case "test/ceph_objectstore_tool.py.log" in */) am__odir=`echo "./test/ceph_objectstore_tool.py.log" | sed 's|/[^/]*$||'`;; ) am__odir=.;; esac; test "x$am__odir" = x"." || test -d "$am__odir" || /usr/bin/mkdir -p "$am__odir" || exit $?; if test -f "./$f"; then dir=./; elif test -f "$f"; then dir=; else dir="./"; fi; tst=$dir$f; log='test/ceph_objectstore_tool.py.log'; if test -n ''; then am__enable_hard_errors=no; else am__enable_hard_errors=yes; fi; case " " in *[\ \?]$f[\ \?] | [\ \?]$dir$f[\ \?]) am__expect_failure=yes;; *) am__expect_failure=no;; esac; /bin/sh ../test-driver --test-name "$f" \ --log-file $b.log --trs-file $b.trs \ --color-tests "$am__color_tests" --enable-hard-errors "$am__enable_hard_errors" --expect-failure "$am__expect_failure" - \ "$tst"
root 10764 0.0 0.0 113124 1464 pts/2 S 15:38 0:00 /bin/sh ../test-driver --test-name test/ceph_objectstore_tool.py --log-file test/ceph_objectstore_tool.py.log --trs-file test/ceph_objectstore_tool.py.trs --color-tests yes --enable-hard-errors yes --expect-failure no -- ./test/ceph_objectstore_tool.py