summaryrefslogtreecommitdiff
path: root/mysql-test/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.2 into 10.3Marko Mäkelä2020-07-029-9/+9
|\
| * Merge 10.1 into 10.2bb-10.2-mergeMarko Mäkelä2020-07-019-9/+9
| |\
| | * mtr: use env for perlDaniel Black2020-06-239-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | On FreeBSD, perl isn't in /usr/bin, its in /usr/local/bin or elsewhere in the path. Like storage/{maria/unittest/,}ma_test_* , we use /usr/bin/env to find perl and run it.
| | * MDEV-22631 fixRasmus Johansson2020-05-201-1/+11
| | |
* | | Merge 10.2 into 10.3Marko Mäkelä2020-05-291-15/+45
|\ \ \ | |/ /
| * | mtr: update titlebar when the test ends, not when it startsSergei Golubchik2020-05-271-15/+45
| | | | | | | | | | | | | | | | | | | | | otherwise it reaches "0 tests left" state and then waits for a few minutes for all workers to complete their tests. show failures. account for retries.
| * | MDEV-22631 fixRasmus Johansson2020-05-201-1/+11
| | |
* | | MDEV-22631 fixRasmus Johansson2020-05-201-1/+11
| | |
* | | Merge 10.2 into 10.3Marko Mäkelä2020-05-201-1/+3
|\ \ \ | |/ /
| * | Merge 10.1 into 10.2Marko Mäkelä2020-05-201-1/+3
| |\ \ | | |/
| | * MDEV-22631 some test causes MTR interruption without generating summary and XMLRasmus Johansson2020-05-191-1/+3
| | |
* | | Merge 10.2 into 10.3Marko Mäkelä2020-05-131-4/+8
|\ \ \ | |/ /
| * | Merge 10.1 into 10.2Marko Mäkelä2020-05-131-4/+8
| |\ \ | | |/
| | * MDEV-22273 jUnit patch: xml test result differs from MTR output in case if retryRasmus Johansson2020-05-041-4/+7
| | |
| | * MDEV-22270 JUnit patch: test name contains classnameRasmus Johansson2020-05-041-0/+1
| | |
* | | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-05-041-1/+1
|\ \ \ | |/ /
| * | Merge branch '10.1' into 10.2Oleksandr Byelkin2020-05-021-1/+1
| |\ \ | | |/
| | * Merge branch '5.5' into 10.1Oleksandr Byelkin2020-04-301-1/+1
| | |\
| | | * Fix wrong argument size passed to --parent-pid strncmp checkDisconnect3d2020-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This PR fixes wrong size argument passed in `strncmp(arg, "--parent-pid", 10)` as the `"--parent-pid"` string has length of 12. Closes #1502
* | | | Merge 10.2 into 10.3Marko Mäkelä2020-04-152-1/+91
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Marko Mäkelä2020-04-142-1/+91
| |\ \ \ | | |/ /
| | * | MDEV-22176 Add JUnit support to MTR to generate XML test resultRasmus Johansson2020-04-072-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new parameter has been added called xml-report, with which the filename of the XML file is given to which the XML result is written. There is also xml-package for adding a package value in the XML output. Example usage: ./mysql-test-run.pl main.events_bugs innodb.count_distinct main.explain_json innodb.file_format_defaults json.json_no_table --suite=main,innodb,json --force --xml-report=build123456789.xml --xml-package=simpletestrun
* | | | Merge branch '10.2' into 10.3Sergei Golubchik2019-09-061-3/+5
|\ \ \ \ | |/ / /
| * | | MDEV-20421: big_innodb_log reliably fails on buildbot WindowsVlad Lesin2019-09-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test fails because it reuses mysqltest perl code to copy directory tree, and this code contains Windows-specific piece which outputs some diagnostic information. The patch introduces new parameter for that Windows-specific perl code to have the ability to suppress diagnostic output on the corresponding mysqltest perl module initialization.
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-08-281-2/+2
|\ \ \ \ | |/ / /
| * | | MTR : improve detection of handles.exe on Windows.Vladislav Vaintroub2019-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | Depending on version, "handle.exe -?" can output either "Handle v4.0" or "Nthandle v4.1"
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-08-211-0/+2
|\ \ \ \ | |/ / /
| * | | MDEV-20377: Fix uninitialized memory in mysqltestMarko Mäkelä2019-08-191-0/+2
| | | |
| * | | MDEV-18565: Galera mtr-suite fails if galera library is not installedJulius Goryavsky2019-07-173-1/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, running mtr with an incorrect (for example, new or obsolete) version of wsrep_provider (for example, with the 26 version of libgalera_smm.so) leads to the failure of tests in several suites with vague error diagnostics. As for the galera_3nodes suite, the mtr also does not effectively check all the prerequisites after merge with MDEV-18426 fixes. For example, tests that using mariabackup do not check for presence of ss and socat/nc. This is due to improper handling of relative paths in mtr scripts. In addition, some tests in different suites can be run without setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM, and so on. To eliminate all these issues, this patch makes the following changes: 1. Added auxiliary wsrep_mtr_check utility (which located in the mysql-test/lib/My/SafeProcess subdirectory), which compares the versions of the wsrep API that used by the server and by the wsrep provider library, and it does this comparison safely, without accessing the API if the versions do not match. 2. All checks related to the presence of mariabackup and utilities that necessary for its operation transferred from the local directories of different mtr suites (from the suite.pm files) to the main suite.pm file. This not only reduces the amount of code and eliminates duplication of identical code fragments, but also avoids problems due to the inability of mtr to consider relative paths to include files when checking skip combinations. 3. Setting the values of auxiliary environment variables that are necessary for Galera, SST scripts and mariabackup (to work properly) is moved to the main mysql-test-run.pl script, so as not to duplicate this code in different suites, and to avoid partial corrections of the same errors for different suites (while other suites remain uncorrected). 4. Fixed duplication of the have_file_key_management.inc and have_filekeymanagement.inc files between different suites, these checks are also transferred to the top level. 5. Added garbd presence check and garbd path variable. https://jira.mariadb.org/browse/MDEV-18565
* | | | Added missing installation target (merge MDEV-18565 from 10.2 into 10.3)Julius Goryavsky2019-07-171-0/+3
| | | |
* | | | Merge 10.2 into 10.3Eugene Kosov2019-07-161-0/+7
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Eugene Kosov2019-07-091-0/+7
| |\ \ \ | | |/ /
| | * | MDEV-8874 Replication filters configured in my.cnf are ignored if slave ↵Sachin2019-06-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | reset and reconfigured Don't delete the rpl_filter on RESET SLAVE.
* | | | Improved error messages and added another path to the version check utilityJulius Goryavsky2019-07-151-2/+2
| | | |
* | | | MDEV-18565: Galera mtr-suite fails if galera library is not installed (#1243)sysprg2019-07-093-1/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * MDEV-18565: Galera mtr-suite fails if galera library is not installed Currently, running mtr with an incorrect (for example, new or obsolete) version of wsrep_provider (for example, with the 26 version of libgalera_smm.so) leads to the failure of tests in several suites with vague error diagnostics. As for the galera_3nodes suite, the mtr also does not effectively check all the prerequisites after merge with MDEV-18426 fixes. For example, tests that using mariabackup do not check for presence of ss and socat/nc. This is due to improper handling of relative paths in mtr scripts. In addition, some tests in different suites can be run without setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM, and so on. To eliminate all these issues, this patch makes the following changes: 1. Added auxiliary wsrep_mtr_check utility (which located in the mysql-test/lib/My/SafeProcess subdirectory), which compares the versions of the wsrep API that used by the server and by the wsrep provider library, and it does this comparison safely, without accessing the API if the versions do not match. 2. All checks related to the presence of mariabackup and utilities that necessary for its operation transferred from the local directories of different mtr suites (from the suite.pm files) to the main suite.pm file. This not only reduces the amount of code and eliminates duplication of identical code fragments, but also avoids problems due to the inability of mtr to consider relative paths to include files when checking skip combinations. 3. Setting the values of auxiliary environment variables that are necessary for Galera, SST scripts and mariabackup (to work properly) is moved to the main mysql-test-run.pl script, so as not to duplicate this code in different suites, and to avoid partial corrections of the same errors for different suites (while other suites remain uncorrected). 4. Fixed duplication of the have_file_key_management.inc and have_filekeymanagement.inc files between different suites, these checks are also transferred to the top level. https://jira.mariadb.org/browse/MDEV-18565 * Build without additional utility in configurations without wsrep support
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-07-021-1/+25
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Eugene Kosov2019-06-231-1/+25
| |\ \ \ | | |/ /
| | * | Merge 5.5 into 10.1Eugene Kosov2019-06-201-1/+25
| | |\ \ | | | |/
| | | * MDEV-19531 Add colors to mtrEugene Kosov2019-06-191-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | Colors possibility auto detected. [ such ] stuff is colored. Patch by Sergei Golubchik
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-06-112-5/+20
|\ \ \ \ | |/ / /
| * | | Fix mysql-test-run.pl to work after d6d5c168cf1Sergei Golubchik2019-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | option values now have to be edited in-place, instead of replacing an option with another one that has the same name but a new value.
| * | | Fixed typo in Config.pgmMonty2019-06-061-1/+1
| | | |
| * | | Fixed that test suite doesn't remove duplicate optionsMonty2019-06-061-1/+16
| | | | | | | | | | | | | | | | | | | | - multiple usage of plugin-load-add and optimizer-switch are now included in generated config files
| * | | Ensure that tests and programs can restore variablesMonty2019-06-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - --default-character-set can now be disabled in mysqldump - --skip-resolve can be be disabled in mysqld - mysql_client_test now resets global variables it changes - mtr couldn't handle [mysqldump] in config files (wrong regexp used)
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-1452-52/+52
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Marko Mäkelä2019-05-1352-52/+52
| |\ \ \ | | |/ /
| | * | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1153-53/+53
| | |\ \ | | | |/
| | | * Update FSF AddressVicențiu Ciorbaru2019-05-1153-53/+53
| | | | | | | | | | | | | | | | * Update wrong zip-code
* | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-05-121-1/+1
|\ \ \ \ | |/ / /
| * | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-05-041-1/+1
| |\ \ \ | | |/ /