CSIT-1294 FIX: ValueError: CTR mode needs counter parameter, not IV 99/15099/6
authorPeter Mikus <pmikus@cisco.com>
Tue, 2 Oct 2018 13:41:36 +0000 (13:41 +0000)
committerPeter Mikus <pmikus@cisco.com>
Wed, 3 Oct 2018 07:02:48 +0000 (07:02 +0000)
The issue is caused by python-crypto library in upstream Ubuntu 1804
repo. Unless there is permanent fix there is workaround to always
download fresh version, not preinstalled.

Change-Id: Ic2318eb532a6e7a910e4ffb209556c17e6070d3d
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/bash/function/common.sh

index bc8ffe9..e86c7b9 100644 (file)
@@ -47,7 +47,7 @@ function activate_virtualenv () {
     pip install --upgrade virtualenv || {
         die "Virtualenv package install failed."
     }
-    virtualenv --system-site-packages "${ENV_DIR}" || {
+    virtualenv "${ENV_DIR}" || {
         die "Virtualenv creation failed."
     }
     set +u