tests fail when -g (debug) option used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Triaged
|
Low
|
Unassigned | ||
2.1 |
Triaged
|
Low
|
Unassigned | ||
2.2 |
Triaged
|
Low
|
Unassigned | ||
2.3 |
Triaged
|
Low
|
Unassigned |
Bug Description
In the current 2.2 trunk, some tests fail when run with the -g (debug) option. They generally fail with something like:
innobackupex: Error: Too many command line arguments
After adding in some extra reporting/logging code in it looks like the extra verbosity of the -g flag is confusing some tests that are attempting to parse the innobackupex output. For example, bug1062684 fails because it is starting innobackupex with:
"innobackupex --defaults-
I suspect that any test that contains the following type of operation may fail due to the fact that with debug on, $OUTFILE may contain multiple instances of "innobackupex: Backup created in directory" due to the extra verbosity:
backup_dir=`grep "innobackupex: Backup created in directory" $OUTFILE | awk -F\' '{ print $2}'`
This also applies to 2.1.