[MDEV-23358] main.upgrade_MDEV-19650 fails with result difference Created: 2020-07-31 Updated: 2020-10-22 Resolved: 2020-10-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Tests |
| Affects Version/s: | 10.4.14, 10.4.15, 10.4 |
| Fix Version/s: | 10.1.48, 10.2.35, 10.3.26, 10.4.16, 10.5.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Marko Mäkelä | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The test main.upgrade_
|
| Comments |
| Comment by Marko Mäkelä [ 2020-07-31 ] | |||||||||||||
|
I temporarily disabled the test because it apparently passes in some environments. I tested a debug build on both clang 10.0.1 and GCC 10.1.0. | |||||||||||||
| Comment by Marko Mäkelä [ 2020-08-01 ] | |||||||||||||
|
I did not disable the test on a merge to 10.5, because for some reason, the test did not fail for me. | |||||||||||||
| Comment by Marko Mäkelä [ 2020-08-10 ] | |||||||||||||
|
serg, yes, the still fails for me on 10.4 after merging mariadb-10.4.14:
Curiously, it never failed for me on 10.5 or 10.6 (and hence I had disabled the test only in the 10.4 branch). I am happy to help debug this, but I would need some directions from you. | |||||||||||||
| Comment by Marko Mäkelä [ 2020-08-20 ] | |||||||||||||
|
This still fails for me in 10.4 2fa9f8c53a80e8b52c14d8c3260b18e7e77cc154. | |||||||||||||
| Comment by Sergei Golubchik [ 2020-08-26 ] | |||||||||||||
|
marko, I cannot repeat it, it doesn't happen in buildbot. Could you please show how I can reproduce the failure? | |||||||||||||
| Comment by Marko Mäkelä [ 2020-08-26 ] | |||||||||||||
|
This still fails for me on 10.4 1e08e08ccb8896c1f0d2f673c16f5b92cdf7dc46 (and not on any 10.5). | |||||||||||||
| Comment by Marko Mäkelä [ 2020-08-26 ] | |||||||||||||
|
It turns out that I had accidentally invoked an in-tree build on my 10.4 directory in the past. There was a stale copy of the generated file scripts/mysql_fix_privilege_tables_sql.c in the source directory. That file was incorrectly used during the out-of-source build of the executable. I finally found that out by invoking strace on the compilation command. (First, I had replaced the -c and -o options of that command with -E -dD to find out that the unexpected UPDATE privilege was part of an INSERT statement.) |