[MDEV-17586] unit.mf_iocache fails in buildbot, cache is read up to eof and total matches eof Created: 2018-10-31  Updated: 2018-11-01  Resolved: 2018-11-01

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.37

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Andrei Elkin
Resolution: Fixed Votes: 0
Labels: None


 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/14710

10.1 5b735e8f09c81a2533c30cdd62d60dffa8226cd4

unit.mf_iocache                          w3 [ fail ]
        Test ended at 2018-10-21 12:37:27
 
CURRENT_TEST: unit.mf_iocache
1..114
# temp io_cache with encryption
ok 1 - open_cached_file, pos_in_file = 0, pos_in_mem = 0
ok 2 - small write, pos_in_file = 0, pos_in_mem = 100
ok 3 - large write, pos_in_file = 16384, pos_in_mem = 300
ok 4 - reinit with rewind, pos_in_file = 0, pos_in_mem = 250
ok 5 - large write, pos_in_file = 16384, pos_in_mem = 450
ok 6 - flush, pos_in_file = 16834, pos_in_mem = 0
ok 7 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 8 - file must be unreadable
ok 9 - small read, pos_in_file = 0, pos_in_mem = 50
ok 10 - large read, pos_in_file = 16384, pos_in_mem = 250
# temp io_cache without encryption
ok 11 - open_cached_file, pos_in_file = 0, pos_in_mem = 0
ok 12 - small write, pos_in_file = 0, pos_in_mem = 100
ok 13 - large write, pos_in_file = 16384, pos_in_mem = 300
ok 14 - reinit with rewind, pos_in_file = 250, pos_in_mem = 0
ok 15 - large write, pos_in_file = 16384, pos_in_mem = 450
ok 16 - flush, pos_in_file = 16834, pos_in_mem = 0
ok 17 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 18 - file must be readable
ok 19 - small read, pos_in_file = 0, pos_in_mem = 50
ok 20 - large read, pos_in_file = 16384, pos_in_mem = 250
# MDEV-9044 Binlog corruption in Galera
ok 21 - open_cached_file, pos_in_file = 0, pos_in_mem = 0
ok 22 - first write, pos_in_file = 0, pos_in_mem = 12
ok 23 - flush, pos_in_file = 12, pos_in_mem = 0
ok 24 - reinit WRITE_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 25 - second write, pos_in_file = 0, pos_in_mem = 13
ok 26 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 27 - fill, pos_in_file = 0, pos_in_mem = 13
ok 28 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 29 - read 'second write'
# MDEV-10259- mysqld crash with certain statement length and order with Galera and encrypt-tmp-files=1
ok 30 - open_cached_file, pos_in_file = 0, pos_in_mem = 0
ok 31 - 200 write, pos_in_file = 0, pos_in_mem = 200
ok 32 - flush, pos_in_file = 200, pos_in_mem = 0
ok 33 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 34 - fill, pos_in_file = 0, pos_in_mem = 0
ok 35 - fill, pos_in_file = 0, pos_in_mem = 200
ok 36 - fill, pos_in_file = 0, pos_in_mem = 200
ok 37 - reinit WRITE_CACHE, pos_in_file = 0, pos_in_mem = 200
ok 38 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 39 - my_b_bytes_in_cache == 200
ok 40 - fill, pos_in_file = 0, pos_in_mem = 200
ok 41 - fill, pos_in_file = 0, pos_in_mem = 200
ok 42 - fill, pos_in_file = 0, pos_in_mem = 200
ok 43 - reinit WRITE_CACHE, pos_in_file = 0, pos_in_mem = 200
ok 44 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 45 - my_b_bytes_in_cache == 200
ok 46 - large read, pos_in_file = 0, pos_in_mem = 200
# MDEV-14014 Dump thread reads past last 'officially' written byte
ok 47 - open_cached_file, pos_in_file = 0, pos_in_mem = 0
ok 48 - buffer is written, pos_in_file = 0, pos_in_mem = 200
ok 49 - flush, pos_in_file = 200, pos_in_mem = 0
ok 50 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 51 - short read leaves buf_i[100..200-1] == 0
# MDEV-17133 Dump thread reads from the past
ok 52 - open_cached_file, pos_in_file = 0, pos_in_mem = 0
ok 53 - buffer is written, pos_in_file = 262144, pos_in_mem = 0
ok 54 - cache size as expected
ok 55 - flush, pos_in_file = 262144, pos_in_mem = 0
ok 56 - reinit READ_CACHE, pos_in_file = 0, pos_in_mem = 0
ok 57 - read of 19
ok 58 - rest of read 18787
ok 59 - read correct data
ok 60 - read of 19
ok 61 - rest of read 16133
ok 62 - read correct data
ok 63 - read of 19
ok 64 - rest of read 13622
ok 65 - read correct data
ok 66 - read of 19
ok 67 - rest of read 23315
ok 68 - read correct data
ok 69 - cache is read up to eof
ok 70 - total matches eof
ok 71 - read of 19
ok 72 - rest of read 14266
ok 73 - read correct data
ok 74 - read of 19
ok 75 - rest of read 15545
ok 76 - read correct data
ok 77 - read of 19
ok 78 - rest of read 17296
ok 79 - read correct data
ok 80 - read of 19
ok 81 - rest of read 13135
ok 82 - read correct data
not ok 83 - cache is read up to eof
not ok 84 - total matches eof
ok 85 - read of 19
ok 86 - rest of read 15210
ok 87 - read correct data
ok 88 - read of 19
ok 89 - rest of read 16179
ok 90 - read correct data
ok 91 - read of 19
ok 92 - rest of read 15761
ok 93 - read correct data
ok 94 - read of 19
ok 95 - rest of read 82667
ok 96 - read correct data
ok 97 - cache is read up to eof
ok 98 - total matches eof
ok 99 - read of 19
ok 100 - rest of read 4294967277
ok 101 - read correct data
ok 102 - read of 19
ok 103 - rest of read 4294967277
ok 104 - read correct data
ok 105 - read of 19
ok 106 - rest of read 4294967277
ok 107 - read correct data
ok 108 - read of 19
ok 109 - rest of read 4294967277
ok 110 - read correct data
ok 111 - cache is read up to eof
ok 112 - total matches eof
ok 113 - read total size match
ok 114 - data read correctly
# Failed 2 tests!



 Comments   
Comment by Andrei Elkin [ 2018-11-01 ]

Pushed dafbd50e8a0.

Generated at Thu Feb 08 08:37:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.