smbd: Clarify smb2 lock checks
[Samba.git] / ctdb / tests / takeover / lcp2.031.sh
blob6c5acf91ffacf049dd439df05cd974b094300c7f
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "12+4 IPs, 4 nodes, 3 -> 4 healthy"
7 export CTDB_TEST_LOGLEVEL=4
9 required_result <<EOF
10 DATE TIME [PID]: ----------------------------------------
11 DATE TIME [PID]: CONSIDERING MOVES (UNASSIGNED)
12 DATE TIME [PID]: ----------------------------------------
13 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
14 DATE TIME [PID]: Selecting most imbalanced node from:
15 DATE TIME [PID]: 0 [0]
16 DATE TIME [PID]: 1 [181370]
17 DATE TIME [PID]: 2 [128630]
18 DATE TIME [PID]: 3 [128881]
19 DATE TIME [PID]: ----------------------------------------
20 DATE TIME [PID]: CONSIDERING MOVES FROM 1 [181370]
21 DATE TIME [PID]: 1 [-64566] -> 130.216.30.178 -> 0 [+0]
22 DATE TIME [PID]: 1 [-64566] -> 130.216.30.176 -> 0 [+0]
23 DATE TIME [PID]: 1 [-64315] -> 130.216.30.175 -> 0 [+0]
24 DATE TIME [PID]: 1 [-64315] -> 130.216.30.171 -> 0 [+0]
25 DATE TIME [PID]: 1 [-52489] -> 10.19.99.253 -> 0 [+0]
26 DATE TIME [PID]: 1 [-52489] -> 10.19.99.250 -> 0 [+0]
27 DATE TIME [PID]: ----------------------------------------
28 DATE TIME [PID]: 1 [-64566] -> 130.216.30.178 -> 0 [+0]
29 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
30 DATE TIME [PID]: Selecting most imbalanced node from:
31 DATE TIME [PID]: 0 [0]
32 DATE TIME [PID]: 1 [116804]
33 DATE TIME [PID]: 2 [128630]
34 DATE TIME [PID]: 3 [128881]
35 DATE TIME [PID]: ----------------------------------------
36 DATE TIME [PID]: CONSIDERING MOVES FROM 3 [128881]
37 DATE TIME [PID]: 3 [-55099] -> 130.216.30.180 -> 0 [+15625]
38 DATE TIME [PID]: 3 [-55099] -> 130.216.30.177 -> 0 [+15876]
39 DATE TIME [PID]: 3 [-55350] -> 130.216.30.174 -> 0 [+15129]
40 DATE TIME [PID]: 3 [-55350] -> 130.216.30.173 -> 0 [+15129]
41 DATE TIME [PID]: 3 [-36864] -> 10.19.99.252 -> 0 [+9216]
42 DATE TIME [PID]: ----------------------------------------
43 DATE TIME [PID]: 3 [-55350] -> 130.216.30.174 -> 0 [+15129]
44 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
45 DATE TIME [PID]: Selecting most imbalanced node from:
46 DATE TIME [PID]: 0 [15129]
47 DATE TIME [PID]: 1 [116804]
48 DATE TIME [PID]: 2 [128630]
49 DATE TIME [PID]: 3 [73531]
50 DATE TIME [PID]: ----------------------------------------
51 DATE TIME [PID]: CONSIDERING MOVES FROM 2 [128630]
52 DATE TIME [PID]: 2 [-55099] -> 130.216.30.181 -> 0 [+30754]
53 DATE TIME [PID]: 2 [-55099] -> 130.216.30.179 -> 0 [+31258]
54 DATE TIME [PID]: 2 [-55099] -> 130.216.30.172 -> 0 [+31005]
55 DATE TIME [PID]: 2 [-55099] -> 130.216.30.170 -> 0 [+30754]
56 DATE TIME [PID]: 2 [-36864] -> 10.19.99.251 -> 0 [+18432]
57 DATE TIME [PID]: ----------------------------------------
58 DATE TIME [PID]: 2 [-55099] -> 130.216.30.181 -> 0 [+30754]
59 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
60 DATE TIME [PID]: Selecting most imbalanced node from:
61 DATE TIME [PID]: 0 [45883]
62 DATE TIME [PID]: 1 [116804]
63 DATE TIME [PID]: 2 [73531]
64 DATE TIME [PID]: 3 [73531]
65 DATE TIME [PID]: ----------------------------------------
66 DATE TIME [PID]: CONSIDERING MOVES FROM 1 [116804]
67 DATE TIME [PID]: 1 [-48690] -> 130.216.30.176 -> 0 [+46630]
68 DATE TIME [PID]: 1 [-49186] -> 130.216.30.175 -> 0 [+46387]
69 DATE TIME [PID]: 1 [-49186] -> 130.216.30.171 -> 0 [+45883]
70 DATE TIME [PID]: 1 [-43273] -> 10.19.99.253 -> 0 [+27648]
71 DATE TIME [PID]: 1 [-43273] -> 10.19.99.250 -> 0 [+27648]
72 DATE TIME [PID]: ----------------------------------------
73 DATE TIME [PID]: 1 [-43273] -> 10.19.99.253 -> 0 [+27648]
74 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
75 DATE TIME [PID]: Selecting most imbalanced node from:
76 DATE TIME [PID]: 0 [73531]
77 DATE TIME [PID]: 1 [73531]
78 DATE TIME [PID]: 2 [73531]
79 DATE TIME [PID]: 3 [73531]
80 DATE TIME [PID]: ----------------------------------------
81 DATE TIME [PID]: CONSIDERING MOVES FROM 0 [73531]
82 DATE TIME [PID]: 0 [-39970] -> 130.216.30.181 -> 0 [+39970]
83 DATE TIME [PID]: 0 [-39970] -> 130.216.30.178 -> 0 [+39970]
84 DATE TIME [PID]: 0 [-39474] -> 130.216.30.174 -> 0 [+39474]
85 DATE TIME [PID]: 0 [-27648] -> 10.19.99.253 -> 0 [+27648]
86 DATE TIME [PID]: ----------------------------------------
87 DATE TIME [PID]: ----------------------------------------
88 DATE TIME [PID]: CONSIDERING MOVES FROM 1 [73531]
89 DATE TIME [PID]: 1 [-39474] -> 130.216.30.176 -> 0 [+55846]
90 DATE TIME [PID]: 1 [-39970] -> 130.216.30.175 -> 0 [+55603]
91 DATE TIME [PID]: 1 [-39970] -> 130.216.30.171 -> 0 [+55099]
92 DATE TIME [PID]: 1 [-27648] -> 10.19.99.250 -> 0 [+43273]
93 DATE TIME [PID]: ----------------------------------------
94 DATE TIME [PID]: ----------------------------------------
95 DATE TIME [PID]: CONSIDERING MOVES FROM 2 [73531]
96 DATE TIME [PID]: 2 [-39474] -> 130.216.30.179 -> 0 [+56099]
97 DATE TIME [PID]: 2 [-39970] -> 130.216.30.172 -> 0 [+55350]
98 DATE TIME [PID]: 2 [-39970] -> 130.216.30.170 -> 0 [+55099]
99 DATE TIME [PID]: 2 [-27648] -> 10.19.99.251 -> 0 [+43273]
100 DATE TIME [PID]: ----------------------------------------
101 DATE TIME [PID]: ----------------------------------------
102 DATE TIME [PID]: CONSIDERING MOVES FROM 3 [73531]
103 DATE TIME [PID]: 3 [-39970] -> 130.216.30.180 -> 0 [+56099]
104 DATE TIME [PID]: 3 [-39970] -> 130.216.30.177 -> 0 [+55846]
105 DATE TIME [PID]: 3 [-39474] -> 130.216.30.173 -> 0 [+55350]
106 DATE TIME [PID]: 3 [-27648] -> 10.19.99.252 -> 0 [+43777]
107 DATE TIME [PID]: ----------------------------------------
108 130.216.30.181 0
109 130.216.30.180 3
110 130.216.30.179 2
111 130.216.30.178 0
112 130.216.30.177 3
113 130.216.30.176 1
114 130.216.30.175 1
115 130.216.30.174 0
116 130.216.30.173 3
117 130.216.30.172 2
118 130.216.30.171 1
119 130.216.30.170 2
120 10.19.99.253 0
121 10.19.99.252 3
122 10.19.99.251 2
123 10.19.99.250 1
126 simple_test 0,0,0,0 <<EOF
127 10.19.99.250 1
128 10.19.99.251 2
129 10.19.99.252 3
130 10.19.99.253 1
131 130.216.30.170 2
132 130.216.30.171 1
133 130.216.30.172 2
134 130.216.30.173 3
135 130.216.30.174 3
136 130.216.30.175 1
137 130.216.30.176 1
138 130.216.30.177 3
139 130.216.30.178 1
140 130.216.30.179 2
141 130.216.30.180 3
142 130.216.30.181 2