CPERF: Fix csit odltools install 73/61273/1
authorTim Rozet <trozet@redhat.com>
Wed, 22 Aug 2018 21:55:41 +0000 (17:55 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 22 Aug 2018 21:55:41 +0000 (17:55 -0400)
PIP installing odltools attempts to install/update chardet which was
already managed by yum in the container so need to remove it.

Change-Id: Id07b76b080ff5b7e77d4c110c90a15018397d039
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/cperf/cperf-robot-netvirt-csit.sh

index 4fdcd10..15f8669 100755 (executable)
@@ -167,6 +167,7 @@ docker run -i --net=host \
   opnfv/cperf:$DOCKER_TAG \
   /bin/bash -c "source /tmp/overcloudrc; mkdir -p \$HOME/.ssh; cp /tmp/id_rsa \$HOME/.ssh; \
   cd /home/opnfv/repos/odl_test/ && git pull origin master; \
+  yum remove -y python-chardet; \
   pip install odltools; \
   ${robot_cmd} ${suites};"