aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-04-30 13:50:57 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-04-30 14:05:00 +0200
commit58dcb70486619ca62b9fa187c9bc2f6b1497f305 (patch)
treee24f8bac201dd49a49fe968ce6c368148bb20851 /docker/core/Dockerfile
parent7691a55dcf8f7d1b403f39f41d203f984391b491 (diff)
Debug rally race conditions
It will be reverted as soon as the root cause is found. Change-Id: Icbff74c5fb940c1a201cbdc3fb2137c91e1ed460 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 86cbde7d8970bc9113a769f3711450dc5fe04bdf)
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r--docker/core/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 80c728ae8..4f779e53a 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -3,6 +3,7 @@ FROM alpine:3.11
ARG BRANCH=stable/kali
ARG OPENSTACK_TAG=stable/ussuri
+COPY Increase-Thread-stack-size.patch /tmp/Try-to-detect-the-race-conditions.patch
RUN apk --no-cache add --update \
python3 libffi openssl libjpeg-turbo py3-pip bash \
grep sed wget ca-certificates git openssh-client qemu-img iputils coreutils mailcap libstdc++ && \
@@ -23,7 +24,9 @@ RUN apk --no-cache add --update \
update-requirements -s --source /src/openstack-requirements /src/functest && \
pip3 install --no-cache-dir --src /src -cupper-constraints.opnfv.txt -cupper-constraints.txt \
/src/functest && \
- rm -r upper-constraints.txt upper-constraints.opnfv.txt /src/functest && \
+ (cd /src/rally && patch -p1 < /tmp/Try-to-detect-the-race-conditions.patch) && \
+ rm -r upper-constraints.txt upper-constraints.opnfv.txt /src/functest \
+ /tmp/Try-to-detect-the-race-conditions.patch && \
cp /usr/lib/python3.8/site-packages/functest/ci/logging.ini /usr/lib/python3.8/site-packages/xtesting/ci/ && \
cp /usr/lib/python3.8/site-packages/functest/ci/logging.debug.ini /usr/lib/python3.8/site-packages/xtesting/ci/ && \
bash -c "mkdir -p /var/lib/xtesting /home/opnfv" && \