Deprecate all-plugin

The all-plugin tox env uses sitepackages so that plugins
installed outsite of Tempest virtual environment can be discovered.
After the implementation during the Queens release cycle of the
goal of moving Tempest plugins in dedicated git repos, this
environment should not be used anymore. "all" should be used
instead with the appropriate regex filtering.

The deprecation is introduced only in the form of a comment in
tox.ini and a WARNING echoed before the test run.

Patrole needs an environment with site-packages on, so create a
new one identical to the old all-plugin, but with a less confusing
name, for patrole to use while avoiding deprecation warnings.

Change-Id: Ib97fb3d0ce64b6faac6a190afc0006b624ce0a62
diff --git a/tox.ini b/tox.ini
index 65960b0..8208066 100644
--- a/tox.ini
+++ b/tox.ini
@@ -61,6 +61,26 @@
     tempest run --regex {posargs}
 
 [testenv:all-plugin]
+# DEPRECATED
+# NOTE(andreaf) The all-plugin tox env uses sitepackages
+# so that plugins installed outsite of Tempest virtual environment
+# can be discovered. After the implementation during the Queens
+# release cycle of the goal of moving Tempest plugins in dedicated
+# git repos, this environment should not be used anymore. "all"
+# should be used instead with the appropriate regex filtering.
+sitepackages = True
+# 'all' includes slow tests
+setenv =
+    {[tempestenv]setenv}
+    OS_TEST_TIMEOUT={env:OS_TEST_TIMEOUT:1200}
+deps = {[tempestenv]deps}
+commands =
+    echo "WARNING: The all-plugin env is deprecated and will be removed"
+    echo "WARNING  Please use the 'all' environment for Tempest plugins."
+    find . -type f -name "*.pyc" -delete
+    tempest run --regex {posargs}
+
+[testenv:all-site-packages]
 sitepackages = True
 # 'all' includes slow tests
 setenv =