Debian Codegraph @

mysql-test/suite/galera/suite.pm

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