Debian Codegraph @

mysql-test/suite/galera_3nodes/suite.pm

raw
1 package My::Suite::GALERA_3NODES;
2
3 use lib 'suite';
4 use wsrep::common;
5
6 @ISA = qw(My::Suite);
7
8 return wsrep_not_ok() if wsrep_not_ok();
9
10 push @::global_suppressions,
11 (
12 qr(WSREP: wsrep_sst_receive_address is set to '127\.0\.0\.1),
13 qr(WSREP: Could not open saved state file for reading: ),
14 qr(WSREP: Could not open state file for reading: ),
15 qr(WSREP: Gap in state sequence\. Need state transfer\.),
16 qr(WSREP: Failed to prepare for incremental state transfer:),
17 qr(WSREP: .*down context.*),
18 qr(WSREP: Failed to send state UUID:),
19 qr(WSREP: last inactive check more than .+ skipping check),
20 qr(WSREP: Releasing seqno [0-9]+ before [0-9]+ was assigned\.),
21 qr|WSREP: access file\(.*gvwstate.dat\) failed ?\(No such file or directory\)|,
22 qr(WSREP: Quorum: No node with complete state),
23 qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
24 qr|WSREP: discarding established \(time wait\) |,
25 qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside\. Will use that one\.),
26 qr(WSREP: evs::proto.*),
27 qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:|,
28 qr(WSREP: no nodes coming from prim view, prim not possible),
29 qr(WSREP: Member .+ ?requested state transfer from .+ but it is impossible to select State Transfer donor: Resource temporarily unavailable),
30 qr(WSREP: user message in state LEAVING),
31 qr(WSREP: .* sending install message failed: (Transport endpoint|Socket) is not connected),
32 qr(WSREP: .* sending install message failed: Resource temporarily unavailable),
33 qr(WSREP: Maximum writeset size exceeded by ),
34 qr(WSREP: transaction size exceeded),
35 qr(WSREP: RBR event ),
36 qr(WSREP: Ignoring error for TO isolated action: ),
37 qr(WSREP: transaction size limit ),
38 qr(WSREP: rbr write fail, ),
39 qr(WSREP: .*Backend not supported: foo),
40 qr(WSREP: .*Failed to initialize backend using ),
41 qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at ),
42 qr(WSREP: gcs connect failed: Socket type not supported),
43 qr(WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 .*),
44 qr(WSREP: .*Failed to open backend connection: -110 ),
45 qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at ),
46 qr(WSREP: gcs connect failed: Connection timed out),
47 qr|WSREP: wsrep::connect\(.*\) failed: 7|,
48 qr(WSREP: SYNC message from member .+ ?in non-primary configuration\. Ignored\.),
49 qr(WSREP: Could not find peer:),
50 qr(WSREP: TO isolation failed for: ),
51 qr|WSREP: gcs_caused\(\) returned |,
52 qr|WSREP: Protocol violation\. JOIN message sender .+ ?is not in state transfer \(SYNCED\)\. Message ignored\.|,
53 qr|WSREP: Protocol violation\. JOIN message sender .+ ?is not in state transfer \(JOINED\)\. Message ignored\.|,
54 qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled\. Expect abort\.|,
55 qr(WSREP: Action message in non-primary configuration from member [0-9]*),
56 qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
57 qr(WSREP: discarding established ),
58 qr|WSREP: .*core_handle_uuid_msg|,
59 qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0\. WSREP_SYNC_WAIT_BEFORE_READ is on),
60 qr|WSREP: JOIN message from member .+ ?in non-primary configuration\. Ignored\.|,
61 qr|WSREP: .*Query apply failed:|,
62 qr(WSREP: Ignoring error),
63 qr(WSREP: Failed to remove page file ),
64 qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to ),
65 qr+WSREP: Sending JOIN failed: -107 \((Transport endpoint|Socket) is not connected\)\. Will retry in new primary component\.+,
66 qr+WSREP: Send action \{.* STATE_REQUEST\} returned -107 \((Transport endpoint|Socket) is not connected\)+,
67 qr|WSREP: Trying to continue unpaused monitor|,
68 qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
69 qr|WSREP: Failed to report last committed|,
70 );
71
72 sub which($) { return `sh -c "command -v $_[0]"` }
73
74 sub skip_combinations {
75 my %skip = ();
76 $skip{'include/have_mariabackup.inc'} = 'Need socket statistics utility'
77 unless which("lsof") || which("sockstat") || which("ss");
78 %skip;
79 }
80
81 bless { };