Keyword to report failures due to a known bug 86/28386/4
authorJozef Behran <jbehran@cisco.com>
Wed, 14 Oct 2015 12:05:14 +0000 (14:05 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 15 Oct 2015 21:09:30 +0000 (21:09 +0000)
commit7105bc7b5d8b56f4778b02068286703fe65f1786
tree7cd12657bba5f7e7d02a91119f91249ffe0899e3
parent025e3f997eb76747e4492ffc0c40207ca4821b2a
Keyword to report failures due to a known bug

Use the keyword in the [Teardown] configuration line of the
affected test to get a pretty report about a Bugzilla bug
that is causing the test to fail (and also an indication
that the failure is expected).

This shall be used instead of various ad-hoc kludges to hit
a particular known bug but still continue the test suite.
At least one future test suite needs this and there might
be others.

The change was originally committed as a8248ecaf however
that change has messed up commit message, obscuring the
real purpose of changes. Additionally, the keyword was
not run through robot.tidy and it clobbers the original
test failure message. This update makes sure that the
original failure message is shown as well as the message
about the URL of the bug that is causing the failure so
the exact problem can be spotted without digging in
log.html.

Change-Id: Id32850307f68160b63247dd97a1ffaa8203bb1bc
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/Utils.robot