kewpie should return a relevant error message when options are missed

Bug #961531 reported by Valentine Gostev
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

If innobackupex or xtrabackup path is not set, kewpie throws the following error while trying to execute a test:

20120321-191259 Traceback (most recent call last):
20120321-191259 File "/data/work/percona/kewpie/percona_tests/xtrabackup_main/", line 88, in test_bug514068
20120321-191259 exec_path = os.path.dirname(innobackupex)
20120321-191259 File "/usr/lib/python2.6/", line 119, in dirname
20120321-191259 i = p.rfind('/') + 1
20120321-191259 AttributeError: 'NoneType' object has no attribute 'rfind'

Would like to see more relevant error messages if suite was lanuched incorrectly.

Changed in kewpie:
importance: Undecided → Medium
Changed in kewpie:
assignee: Valentine Gostev (longbow) → M.Sharan Kumar (sharan-monikantan)
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
Changed in kewpie:
assignee: Sharan Kumar (sharan-monikantan) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers