[sheepdog] [PATCH 0/6] several fix and improvement of tests

Liu Yuan namei.unix at gmail.com
Thu Jun 6 10:10:12 CEST 2013


On 06/05/2013 04:35 PM, MORITA Kazutaka wrote:
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> 
> MORITA Kazutaka (6):
>   tests/064: fix wrong output
>   tests: remove 063 and 064 from md group
>   tests: count the number of objects instead of using node/md info
>   tests: add support for running check outside tests directory
>   tests: don't use /tmp for each test
>   tests: add support for running testcase file directly
> 
>  tests/006           |    4 +--
>  tests/008           |    4 +--
>  tests/009           |    6 ++--
>  tests/016           |    2 +-
>  tests/016.out       |   11 +++---
>  tests/018           |    4 +--
>  tests/019           |    4 +--
>  tests/023           |    4 +--
>  tests/030           |   45 ++++++++++++------------
>  tests/035           |    6 ++--
>  tests/041           |   14 ++++----
>  tests/042           |    2 +-
>  tests/042.out       |   37 +++-----------------
>  tests/044           |    2 +-
>  tests/044.out       |   11 +++---
>  tests/047           |    2 +-
>  tests/055           |    3 +-
>  tests/056           |    3 +-
>  tests/057           |   13 +++----
>  tests/057.out       |   94 ++++++++++++++++++++++++++++++++++++++-------------
>  tests/058           |    4 +--
>  tests/058.out       |   22 +++++-------
>  tests/063           |    4 +--
>  tests/063.out       |   31 ++++++++---------
>  tests/064           |    8 ++---
>  tests/064.out       |   57 ++++++++++++++-----------------
>  tests/check         |    8 ++---
>  tests/common.config |    3 +-
>  tests/common.rc     |   56 ++++++++++++++++++++++++++++--
>  tests/group         |    4 +--
>  30 files changed, 259 insertions(+), 209 deletions(-)
> 

064 always fails on my box,

yliu at K55VM-ubuntu:~/sheepdog$ sudo tests/check 64
PLATFORM      -- Linux/x86_64 K55VM-ubuntu 3.8.13

064 Last Used:12s.  Test node failure while reweighting - output
mismatch (see 064.out.bad)
--- 064.out	2013-06-06 15:55:23.973791269 +0800
+++ 064.out.bad	2013-06-06 16:07:38.725821730 +0800
@@ -21,7 +21,7 @@
 STORE	DATA	VDI	VMSTATE	ATTR	STALE
 0	11	1	0	0	0
 1	25	1	0	0	0
-2	18	0	0	0	3
+2	19	0	0	0	3
 3	14	0	0	0	0
 M   Id   Host:Port         V-Nodes       Zone
 -    0   127.0.0.1:7000      	85          0
Failures: 064
Failed 1 of 1 tests

Thanks,
Yuan



More information about the sheepdog mailing list