[MDEV-10651] sys_vars.innodb_buffer_pool_dump_pct_basic failed in buildbot Created: 2016-08-23 Updated: 2017-11-05 Resolved: 2017-11-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.0.34, 10.1.29, 10.2.11 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 10.1.29 | ||||||||||||||||
| Description |
|
By now there have been 5 recorded occurrences - on 10.0, 10.2, and 3 times on bb-10.1-serg. Running the same sequence of tests does not cause the failure. There might be a race condition similar to the one recently fixed in another buffer_pool test. |
| Comments |
| Comment by Daniel Black [ 2016-12-05 ] | |||||||||||||||||||||||||||
|
10.2 no longer includes a file_exist test. Attached PR re-enables test for 10.2 | |||||||||||||||||||||||||||
| Comment by Daniel Black [ 2016-12-05 ] | |||||||||||||||||||||||||||
|
Looking at the logs from the above build, http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-quantal-amd64/builds/3377/steps/test/logs/mysqld.1.err.4 and http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-quantal-amd64/builds/3377/steps/test/logs/mysqld.1.err.2, it appears as though the sys_vars.innodb_buffer_pool_dump_now_basic test was run immediately before the sys_vars.innodb_buffer_pool_dump_now_pct test.. As both set Innodb_buffer_pool_dump_status to the same value without a restart this unreliable result occurred. For 10.0, 10.1, as As flush status doesn't reset Innodb_buffer_pool_dump_status. Alternately set a different file name and wait for that to occur in the error log before the wait loop on Innodb_buffer_pool_dump_status. Alternately ./include/restart_mysqld.inc. I might come up with a solution in MDEV-11454 / | |||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2016-12-07 ] | |||||||||||||||||||||||||||
|
https://github.com/MariaDB/server/pull/268 was merged to fix this bug in MariaDB Server 10.2.3. | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-12-07 ] | |||||||||||||||||||||||||||
|
unstable-tests list is not about disabling tests, for that we have disabled.def lists. unstable-tests is a list of tests which proved to be unstable, or didn't prove to be stable. If you modify the test, it cannot be "stable" right away, we don't know about it; thus, it shouldn't be removed from the list. The list is updated separately before releases, based on buildbot history. | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-12-11 ] | |||||||||||||||||||||||||||
|
Okay, so, the patch was only pushed in 10.2. Saving the default value is redundant (because the test sets it at the end to Default anyway), but innocent, so let it be. unstable-tests list in 10.2 is meaningless, it shouldn't even be there, just got merged along with everything else. When the time comes, it will be created from scratch, it doesn't matter what's there now, so I won't roll back the change. The real problem is that the fix has nothing to do with the bug, I wish the commit message didn't mention this JIRA item. The problem for 10.0 and 10.1 remains (and no, we can't just disable the test as long as the variable exists). I'll keep the bug open, even though it will create a mess in the history, hopefully it won't matter much since it's just a test. Please in future create a different JIRA item. | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-12-11 ] | |||||||||||||||||||||||||||
|
Recent occurrence on 10.1: | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-11-03 ] | |||||||||||||||||||||||||||
|
It's the same issue as
| |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-11-03 ] | |||||||||||||||||||||||||||
|
Another test which still fails with a similar error is
However, on the second look, it doesn't seem to be the same problem. I've filed it separately as sys_vars.innodb_buffer_pool_load_now_basic doesn't fail this way after the fix | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-11-03 ] | |||||||||||||||||||||||||||
|
sys_vars.innodb_buffer_pool_dump_now_basic is prone to the same error and reproducible in the same way as the original |