From f932e33ea40e3831697ca27c6e766981cac0909b Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 4 Jan 2023 14:18:59 +0100 Subject: [PATCH] ceph-volume/tests: add allowlist_externals to tox.ini typical failure seen in the CI: ``` py3-flake8: install_deps> ./tox_install_command.sh flake8 py3-flake8: failed with ./tox_install_command.sh (resolves to ./tox_install_command.sh) is not allowed, use allowlist_externals to allow it ``` Fixes: https://tracker.ceph.com/issues/58377 Signed-off-by: Guillaume Abrioux --- src/ceph-volume/tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini index 820cf6fb347..696d6dcc837 100644 --- a/src/ceph-volume/tox.ini +++ b/src/ceph-volume/tox.ini @@ -8,6 +8,8 @@ deps= pytest-xdist mock pyfakefs +allowlist_externals= + ./tox_install_command.sh install_command=./tox_install_command.sh {opts} {packages} commands=py.test --numprocesses=auto -vv {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional