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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Jun 6 10:31:27 CEST 2013


At Thu, 06 Jun 2013 16:10:12 +0800,
Liu Yuan wrote:
> 
> 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

It is because this test kills sheep 2 while node reweight is ongoing
so the content of store 2 is not deterministic.  I'll send a patch to
exclude the line from this test.

Thanks,

Kazutaka



More information about the sheepdog mailing list