Console Output

Started by upstream project "storperf-verify-master" build number 343
originally caused by:
 Triggered by Gerrit: https://gerrit.opnfv.org/gerrit/c/storperf/+/69631
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on arm-build4 (opnfv-build-ubuntu-arm ci-resource) in workspace /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-p0sS6QRC57Ux/agent.1443
SSH_AGENT_PID=1445
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master@tmp/private_key_6695774076799571926.key (/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master@tmp/private_key_6695774076799571926.key)
[ssh-agent] Using credentials jenkins-ci (Jenkins Master SSH)
using credential d42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://gerrit.opnfv.org/gerrit/storperf
 > git init /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master # timeout=10
Fetching upstream changes from https://gerrit.opnfv.org/gerrit/storperf
 > git --version # timeout=10
using GIT_SSH to set credentials Jenkins Master SSH
 > git fetch --tags --progress https://gerrit.opnfv.org/gerrit/storperf +refs/heads/*:refs/remotes/origin/* # timeout=15
 > git config remote.origin.url https://gerrit.opnfv.org/gerrit/storperf # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gerrit.opnfv.org/gerrit/storperf # timeout=10
Fetching upstream changes from https://gerrit.opnfv.org/gerrit/storperf
using GIT_SSH to set credentials Jenkins Master SSH
 > git fetch --tags --progress https://gerrit.opnfv.org/gerrit/storperf refs/changes/31/69631/2 # timeout=15
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins-ci.org/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
Checking out Revision 576d82762a811c24c6bf4a040dc851924b237ec2 (refs/changes/31/69631/2)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 576d82762a811c24c6bf4a040dc851924b237ec2 # timeout=15
Commit message: "Adding reference"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 24aeda6b73bfa9c31dee8454fdc49bbdb5e1c81b # timeout=10
No emails were triggered.
[storperf-verify-build-aarch64-master] $ /bin/sh -xe /tmp/jenkins8944582851518924758.sh
+ /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/verify-build.sh
++ dirname /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/verify-build.sh
+ cd /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci
++ pwd
+ ci=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci
+ cd /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/../docker
+ export ENV_FILE=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/admin.rc
+ ENV_FILE=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/admin.rc
+ export CARBON_DIR=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/carbon/
+ CARBON_DIR=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/carbon/
+ /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/remove_docker_container.sh
++ dirname /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/remove_docker_container.sh
+ cd /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci
++ pwd
+ ci=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci
+ cd /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/../docker
+ export TAG=latest
+ TAG=latest
+ export ENV_FILE=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/admin.rc
+ ENV_FILE=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/admin.rc
+ export CARBON_DIR=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/carbon/
+ CARBON_DIR=/home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/carbon/
+ docker-compose -f local-docker-compose.yaml down
The CURRENT_UID variable is not set. Defaulting to a blank string.
Couldn't find env file: /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/admin.rc
+ for container_name in storperf storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting storperf-graphite
++ docker ps -a -q -f name=storperf
+ container=
+ '[' '!' -z ']'
+ for container_name in storperf storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting storperf-graphite
++ docker ps -a -q -f name=storperf-master
+ container=
+ '[' '!' -z ']'
+ for container_name in storperf storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting storperf-graphite
++ docker ps -a -q -f name=storperf-swaggerui
+ container=
+ '[' '!' -z ']'
+ for container_name in storperf storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting storperf-graphite
++ docker ps -a -q -f name=storperf-httpfrontend
+ container=
+ '[' '!' -z ']'
+ for container_name in storperf storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting storperf-graphite
++ docker ps -a -q -f name=storperf-reporting
+ container=
+ '[' '!' -z ']'
+ for container_name in storperf storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting storperf-graphite
++ docker ps -a -q -f name=storperf-graphite
+ container=
+ '[' '!' -z ']'
+ mkdir -p /home/jenkins/opnfv/slave_root/workspace/storperf-verify-build-aarch64-master/ci/job/carbon/
+ cat
+ '[' -z aarch64 ']'
+ export ARCH=aarch64
+ ARCH=aarch64
+ echo Using aarch64 architecture
Using aarch64 architecture
++ id -u
++ id -g
+ export CURRENT_UID=1000:1000
+ CURRENT_UID=1000:1000
+ docker-compose -f local-docker-compose.yaml down
Removing network docker_default
Network docker_default not found.
+ docker-compose -f local-docker-compose.yaml build
Building storperf-reporting
Step 1/13 : ARG ARCH=x86_64
 ---> 
Step 2/13 : ARG ALPINE_VERSION=v3.10
 ---> 
Step 3/13 : FROM multiarch/alpine:$ARCH-$ALPINE_VERSION
 ---> 39f5590cf1ef
Step 4/13 : MAINTAINER Mark Beierl <mark.beierl@dell.com>
 ---> Using cache
 ---> a12a59e31a2d
Step 5/13 : LABEL version "8.0" description "OPNFV Storperf Reporting Container"
 ---> Using cache
 ---> 57ec3fc5bea5
Step 6/13 : ARG BRANCH=master
 ---> Using cache
 ---> b736b3584ea9
Step 7/13 : RUN ulimit -n 1024
 ---> Using cache
 ---> af9a377afae0
Step 8/13 : RUN apk add --update python3=3.7.5-r1
 ---> Using cache
 ---> 16c031e932bc
Step 9/13 : COPY . /home/opnfv/storperf-reporting
 ---> Using cache
 ---> 4c07ec8c4865
Step 10/13 : WORKDIR /home/opnfv/storperf-reporting/src
 ---> Using cache
 ---> b9dc809d23d3
Step 11/13 : RUN python3 -m pip install -r /home/opnfv/storperf-reporting/requirements.txt
 ---> Using cache
 ---> 86a3fc5befb4
Step 12/13 : CMD python3 app.py
 ---> Using cache
 ---> 6d040fde7369
Step 13/13 : EXPOSE 5000
 ---> Using cache
 ---> 68cd033ee61c
Successfully built 68cd033ee61c
Successfully tagged docker_storperf-reporting:latest
Building storperf-graphite
Step 1/17 : ARG ARCH=x86_64
 ---> 
Step 2/17 : ARG ALPINE_VERSION=v3.5
 ---> 
Step 3/17 : FROM multiarch/alpine:$ARCH-$ALPINE_VERSION
 ---> 09bad771918d
Step 4/17 : RUN ulimit -n 1024
 ---> Using cache
 ---> e546b1c7eea8
Step 5/17 : RUN apk add --no-cache   bash   ca-certificates   nginx   openssl   py2-pip   supervisor   tini   && pip install   supervisor-stdout   gunicorn
 ---> Using cache
 ---> 59014c24475a
Step 6/17 : ENV GRAPHITE_ROOT /opt/graphite
 ---> Using cache
 ---> 0b08657ab0b0
Step 7/17 : RUN apk add --no-cache   alpine-sdk   fontconfig   libffi   libffi-dev   python-dev   py-cairo   && export PYTHONPATH="/opt/graphite/lib/:/opt/graphite/webapp/"   && pip install https://github.com/graphite-project/whisper/tarball/master   && pip install https://github.com/graphite-project/carbon/tarball/master   && pip install https://github.com/graphite-project/graphite-web/tarball/master   && apk del   alpine-sdk   python-dev   libffi-dev
 ---> Using cache
 ---> e63ba3ea512a
Step 8/17 : EXPOSE 8080
 ---> Using cache
 ---> 9429e0a589b2
Step 9/17 : EXPOSE 2003
 ---> Using cache
 ---> 5ae46b44902f
Step 10/17 : EXPOSE 2004
 ---> Using cache
 ---> 0f138f3f1b88
Step 11/17 : EXPOSE 7002
 ---> Using cache
 ---> 0dcc1e1026d0
Step 12/17 : VOLUME /opt/graphite/conf /opt/graphite/storage
 ---> Using cache
 ---> a6050af4844c
Step 13/17 : COPY run.sh /run.sh
 ---> Using cache
 ---> 4652d4011d1e
Step 14/17 : COPY etc/ /etc/
 ---> Using cache
 ---> 0e9edb6c0786
Step 15/17 : COPY conf/ /opt/graphite/conf.example/
 ---> Using cache
 ---> d57e465168b8
Step 16/17 : ENTRYPOINT /sbin/tini --
 ---> Using cache
 ---> 535e09670efd
Step 17/17 : CMD /bin/bash /run.sh
 ---> Using cache
 ---> f4156636ee73
Successfully built f4156636ee73
Successfully tagged docker_storperf-graphite:latest
Building storperf-master
Step 1/25 : ARG ARCH=x86_64
 ---> 
Step 2/25 : ARG ALPINE_VERSION=v3.10
 ---> 
Step 3/25 : FROM multiarch/alpine:$ARCH-$ALPINE_VERSION as storperf-builder
 ---> 39f5590cf1ef
Step 4/25 : RUN ulimit -n 1024
 ---> Using cache
 ---> 0d6f39f717a0
Step 5/25 : LABEL version "8.0" description "OPNFV Storperf Docker container"
 ---> Using cache
 ---> ba8822b493ca
Step 6/25 : ARG BRANCH=master
 ---> Using cache
 ---> e69b473ced08
Step 7/25 : ENV repos_dir /home/opnfv/repos
 ---> Using cache
 ---> 00d0235e5c5c
Step 8/25 : RUN apk --no-cache add --update     git     alpine-sdk     coreutils     linux-headers     libaio     libaio-dev     zlib-dev
 ---> Using cache
 ---> f3218f596891
Step 9/25 : RUN git config --global http.sslVerify false
 ---> Using cache
 ---> 0f27793d3f2c
Step 10/25 : RUN git clone http://git.kernel.dk/fio.git ${repos_dir}/fio
 ---> Using cache
 ---> 12b9f1393bc2
Step 11/25 : RUN cd ${repos_dir}/fio && git checkout tags/fio-2.99
 ---> Using cache
 ---> 1d0b132c9e6f
Step 12/25 : RUN cd ${repos_dir}/fio && EXTFLAGS="-static" make -j $(grep -c ^processor /proc/cpuinfo) install
 ---> Using cache
 ---> 6c1b72275833
Step 13/25 : RUN apk --no-cache add --update     libffi-dev     libressl-dev     python3=3.7.5-r1     python3-dev=3.7.5-r1     alpine-sdk     linux-headers
 ---> Using cache
 ---> 8c7486c37f97
Step 14/25 : COPY requirements.pip /storperf/
 ---> Using cache
 ---> f63db898b12d
Step 15/25 : RUN python3 -m pip  install --upgrade setuptools==33.1.1
 ---> Using cache
 ---> 349e45a095a3
Step 16/25 : RUN python3 -m pip  install -r /storperf/requirements.pip
 ---> Using cache
 ---> 516bcfe9ec08
Step 17/25 : FROM multiarch/alpine:$ARCH-$ALPINE_VERSION as storperf-master
 ---> 39f5590cf1ef
Step 18/25 : RUN apk --no-cache add --update     libressl-dev     python3=3.7.5-r1     bash
 ---> Using cache
 ---> b647867f0e55
Step 19/25 : COPY --from=storperf-builder /usr/lib/python3.7/site-packages /usr/lib/python3.7/site-packages
 ---> Using cache
 ---> f81f881d1e37
Step 20/25 : COPY --from=storperf-builder /usr/local/bin/fio /usr/local/bin/fio
 ---> Using cache
 ---> 0caeb199cc9f
Step 21/25 : COPY . /storperf
 ---> Using cache
 ---> 7af3096aa51d
Step 22/25 : WORKDIR /storperf
 ---> Using cache
 ---> 1c7b244aa923
Step 23/25 : RUN chmod 600 storperf/resources/ssh/storperf_rsa
 ---> Using cache
 ---> bcbfe08d1bf5
Step 24/25 : EXPOSE 5000
 ---> Using cache
 ---> 016b6a17a79e
Step 25/25 : CMD python3 ./rest_server.py
 ---> Using cache
 ---> cf3b4be2adae
Successfully built cf3b4be2adae
Successfully tagged docker_storperf-master:latest
Building storperf-swaggerui
Step 1/26 : ARG ARCH=x86_64
 ---> 
Step 2/26 : ARG ALPINE_VERSION=v3.10
 ---> 
Step 3/26 : FROM node:10-alpine
 ---> 85356ba1f219
Step 4/26 : RUN ulimit -n 1024
 ---> Using cache
 ---> e0679a58bc76
Step 5/26 : MAINTAINER Johannes Schickling "schickling.j@gmail.com"
 ---> Using cache
 ---> e4723b35f1f2
Step 6/26 : ENV VERSION "v2.2.10"
 ---> Using cache
 ---> 9db3c472c06d
Step 7/26 : ENV FOLDER "swagger-ui-2.2.10"
 ---> Using cache
 ---> 99bbf7916d47
Step 8/26 : ENV API_URL "http://petstore.swagger.io/v2/swagger.json"
 ---> Using cache
 ---> 8d8e166da240
Step 9/26 : ENV API_KEY "**None**"
 ---> Using cache
 ---> f059f4318b44
Step 10/26 : ENV OAUTH_CLIENT_ID "**None**"
 ---> Using cache
 ---> 13c0fecc0e2c
Step 11/26 : ENV OAUTH_CLIENT_SECRET "**None**"
 ---> Using cache
 ---> 8ed0b7eaa967
Step 12/26 : ENV OAUTH_REALM "**None**"
 ---> Using cache
 ---> e1334a1648da
Step 13/26 : ENV OAUTH_APP_NAME "**None**"
 ---> Using cache
 ---> d1bab07cb47f
Step 14/26 : ENV OAUTH_ADDITIONAL_PARAMS "**None**"
 ---> Using cache
 ---> 060a532afbbe
Step 15/26 : ENV SWAGGER_JSON "/app/swagger.json"
 ---> Using cache
 ---> d34be42f9f00
Step 16/26 : ENV PORT 80
 ---> Using cache
 ---> c768fc1cfaab
Step 17/26 : WORKDIR /app
 ---> Using cache
 ---> 228a6a6d405e
Step 18/26 : RUN apk add --no-cache openssl curl
 ---> Using cache
 ---> 4dab4c35acb1
Step 19/26 : RUN curl -SL https://github.com/swagger-api/swagger-ui/archive/$VERSION.tar.gz | tar xvz
 ---> Using cache
 ---> d955f93ad887
Step 20/26 : RUN cp -r $FOLDER/dist/* . && rm -rf $FOLDER
 ---> Using cache
 ---> 6665fb0aa0cb
Step 21/26 : RUN npm config set unsafe-perm true
 ---> Using cache
 ---> 6649a7e09193
Step 22/26 : RUN npm install -g http-server
 ---> Using cache
 ---> 9c5dfe3c95df
Step 23/26 : RUN apk del openssl
 ---> Using cache
 ---> 7cc8eff7afe6
Step 24/26 : ADD run.sh run.sh
 ---> Using cache
 ---> b7278a61842e
Step 25/26 : EXPOSE 80
 ---> Using cache
 ---> 5067dbe3237f
Step 26/26 : CMD sh run.sh
 ---> Using cache
 ---> fa34ecf85c62
Successfully built fa34ecf85c62
Successfully tagged docker_storperf-swaggerui:latest
Building storperf-httpfrontend
Step 1/9 : ARG ARCH=x86_64
 ---> 
Step 2/9 : ARG ALPINE_VERSION=v3.10
 ---> 
Step 3/9 : FROM nginx:alpine
 ---> 0bc7924c6ae1
Step 4/9 : EXPOSE 80 443
 ---> Using cache
 ---> ee8d683f086a
Step 5/9 : ARG BRANCH=master
 ---> Using cache
 ---> dea82b831f5a
Step 6/9 : COPY ./nginx.conf /etc/nginx/nginx.conf
 ---> Using cache
 ---> 5cda7d0290ff
Step 7/9 : COPY ./html /etc/nginx/html
 ---> Using cache
 ---> 1a9862b70214
Step 8/9 : EXPOSE 5000
 ---> Using cache
 ---> 91375f750349
Step 9/9 : CMD nginx -g daemon off;
 ---> Using cache
 ---> 46a5e6d0a970
Successfully built 46a5e6d0a970
Successfully tagged docker_storperf-httpfrontend:latest
+ docker-compose -f local-docker-compose.yaml up -d
Creating network "docker_default" with the default driver
Creating storperf-reporting
Creating storperf-graphite
Creating storperf-swaggerui
Creating storperf-master
Creating storperf-httpfrontend
+ FAILURES=0
+ set +e
+ check_for_life storperf-httpfrontend /
+ NAME=storperf-httpfrontend
+ URI=/
+ echo 'Waiting for storperf-httpfrontend to become active'
Waiting for storperf-httpfrontend to become active
+ ATTEMPTS=10
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/
+ '[' 200 '!=' 200 ']'
+ FAILURES=0
+ check_for_life storperf-master /api/v1.0/jobs
+ NAME=storperf-master
+ URI=/api/v1.0/jobs
+ echo 'Waiting for storperf-master to become active'
Waiting for storperf-master to become active
+ ATTEMPTS=10
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/api/v1.0/jobs
+ '[' 502 '!=' 200 ']'
+ ATTEMPTS=9
+ '[' 9 -le 1 ']'
+ sleep 2
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/api/v1.0/jobs
+ '[' 502 '!=' 200 ']'
+ ATTEMPTS=8
+ '[' 8 -le 1 ']'
+ sleep 2
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/api/v1.0/jobs
+ '[' 502 '!=' 200 ']'
+ ATTEMPTS=7
+ '[' 7 -le 1 ']'
+ sleep 2
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/api/v1.0/jobs
+ '[' 502 '!=' 200 ']'
+ ATTEMPTS=6
+ '[' 6 -le 1 ']'
+ sleep 2
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/api/v1.0/jobs
+ '[' 502 '!=' 200 ']'
+ ATTEMPTS=5
+ '[' 5 -le 1 ']'
+ sleep 2
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/api/v1.0/jobs
+ '[' 200 '!=' 200 ']'
+ FAILURES=0
+ check_for_life storperf-reporting /reporting/
+ NAME=storperf-reporting
+ URI=/reporting/
+ echo 'Waiting for storperf-reporting to become active'
Waiting for storperf-reporting to become active
+ ATTEMPTS=10
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/reporting/
+ '[' 200 '!=' 200 ']'
+ FAILURES=0
+ check_for_life storperf-swagger '/swagger/?url=http://127.0.0.1:5000/api/spec.json'
+ NAME=storperf-swagger
+ URI='/swagger/?url=http://127.0.0.1:5000/api/spec.json'
+ echo 'Waiting for storperf-swagger to become active'
Waiting for storperf-swagger to become active
+ ATTEMPTS=10
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET 'http://127.0.0.1:5000/swagger/?url=http://127.0.0.1:5000/api/spec.json'
+ '[' 200 '!=' 200 ']'
+ FAILURES=0
+ check_for_life storperf-graphite /graphite/
+ NAME=storperf-graphite
+ URI=/graphite/
+ echo 'Waiting for storperf-graphite to become active'
Waiting for storperf-graphite to become active
+ ATTEMPTS=10
++ curl -s -o /dev/null -I -w '%{http_code}' -X GET http://127.0.0.1:5000/graphite/
+ '[' 200 '!=' 200 ']'
+ FAILURES=0
+ for container in master graphite httpfrontend swaggerui reporting
+ echo =====================================
=====================================
+ echo 'Log for storperf-master'
Log for storperf-master
+ docker logs storperf-master
Unhandled error:
 Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ansible/utils/path.py", line 85, in makedirs_safe
    os.makedirs(b_rpath, mode)
  File "/usr/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: b'/.ansible'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ansible/config/manager.py", line 559, in update_config_data
    value, origin = self.get_config_value_and_origin(config, configfile)
  File "/usr/lib/python3.7/site-packages/ansible/config/manager.py", line 503, in get_config_value_and_origin
    value = ensure_type(value, defs[config].get('type'), origin=origin)
  File "/usr/lib/python3.7/site-packages/ansible/config/manager.py", line 122, in ensure_type
    makedirs_safe(value, 0o700)
  File "/usr/lib/python3.7/site-packages/ansible/utils/path.py", line 90, in makedirs_safe
    raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e)))
ansible.errors.AnsibleError: Unable to create local directories(/.ansible/tmp): [Errno 13] Permission denied: b'/.ansible'


 * Serving Flask app "rest_server" (lazy loading)
 * Environment: production
   WARNING: Do not use the development server in a production environment.
   Use a production WSGI server instead.
 * Debug mode: on
2020-02-04 13:58:21,972 - MainThread - werkzeug - INFO -  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
2020-02-04 13:58:21,977 - MainThread - werkzeug - INFO -  * Restarting with stat
Unhandled error:
 Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ansible/utils/path.py", line 85, in makedirs_safe
    os.makedirs(b_rpath, mode)
  File "/usr/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: b'/.ansible'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ansible/config/manager.py", line 559, in update_config_data
    value, origin = self.get_config_value_and_origin(config, configfile)
  File "/usr/lib/python3.7/site-packages/ansible/config/manager.py", line 503, in get_config_value_and_origin
    value = ensure_type(value, defs[config].get('type'), origin=origin)
  File "/usr/lib/python3.7/site-packages/ansible/config/manager.py", line 122, in ensure_type
    makedirs_safe(value, 0o700)
  File "/usr/lib/python3.7/site-packages/ansible/utils/path.py", line 90, in makedirs_safe
    raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e)))
ansible.errors.AnsibleError: Unable to create local directories(/.ansible/tmp): [Errno 13] Permission denied: b'/.ansible'


2020-02-04 13:58:32,291 - MainThread - werkzeug - WARNING -  * Debugger is active!
2020-02-04 13:58:32,331 - MainThread - werkzeug - INFO -  * Debugger PIN: 531-483-571
2020-02-04 13:58:32,358 - Thread-25 - werkzeug - INFO - 172.18.0.6 - - [04/Feb/2020 13:58:32] "GET /api/v1.0/jobs HTTP/1.0" 200 -
+ for container in master graphite httpfrontend swaggerui reporting
+ echo =====================================
=====================================
+ echo 'Log for storperf-graphite'
Log for storperf-graphite
+ docker logs storperf-graphite
Whisper directory already exists
Webapp directory already exists
Creating default config for graphite-web...
Creating symbolic link for local_settings.py in graphite-web...
Creating default config for carbon...
Creating default storage schema for carbon...
Creating default storage schema for carbon...
Creating database...
Operations to perform:
  Synchronize unmigrated apps: browser, composer, functions, messages, metrics, render, staticfiles, whitelist
  Apply all migrations: account, admin, auth, contenttypes, dashboard, events, sessions, tagging, tags, url_shortener
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying account.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying dashboard.0001_initial... OK
  Applying events.0001_initial... OK
  Applying sessions.0001_initial... OK
  Applying tagging.0001_initial... OK
  Applying tagging.0002_on_delete... OK
  Applying tags.0001_initial... OK
  Applying url_shortener.0001_initial... OK
Superuser created.
2020-02-04 13:58:26,555 CRIT Set uid to user 0
2020-02-04 13:58:26,555 WARN Included extra file "/etc/supervisor.d/carbon.ini" during parsing
2020-02-04 13:58:26,556 WARN Included extra file "/etc/supervisor.d/gunicorn.ini" during parsing
2020-02-04 13:58:26,556 WARN Included extra file "/etc/supervisor.d/nginx.ini" during parsing
2020-02-04 13:58:26,610 INFO RPC interface 'supervisor' initialized
2020-02-04 13:58:26,611 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-02-04 13:58:26,612 INFO supervisord started with pid 7
2020-02-04 13:58:27,618 INFO spawned: 'stdout' with pid 26
2020-02-04 13:58:27,624 INFO spawned: 'nginx' with pid 27
2020-02-04 13:58:27,630 INFO spawned: 'carbon-cache' with pid 28
2020-02-04 13:58:27,636 INFO spawned: 'graphite-webapp' with pid 29
2020-02-04 13:58:28,682 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-02-04 13:58:28,682 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-02-04 13:58:28,683 INFO success: carbon-cache entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-02-04 13:58:28,683 INFO success: graphite-webapp entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
carbon-cache stdout | Starting carbon-cache (instance a)
carbon-cache stdout | 04/02/2020 13:58:28 :: [console] Using sorted write strategy for cache
carbon-cache stdout | 04/02/2020 13:58:28 :: [console] twistd 19.10.0 (/usr/bin/python2 2.7.15) starting up.
carbon-cache stdout | 04/02/2020 13:58:28 :: [console] reactor class: twisted.internet.epollreactor.EPollReactor.
carbon-cache stdout | 04/02/2020 13:58:28 :: [console] ServerFactory starting on 7002
carbon-cache stdout | 04/02/2020 13:58:28 :: [console] Starting factory <twisted.internet.protocol.ServerFactory instance at 0xffffad79e320>
carbon-cache stdout | 04/02/2020 13:58:28 :: [console] Installing SIG_IGN for SIGHUP
carbon-cache stdout | 04/02/2020 13:58:29 :: [console] CarbonReceiverFactory starting on 2003
carbon-cache stdout | 04/02/2020 13:58:29 :: [console] Starting factory <carbon.protocols.CarbonReceiverFactory instance at 0xffffad831998>
carbon-cache stdout | 04/02/2020 13:58:29 :: [console] CarbonReceiverFactory starting on 2004
carbon-cache stdout | 04/02/2020 13:58:29 :: [console] Starting factory <carbon.protocols.CarbonReceiverFactory instance at 0xffffad8319e0>
+ for container in master graphite httpfrontend swaggerui reporting
+ echo =====================================
=====================================
+ echo 'Log for storperf-httpfrontend'
Log for storperf-httpfrontend
+ docker logs storperf-httpfrontend
172.18.0.1 - - [04/Feb/2020:13:58:13 +0000] "GET / HTTP/1.1" 200 1014 "-" "curl/7.47.0"
2020/02/04 13:58:13 [error] 7#7: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET /api/v1.0/jobs HTTP/1.1", upstream: "http://172.18.0.5:5000/api/v1.0/jobs", host: "127.0.0.1:5000"
172.18.0.1 - - [04/Feb/2020:13:58:13 +0000] "GET /api/v1.0/jobs HTTP/1.1" 502 157 "-" "curl/7.47.0"
2020/02/04 13:58:15 [error] 7#7: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET /api/v1.0/jobs HTTP/1.1", upstream: "http://172.18.0.5:5000/api/v1.0/jobs", host: "127.0.0.1:5000"
172.18.0.1 - - [04/Feb/2020:13:58:15 +0000] "GET /api/v1.0/jobs HTTP/1.1" 502 157 "-" "curl/7.47.0"
172.18.0.1 - - [04/Feb/2020:13:58:17 +0000] "GET /api/v1.0/jobs HTTP/1.1" 502 157 "-" "curl/7.47.0"
2020/02/04 13:58:17 [error] 7#7: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET /api/v1.0/jobs HTTP/1.1", upstream: "http://172.18.0.5:5000/api/v1.0/jobs", host: "127.0.0.1:5000"
2020/02/04 13:58:19 [error] 7#7: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET /api/v1.0/jobs HTTP/1.1", upstream: "http://172.18.0.5:5000/api/v1.0/jobs", host: "127.0.0.1:5000"
172.18.0.1 - - [04/Feb/2020:13:58:19 +0000] "GET /api/v1.0/jobs HTTP/1.1" 502 157 "-" "curl/7.47.0"
2020/02/04 13:58:21 [error] 7#7: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET /api/v1.0/jobs HTTP/1.1", upstream: "http://172.18.0.5:5000/api/v1.0/jobs", host: "127.0.0.1:5000"
172.18.0.1 - - [04/Feb/2020:13:58:21 +0000] "GET /api/v1.0/jobs HTTP/1.1" 502 157 "-" "curl/7.47.0"
172.18.0.1 - - [04/Feb/2020:13:58:32 +0000] "GET /api/v1.0/jobs HTTP/1.1" 200 20 "-" "curl/7.47.0"
172.18.0.1 - - [04/Feb/2020:13:58:32 +0000] "GET /reporting/ HTTP/1.1" 200 1444 "-" "curl/7.47.0"
172.18.0.1 - - [04/Feb/2020:13:58:32 +0000] "GET /swagger/?url=http://127.0.0.1:5000/api/spec.json HTTP/1.1" 200 4319 "-" "curl/7.47.0"
172.18.0.1 - - [04/Feb/2020:13:58:33 +0000] "GET /graphite/ HTTP/1.1" 200 981 "-" "curl/7.47.0"
+ for container in master graphite httpfrontend swaggerui reporting
+ echo =====================================
=====================================
+ echo 'Log for storperf-swaggerui'
Log for storperf-swaggerui
+ docker logs storperf-swaggerui
Starting up http-server, serving ./
Available on:
  http://127.0.0.1:80
  http://172.18.0.3:80
Hit CTRL-C to stop the server
[Tue Feb 04 2020 13:58:32 GMT+0000 (Coordinated Universal Time)]  "GET /?url=http://127.0.0.1:5000/api/spec.json" "curl/7.47.0"
+ for container in master graphite httpfrontend swaggerui reporting
+ echo =====================================
=====================================
+ echo 'Log for storperf-reporting'
Log for storperf-reporting
+ docker logs storperf-reporting
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 307-002-820
172.18.0.6 - - [04/Feb/2020 13:58:32] "GET /reporting/ HTTP/1.0" 200 -
+ echo =====================================
=====================================
+ docker-compose -f local-docker-compose.yaml down
Stopping storperf-httpfrontend ... 
Stopping storperf-master ... 
Stopping storperf-swaggerui ... 
Stopping storperf-graphite ... 
Stopping storperf-reporting ... 

Stopping storperf-httpfrontend ... done

Stopping storperf-swaggerui ... done

Stopping storperf-reporting ... done

Stopping storperf-master ... done

Stopping storperf-graphite ... done
Removing storperf-httpfrontend ... 
Removing storperf-master ... 
Removing storperf-swaggerui ... 
Removing storperf-graphite ... 
Removing storperf-reporting ... 

Removing storperf-swaggerui ... done

Removing storperf-reporting ... done

Removing storperf-graphite ... done

Removing storperf-master ... done

Removing storperf-httpfrontend ... done
Removing network docker_default
+ exit 0
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1445 killed;
[ssh-agent] Stopped.
No emails were triggered.
Finished: SUCCESS