Don't store duplicate policies for server_group

It doesn't make sense to store same policies in a server_group.
We only need to store one and ignore the duplicate policies.

This patch relates to the bug I4f3ad544aef78cbbc076c7a47cca04832a2f5b4b
in Nova. So I need to skip one test-case here firstly in order to modify the
issue in Nova.

After the Nova's patch merged, this test-case will be restored,
and more correlate cases will definitly be supplied in tempest.

Change-Id: I26449a2a881be396daf75838451cfe01a915f513
Closes-Bug: #1324348
Don't try to trace non-printable characters in debug output

Change-Id: I740a95151057ae31d050d51485ec228a5ec9e57f
Fix T104 for scenario test subdirs

This commit fixes the T104 hacking check to handle subdirs in the
scenario tests. Previously the check assumed that all the scenario
tests were in the scenario dir. However, this isn't necessarily the
case. For example, the heat scenario tests are all in the path:
tempest/scenario/orchestration which means they were excluded from
the T104 check. This commit fixes the oversight and adds unit tests
to cover this condition.

Change-Id: I42d7f22f6194f624f8488493de29e60ff19d211a
Add new rescue compute feature flag

This adds a new feature flag to toggle whether rescue mode is supported by
the hypervisor and skips rescue tests accordingly.  The feature is enabled by
default.

Change-Id: I4dabe663a177aac853ea0e6f4b58b28da890be71
Closes-bug: #1331870.
Remove assertTrue from ssh unit tests

These unit tests failed on gerrit review 98819 with the extremely
obvious: AssertionError: False is not true.

Instead actually use the Less/Greater assertions so we even know
what the values are on either side of the equation. Also add an
extra second of buffer to the timeouts, because we have no real
time guaruntees here, and a busy system might totally not get around
to this for an extra second (especially as we are doing int level
compares).

Closes-Bug: #1332512

Change-Id: I60b9f1cf38475faa4cddd9e69fcad575f0d4f1f3
Merge "Don't store duplicate policies for server_group"
Merge "Don't try to trace non-printable characters in debug output"
Merge "Add new rescue compute feature flag"
Merge "Fix T104 for scenario test subdirs"
Merge "Remove assertTrue from ssh unit tests"
Merge branch 'master' of https://github.com/openstack/tempest