You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDEV-11948 innodb.log_file fails in buildbot on CentOS 5
Rewrite the test so that the main server is restarted, instead of
--exec $MYSQLD_CMD. In this way, the test can be run with Valgrind
and with any --mysqld=--innodb-page-size.
Also remove the workaround --skip-innodb-use-native-aio. It should
not be needed when we are inheriting the server parameters from
the test environment.
# Start mysqld with non existent innodb_log_group_home_dir
12
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
13
+
WHERE engine = 'innodb'
14
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
15
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
16
+
FOUND /File .path.to.non-existent.*ib_logfile101: 'create' returned OS error \d+/ in mysqld.1.err
10
17
# Remove ibdata1 & ibdata2
11
-
my.cnf
12
-
my_restart.err
13
-
# Start mysqld to create tablespaces according to my.cnf
18
+
# Successfully let InnoDB create tablespaces
19
+
SELECT COUNT(*) `1` FROM INFORMATION_SCHEMA.ENGINES
20
+
WHERE engine='innodb'
21
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
22
+
1
23
+
1
14
24
# Backup tmp/logfile/*
15
25
# 1. With ibdata2, Without ibdata1
26
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
27
+
WHERE engine = 'innodb'
28
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
29
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
30
+
FOUND /The innodb_system data file 'ibdata1' was not found but one of the other data files 'ibdata2' exists/ in mysqld.1.err
16
31
bak_ib_logfile0
17
32
bak_ib_logfile1
18
33
bak_ib_logfile2
@@ -26,12 +41,16 @@ ib_logfile0
26
41
ib_logfile1
27
42
ib_logfile2
28
43
ibdata2
29
-
my.cnf
30
-
my_restart.err
31
44
undo001
32
45
undo002
33
46
undo003
34
47
# 2. With ibdata1, without ibdata2
48
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
49
+
WHERE engine = 'innodb'
50
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
51
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
52
+
FOUND /InnoDB: Tablespace size stored in header is \d+ pages, but the sum of data file sizes is \d+ pages/ in mysqld.1.err
53
+
FOUND /InnoDB: Cannot start InnoDB. The tail of the system tablespace is missing/ in mysqld.1.err
35
54
bak_ib_logfile0
36
55
bak_ib_logfile1
37
56
bak_ib_logfile2
@@ -46,8 +65,6 @@ ib_logfile1
46
65
ib_logfile2
47
66
ibdata1
48
67
ibdata2
49
-
my.cnf
50
-
my_restart.err
51
68
undo001
52
69
undo002
53
70
undo003
@@ -64,11 +81,14 @@ ib_buffer_pool
64
81
ib_logfile0
65
82
ib_logfile1
66
83
ib_logfile2
67
-
my.cnf
68
-
my_restart.err
69
84
undo001
70
85
undo002
71
86
undo003
87
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
88
+
WHERE engine = 'innodb'
89
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
90
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
91
+
FOUND /InnoDB: undo tablespace .*undo001.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\./ in mysqld.1.err
72
92
bak_ib_logfile0
73
93
bak_ib_logfile1
74
94
bak_ib_logfile2
@@ -81,8 +101,6 @@ ib_buffer_pool
81
101
ib_logfile0
82
102
ib_logfile1
83
103
ib_logfile2
84
-
my.cnf
85
-
my_restart.err
86
104
undo001
87
105
undo002
88
106
undo003
@@ -96,11 +114,13 @@ bak_undo001
96
114
bak_undo002
97
115
bak_undo003
98
116
ib_buffer_pool
99
-
my.cnf
100
-
my_restart.err
101
117
undo001
102
118
undo002
103
119
undo003
120
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
121
+
WHERE engine = 'innodb'
122
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
123
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
104
124
bak_ib_logfile0
105
125
bak_ib_logfile1
106
126
bak_ib_logfile2
@@ -110,8 +130,6 @@ bak_undo001
110
130
bak_undo002
111
131
bak_undo003
112
132
ib_buffer_pool
113
-
my.cnf
114
-
my_restart.err
115
133
undo001
116
134
undo002
117
135
undo003
@@ -125,10 +143,12 @@ bak_undo001
125
143
bak_undo002
126
144
bak_undo003
127
145
ib_buffer_pool
128
-
my.cnf
129
-
my_restart.err
130
146
undo001
131
147
undo003
148
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
149
+
WHERE engine = 'innodb'
150
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
151
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
132
152
bak_ib_logfile0
133
153
bak_ib_logfile1
134
154
bak_ib_logfile2
@@ -138,8 +158,6 @@ bak_undo001
138
158
bak_undo002
139
159
bak_undo003
140
160
ib_buffer_pool
141
-
my.cnf
142
-
my_restart.err
143
161
undo001
144
162
undo003
145
163
# 6. Without ibdata*,ib_logfile* files & Without undo001, undo002
@@ -152,9 +170,12 @@ bak_undo001
152
170
bak_undo002
153
171
bak_undo003
154
172
ib_buffer_pool
155
-
my.cnf
156
-
my_restart.err
157
173
undo003
174
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
175
+
WHERE engine = 'innodb'
176
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
177
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
178
+
FOUND /undo tablespace .*undo003.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\./ in mysqld.1.err
158
179
bak_ib_logfile0
159
180
bak_ib_logfile1
160
181
bak_ib_logfile2
@@ -164,8 +185,6 @@ bak_undo001
164
185
bak_undo002
165
186
bak_undo003
166
187
ib_buffer_pool
167
-
my.cnf
168
-
my_restart.err
169
188
undo003
170
189
# 7. With ibdata files & Without undo002
171
190
bak_ib_logfile0
@@ -182,10 +201,13 @@ ib_logfile1
182
201
ib_logfile2
183
202
ibdata1
184
203
ibdata2
185
-
my.cnf
186
-
my_restart.err
187
204
undo001
188
205
undo003
206
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
207
+
WHERE engine = 'innodb'
208
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
209
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
210
+
FOUND /Expected to open 3 undo tablespaces but was able to find only 1 undo tablespaces/ in mysqld.1.err
189
211
bak_ib_logfile0
190
212
bak_ib_logfile1
191
213
bak_ib_logfile2
@@ -200,8 +222,6 @@ ib_logfile1
200
222
ib_logfile2
201
223
ibdata1
202
224
ibdata2
203
-
my.cnf
204
-
my_restart.err
205
225
undo001
206
226
undo003
207
227
# 8. With ibdata files & Without undo001, undo002
@@ -219,9 +239,12 @@ ib_logfile1
219
239
ib_logfile2
220
240
ibdata1
221
241
ibdata2
222
-
my.cnf
223
-
my_restart.err
224
242
undo003
243
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
244
+
WHERE engine = 'innodb'
245
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
246
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
247
+
FOUND /Expected to open 3 undo tablespaces but was able to find only 0 undo tablespaces/ in mysqld.1.err
225
248
bak_ib_logfile0
226
249
bak_ib_logfile1
227
250
bak_ib_logfile2
@@ -236,8 +259,6 @@ ib_logfile1
236
259
ib_logfile2
237
260
ibdata1
238
261
ibdata2
239
-
my.cnf
240
-
my_restart.err
241
262
undo003
242
263
# 9. Without ibdata*, without undo*, Without ib_logfile1 and with ib_logfile2
243
264
bak_ib_logfile0
@@ -251,8 +272,12 @@ bak_undo003
251
272
ib_buffer_pool
252
273
ib_logfile0
253
274
ib_logfile2
254
-
my.cnf
255
-
my_restart.err
275
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
276
+
WHERE engine = 'innodb'
277
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
278
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
279
+
InnoDB YES Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
280
+
NOT FOUND /redo log file .*ib_logfile0.* exists\. Creating system tablespace with existing redo log files is not recommended\. Please delete all redo log files before creating new system tablespace\./ in mysqld.1.err
256
281
bak_ib_logfile0
257
282
bak_ib_logfile1
258
283
bak_ib_logfile2
@@ -263,9 +288,36 @@ bak_undo002
263
288
bak_undo003
264
289
ib_buffer_pool
265
290
ib_logfile0
291
+
ib_logfile1
266
292
ib_logfile2
267
-
my.cnf
268
-
my_restart.err
293
+
ibdata1
294
+
ibdata2
295
+
undo001
296
+
undo002
297
+
undo003
298
+
# 10. With ibdata*, without ib_logfile0
299
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
300
+
WHERE engine = 'innodb'
301
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
302
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
303
+
InnoDB YES Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
304
+
bak_ib_logfile0
305
+
bak_ib_logfile1
306
+
bak_ib_logfile2
307
+
bak_ibdata1
308
+
bak_ibdata2
309
+
bak_undo001
310
+
bak_undo002
311
+
bak_undo003
312
+
ib_buffer_pool
313
+
ib_logfile0
314
+
ib_logfile1
315
+
ib_logfile2
316
+
ibdata1
317
+
ibdata2
318
+
undo001
319
+
undo002
320
+
undo003
269
321
# 11. With ibdata*, without ib_logfile1
270
322
bak_ib_logfile0
271
323
bak_ib_logfile1
@@ -280,11 +332,14 @@ ib_logfile0
280
332
ib_logfile2
281
333
ibdata1
282
334
ibdata2
283
-
my.cnf
284
-
my_restart.err
285
335
undo001
286
336
undo002
287
337
undo003
338
+
SELECT * FROM INFORMATION_SCHEMA.ENGINES
339
+
WHERE engine = 'innodb'
340
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
341
+
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
342
+
FOUND /Only one log file found/ in mysqld.1.err
288
343
bak_ib_logfile0
289
344
bak_ib_logfile1
290
345
bak_ib_logfile2
@@ -298,8 +353,6 @@ ib_logfile0
298
353
ib_logfile2
299
354
ibdata1
300
355
ibdata2
301
-
my.cnf
302
-
my_restart.err
303
356
undo001
304
357
undo002
305
358
undo003
@@ -317,11 +370,15 @@ ib_logfile0
317
370
ib_logfile1
318
371
ibdata1
319
372
ibdata2
320
-
my.cnf
321
-
my_restart.err
322
373
undo001
323
374
undo002
324
375
undo003
376
+
SELECT COUNT(*) `1` FROM INFORMATION_SCHEMA.ENGINES
377
+
WHERE engine='innodb'
378
+
AND support IN ('YES', 'DEFAULT', 'ENABLED');
379
+
1
380
+
1
381
+
FOUND /Resizing redo log from 2\*\d+ to 3\*\d+ pages, LSN=\d+/ in mysqld.1.err
0 commit comments