fititnt / mydata-sdk--hiit

This repository contains the different projects and libraries of MyData Service Development Kit. Note: For the time being, the Service Registry repository can be found at http://github.com/digitalhealthrevolution/serviceregistry
MIT License
0 stars 0 forks source link

Logbook (step by step) #1

Open fititnt opened 6 years ago

fititnt commented 6 years ago

On cloned repo:

sudo sh start.sh  # Needed to run root only if you haven't configured a docker group for your system

Full results, screen 1

Removing network mydatasdk_mydata_sdk_demo_network
WARNING: Network mydatasdk_mydata_sdk_demo_network not found.
Removing volume mydatasdk_mysql-data
WARNING: Volume mydatasdk_mysql-data not found.
Removing volume mydatasdk_redis-data
WARNING: Volume mydatasdk_redis-data not found.
Creating network "mydatasdk_mydata_sdk_demo_network" with the default driver
Creating volume "mydatasdk_mysql-data" with default driver
Creating volume "mydatasdk_redis-data" with default driver
Pulling redis (redis:3.2-alpine)...
3.2-alpine: Pulling from library/redis
ff3a5c916c92: Already exists
aae70a2e6027: Pull complete
87c655da471c: Pull complete
081086fe6771: Pull complete
ca4b2197fa02: Pull complete
79892d7b86a0: Pull complete
Digest: sha256:67a778e7598563b6ff073255ee83028fe3589de2479aac092fce4950e1640981
Status: Downloaded newer image for redis:3.2-alpine
Building service_mockup
Step 1/20 : FROM python:2.7
2.7: Pulling from library/python
f2b6b4884fc8: Already exists
4fb899b4df21: Already exists
74eaa8be7221: Pull complete
2d6e98fe4040: Pull complete
414666f7554d: Pull complete
bb0bcc8d7f6a: Pull complete
48c658404050: Pull complete
017da2081734: Pull complete
Digest: sha256:4daa9e76c6ad840753d17076c9c143ff4d35d774cde5395f92d37e6512e0c8ed
Status: Downloaded newer image for python:2.7
 ---> 63510e77ed34
Step 2/20 : MAINTAINER hjhsalo <hjhsalo@gmail.com>
 ---> Running in 93ccc00f21f0
Removing intermediate container 93ccc00f21f0
 ---> 808057070c0c
Step 3/20 : RUN apt-get update && apt-get install -y     build-essential    libffi-dev     libssl-dev   python-dev  celeryd  && rm -rf /var/lib/apt/lists/*
 ---> Running in ad662bf0a6e5
Get:1 http://security.debian.org jessie/updates InRelease [94.4 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2434 B]
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [646 kB]
Get:5 http://deb.debian.org jessie Release [148 kB]
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:7 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 10.1 MB in 49s (205 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version.
The following extra packages will be installed:
  dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libdpkg-perl libfakeroot libfile-fcntllock-perl
  libpython-dev libpython2.7 libpython2.7-dev libssl1.0.0 libtimedate-perl
  python-amqp python-anyjson python-billiard python-celery
  python-celery-common python-dateutil python-kombu python-mailer
  python-memcache python-pkg-resources python-pyparsing python-setuptools
  python-support python-tz python-yaml python2.7-dev
Suggested packages:
  rabbitmq-server debian-keyring python-amqp-doc python-billiard-doc
  python-celery-doc python-gevent python-pytyrant python-redis
  python-sqlalchemy python-beanstalkc python-boto python-couchdb python-django
  python-kombu-doc python-pika python-pymongo memcached python-distribute
  python-distribute-doc
Recommended packages:
  libssl-doc
The following NEW packages will be installed:
  build-essential celeryd dpkg-dev fakeroot libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfakeroot
  libfile-fcntllock-perl libpython-dev libpython2.7 libpython2.7-dev
  libtimedate-perl python-amqp python-anyjson python-billiard python-celery
  python-celery-common python-dateutil python-dev python-kombu python-mailer
  python-memcache python-pkg-resources python-pyparsing python-setuptools
  python-support python-tz python-yaml python2.7-dev
The following packages will be upgraded:
  libssl-dev libssl1.0.0
2 upgraded, 31 newly installed, 0 to remove and 13 not upgraded.
Need to get 26.5 MB of archives.
After this operation, 45.4 MB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libssl-dev amd64 1.0.1t-1+deb8u8 [1279 kB]
Get:2 http://security.debian.org/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u8 [1044 kB]
Get:3 http://deb.debian.org/debian/ jessie/main libpython2.7 amd64 2.7.9-2+deb8u1 [1081 kB]
Get:4 http://deb.debian.org/debian/ jessie/main libpython2.7-dev amd64 2.7.9-2+deb8u1 [18.6 MB]
Get:5 http://deb.debian.org/debian/ jessie/main python-support all 1.0.15 [33.6 kB]
Get:6 http://deb.debian.org/debian/ jessie/main libtimedate-perl all 2.3000-2 [42.2 kB]
Get:7 http://deb.debian.org/debian/ jessie/main libdpkg-perl all 1.17.27 [1075 kB]
Get:8 http://deb.debian.org/debian/ jessie/main dpkg-dev all 1.17.27 [1548 kB]
Get:9 http://deb.debian.org/debian/ jessie/main build-essential amd64 11.7 [7114 B]
Get:10 http://deb.debian.org/debian/ jessie/main python-billiard amd64 3.3.0.18-2 [77.4 kB]
Get:11 http://deb.debian.org/debian/ jessie/main python-celery-common all 3.1.13-3 [24.8 kB]
Get:12 http://deb.debian.org/debian/ jessie/main python-dateutil all 2.2-2 [51.3 kB]
Get:13 http://deb.debian.org/debian/ jessie/main python-amqp all 1.4.5-2 [40.7 kB]
Get:14 http://deb.debian.org/debian/ jessie/main python-anyjson all 0.3.3-1 [8512 B]
Get:15 http://deb.debian.org/debian/ jessie/main python-kombu all 3.0.21-2 [165 kB]
Get:16 http://deb.debian.org/debian/ jessie/main python-pkg-resources all 5.5.1-1 [64.4 kB]
Get:17 http://deb.debian.org/debian/ jessie/main python-setuptools all 5.5.1-1 [242 kB]
Get:18 http://deb.debian.org/debian/ jessie/main python-mailer all 0.7-1 [6198 B]
Get:19 http://deb.debian.org/debian/ jessie/main python-memcache all 1.53+2014.06.08.git.918e88c496-1 [24.6 kB]
Get:20 http://deb.debian.org/debian/ jessie/main python-pyparsing all 2.0.3+dfsg1-1 [64.0 kB]
Get:21 http://deb.debian.org/debian/ jessie/main python-tz all 2012c+dfsg-0.1 [31.9 kB]
Get:22 http://deb.debian.org/debian/ jessie/main python-celery all 3.1.13-3 [344 kB]
Get:23 http://deb.debian.org/debian/ jessie/main celeryd all 3.1.13-3 [23.5 kB]
Get:24 http://deb.debian.org/debian/ jessie/main libfakeroot amd64 1.20.2-1 [44.7 kB]
Get:25 http://deb.debian.org/debian/ jessie/main fakeroot amd64 1.20.2-1 [84.7 kB]
Get:26 http://deb.debian.org/debian/ jessie/main libalgorithm-diff-perl all 1.19.02-3 [51.7 kB]
Get:27 http://deb.debian.org/debian/ jessie/main libalgorithm-diff-xs-perl amd64 0.04-3+b1 [12.2 kB]
Get:28 http://deb.debian.org/debian/ jessie/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:29 http://deb.debian.org/debian/ jessie/main libfile-fcntllock-perl amd64 0.22-1+b1 [36.4 kB]
Get:30 http://deb.debian.org/debian/ jessie/main libpython-dev amd64 2.7.9-1 [19.6 kB]
Get:31 http://deb.debian.org/debian/ jessie/main python2.7-dev amd64 2.7.9-2+deb8u1 [290 kB]
Get:32 http://deb.debian.org/debian/ jessie/main python-dev amd64 2.7.9-1 [1182 B]
Get:33 http://deb.debian.org/debian/ jessie/main python-yaml amd64 3.11-2 [112 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 26.5 MB in 1min 56s (227 kB/s)
(Reading database ... 21636 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u8_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1t-1+deb8u8) over (1.0.1t-1+deb8u7) ...
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u8_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u8) over (1.0.1t-1+deb8u7) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.9-2+deb8u1_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.9-2+deb8u1) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-support.
Preparing to unpack .../python-support_1.0.15_all.deb ...
Unpacking python-support (1.0.15) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.27_all.deb ...
Unpacking libdpkg-perl (1.17.27) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.27_all.deb ...
Unpacking dpkg-dev (1.17.27) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.7_amd64.deb ...
Unpacking build-essential (11.7) ...
Selecting previously unselected package python-billiard.
Preparing to unpack .../python-billiard_3.3.0.18-2_amd64.deb ...
Unpacking python-billiard (3.3.0.18-2) ...
Selecting previously unselected package python-celery-common.
Preparing to unpack .../python-celery-common_3.1.13-3_all.deb ...
Unpacking python-celery-common (3.1.13-3) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-dateutil_2.2-2_all.deb ...
Unpacking python-dateutil (2.2-2) ...
Selecting previously unselected package python-amqp.
Preparing to unpack .../python-amqp_1.4.5-2_all.deb ...
Unpacking python-amqp (1.4.5-2) ...
Selecting previously unselected package python-anyjson.
Preparing to unpack .../python-anyjson_0.3.3-1_all.deb ...
Unpacking python-anyjson (0.3.3-1) ...
Selecting previously unselected package python-kombu.
Preparing to unpack .../python-kombu_3.0.21-2_all.deb ...
Unpacking python-kombu (3.0.21-2) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_5.5.1-1_all.deb ...
Unpacking python-pkg-resources (5.5.1-1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_5.5.1-1_all.deb ...
Unpacking python-setuptools (5.5.1-1) ...
Selecting previously unselected package python-mailer.
Preparing to unpack .../python-mailer_0.7-1_all.deb ...
Unpacking python-mailer (0.7-1) ...
Selecting previously unselected package python-memcache.
Preparing to unpack .../python-memcache_1.53+2014.06.08.git.918e88c496-1_all.deb ...
Unpacking python-memcache (1.53+2014.06.08.git.918e88c496-1) ...
Selecting previously unselected package python-pyparsing.
Preparing to unpack .../python-pyparsing_2.0.3+dfsg1-1_all.deb ...
Unpacking python-pyparsing (2.0.3+dfsg1-1) ...
Selecting previously unselected package python-tz.
Preparing to unpack .../python-tz_2012c+dfsg-0.1_all.deb ...
Unpacking python-tz (2012c+dfsg-0.1) ...
Selecting previously unselected package python-celery.
Preparing to unpack .../python-celery_3.1.13-3_all.deb ...
Unpacking python-celery (3.1.13-3) ...
Selecting previously unselected package celeryd.
Preparing to unpack .../celeryd_3.1.13-3_all.deb ...
Unpacking celeryd (3.1.13-3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-3+b1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-3+b1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-1+b1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-1+b1) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../libpython-dev_2.7.9-1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.9-1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_amd64.deb ...
Unpacking python2.7-dev (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.9-1_amd64.deb ...
Unpacking python-dev (2.7.9-1) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../python-yaml_3.11-2_amd64.deb ...
Unpacking python-yaml (3.11-2) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u8) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libssl-dev:amd64 (1.0.1t-1+deb8u8) ...
Setting up libpython2.7:amd64 (2.7.9-2+deb8u1) ...
Setting up libpython2.7-dev:amd64 (2.7.9-2+deb8u1) ...
Setting up python-support (1.0.15) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libdpkg-perl (1.17.27) ...
Setting up dpkg-dev (1.17.27) ...
Setting up build-essential (11.7) ...
Setting up python-billiard (3.3.0.18-2) ...
Setting up python-celery-common (3.1.13-3) ...
Setting up python-dateutil (2.2-2) ...
Setting up python-amqp (1.4.5-2) ...
Setting up python-anyjson (0.3.3-1) ...
Setting up python-kombu (3.0.21-2) ...
Setting up python-pkg-resources (5.5.1-1) ...
Setting up python-setuptools (5.5.1-1) ...
Setting up python-mailer (0.7-1) ...
Setting up python-memcache (1.53+2014.06.08.git.918e88c496-1) ...
Setting up python-pyparsing (2.0.3+dfsg1-1) ...
Setting up python-tz (2012c+dfsg-0.1) ...
Setting up python-celery (3.1.13-3) ...
Setting up celeryd (3.1.13-3) ...
Adding system user for Celery
invoke-rc.d: policy-rc.d denied execution of start.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-3+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.22-1+b1) ...
Setting up libpython-dev:amd64 (2.7.9-1) ...
Setting up python2.7-dev (2.7.9-2+deb8u1) ...
Setting up python-dev (2.7.9-1) ...
Setting up python-yaml (3.11-2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for systemd (215-17+deb8u7) ...
Removing intermediate container ad662bf0a6e5
 ---> 8afdf110a3fc
Step 4/20 : ARG APP_INSTALL_PATH=/mydata-sdk-components
 ---> Running in a6b9000cf9ae
Removing intermediate container a6b9000cf9ae
 ---> 5f254b0d4e08
Step 5/20 : ENV APP_INSTALL_PATH ${APP_INSTALL_PATH:-/mydata-sdk-components}
 ---> Running in b6da58e4314f
Removing intermediate container b6da58e4314f
 ---> 15e8845318fe
Step 6/20 : RUN mkdir -p $APP_INSTALL_PATH
 ---> Running in fde52ae15215
Removing intermediate container fde52ae15215
 ---> a93a2d1022c8
Step 7/20 : WORKDIR $APP_INSTALL_PATH
Removing intermediate container 6c1799791360
 ---> af06b045723a
Step 8/20 : ARG OVERHOLT_APPLICATION_PATH=/
 ---> Running in 2aa721ebfa3a
Removing intermediate container 2aa721ebfa3a
 ---> 4705392574b8
Step 9/20 : ENV OVERHOLT_APPLICATION_PATH ${OVERHOLT_APPLICATION_PATH:-/}
 ---> Running in 5d997c715887
Removing intermediate container 5d997c715887
 ---> 536cdbdea61b
Step 10/20 : COPY $OVERHOLT_APPLICATION_PATH/requirements.txt /tmp/
 ---> 46c3232a73b9
Step 11/20 : RUN pip install --requirement /tmp/requirements.txt
 ---> Running in d5abd377059b
Collecting amqp==1.4.9 (from -r /tmp/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)
Collecting aniso8601==1.1.0 (from -r /tmp/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/66/f3/e0f17c6a2cb8d46055123d85368d86679e08ed06f16eb3ccb83f5adbbbcb/aniso8601-1.1.0.tar.gz (49kB)
Collecting anyjson==0.3.3 (from -r /tmp/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz
Collecting billiard==3.3.0.23 (from -r /tmp/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz (151kB)
Collecting celery==3.1.23 (from -r /tmp/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/de/df/59f5df67082ef46b86bc754b82f8cf187b835eea8a56ea8907813e75ad6d/celery-3.1.23-py2.py3-none-any.whl (520kB)
Collecting cffi==1.7.0 (from -r /tmp/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/46/26/2413bf923b1de47d9e9cf48f248dec1a16027a7773452315f34746253c35/cffi-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl (383kB)
Collecting click==6.6 (from -r /tmp/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/1c/7c/10b4132dd952b6a04e37626258825b8aa8c1eb99545f2eb26a77c21efb55/click-6.6-py2.py3-none-any.whl (71kB)
Collecting cryptography==1.4 (from -r /tmp/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/a9/5b/a383b3a778609fe8177bd51307b5ebeee369b353550675353f46cb99c6f0/cryptography-1.4.tar.gz (399kB)
Collecting enum34==1.1.6 (from -r /tmp/requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting Flask==0.11.1 (from -r /tmp/requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl (80kB)
Collecting Flask-Cors==3.0.0 (from -r /tmp/requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/eb/85/cf11c16f18662f7e710577fb0c4a7e75bffb902fad5278e80c23048f3724/Flask_Cors-3.0.0-py2.py3-none-any.whl
Collecting Flask-RESTful==0.3.5 (from -r /tmp/requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/15/2e/41485f3d74103412266f3ce07675adf4bd5b4da16f5f3599b2d114374631/Flask_RESTful-0.3.5-py2.py3-none-any.whl
Collecting functools32==3.2.3.post2 (from -r /tmp/requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Collecting future==0.15.2 (from -r /tmp/requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/5a/f4/99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d/future-0.15.2.tar.gz (1.6MB)
Collecting idna==2.1 (from -r /tmp/requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/ff/ee/57ca2b52dea2df65a15d4ab2669c89ff29fa227668917cebc43e689360be/idna-2.1-py2-none-any.whl (54kB)
Collecting ipaddress==1.0.16 (from -r /tmp/requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/23/6a/813ac29a01e4c33c19c2bded98ac3d4266ebbf0bd2c0eb0020e1c969958d/ipaddress-1.0.16-py27-none-any.whl
Collecting itsdangerous==0.24 (from -r /tmp/requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
Collecting Jinja2==2.8 (from -r /tmp/requirements.txt (line 18))
  Downloading https://files.pythonhosted.org/packages/96/a1/c56bc4d99dc2663514a8481511e80eba8994133ae75eebdadfc91a5597d9/Jinja2-2.8-py2.py3-none-any.whl (263kB)
Collecting jsonschema==2.5.1 (from -r /tmp/requirements.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/bd/cc/5388547ea3504bd8cbf99ba2ae7a3231598f54038e9b228cbd174f8ec6a1/jsonschema-2.5.1-py2.py3-none-any.whl
Collecting jwcrypto==0.3.1 (from -r /tmp/requirements.txt (line 20))
  Downloading https://files.pythonhosted.org/packages/64/39/3aac2c6ec89cfca3b948c2b2f079b7dc5aff9a4fb8802625931f75cc9886/jwcrypto-0.3.1-py2.py3-none-any.whl (63kB)
Collecting kombu==3.0.35 (from -r /tmp/requirements.txt (line 21))
  Downloading https://files.pythonhosted.org/packages/34/e6/a81b9cbcb107fc45af2d77b9f4b9745448be42b9952cc4c974f69a9239e7/kombu-3.0.35-py2.py3-none-any.whl (240kB)
Collecting MarkupSafe==0.23 (from -r /tmp/requirements.txt (line 22))
  Downloading https://files.pythonhosted.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz
Collecting mysqlclient==1.3.7 (from -r /tmp/requirements.txt (line 23))
  Downloading https://files.pythonhosted.org/packages/74/ff/4e964e20b559e55d7afa60fbccc6a560f2adf289813bd3d7eb4eb8a87093/mysqlclient-1.3.7.tar.gz (79kB)
Collecting pyasn1==0.1.9 (from -r /tmp/requirements.txt (line 24))
  Downloading https://files.pythonhosted.org/packages/69/be/e8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae/pyasn1-0.1.9-py2.py3-none-any.whl
Collecting pycparser==2.14 (from -r /tmp/requirements.txt (line 25))
  Downloading https://files.pythonhosted.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz (223kB)
Collecting pycryptodome==3.4 (from -r /tmp/requirements.txt (line 26))
  Downloading https://files.pythonhosted.org/packages/78/a9/3ad761efa8c947d06db18a4a7cfc7773806cdee48a37187b022647313d68/pycryptodome-3.4.tar.gz (6.5MB)
Collecting pyjwkest==1.1.7 (from -r /tmp/requirements.txt (line 27))
  Downloading https://files.pythonhosted.org/packages/15/79/ecfd533fd39ff8f689b0a691d9521102c02617342f8c6a21ee90405b3517/pyjwkest-1.1.7.tar.gz (40kB)
Collecting python-dateutil==2.5.3 (from -r /tmp/requirements.txt (line 28))
  Downloading https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
Collecting pytz==2016.6.1 (from -r /tmp/requirements.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl (481kB)
Collecting redis==2.10.5 (from -r /tmp/requirements.txt (line 30))
  Downloading https://files.pythonhosted.org/packages/08/c1/457428f7507e27ba7144758a7b716ea35766e6d602f4a0c16e443ab3d381/redis-2.10.5-py2.py3-none-any.whl (60kB)
Collecting requests==2.11.1 (from -r /tmp/requirements.txt (line 31))
  Downloading https://files.pythonhosted.org/packages/ea/03/92d3278bf8287c5caa07dbd9ea139027d5a3592b0f4d14abf072f890fab2/requests-2.11.1-py2.py3-none-any.whl (514kB)
Collecting six==1.10.0 (from -r /tmp/requirements.txt (line 32))
  Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting uWSGI==2.0.13.1 (from -r /tmp/requirements.txt (line 33))
  Downloading https://files.pythonhosted.org/packages/83/22/47b6ff871a5f01b9f660121cf61ba1eccbf7886b5cbe24caacccd0d00d07/uwsgi-2.0.13.1.tar.gz (784kB)
Collecting Werkzeug==0.11.10 (from -r /tmp/requirements.txt (line 34))
  Downloading https://files.pythonhosted.org/packages/f7/41/6847fed02f9c1692461f66d2b9391c1e4236451f0cb5bcbe3ebc73de1ca2/Werkzeug-0.11.10-py2.py3-none-any.whl (306kB)
Collecting wheel==0.24.0 (from -r /tmp/requirements.txt (line 35))
  Downloading https://files.pythonhosted.org/packages/e8/14/eaaac12b0432c984a27ad0050a5a0bedc6135df35a0f5f1f35228faf12d4/wheel-0.24.0-py2.py3-none-any.whl (63kB)
Collecting restapi-logging-handler==0.2.2 (from -r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/53/f6/dfc71c891bf6e5c28e0f2582d75e4c4a44122048bef18dce8004131c9e74/restapi-logging-handler-0.2.2.tar.gz
Requirement already satisfied: setuptools>=11.3 in /usr/local/lib/python2.7/site-packages (from cryptography==1.4->-r /tmp/requirements.txt (line 8)) (39.0.1)
Collecting requests-futures (from restapi-logging-handler==0.2.2->-r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/2c/f0/d9a6d4472286405956dd5ac6279fe932a86151df9816bc35afe601495819/requests-futures-0.9.7.tar.gz
Collecting futures>=2.1.3 (from requests-futures->restapi-logging-handler==0.2.2->-r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Building wheels for collected packages: aniso8601, anyjson, billiard, cryptography, functools32, future, itsdangerous, MarkupSafe, mysqlclient, pycparser, pycryptodome, pyjwkest, uWSGI, restapi-logging-handler, requests-futures
  Running setup.py bdist_wheel for aniso8601: started
  Running setup.py bdist_wheel for aniso8601: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0f/0c/73/7a7c8b9d4129dd4a02ff9086c504ca7566f7e3f14f75ed5fce
  Running setup.py bdist_wheel for anyjson: started
  Running setup.py bdist_wheel for anyjson: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0a/07/b1/a704fb6e43ef7b61969239c9fce608d52c3cc85d5eb6cd3891
  Running setup.py bdist_wheel for billiard: started
  Running setup.py bdist_wheel for billiard: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ab/4f/e6/c24fa73a0c43fa43eeaf3bb16b2a9a5ba0f215c5e32088c895
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/4b/c3/8b/c42d939b242f72cd3971afe7f4fc94aa3044a625cbbe18f97a
  Running setup.py bdist_wheel for functools32: started
  Running setup.py bdist_wheel for functools32: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
  Running setup.py bdist_wheel for future: started
  Running setup.py bdist_wheel for future: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/11/25/4b/f1c5582c5dc7ace5998bced1042cdf6bfe03983a10ed3f2f2e
  Running setup.py bdist_wheel for itsdangerous: started
  Running setup.py bdist_wheel for itsdangerous: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2c/4a/61/5599631c1554768c6290b08c02c72d7317910374ca602ff1e5
  Running setup.py bdist_wheel for MarkupSafe: started
  Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/28/de/65/f28b426d990edb591113e1549c8a0f09034e5958e440629306
  Running setup.py bdist_wheel for mysqlclient: started
  Running setup.py bdist_wheel for mysqlclient: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/3f/ef/62/8e46f0988191cd849d26b63b57c80955440afc8cbacc4af392
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/db/c1/64/8d66dda3620c66f5191e4e9d009b82626eb6497601822c31bc
  Running setup.py bdist_wheel for pycryptodome: started
  Running setup.py bdist_wheel for pycryptodome: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/12/b6/62/f252ad0ea934e9c246e6295f31e15ac6d86359d091d615be37
  Running setup.py bdist_wheel for pyjwkest: started
  Running setup.py bdist_wheel for pyjwkest: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ec/ea/ce/3463fc321c47a39cc5bab3a77211d02ca70818c1d72f278ce8
  Running setup.py bdist_wheel for uWSGI: started
  Running setup.py bdist_wheel for uWSGI: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/43/3e/f3/21916fd7c7b7740abe36e0fbb5f95b4f40202cd80a3817dca4
  Running setup.py bdist_wheel for restapi-logging-handler: started
  Running setup.py bdist_wheel for restapi-logging-handler: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ef/bb/3e/bc4e9b48463a22f146e6d20b550a801506acbb955650f6ce29
  Running setup.py bdist_wheel for requests-futures: started
  Running setup.py bdist_wheel for requests-futures: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/71/fb/7a/0caacf78e523a182dadd1d042792801cfd53f27c77b945b64a
Successfully built aniso8601 anyjson billiard cryptography functools32 future itsdangerous MarkupSafe mysqlclient pycparser pycryptodome pyjwkest uWSGI restapi-logging-handler requests-futures
Installing collected packages: amqp, six, python-dateutil, aniso8601, anyjson, billiard, pytz, kombu, celery, pycparser, cffi, click, idna, pyasn1, enum34, ipaddress, cryptography, itsdangerous, MarkupSafe, Jinja2, Werkzeug, Flask, Flask-Cors, Flask-RESTful, functools32, future, jsonschema, jwcrypto, mysqlclient, pycryptodome, requests, pyjwkest, redis, uWSGI, wheel, futures, requests-futures, restapi-logging-handler
  Found existing installation: wheel 0.31.0
    Uninstalling wheel-0.31.0:
      Successfully uninstalled wheel-0.31.0
Successfully installed Flask-0.11.1 Flask-Cors-3.0.0 Flask-RESTful-0.3.5 Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.10 amqp-1.4.9 aniso8601-1.1.0 anyjson-0.3.3 billiard-3.3.0.23 celery-3.1.23 cffi-1.7.0 click-6.6 cryptography-1.4 enum34-1.1.6 functools32-3.2.3.post2 future-0.15.2 futures-3.2.0 idna-2.1 ipaddress-1.0.16 itsdangerous-0.24 jsonschema-2.5.1 jwcrypto-0.3.1 kombu-3.0.35 mysqlclient-1.3.7 pyasn1-0.1.9 pycparser-2.14 pycryptodome-3.4 pyjwkest-1.1.7 python-dateutil-2.5.3 pytz-2016.6.1 redis-2.10.5 requests-2.11.1 requests-futures-0.9.7 restapi-logging-handler-0.2.2 six-1.10.0 uWSGI-2.0.13.1 wheel-0.24.0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container d5abd377059b
 ---> 1bf30ecccea7
Step 12/20 : RUN pip install j2cli
 ---> Running in 15a380813152
Collecting j2cli
  Downloading https://files.pythonhosted.org/packages/6a/fb/c67a5da25bc7f5fd840727ea742748df981ee425350cc33d57ed7e2cc78d/j2cli-0.3.1_0-py2-none-any.whl
Requirement already satisfied: jinja2>=2.7.2 in /usr/local/lib/python2.7/site-packages (from j2cli) (2.8)
Requirement already satisfied: MarkupSafe in /usr/local/lib/python2.7/site-packages (from jinja2>=2.7.2->j2cli) (0.23)
Installing collected packages: j2cli
Successfully installed j2cli-0.3.1-0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 15a380813152
 ---> c93e2fff3fa5
Step 13/20 : COPY .$OVERHOLT_APPLICATION_PATH .$OVERHOLT_APPLICATION_PATH
 ---> 9c671ff4daae
Step 14/20 : ENV DUMB_INIT_VERSION v1.1.3
 ---> Running in f278bd3b02a9
Removing intermediate container f278bd3b02a9
 ---> f83197afbf77
Step 15/20 : ENV DUMB_INIT_WOVERSION 1.1.3
 ---> Running in 370a3d6efe20
Removing intermediate container 370a3d6efe20
 ---> d9186e00ae1b
Step 16/20 : RUN curl -SL https://github.com/Yelp/dumb-init/releases/download/${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     -o dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     && dpkg -i dumb-init_*.deb
 ---> Running in 4dec084b40fa
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   615    0   615    0     0    760      0 --:--:-- --:--:-- --:--:--   760
100 33710  100 33710    0     0  18354      0  0:00:01  0:00:01 --:--:-- 64826
Selecting previously unselected package dumb-init.
(Reading database ... 23076 files and directories currently installed.)
Preparing to unpack dumb-init_1.1.3_amd64.deb ...
Unpacking dumb-init (1.1.3) ...
Setting up dumb-init (1.1.3) ...
Removing intermediate container 4dec084b40fa
 ---> db7d253303a1
Step 17/20 : COPY ./docker-entrypoint-overholt.sh /
 ---> 972e11ee85ec
Step 18/20 : ENTRYPOINT ["/usr/bin/dumb-init", "--"]
 ---> Running in 955f4fe5dbf5
Removing intermediate container 955f4fe5dbf5
 ---> b4590ab1d2a2
Step 19/20 : WORKDIR $APP_INSTALL_PATH$OVERHOLT_APPLICATION_PATH
Removing intermediate container 1e1cd833349c
 ---> 97e7bc7c0f0a
Step 20/20 : CMD ["/docker-entrypoint-overholt.sh", "sh", "-c", "python $APP_INSTALL_PATH${OVERHOLT_APPLICATION_PATH}/wsgi.py"]
 ---> Running in 44f6cf12031b
Removing intermediate container 44f6cf12031b
 ---> 9ff3454109bf
Successfully built 9ff3454109bf
Successfully tagged mydatasdk_service_mockup:latest
Building celery_worker_operator
Step 1/20 : FROM python:2.7
 ---> 63510e77ed34
Step 2/20 : MAINTAINER hjhsalo <hjhsalo@gmail.com>
 ---> Using cache
 ---> 808057070c0c
Step 3/20 : RUN apt-get update && apt-get install -y     build-essential    libffi-dev     libssl-dev   python-dev  celeryd  && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 8afdf110a3fc
Step 4/20 : ARG APP_INSTALL_PATH=/mydata-sdk-components
 ---> Using cache
 ---> 5f254b0d4e08
Step 5/20 : ENV APP_INSTALL_PATH ${APP_INSTALL_PATH:-/mydata-sdk-components}
 ---> Using cache
 ---> 15e8845318fe
Step 6/20 : RUN mkdir -p $APP_INSTALL_PATH
 ---> Using cache
 ---> a93a2d1022c8
Step 7/20 : WORKDIR $APP_INSTALL_PATH
 ---> Using cache
 ---> af06b045723a
Step 8/20 : ARG OVERHOLT_APPLICATION_PATH=/
 ---> Using cache
 ---> 4705392574b8
Step 9/20 : ENV OVERHOLT_APPLICATION_PATH ${OVERHOLT_APPLICATION_PATH:-/}
 ---> Running in 03c4ecb111d1
Removing intermediate container 03c4ecb111d1
 ---> 6362f1b2c545
Step 10/20 : COPY $OVERHOLT_APPLICATION_PATH/requirements.txt /tmp/
 ---> b49d576d5f85
Step 11/20 : RUN pip install --requirement /tmp/requirements.txt
 ---> Running in 709ea1d8dd4f
Collecting amqp==1.4.9 (from -r /tmp/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)
Collecting aniso8601==1.1.0 (from -r /tmp/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/66/f3/e0f17c6a2cb8d46055123d85368d86679e08ed06f16eb3ccb83f5adbbbcb/aniso8601-1.1.0.tar.gz (49kB)
Collecting anyjson==0.3.3 (from -r /tmp/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz
Collecting billiard==3.3.0.23 (from -r /tmp/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz (151kB)
Collecting celery==3.1.23 (from -r /tmp/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/de/df/59f5df67082ef46b86bc754b82f8cf187b835eea8a56ea8907813e75ad6d/celery-3.1.23-py2.py3-none-any.whl (520kB)
Collecting cffi==1.7.0 (from -r /tmp/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/46/26/2413bf923b1de47d9e9cf48f248dec1a16027a7773452315f34746253c35/cffi-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl (383kB)
Collecting click==6.6 (from -r /tmp/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/1c/7c/10b4132dd952b6a04e37626258825b8aa8c1eb99545f2eb26a77c21efb55/click-6.6-py2.py3-none-any.whl (71kB)
Collecting cryptography==1.4 (from -r /tmp/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/a9/5b/a383b3a778609fe8177bd51307b5ebeee369b353550675353f46cb99c6f0/cryptography-1.4.tar.gz (399kB)
Collecting enum34==1.1.6 (from -r /tmp/requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting Flask==0.11.1 (from -r /tmp/requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl (80kB)
Collecting Flask-Cors==3.0.0 (from -r /tmp/requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/eb/85/cf11c16f18662f7e710577fb0c4a7e75bffb902fad5278e80c23048f3724/Flask_Cors-3.0.0-py2.py3-none-any.whl
Collecting Flask-RESTful==0.3.5 (from -r /tmp/requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/15/2e/41485f3d74103412266f3ce07675adf4bd5b4da16f5f3599b2d114374631/Flask_RESTful-0.3.5-py2.py3-none-any.whl
Collecting functools32==3.2.3.post2 (from -r /tmp/requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Collecting future==0.15.2 (from -r /tmp/requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/5a/f4/99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d/future-0.15.2.tar.gz (1.6MB)
Collecting idna==2.1 (from -r /tmp/requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/ff/ee/57ca2b52dea2df65a15d4ab2669c89ff29fa227668917cebc43e689360be/idna-2.1-py2-none-any.whl (54kB)
Collecting ipaddress==1.0.16 (from -r /tmp/requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/23/6a/813ac29a01e4c33c19c2bded98ac3d4266ebbf0bd2c0eb0020e1c969958d/ipaddress-1.0.16-py27-none-any.whl
Collecting itsdangerous==0.24 (from -r /tmp/requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
Collecting Jinja2==2.8 (from -r /tmp/requirements.txt (line 18))
  Downloading https://files.pythonhosted.org/packages/96/a1/c56bc4d99dc2663514a8481511e80eba8994133ae75eebdadfc91a5597d9/Jinja2-2.8-py2.py3-none-any.whl (263kB)
Collecting jsonschema==2.5.1 (from -r /tmp/requirements.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/bd/cc/5388547ea3504bd8cbf99ba2ae7a3231598f54038e9b228cbd174f8ec6a1/jsonschema-2.5.1-py2.py3-none-any.whl
Collecting jwcrypto==0.3.1 (from -r /tmp/requirements.txt (line 20))
  Downloading https://files.pythonhosted.org/packages/64/39/3aac2c6ec89cfca3b948c2b2f079b7dc5aff9a4fb8802625931f75cc9886/jwcrypto-0.3.1-py2.py3-none-any.whl (63kB)
Collecting kombu==3.0.35 (from -r /tmp/requirements.txt (line 21))
  Downloading https://files.pythonhosted.org/packages/34/e6/a81b9cbcb107fc45af2d77b9f4b9745448be42b9952cc4c974f69a9239e7/kombu-3.0.35-py2.py3-none-any.whl (240kB)
Collecting MarkupSafe==0.23 (from -r /tmp/requirements.txt (line 22))
  Downloading https://files.pythonhosted.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz
Collecting mysqlclient==1.3.7 (from -r /tmp/requirements.txt (line 23))
  Downloading https://files.pythonhosted.org/packages/74/ff/4e964e20b559e55d7afa60fbccc6a560f2adf289813bd3d7eb4eb8a87093/mysqlclient-1.3.7.tar.gz (79kB)
Collecting pyasn1==0.1.9 (from -r /tmp/requirements.txt (line 24))
  Downloading https://files.pythonhosted.org/packages/69/be/e8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae/pyasn1-0.1.9-py2.py3-none-any.whl
Collecting pycparser==2.14 (from -r /tmp/requirements.txt (line 25))
  Downloading https://files.pythonhosted.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz (223kB)
Collecting pycryptodome==3.4 (from -r /tmp/requirements.txt (line 26))
  Downloading https://files.pythonhosted.org/packages/78/a9/3ad761efa8c947d06db18a4a7cfc7773806cdee48a37187b022647313d68/pycryptodome-3.4.tar.gz (6.5MB)
Collecting pyjwkest==1.1.7 (from -r /tmp/requirements.txt (line 27))
  Downloading https://files.pythonhosted.org/packages/15/79/ecfd533fd39ff8f689b0a691d9521102c02617342f8c6a21ee90405b3517/pyjwkest-1.1.7.tar.gz (40kB)
Collecting python-dateutil==2.5.3 (from -r /tmp/requirements.txt (line 28))
  Downloading https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
Collecting pytz==2016.6.1 (from -r /tmp/requirements.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl (481kB)
Collecting redis==2.10.5 (from -r /tmp/requirements.txt (line 30))
  Downloading https://files.pythonhosted.org/packages/08/c1/457428f7507e27ba7144758a7b716ea35766e6d602f4a0c16e443ab3d381/redis-2.10.5-py2.py3-none-any.whl (60kB)
Collecting requests==2.11.1 (from -r /tmp/requirements.txt (line 31))
  Downloading https://files.pythonhosted.org/packages/ea/03/92d3278bf8287c5caa07dbd9ea139027d5a3592b0f4d14abf072f890fab2/requests-2.11.1-py2.py3-none-any.whl (514kB)
Collecting six==1.10.0 (from -r /tmp/requirements.txt (line 32))
  Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting uWSGI==2.0.13.1 (from -r /tmp/requirements.txt (line 33))
  Downloading https://files.pythonhosted.org/packages/83/22/47b6ff871a5f01b9f660121cf61ba1eccbf7886b5cbe24caacccd0d00d07/uwsgi-2.0.13.1.tar.gz (784kB)
Collecting Werkzeug==0.11.10 (from -r /tmp/requirements.txt (line 34))
  Downloading https://files.pythonhosted.org/packages/f7/41/6847fed02f9c1692461f66d2b9391c1e4236451f0cb5bcbe3ebc73de1ca2/Werkzeug-0.11.10-py2.py3-none-any.whl (306kB)
Collecting wheel==0.24.0 (from -r /tmp/requirements.txt (line 35))
  Downloading https://files.pythonhosted.org/packages/e8/14/eaaac12b0432c984a27ad0050a5a0bedc6135df35a0f5f1f35228faf12d4/wheel-0.24.0-py2.py3-none-any.whl (63kB)
Collecting restapi-logging-handler==0.2.2 (from -r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/53/f6/dfc71c891bf6e5c28e0f2582d75e4c4a44122048bef18dce8004131c9e74/restapi-logging-handler-0.2.2.tar.gz
Requirement already satisfied: setuptools>=11.3 in /usr/local/lib/python2.7/site-packages (from cryptography==1.4->-r /tmp/requirements.txt (line 8)) (39.0.1)
Collecting requests-futures (from restapi-logging-handler==0.2.2->-r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/2c/f0/d9a6d4472286405956dd5ac6279fe932a86151df9816bc35afe601495819/requests-futures-0.9.7.tar.gz
Collecting futures>=2.1.3 (from requests-futures->restapi-logging-handler==0.2.2->-r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Building wheels for collected packages: aniso8601, anyjson, billiard, cryptography, functools32, future, itsdangerous, MarkupSafe, mysqlclient, pycparser, pycryptodome, pyjwkest, uWSGI, restapi-logging-handler, requests-futures
  Running setup.py bdist_wheel for aniso8601: started
  Running setup.py bdist_wheel for aniso8601: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0f/0c/73/7a7c8b9d4129dd4a02ff9086c504ca7566f7e3f14f75ed5fce
  Running setup.py bdist_wheel for anyjson: started
  Running setup.py bdist_wheel for anyjson: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0a/07/b1/a704fb6e43ef7b61969239c9fce608d52c3cc85d5eb6cd3891
  Running setup.py bdist_wheel for billiard: started
  Running setup.py bdist_wheel for billiard: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ab/4f/e6/c24fa73a0c43fa43eeaf3bb16b2a9a5ba0f215c5e32088c895
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/4b/c3/8b/c42d939b242f72cd3971afe7f4fc94aa3044a625cbbe18f97a
  Running setup.py bdist_wheel for functools32: started
  Running setup.py bdist_wheel for functools32: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
  Running setup.py bdist_wheel for future: started
  Running setup.py bdist_wheel for future: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/11/25/4b/f1c5582c5dc7ace5998bced1042cdf6bfe03983a10ed3f2f2e
  Running setup.py bdist_wheel for itsdangerous: started
  Running setup.py bdist_wheel for itsdangerous: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2c/4a/61/5599631c1554768c6290b08c02c72d7317910374ca602ff1e5
  Running setup.py bdist_wheel for MarkupSafe: started
  Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/28/de/65/f28b426d990edb591113e1549c8a0f09034e5958e440629306
  Running setup.py bdist_wheel for mysqlclient: started
  Running setup.py bdist_wheel for mysqlclient: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/3f/ef/62/8e46f0988191cd849d26b63b57c80955440afc8cbacc4af392
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/db/c1/64/8d66dda3620c66f5191e4e9d009b82626eb6497601822c31bc
  Running setup.py bdist_wheel for pycryptodome: started
  Running setup.py bdist_wheel for pycryptodome: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/12/b6/62/f252ad0ea934e9c246e6295f31e15ac6d86359d091d615be37
  Running setup.py bdist_wheel for pyjwkest: started
  Running setup.py bdist_wheel for pyjwkest: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ec/ea/ce/3463fc321c47a39cc5bab3a77211d02ca70818c1d72f278ce8
  Running setup.py bdist_wheel for uWSGI: started
  Running setup.py bdist_wheel for uWSGI: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/43/3e/f3/21916fd7c7b7740abe36e0fbb5f95b4f40202cd80a3817dca4
  Running setup.py bdist_wheel for restapi-logging-handler: started
  Running setup.py bdist_wheel for restapi-logging-handler: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ef/bb/3e/bc4e9b48463a22f146e6d20b550a801506acbb955650f6ce29
  Running setup.py bdist_wheel for requests-futures: started
  Running setup.py bdist_wheel for requests-futures: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/71/fb/7a/0caacf78e523a182dadd1d042792801cfd53f27c77b945b64a
Successfully built aniso8601 anyjson billiard cryptography functools32 future itsdangerous MarkupSafe mysqlclient pycparser pycryptodome pyjwkest uWSGI restapi-logging-handler requests-futures
Installing collected packages: amqp, six, python-dateutil, aniso8601, anyjson, billiard, pytz, kombu, celery, pycparser, cffi, click, idna, pyasn1, enum34, ipaddress, cryptography, itsdangerous, MarkupSafe, Jinja2, Werkzeug, Flask, Flask-Cors, Flask-RESTful, functools32, future, jsonschema, jwcrypto, mysqlclient, pycryptodome, requests, pyjwkest, redis, uWSGI, wheel, futures, requests-futures, restapi-logging-handler
  Found existing installation: wheel 0.31.0
    Uninstalling wheel-0.31.0:
      Successfully uninstalled wheel-0.31.0
Successfully installed Flask-0.11.1 Flask-Cors-3.0.0 Flask-RESTful-0.3.5 Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.10 amqp-1.4.9 aniso8601-1.1.0 anyjson-0.3.3 billiard-3.3.0.23 celery-3.1.23 cffi-1.7.0 click-6.6 cryptography-1.4 enum34-1.1.6 functools32-3.2.3.post2 future-0.15.2 futures-3.2.0 idna-2.1 ipaddress-1.0.16 itsdangerous-0.24 jsonschema-2.5.1 jwcrypto-0.3.1 kombu-3.0.35 mysqlclient-1.3.7 pyasn1-0.1.9 pycparser-2.14 pycryptodome-3.4 pyjwkest-1.1.7 python-dateutil-2.5.3 pytz-2016.6.1 redis-2.10.5 requests-2.11.1 requests-futures-0.9.7 restapi-logging-handler-0.2.2 six-1.10.0 uWSGI-2.0.13.1 wheel-0.24.0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 709ea1d8dd4f
 ---> 672faaa35596
Step 12/20 : RUN pip install j2cli
 ---> Running in a27ccfae39da
Collecting j2cli
  Downloading https://files.pythonhosted.org/packages/6a/fb/c67a5da25bc7f5fd840727ea742748df981ee425350cc33d57ed7e2cc78d/j2cli-0.3.1_0-py2-none-any.whl
Requirement already satisfied: jinja2>=2.7.2 in /usr/local/lib/python2.7/site-packages (from j2cli) (2.8)
Requirement already satisfied: MarkupSafe in /usr/local/lib/python2.7/site-packages (from jinja2>=2.7.2->j2cli) (0.23)
Installing collected packages: j2cli
Successfully installed j2cli-0.3.1-0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container a27ccfae39da
 ---> 795dbce80f3c
Step 13/20 : COPY .$OVERHOLT_APPLICATION_PATH .$OVERHOLT_APPLICATION_PATH
 ---> fc7954664c6a
Step 14/20 : ENV DUMB_INIT_VERSION v1.1.3
 ---> Running in b9b3e51946d4
Removing intermediate container b9b3e51946d4
 ---> 44f4a0643939
Step 15/20 : ENV DUMB_INIT_WOVERSION 1.1.3
 ---> Running in 6b627be6813f
Removing intermediate container 6b627be6813f
 ---> a349db320da1
Step 16/20 : RUN curl -SL https://github.com/Yelp/dumb-init/releases/download/${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     -o dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     && dpkg -i dumb-init_*.deb
 ---> Running in e1d03afd2e85
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   615    0   615    0     0    809      0 --:--:-- --:--:-- --:--:--   809
100 33710  100 33710    0     0  18533      0  0:00:01  0:00:01 --:--:-- 50163
Selecting previously unselected package dumb-init.
(Reading database ... 23076 files and directories currently installed.)
Preparing to unpack dumb-init_1.1.3_amd64.deb ...
Unpacking dumb-init (1.1.3) ...
Setting up dumb-init (1.1.3) ...
Removing intermediate container e1d03afd2e85
 ---> 60c26203d71f
Step 17/20 : COPY ./docker-entrypoint-overholt.sh /
 ---> 54bfd3f35cea
Step 18/20 : ENTRYPOINT ["/usr/bin/dumb-init", "--"]
 ---> Running in 9f49760d87c8
Removing intermediate container 9f49760d87c8
 ---> eea2919b70d4
Step 19/20 : WORKDIR $APP_INSTALL_PATH$OVERHOLT_APPLICATION_PATH
Removing intermediate container c6514cad87eb
 ---> 067fa51259ab
Step 20/20 : CMD ["/docker-entrypoint-overholt.sh", "sh", "-c", "python $APP_INSTALL_PATH${OVERHOLT_APPLICATION_PATH}/wsgi.py"]
 ---> Running in 0b78a786847e
Removing intermediate container 0b78a786847e
 ---> 8d2ca1e4f553
Successfully built 8d2ca1e4f553
Successfully tagged mydatasdk_celery_worker_operator:latest
Building celery_worker_service
Step 1/20 : FROM python:2.7
 ---> 63510e77ed34
Step 2/20 : MAINTAINER hjhsalo <hjhsalo@gmail.com>
 ---> Using cache
 ---> 808057070c0c
Step 3/20 : RUN apt-get update && apt-get install -y     build-essential    libffi-dev     libssl-dev   python-dev  celeryd  && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 8afdf110a3fc
Step 4/20 : ARG APP_INSTALL_PATH=/mydata-sdk-components
 ---> Using cache
 ---> 5f254b0d4e08
Step 5/20 : ENV APP_INSTALL_PATH ${APP_INSTALL_PATH:-/mydata-sdk-components}
 ---> Using cache
 ---> 15e8845318fe
Step 6/20 : RUN mkdir -p $APP_INSTALL_PATH
 ---> Using cache
 ---> a93a2d1022c8
Step 7/20 : WORKDIR $APP_INSTALL_PATH
 ---> Using cache
 ---> af06b045723a
Step 8/20 : ARG OVERHOLT_APPLICATION_PATH=/
 ---> Using cache
 ---> 4705392574b8
Step 9/20 : ENV OVERHOLT_APPLICATION_PATH ${OVERHOLT_APPLICATION_PATH:-/}
 ---> Running in 80965bf77f44
Removing intermediate container 80965bf77f44
 ---> 7c4bdfd4f04a
Step 10/20 : COPY $OVERHOLT_APPLICATION_PATH/requirements.txt /tmp/
 ---> 5a5e1177e385
Step 11/20 : RUN pip install --requirement /tmp/requirements.txt
 ---> Running in 6c2f2bd1ea46
Collecting amqp==1.4.9 (from -r /tmp/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)
Collecting aniso8601==1.1.0 (from -r /tmp/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/66/f3/e0f17c6a2cb8d46055123d85368d86679e08ed06f16eb3ccb83f5adbbbcb/aniso8601-1.1.0.tar.gz (49kB)
Collecting anyjson==0.3.3 (from -r /tmp/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz
Collecting billiard==3.3.0.23 (from -r /tmp/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz (151kB)
Collecting celery==3.1.23 (from -r /tmp/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/de/df/59f5df67082ef46b86bc754b82f8cf187b835eea8a56ea8907813e75ad6d/celery-3.1.23-py2.py3-none-any.whl (520kB)
Collecting cffi==1.7.0 (from -r /tmp/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/46/26/2413bf923b1de47d9e9cf48f248dec1a16027a7773452315f34746253c35/cffi-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl (383kB)
Collecting click==6.6 (from -r /tmp/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/1c/7c/10b4132dd952b6a04e37626258825b8aa8c1eb99545f2eb26a77c21efb55/click-6.6-py2.py3-none-any.whl (71kB)
Collecting cryptography==1.4 (from -r /tmp/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/a9/5b/a383b3a778609fe8177bd51307b5ebeee369b353550675353f46cb99c6f0/cryptography-1.4.tar.gz (399kB)
Collecting enum34==1.1.6 (from -r /tmp/requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting Flask==0.11.1 (from -r /tmp/requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl (80kB)
Collecting Flask-Cors==3.0.0 (from -r /tmp/requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/eb/85/cf11c16f18662f7e710577fb0c4a7e75bffb902fad5278e80c23048f3724/Flask_Cors-3.0.0-py2.py3-none-any.whl
Collecting Flask-RESTful==0.3.5 (from -r /tmp/requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/15/2e/41485f3d74103412266f3ce07675adf4bd5b4da16f5f3599b2d114374631/Flask_RESTful-0.3.5-py2.py3-none-any.whl
Collecting functools32==3.2.3.post2 (from -r /tmp/requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Collecting future==0.15.2 (from -r /tmp/requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/5a/f4/99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d/future-0.15.2.tar.gz (1.6MB)
Collecting idna==2.1 (from -r /tmp/requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/ff/ee/57ca2b52dea2df65a15d4ab2669c89ff29fa227668917cebc43e689360be/idna-2.1-py2-none-any.whl (54kB)
Collecting ipaddress==1.0.16 (from -r /tmp/requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/23/6a/813ac29a01e4c33c19c2bded98ac3d4266ebbf0bd2c0eb0020e1c969958d/ipaddress-1.0.16-py27-none-any.whl
Collecting itsdangerous==0.24 (from -r /tmp/requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
Collecting Jinja2==2.8 (from -r /tmp/requirements.txt (line 18))
  Downloading https://files.pythonhosted.org/packages/96/a1/c56bc4d99dc2663514a8481511e80eba8994133ae75eebdadfc91a5597d9/Jinja2-2.8-py2.py3-none-any.whl (263kB)
Collecting jsonschema==2.5.1 (from -r /tmp/requirements.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/bd/cc/5388547ea3504bd8cbf99ba2ae7a3231598f54038e9b228cbd174f8ec6a1/jsonschema-2.5.1-py2.py3-none-any.whl
Collecting jwcrypto==0.3.1 (from -r /tmp/requirements.txt (line 20))
  Downloading https://files.pythonhosted.org/packages/64/39/3aac2c6ec89cfca3b948c2b2f079b7dc5aff9a4fb8802625931f75cc9886/jwcrypto-0.3.1-py2.py3-none-any.whl (63kB)
Collecting kombu==3.0.35 (from -r /tmp/requirements.txt (line 21))
  Downloading https://files.pythonhosted.org/packages/34/e6/a81b9cbcb107fc45af2d77b9f4b9745448be42b9952cc4c974f69a9239e7/kombu-3.0.35-py2.py3-none-any.whl (240kB)
Collecting MarkupSafe==0.23 (from -r /tmp/requirements.txt (line 22))
  Downloading https://files.pythonhosted.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz
Collecting mysqlclient==1.3.7 (from -r /tmp/requirements.txt (line 23))
  Downloading https://files.pythonhosted.org/packages/74/ff/4e964e20b559e55d7afa60fbccc6a560f2adf289813bd3d7eb4eb8a87093/mysqlclient-1.3.7.tar.gz (79kB)
Collecting pyasn1==0.1.9 (from -r /tmp/requirements.txt (line 24))
  Downloading https://files.pythonhosted.org/packages/69/be/e8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae/pyasn1-0.1.9-py2.py3-none-any.whl
Collecting pycparser==2.14 (from -r /tmp/requirements.txt (line 25))
  Downloading https://files.pythonhosted.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz (223kB)
Collecting pycryptodome==3.4 (from -r /tmp/requirements.txt (line 26))
  Downloading https://files.pythonhosted.org/packages/78/a9/3ad761efa8c947d06db18a4a7cfc7773806cdee48a37187b022647313d68/pycryptodome-3.4.tar.gz (6.5MB)
Collecting pyjwkest==1.1.7 (from -r /tmp/requirements.txt (line 27))
  Downloading https://files.pythonhosted.org/packages/15/79/ecfd533fd39ff8f689b0a691d9521102c02617342f8c6a21ee90405b3517/pyjwkest-1.1.7.tar.gz (40kB)
Collecting python-dateutil==2.5.3 (from -r /tmp/requirements.txt (line 28))
  Downloading https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
Collecting pytz==2016.6.1 (from -r /tmp/requirements.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl (481kB)
Collecting redis==2.10.5 (from -r /tmp/requirements.txt (line 30))
  Downloading https://files.pythonhosted.org/packages/08/c1/457428f7507e27ba7144758a7b716ea35766e6d602f4a0c16e443ab3d381/redis-2.10.5-py2.py3-none-any.whl (60kB)
Collecting requests==2.11.1 (from -r /tmp/requirements.txt (line 31))
  Downloading https://files.pythonhosted.org/packages/ea/03/92d3278bf8287c5caa07dbd9ea139027d5a3592b0f4d14abf072f890fab2/requests-2.11.1-py2.py3-none-any.whl (514kB)
Collecting six==1.10.0 (from -r /tmp/requirements.txt (line 32))
  Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting uWSGI==2.0.13.1 (from -r /tmp/requirements.txt (line 33))
  Downloading https://files.pythonhosted.org/packages/83/22/47b6ff871a5f01b9f660121cf61ba1eccbf7886b5cbe24caacccd0d00d07/uwsgi-2.0.13.1.tar.gz (784kB)
Collecting Werkzeug==0.11.10 (from -r /tmp/requirements.txt (line 34))
  Downloading https://files.pythonhosted.org/packages/f7/41/6847fed02f9c1692461f66d2b9391c1e4236451f0cb5bcbe3ebc73de1ca2/Werkzeug-0.11.10-py2.py3-none-any.whl (306kB)
Collecting wheel==0.24.0 (from -r /tmp/requirements.txt (line 35))
  Downloading https://files.pythonhosted.org/packages/e8/14/eaaac12b0432c984a27ad0050a5a0bedc6135df35a0f5f1f35228faf12d4/wheel-0.24.0-py2.py3-none-any.whl (63kB)
Collecting restapi-logging-handler==0.2.2 (from -r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/53/f6/dfc71c891bf6e5c28e0f2582d75e4c4a44122048bef18dce8004131c9e74/restapi-logging-handler-0.2.2.tar.gz
Requirement already satisfied: setuptools>=11.3 in /usr/local/lib/python2.7/site-packages (from cryptography==1.4->-r /tmp/requirements.txt (line 8)) (39.0.1)
Collecting requests-futures (from restapi-logging-handler==0.2.2->-r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/2c/f0/d9a6d4472286405956dd5ac6279fe932a86151df9816bc35afe601495819/requests-futures-0.9.7.tar.gz
Collecting futures>=2.1.3 (from requests-futures->restapi-logging-handler==0.2.2->-r /tmp/requirements.txt (line 36))
  Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Building wheels for collected packages: aniso8601, anyjson, billiard, cryptography, functools32, future, itsdangerous, MarkupSafe, mysqlclient, pycparser, pycryptodome, pyjwkest, uWSGI, restapi-logging-handler, requests-futures
  Running setup.py bdist_wheel for aniso8601: started
  Running setup.py bdist_wheel for aniso8601: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0f/0c/73/7a7c8b9d4129dd4a02ff9086c504ca7566f7e3f14f75ed5fce
  Running setup.py bdist_wheel for anyjson: started
  Running setup.py bdist_wheel for anyjson: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0a/07/b1/a704fb6e43ef7b61969239c9fce608d52c3cc85d5eb6cd3891
  Running setup.py bdist_wheel for billiard: started
  Running setup.py bdist_wheel for billiard: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ab/4f/e6/c24fa73a0c43fa43eeaf3bb16b2a9a5ba0f215c5e32088c895
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/4b/c3/8b/c42d939b242f72cd3971afe7f4fc94aa3044a625cbbe18f97a
  Running setup.py bdist_wheel for functools32: started
  Running setup.py bdist_wheel for functools32: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
  Running setup.py bdist_wheel for future: started
  Running setup.py bdist_wheel for future: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/11/25/4b/f1c5582c5dc7ace5998bced1042cdf6bfe03983a10ed3f2f2e
  Running setup.py bdist_wheel for itsdangerous: started
  Running setup.py bdist_wheel for itsdangerous: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2c/4a/61/5599631c1554768c6290b08c02c72d7317910374ca602ff1e5
  Running setup.py bdist_wheel for MarkupSafe: started
  Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/28/de/65/f28b426d990edb591113e1549c8a0f09034e5958e440629306
  Running setup.py bdist_wheel for mysqlclient: started
  Running setup.py bdist_wheel for mysqlclient: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/3f/ef/62/8e46f0988191cd849d26b63b57c80955440afc8cbacc4af392
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/db/c1/64/8d66dda3620c66f5191e4e9d009b82626eb6497601822c31bc
  Running setup.py bdist_wheel for pycryptodome: started
  Running setup.py bdist_wheel for pycryptodome: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/12/b6/62/f252ad0ea934e9c246e6295f31e15ac6d86359d091d615be37
  Running setup.py bdist_wheel for pyjwkest: started
  Running setup.py bdist_wheel for pyjwkest: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ec/ea/ce/3463fc321c47a39cc5bab3a77211d02ca70818c1d72f278ce8
  Running setup.py bdist_wheel for uWSGI: started
  Running setup.py bdist_wheel for uWSGI: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/43/3e/f3/21916fd7c7b7740abe36e0fbb5f95b4f40202cd80a3817dca4
  Running setup.py bdist_wheel for restapi-logging-handler: started
  Running setup.py bdist_wheel for restapi-logging-handler: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ef/bb/3e/bc4e9b48463a22f146e6d20b550a801506acbb955650f6ce29
  Running setup.py bdist_wheel for requests-futures: started
  Running setup.py bdist_wheel for requests-futures: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/71/fb/7a/0caacf78e523a182dadd1d042792801cfd53f27c77b945b64a
Successfully built aniso8601 anyjson billiard cryptography functools32 future itsdangerous MarkupSafe mysqlclient pycparser pycryptodome pyjwkest uWSGI restapi-logging-handler requests-futures
Installing collected packages: amqp, six, python-dateutil, aniso8601, anyjson, billiard, pytz, kombu, celery, pycparser, cffi, click, idna, pyasn1, enum34, ipaddress, cryptography, itsdangerous, MarkupSafe, Jinja2, Werkzeug, Flask, Flask-Cors, Flask-RESTful, functools32, future, jsonschema, jwcrypto, mysqlclient, pycryptodome, requests, pyjwkest, redis, uWSGI, wheel, futures, requests-futures, restapi-logging-handler
  Found existing installation: wheel 0.31.0
    Uninstalling wheel-0.31.0:
      Successfully uninstalled wheel-0.31.0
Successfully installed Flask-0.11.1 Flask-Cors-3.0.0 Flask-RESTful-0.3.5 Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.10 amqp-1.4.9 aniso8601-1.1.0 anyjson-0.3.3 billiard-3.3.0.23 celery-3.1.23 cffi-1.7.0 click-6.6 cryptography-1.4 enum34-1.1.6 functools32-3.2.3.post2 future-0.15.2 futures-3.2.0 idna-2.1 ipaddress-1.0.16 itsdangerous-0.24 jsonschema-2.5.1 jwcrypto-0.3.1 kombu-3.0.35 mysqlclient-1.3.7 pyasn1-0.1.9 pycparser-2.14 pycryptodome-3.4 pyjwkest-1.1.7 python-dateutil-2.5.3 pytz-2016.6.1 redis-2.10.5 requests-2.11.1 requests-futures-0.9.7 restapi-logging-handler-0.2.2 six-1.10.0 uWSGI-2.0.13.1 wheel-0.24.0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 6c2f2bd1ea46
 ---> 576d905d3a6f
Step 12/20 : RUN pip install j2cli
 ---> Running in 2c01d8c34965
Collecting j2cli
  Downloading https://files.pythonhosted.org/packages/6a/fb/c67a5da25bc7f5fd840727ea742748df981ee425350cc33d57ed7e2cc78d/j2cli-0.3.1_0-py2-none-any.whl
Requirement already satisfied: jinja2>=2.7.2 in /usr/local/lib/python2.7/site-packages (from j2cli) (2.8)
Requirement already satisfied: MarkupSafe in /usr/local/lib/python2.7/site-packages (from jinja2>=2.7.2->j2cli) (0.23)
Installing collected packages: j2cli
Successfully installed j2cli-0.3.1-0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 2c01d8c34965
 ---> 9c69a1f0d8a6
Step 13/20 : COPY .$OVERHOLT_APPLICATION_PATH .$OVERHOLT_APPLICATION_PATH
 ---> 6c962dbc9611
Step 14/20 : ENV DUMB_INIT_VERSION v1.1.3
 ---> Running in 3c1b9f058599
Removing intermediate container 3c1b9f058599
 ---> bdbbfa892fe1
Step 15/20 : ENV DUMB_INIT_WOVERSION 1.1.3
 ---> Running in 4bfe520f94ba
Removing intermediate container 4bfe520f94ba
 ---> 13a50496718d
Step 16/20 : RUN curl -SL https://github.com/Yelp/dumb-init/releases/download/${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     -o dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     && dpkg -i dumb-init_*.deb
 ---> Running in 074de5cb9553
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   615    0   615    0     0    625      0 --:--:-- --:--:-- --:--:--   625
100 33710  100 33710    0     0  16317      0  0:00:02  0:00:02 --:--:-- 63724
Selecting previously unselected package dumb-init.
(Reading database ... 23076 files and directories currently installed.)
Preparing to unpack dumb-init_1.1.3_amd64.deb ...
Unpacking dumb-init (1.1.3) ...
Setting up dumb-init (1.1.3) ...
Removing intermediate container 074de5cb9553
 ---> 83d49b02d843
Step 17/20 : COPY ./docker-entrypoint-overholt.sh /
 ---> babe944b9016
Step 18/20 : ENTRYPOINT ["/usr/bin/dumb-init", "--"]
 ---> Running in 6adae758f114
Removing intermediate container 6adae758f114
 ---> 02a9ce047be3
Step 19/20 : WORKDIR $APP_INSTALL_PATH$OVERHOLT_APPLICATION_PATH
Removing intermediate container 8a2e5981825e
 ---> 6c5ec07d75c4
Step 20/20 : CMD ["/docker-entrypoint-overholt.sh", "sh", "-c", "python $APP_INSTALL_PATH${OVERHOLT_APPLICATION_PATH}/wsgi.py"]
 ---> Running in 4f6b2f625512
Removing intermediate container 4f6b2f625512
 ---> e266e9bd7e65
Successfully built e266e9bd7e65
Successfully tagged mydatasdk_celery_worker_service:latest
Building service_components
Step 1/20 : FROM python:2.7
 ---> 63510e77ed34
Step 2/20 : MAINTAINER hjhsalo <hjhsalo@gmail.com>
 ---> Using cache
 ---> 808057070c0c
Step 3/20 : RUN apt-get update && apt-get install -y     build-essential    libffi-dev     libssl-dev   python-dev  celeryd  && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 8afdf110a3fc
Step 4/20 : ARG APP_INSTALL_PATH=/mydata-sdk-components
 ---> Using cache
 ---> 5f254b0d4e08
Step 5/20 : ENV APP_INSTALL_PATH ${APP_INSTALL_PATH:-/mydata-sdk-components}
 ---> Using cache
 ---> 15e8845318fe
Step 6/20 : RUN mkdir -p $APP_INSTALL_PATH
 ---> Using cache
 ---> a93a2d1022c8
Step 7/20 : WORKDIR $APP_INSTALL_PATH
 ---> Using cache
 ---> af06b045723a
Step 8/20 : ARG OVERHOLT_APPLICATION_PATH=/
 ---> Using cache
 ---> 4705392574b8
Step 9/20 : ENV OVERHOLT_APPLICATION_PATH ${OVERHOLT_APPLICATION_PATH:-/}
 ---> Using cache
 ---> 7c4bdfd4f04a
Step 10/20 : COPY $OVERHOLT_APPLICATION_PATH/requirements.txt /tmp/
 ---> Using cache
 ---> 5a5e1177e385
Step 11/20 : RUN pip install --requirement /tmp/requirements.txt
 ---> Using cache
 ---> 576d905d3a6f
Step 12/20 : RUN pip install j2cli
 ---> Using cache
 ---> 9c69a1f0d8a6
Step 13/20 : COPY .$OVERHOLT_APPLICATION_PATH .$OVERHOLT_APPLICATION_PATH
 ---> Using cache
 ---> 6c962dbc9611
Step 14/20 : ENV DUMB_INIT_VERSION v1.1.3
 ---> Using cache
 ---> bdbbfa892fe1
Step 15/20 : ENV DUMB_INIT_WOVERSION 1.1.3
 ---> Using cache
 ---> 13a50496718d
Step 16/20 : RUN curl -SL https://github.com/Yelp/dumb-init/releases/download/${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     -o dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     && dpkg -i dumb-init_*.deb
 ---> Using cache
 ---> 83d49b02d843
Step 17/20 : COPY ./docker-entrypoint-overholt.sh /
 ---> Using cache
 ---> babe944b9016
Step 18/20 : ENTRYPOINT ["/usr/bin/dumb-init", "--"]
 ---> Using cache
 ---> 02a9ce047be3
Step 19/20 : WORKDIR $APP_INSTALL_PATH$OVERHOLT_APPLICATION_PATH
 ---> Using cache
 ---> 6c5ec07d75c4
Step 20/20 : CMD ["/docker-entrypoint-overholt.sh", "sh", "-c", "python $APP_INSTALL_PATH${OVERHOLT_APPLICATION_PATH}/wsgi.py"]
 ---> Using cache
 ---> e266e9bd7e65
Successfully built e266e9bd7e65
Successfully tagged mydatasdk_service_components:latest
Pulling mysql-db (mysql:5.6)...
5.6: Pulling from library/mysql
2a72cbf407d6: Pull complete
38680a9b47a8: Pull complete
4c732aa0eb1b: Pull complete
c5317a34eddd: Pull complete
f92be680366c: Pull complete
6762c4c3eacc: Pull complete
7f9e7799488e: Pull complete
f61d578bb6c1: Pull complete
397722a8effc: Pull complete
1ea72745bb38: Pull complete
3870a40c9278: Pull complete
Digest: sha256:367d1682c9da0bbf4cb8fe19bf4a22ad8cac39a5561c692684d123a3543aaf33
Status: Downloaded newer image for mysql:5.6
Building account
Step 1/21 : FROM python:2.7
 ---> 63510e77ed34
Step 2/21 : MAINTAINER hjhsalo <hjhsalo@gmail.com>
 ---> Using cache
 ---> 808057070c0c
Step 3/21 : RUN apt-get update && apt-get install -y     build-essential    libffi-dev     libssl-dev   python-dev     python-mysql.connector  && rm -rf /var/lib/apt/lists/*
 ---> Running in 809ea9eac628
Get:1 http://security.debian.org jessie/updates InRelease [94.4 kB]
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [646 kB]
Ign http://deb.debian.org jessie InRelease
Get:3 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:4 http://deb.debian.org jessie Release.gpg [2434 B]
Get:5 http://deb.debian.org jessie Release [148 kB]
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:7 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 10.1 MB in 47s (214 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version.
The following extra packages will be installed:
  dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libdpkg-perl libfakeroot libfile-fcntllock-perl
  libpython-dev libpython2.7 libpython2.7-dev libssl1.0.0 libtimedate-perl
  python2.7-dev
Suggested packages:
  debian-keyring
Recommended packages:
  libssl-doc
The following NEW packages will be installed:
  build-essential dpkg-dev fakeroot libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfakeroot
  libfile-fcntllock-perl libpython-dev libpython2.7 libpython2.7-dev
  libtimedate-perl python-dev python-mysql.connector python2.7-dev
The following packages will be upgraded:
  libssl-dev libssl1.0.0
2 upgraded, 16 newly installed, 0 to remove and 13 not upgraded.
Need to get 25.3 MB of archives.
After this operation, 39.8 MB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libssl-dev amd64 1.0.1t-1+deb8u8 [1279 kB]
Get:2 http://security.debian.org/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u8 [1044 kB]
Get:3 http://deb.debian.org/debian/ jessie/main libpython2.7 amd64 2.7.9-2+deb8u1 [1081 kB]
Get:4 http://deb.debian.org/debian/ jessie/main libpython2.7-dev amd64 2.7.9-2+deb8u1 [18.6 MB]
Get:5 http://deb.debian.org/debian/ jessie/main libtimedate-perl all 2.3000-2 [42.2 kB]
Get:6 http://deb.debian.org/debian/ jessie/main libdpkg-perl all 1.17.27 [1075 kB]
Get:7 http://deb.debian.org/debian/ jessie/main dpkg-dev all 1.17.27 [1548 kB]
Get:8 http://deb.debian.org/debian/ jessie/main build-essential amd64 11.7 [7114 B]
Get:9 http://deb.debian.org/debian/ jessie/main libfakeroot amd64 1.20.2-1 [44.7 kB]
Get:10 http://deb.debian.org/debian/ jessie/main fakeroot amd64 1.20.2-1 [84.7 kB]
Get:11 http://deb.debian.org/debian/ jessie/main libalgorithm-diff-perl all 1.19.02-3 [51.7 kB]
Get:12 http://deb.debian.org/debian/ jessie/main libalgorithm-diff-xs-perl amd64 0.04-3+b1 [12.2 kB]
Get:13 http://deb.debian.org/debian/ jessie/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:14 http://deb.debian.org/debian/ jessie/main libfile-fcntllock-perl amd64 0.22-1+b1 [36.4 kB]
Get:15 http://deb.debian.org/debian/ jessie/main libpython-dev amd64 2.7.9-1 [19.6 kB]
Get:16 http://deb.debian.org/debian/ jessie/main python2.7-dev amd64 2.7.9-2+deb8u1 [290 kB]
Get:17 http://deb.debian.org/debian/ jessie/main python-dev amd64 2.7.9-1 [1182 B]
Get:18 http://deb.debian.org/debian/ jessie/main python-mysql.connector all 1.2.3-2 [83.4 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 25.3 MB in 1min 41s (248 kB/s)
(Reading database ... 21636 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u8_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1t-1+deb8u8) over (1.0.1t-1+deb8u7) ...
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u8_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u8) over (1.0.1t-1+deb8u7) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.9-2+deb8u1_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.9-2+deb8u1) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.9-2+deb8u1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.27_all.deb ...
Unpacking libdpkg-perl (1.17.27) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.27_all.deb ...
Unpacking dpkg-dev (1.17.27) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.7_amd64.deb ...
Unpacking build-essential (11.7) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-3+b1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-3+b1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-1+b1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-1+b1) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../libpython-dev_2.7.9-1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.9-1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_amd64.deb ...
Unpacking python2.7-dev (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.9-1_amd64.deb ...
Unpacking python-dev (2.7.9-1) ...
Selecting previously unselected package python-mysql.connector.
Preparing to unpack .../python-mysql.connector_1.2.3-2_all.deb ...
Unpacking python-mysql.connector (1.2.3-2) ...
Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u8) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libssl-dev:amd64 (1.0.1t-1+deb8u8) ...
Setting up libpython2.7:amd64 (2.7.9-2+deb8u1) ...
Setting up libpython2.7-dev:amd64 (2.7.9-2+deb8u1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libdpkg-perl (1.17.27) ...
Setting up dpkg-dev (1.17.27) ...
Setting up build-essential (11.7) ...
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-3+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.22-1+b1) ...
Setting up libpython-dev:amd64 (2.7.9-1) ...
Setting up python2.7-dev (2.7.9-2+deb8u1) ...
Setting up python-dev (2.7.9-1) ...
Setting up python-mysql.connector (1.2.3-2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Removing intermediate container 809ea9eac628
 ---> 430fc7dbf947
Step 4/21 : COPY requirements.txt /tmp/
 ---> 6ba8ff95b8f3
Step 5/21 : RUN pip install --requirement /tmp/requirements.txt
 ---> Running in 12d5244b581b
Collecting aniso8601==1.1.0 (from -r /tmp/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/66/f3/e0f17c6a2cb8d46055123d85368d86679e08ed06f16eb3ccb83f5adbbbcb/aniso8601-1.1.0.tar.gz (49kB)
Collecting bcrypt==2.0.0 (from -r /tmp/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/11/7d/4c7980d04314466de42ea804db71995c9b3a2a47dc79a63c51f1be0cfd50/bcrypt-2.0.0.tar.gz
Collecting cffi==1.6.0 (from -r /tmp/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/b6/98/11feff87072e2e640fb8320712b781eccdef05d588618915236b32289d5a/cffi-1.6.0.tar.gz (397kB)
Collecting cryptography==1.3.2 (from -r /tmp/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/04/da/35f9a1d34dab5d777f65fb87731288f338ab0ae46a525ffdf0405b573dd0/cryptography-1.3.2.tar.gz (383kB)
Collecting enum34==1.1.6 (from -r /tmp/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting Flask==0.10.1 (from -r /tmp/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/db/9c/149ba60c47d107f85fe52564133348458f093dd5e6b57a5b60ab9ac517bb/Flask-0.10.1.tar.gz (544kB)
Collecting Flask-Login==0.3.2 (from -r /tmp/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/06/e6/61ed90ed8ce6752b745ed13fac3ba407dc9db95dfa2906edc8dd55dde454/Flask-Login-0.3.2.tar.gz
Collecting Flask-MySQLdb==0.2.0 (from -r /tmp/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/62/e3/955c845efe1aacf30c8e2607470544ede36aa1044f6382c809f13e014104/Flask-MySQLdb-0.2.0.tar.gz
Collecting Flask-RESTful==0.3.5 (from -r /tmp/requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/15/2e/41485f3d74103412266f3ce07675adf4bd5b4da16f5f3599b2d114374631/Flask_RESTful-0.3.5-py2.py3-none-any.whl
Collecting idna==2.1 (from -r /tmp/requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/ff/ee/57ca2b52dea2df65a15d4ab2669c89ff29fa227668917cebc43e689360be/idna-2.1-py2-none-any.whl (54kB)
Collecting ipaddress==1.0.16 (from -r /tmp/requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/23/6a/813ac29a01e4c33c19c2bded98ac3d4266ebbf0bd2c0eb0020e1c969958d/ipaddress-1.0.16-py27-none-any.whl
Collecting itsdangerous==0.24 (from -r /tmp/requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
Collecting Jinja2==2.8 (from -r /tmp/requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/96/a1/c56bc4d99dc2663514a8481511e80eba8994133ae75eebdadfc91a5597d9/Jinja2-2.8-py2.py3-none-any.whl (263kB)
Collecting jwcrypto==0.2.1 (from -r /tmp/requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/c6/5a/44396b514eca92c4d318c9330c7e23f304c32109b9ef38922edd093def67/jwcrypto-0.2.1.tar.gz (50kB)
Collecting MarkupSafe==0.23 (from -r /tmp/requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz
Collecting marshmallow==2.7.3 (from -r /tmp/requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/39/8b/cbb04e90e656a283b7a4c5ff6a2267b537b8f5aff47518eb5daf0e9d58d8/marshmallow-2.7.3-py2.py3-none-any.whl (43kB)
Collecting mysqlclient==1.3.7 (from -r /tmp/requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/74/ff/4e964e20b559e55d7afa60fbccc6a560f2adf289813bd3d7eb4eb8a87093/mysqlclient-1.3.7.tar.gz (79kB)
Collecting pyasn1==0.1.9 (from -r /tmp/requirements.txt (line 18))
  Downloading https://files.pythonhosted.org/packages/69/be/e8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae/pyasn1-0.1.9-py2.py3-none-any.whl
Collecting pycparser==2.14 (from -r /tmp/requirements.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz (223kB)
Collecting python-dateutil==2.5.3 (from -r /tmp/requirements.txt (line 20))
  Downloading https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
Collecting pytz==2016.4 (from -r /tmp/requirements.txt (line 21))
  Downloading https://files.pythonhosted.org/packages/ae/cf/a7442138ad899a7587489641a8923f1e640cafc2d6ffe4e79e5d15cc5b3e/pytz-2016.4-py2.py3-none-any.whl (480kB)
Collecting requests==2.10.0 (from -r /tmp/requirements.txt (line 22))
  Downloading https://files.pythonhosted.org/packages/99/b4/63d99ba8e189c47d906b43bae18af4396e336f2b1bfec86af31efe2d2cb8/requests-2.10.0-py2.py3-none-any.whl (506kB)
Collecting six==1.10.0 (from -r /tmp/requirements.txt (line 23))
  Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting uWSGI==2.0.13.1 (from -r /tmp/requirements.txt (line 24))
  Downloading https://files.pythonhosted.org/packages/83/22/47b6ff871a5f01b9f660121cf61ba1eccbf7886b5cbe24caacccd0d00d07/uwsgi-2.0.13.1.tar.gz (784kB)
Collecting Werkzeug==0.11.9 (from -r /tmp/requirements.txt (line 25))
  Downloading https://files.pythonhosted.org/packages/cb/98/83bd68761e7bd0a378ab5a0d805939bf7923ea71ca3849d6961c04ddf82d/Werkzeug-0.11.9-py2.py3-none-any.whl (306kB)
Requirement already satisfied: setuptools>=11.3 in /usr/local/lib/python2.7/site-packages (from cryptography==1.3.2->-r /tmp/requirements.txt (line 4)) (39.0.1)
Building wheels for collected packages: aniso8601, bcrypt, cffi, cryptography, Flask, Flask-Login, Flask-MySQLdb, itsdangerous, jwcrypto, MarkupSafe, mysqlclient, pycparser, uWSGI
  Running setup.py bdist_wheel for aniso8601: started
  Running setup.py bdist_wheel for aniso8601: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0f/0c/73/7a7c8b9d4129dd4a02ff9086c504ca7566f7e3f14f75ed5fce
  Running setup.py bdist_wheel for bcrypt: started
  Running setup.py bdist_wheel for bcrypt: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/fb/84/0c/e13ff6f9cae9380e236fad080cdff88f99f8a376966a6a2a9c
  Running setup.py bdist_wheel for cffi: started
  Running setup.py bdist_wheel for cffi: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/5d/39/62/1887c927f1763c97bf903a2b4b4ee8e0ab4832c320688f3c21
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/de/3b/54/6924d6ebcd02a562ca6a15d446f5e6b3fe948622cba32d1185
  Running setup.py bdist_wheel for Flask: started
  Running setup.py bdist_wheel for Flask: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/e1/f2/be/1c4f307a41aad7e632f79c0242a2714ecde24b663da3519665
  Running setup.py bdist_wheel for Flask-Login: started
  Running setup.py bdist_wheel for Flask-Login: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/96/bd/1f/01714aeaf74f319e30e0ab298ef5e6f301245ae5a07a0acf31
  Running setup.py bdist_wheel for Flask-MySQLdb: started
  Running setup.py bdist_wheel for Flask-MySQLdb: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/fd/c9/ef/e0e99dfcf898bc040267e36c4a414ff0b22239968a25161012
  Running setup.py bdist_wheel for itsdangerous: started
  Running setup.py bdist_wheel for itsdangerous: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2c/4a/61/5599631c1554768c6290b08c02c72d7317910374ca602ff1e5
  Running setup.py bdist_wheel for jwcrypto: started
  Running setup.py bdist_wheel for jwcrypto: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/da/1a/72/03872f60f4ec71f29b2cde22a192b9e13fddb18eeb9877fdd7
  Running setup.py bdist_wheel for MarkupSafe: started
  Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/28/de/65/f28b426d990edb591113e1549c8a0f09034e5958e440629306
  Running setup.py bdist_wheel for mysqlclient: started
  Running setup.py bdist_wheel for mysqlclient: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/3f/ef/62/8e46f0988191cd849d26b63b57c80955440afc8cbacc4af392
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/db/c1/64/8d66dda3620c66f5191e4e9d009b82626eb6497601822c31bc
  Running setup.py bdist_wheel for uWSGI: started
  Running setup.py bdist_wheel for uWSGI: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/43/3e/f3/21916fd7c7b7740abe36e0fbb5f95b4f40202cd80a3817dca4
Successfully built aniso8601 bcrypt cffi cryptography Flask Flask-Login Flask-MySQLdb itsdangerous jwcrypto MarkupSafe mysqlclient pycparser uWSGI
Installing collected packages: six, python-dateutil, aniso8601, pycparser, cffi, bcrypt, idna, pyasn1, enum34, ipaddress, cryptography, Werkzeug, MarkupSafe, Jinja2, itsdangerous, Flask, Flask-Login, mysqlclient, Flask-MySQLdb, pytz, Flask-RESTful, jwcrypto, marshmallow, requests, uWSGI
Successfully installed Flask-0.10.1 Flask-Login-0.3.2 Flask-MySQLdb-0.2.0 Flask-RESTful-0.3.5 Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.9 aniso8601-1.1.0 bcrypt-2.0.0 cffi-1.6.0 cryptography-1.3.2 enum34-1.1.6 idna-2.1 ipaddress-1.0.16 itsdangerous-0.24 jwcrypto-0.2.1 marshmallow-2.7.3 mysqlclient-1.3.7 pyasn1-0.1.9 pycparser-2.14 python-dateutil-2.5.3 pytz-2016.4 requests-2.10.0 six-1.10.0 uWSGI-2.0.13.1
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 12d5244b581b
 ---> 36188e8efc81
Step 6/21 : RUN pip install uwsgi
 ---> Running in 4ea67c8e25a5
Requirement already satisfied: uwsgi in /usr/local/lib/python2.7/site-packages (2.0.13.1)
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 4ea67c8e25a5
 ---> 5dd2f5fdbe38
Step 7/21 : RUN pip install j2cli
 ---> Running in 0ec677a83541
Collecting j2cli
  Downloading https://files.pythonhosted.org/packages/6a/fb/c67a5da25bc7f5fd840727ea742748df981ee425350cc33d57ed7e2cc78d/j2cli-0.3.1_0-py2-none-any.whl
Requirement already satisfied: jinja2>=2.7.2 in /usr/local/lib/python2.7/site-packages (from j2cli) (2.8)
Requirement already satisfied: MarkupSafe in /usr/local/lib/python2.7/site-packages (from jinja2>=2.7.2->j2cli) (0.23)
Installing collected packages: j2cli
Successfully installed j2cli-0.3.1-0
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 0ec677a83541
 ---> 1a39f237de51
Step 8/21 : ENV MYSQL_HOST ${MYSQL_HOST:-'mysql-db'}
 ---> Running in e94a9c0caaf2
Removing intermediate container e94a9c0caaf2
 ---> ee631d3d55e4
Step 9/21 : ENV MYSQL_USER ${MYSQL_USER:-'mydataaccount'}
 ---> Running in 9b713240a6da
Removing intermediate container 9b713240a6da
 ---> 204d448d1710
Step 10/21 : ENV MYSQL_PASSWORD ${MYSQL_PASSWORD:-'wr8gabrA'}
 ---> Running in 72bf5fc93c81
Removing intermediate container 72bf5fc93c81
 ---> 7f15220b29b2
Step 11/21 : ENV MYSQL_DB ${MYSQL_DB:-'MyDataAccount'}
 ---> Running in b9c386278e76
Removing intermediate container b9c386278e76
 ---> 1c3cd1502f58
Step 12/21 : ENV MYSQL_PORT ${MYSQL_PORT:-3306}
 ---> Running in 6811f0c5b1b8
Removing intermediate container 6811f0c5b1b8
 ---> 69364adeb7d9
Step 13/21 : ENV URL_PREFIX ${URL_PREFIX:-''}
 ---> Running in b835eb3b7059
Removing intermediate container b835eb3b7059
 ---> ab830ff09b10
Step 14/21 : ARG APP_INSTALL_PATH=/mydata-sdk-account
 ---> Running in ccf0681270b1
Removing intermediate container ccf0681270b1
 ---> 9b684bb607e5
Step 15/21 : ENV APP_INSTALL_PATH ${APP_INSTALL_PATH:-/mydata-account}
 ---> Running in f9be10d9d71d
Removing intermediate container f9be10d9d71d
 ---> 4a1efbd790b8
Step 16/21 : RUN mkdir -p $APP_INSTALL_PATH
 ---> Running in 3a32f42ca859
Removing intermediate container 3a32f42ca859
 ---> d453434a5397
Step 17/21 : WORKDIR $APP_INSTALL_PATH
Removing intermediate container 7a37830018a3
 ---> 1228b3c7d75c
Step 18/21 : COPY . .
 ---> dd2aed05cf88
Step 19/21 : COPY ./docker-entrypoint-account.sh /
 ---> 7311b9e7a30c
Step 20/21 : ENTRYPOINT ["/docker-entrypoint-account.sh"]
 ---> Running in 00b3843e118c
Removing intermediate container 00b3843e118c
 ---> 0d6b3e92c183
Step 21/21 : CMD ["uwsgi --socket 0.0.0.0:8080 --protocol=http -w wsgi --callable app --processes 2"]
 ---> Running in 52e968f184ba
Removing intermediate container 52e968f184ba
 ---> 89f4438a82b2
Successfully built 89f4438a82b2
Successfully tagged mydatasdk_account:latest
Building operator_components
Step 1/20 : FROM python:2.7
 ---> 63510e77ed34
Step 2/20 : MAINTAINER hjhsalo <hjhsalo@gmail.com>
 ---> Using cache
 ---> 808057070c0c
Step 3/20 : RUN apt-get update && apt-get install -y     build-essential    libffi-dev     libssl-dev   python-dev  celeryd  && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 8afdf110a3fc
Step 4/20 : ARG APP_INSTALL_PATH=/mydata-sdk-components
 ---> Using cache
 ---> 5f254b0d4e08
Step 5/20 : ENV APP_INSTALL_PATH ${APP_INSTALL_PATH:-/mydata-sdk-components}
 ---> Using cache
 ---> 15e8845318fe
Step 6/20 : RUN mkdir -p $APP_INSTALL_PATH
 ---> Using cache
 ---> a93a2d1022c8
Step 7/20 : WORKDIR $APP_INSTALL_PATH
 ---> Using cache
 ---> af06b045723a
Step 8/20 : ARG OVERHOLT_APPLICATION_PATH=/
 ---> Using cache
 ---> 4705392574b8
Step 9/20 : ENV OVERHOLT_APPLICATION_PATH ${OVERHOLT_APPLICATION_PATH:-/}
 ---> Using cache
 ---> 6362f1b2c545
Step 10/20 : COPY $OVERHOLT_APPLICATION_PATH/requirements.txt /tmp/
 ---> Using cache
 ---> b49d576d5f85
Step 11/20 : RUN pip install --requirement /tmp/requirements.txt
 ---> Using cache
 ---> 672faaa35596
Step 12/20 : RUN pip install j2cli
 ---> Using cache
 ---> 795dbce80f3c
Step 13/20 : COPY .$OVERHOLT_APPLICATION_PATH .$OVERHOLT_APPLICATION_PATH
 ---> Using cache
 ---> fc7954664c6a
Step 14/20 : ENV DUMB_INIT_VERSION v1.1.3
 ---> Using cache
 ---> 44f4a0643939
Step 15/20 : ENV DUMB_INIT_WOVERSION 1.1.3
 ---> Using cache
 ---> a349db320da1
Step 16/20 : RUN curl -SL https://github.com/Yelp/dumb-init/releases/download/${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     -o dumb-init_${DUMB_INIT_WOVERSION}_amd64.deb     && dpkg -i dumb-init_*.deb
 ---> Using cache
 ---> 60c26203d71f
Step 17/20 : COPY ./docker-entrypoint-overholt.sh /
 ---> Using cache
 ---> 54bfd3f35cea
Step 18/20 : ENTRYPOINT ["/usr/bin/dumb-init", "--"]
 ---> Using cache
 ---> eea2919b70d4
Step 19/20 : WORKDIR $APP_INSTALL_PATH$OVERHOLT_APPLICATION_PATH

 ---> 067fa51259ab
Creating mysql-db ... done
H}/wsgi.py"]
 ---> Using cache
 ---> 8d2ca1e4f553
Successfully built 8d2ca1e4f553
Successfully tagged mydatasdk_operator_components:latest
Creating celery_worker_service ... done
Creating redis ... 
Creating service_components ... 
Creating service_mockup ... 
Creating operator_components ... 
Creating celery_worker_operator ... 
Creating account ... 
Creating celery_worker_service ... 
Attaching to redis, mysql-db, service_mockup, celery_worker_operator, service_components, operator_components, account, celery_worker_service
redis                     | 1:C 20 Apr 23:00:16.550 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis                     |                 _._                                                  
redis                     |            _.-``__ ''-._                                             
redis                     |       _.-``    `.  `_.  ''-._           Redis 3.2.11 (00000000/0) 64 bit
redis                     |   .-`` .-```.  ```\/    _.,_ ''-._                                   
redis                     |  (    '      ,       .-`  | `,    )     Running in standalone mode
redis                     |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
redis                     |  |    `-._   `._    /     _.-'    |     PID: 1
redis                     |   `-._    `-._  `-./  _.-'    _.-'                                   
redis                     |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
redis                     |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
redis                     |   `-._    `-._`-.__.-'_.-'    _.-'                                   
redis                     |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
redis                     |  |    `-._`-._        _.-'_.-'    |                                  
redis                     |   `-._    `-._`-.__.-'_.-'    _.-'                                   
redis                     |       `-._    `-.__.-'    _.-'                                       
redis                     |           `-._        _.-'                                           
redis                     |               `-.__.-'                                               
redis                     | 
redis                     | 1:M 20 Apr 23:00:16.573 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis                     | 1:M 20 Apr 23:00:16.574 # Server started, Redis version 3.2.11
redis                     | 1:M 20 Apr 23:00:16.574 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis                     | 1:M 20 Apr 23:00:16.574 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis                     | 1:M 20 Apr 23:00:16.574 * The server is now ready to accept connections on port 6379
mysql-db                  | Initializing database
mysql-db                  | 2018-04-20 23:00:16 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql-db                  | 2018-04-20 23:00:16 0 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
mysql-db                  | 2018-04-20 23:00:16 0 [Note] /usr/sbin/mysqld (mysqld 5.6.40) starting as process 37 ...
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Using atomics to ref count buffer pool pages
celery_worker_operator    | /usr/local/lib/python2.7/site-packages/celery/platforms.py:812: RuntimeWarning: You are running the worker with superuser privileges, which is
celery_worker_operator    | absolutely not recommended!
celery_worker_operator    | 
celery_worker_operator    | Please specify a different user using the -u option.
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: The InnoDB memory heap is disabled
celery_worker_operator    | 
service_mockup            | INFO:debug:Started up Service Mockup, Service module successfully.
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
celery_worker_operator    | User information: uid=0 euid=0 gid=0 egid=0
service_components        | INFO:debug:Started up Service Components, Service_Mgmnt module successfully.
operator_components       | INFO:debug:Started up Operator Components, Operator_CR module successfully.
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Memory barrier is not used
celery_worker_operator    | 
account                   | *** Starting uWSGI 2.0.13.1 (64bit) on [Fri Apr 20 23:00:26 2018] ***
celery_worker_operator    |   uid=uid, euid=euid, gid=gid, egid=egid,
service_components        | INFO:debug:Started up Service Components, Authorization_Management module successfully.
account                   | compiled with version: 4.9.2 on 20 April 2018 22:59:23
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Compressed tables use zlib 1.2.3
operator_components       | INFO:debug:Started up Operator Components, Operator_SLR module successfully.
account                   | os: Linux-4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Using Linux native AIO
celery_worker_operator    | [2018-04-20 23:00:25,037: WARNING/MainProcess] /usr/local/lib/python2.7/site-packages/celery/apps/worker.py:161: CDeprecationWarning: 
account                   | nodename: 7ef55349d6ed
service_components        | INFO:debug:/api/1.2/sink_flow
celery_worker_operator    | Starting from version 3.2 Celery will refuse to accept pickle by default.
account                   | machine: x86_64
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Using CPU crc32 instructions
celery_worker_operator    | 
service_components        | INFO:debug:Started up Service Components, Service_Sink module successfully.
account                   | clock source: unix
celery_worker_operator    | The pickle serializer is a security concern as it may give attackers
account                   | pcre jit disabled
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Initializing buffer pool, size = 128.0M
celery_worker_operator    | the ability to execute any command.  It's important to secure
service_components        | INFO:debug:Started up Service Components, Service_Source module successfully.
account                   | detected number of CPU cores: 8
celery_worker_operator    | your broker from unauthorized access when using pickle, so we think
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Completed initialization of buffer pool
account                   | current working directory: /mydata-sdk-account
celery_worker_operator    | that enabling pickle should require a deliberate action and not be
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
account                   | detected binary path: /usr/local/bin/uwsgi
celery_worker_operator    | the default choice.
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
celery_worker_operator    | 
account                   | uWSGI running as root, you can use --uid/--gid/--chroot options
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Database physically writes the file full: wait...
celery_worker_operator    | If you depend on pickle then you should set a setting to disable this
account                   | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
celery_worker_operator    | warning and to be sure that everything will continue working
mysql-db                  | 2018-04-20 23:00:16 37 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
celery_worker_operator    | when you upgrade to Celery 3.2::
account                   | *** WARNING: you are running uWSGI without its master process manager ***
celery_worker_operator    | 
account                   | your memory page size is 4096 bytes
mysql-db                  | 2018-04-20 23:00:17 37 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
celery_worker_operator    |     CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']
account                   | detected max file descriptor number: 1048576
celery_worker_operator    | 
account                   | lock engine: pthread robust mutexes
mysql-db                  | 2018-04-20 23:00:18 37 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
celery_worker_operator    | You must only enable the serializers that you will actually use.
account                   | thunder lock: disabled (you can enable it with --thunder-lock)
celery_worker_operator    | 
celery_worker_operator    | 
account                   | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3
celery_worker_operator    |   warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))
mysql-db                  | 2018-04-20 23:00:18 37 [Warning] InnoDB: New log files created, LSN=45781
account                   | Python version: 2.7.14 (default, Mar 14 2018, 18:21:57)  [GCC 4.9.2]
mysql-db                  | 2018-04-20 23:00:18 37 [Note] InnoDB: Doublewrite buffer not found: creating new
celery_worker_operator    |  
account                   | *** Python threads support is disabled. You can enable it with --enable-threads ***
celery_worker_operator    |  -------------- celery@0e375ae1418f v3.1.23 (Cipater)
account                   | Python main interpreter initialized at 0xc2c5e0
celery_worker_operator    | ---- **** ----- 
account                   | your server socket listen backlog is limited to 100 connections
celery_worker_operator    | --- * ***  * -- Linux-4.4.0-34-generic-x86_64-with-debian-8.10
account                   | your mercy for graceful operations on workers is 60 seconds
celery_worker_operator    | -- * - **** --- 
celery_worker_operator    | - ** ---------- [config]
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: Doublewrite buffer created
celery_worker_operator    | - ** ---------- .> app:         factory:0x7f749d543f90
celery_worker_operator    | - ** ---------- .> transport:   redis://redis:6379/0
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: 128 rollback segment(s) are active.
celery_worker_operator    | - ** ---------- .> results:     disabled://
celery_worker_operator    | - *** --- * --- .> concurrency: 8 (prefork)
celery_worker_operator    | -- ******* ---- 
celery_worker_operator    | --- ***** ----- [queues]
celery_worker_operator    |  -------------- .> op_queue         exchange=op_queue(direct) key=op_queue
celery_worker_operator    |                 
celery_worker_operator    | 
mysql-db                  | 2018-04-20 23:00:19 37 [Warning] InnoDB: Creating foreign key constraint system tables.
account                   | mapped 145536 bytes (142 KB) for 2 cores
account                   | *** Operational MODE: preforking ***
celery_worker_operator    | [2018-04-20 23:00:26,309: WARNING/MainProcess] celery@0e375ae1418f ready.
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: Foreign key constraint system tables created
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: Creating tablespace and datafile system tables.
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: Tablespace and datafile system tables created.
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: Waiting for purge to start
mysql-db                  | 2018-04-20 23:00:19 37 [Note] InnoDB: 5.6.40 started; log sequence number 0
account                   | Creating LOG_PATH: '/mydata-sdk-account/app/mod_api_auth/logs'.
account                   | Creating LOG_PATH: '/mydata-sdk-account/app/mod_blackbox/logs'.
account                   | Creating LOG_PATH: './logs/'.
account                   | WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0xc2c5e0 pid: 1 (default app)
account                   | *** uWSGI is running in multiple interpreter mode ***
account                   | spawned uWSGI worker 1 (pid: 1, cores: 1)
account                   | spawned uWSGI worker 2 (pid: 9, cores: 1)
celery_worker_service     | /usr/local/lib/python2.7/site-packages/celery/platforms.py:812: RuntimeWarning: You are running the worker with superuser privileges, which is
celery_worker_service     | absolutely not recommended!
celery_worker_service     | 
celery_worker_service     | Please specify a different user using the -u option.
celery_worker_service     | 
celery_worker_service     | User information: uid=0 euid=0 gid=0 egid=0
celery_worker_service     | 
celery_worker_service     |   uid=uid, euid=euid, gid=gid, egid=egid,
celery_worker_service     | [2018-04-20 23:00:26,776: WARNING/MainProcess] /usr/local/lib/python2.7/site-packages/celery/apps/worker.py:161: CDeprecationWarning: 
celery_worker_service     | Starting from version 3.2 Celery will refuse to accept pickle by default.
celery_worker_service     | 
celery_worker_service     | The pickle serializer is a security concern as it may give attackers
celery_worker_service     | the ability to execute any command.  It's important to secure
celery_worker_service     | your broker from unauthorized access when using pickle, so we think
celery_worker_service     | that enabling pickle should require a deliberate action and not be
celery_worker_service     | the default choice.
celery_worker_service     | 
celery_worker_service     | If you depend on pickle then you should set a setting to disable this
celery_worker_service     | warning and to be sure that everything will continue working
celery_worker_service     | when you upgrade to Celery 3.2::
celery_worker_service     | 
celery_worker_service     |     CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']
celery_worker_service     | 
celery_worker_service     | You must only enable the serializers that you will actually use.
celery_worker_service     | 
celery_worker_service     | 
celery_worker_service     |   warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))
celery_worker_service     |  
celery_worker_service     |  -------------- celery@97cecafd3690 v3.1.23 (Cipater)
celery_worker_service     | ---- **** ----- 
celery_worker_service     | --- * ***  * -- Linux-4.4.0-34-generic-x86_64-with-debian-8.10
celery_worker_service     | -- * - **** --- 
celery_worker_service     | - ** ---------- [config]
celery_worker_service     | - ** ---------- .> app:         factory:0x7fe80fd76d50
celery_worker_service     | - ** ---------- .> transport:   redis://redis:6379/0
celery_worker_service     | - ** ---------- .> results:     disabled://
celery_worker_service     | - *** --- * --- .> concurrency: 8 (prefork)
celery_worker_service     | -- ******* ---- 
celery_worker_service     | --- ***** ----- [queues]
celery_worker_service     |  -------------- .> srv_queue        exchange=srv_queue(direct) key=srv_queue
celery_worker_service     |                 
celery_worker_service     | 
celery_worker_service     | [2018-04-20 23:00:27,981: WARNING/MainProcess] celery@97cecafd3690 ready.
mysql-db                  | 2018-04-20 23:00:31 37 [Note] Binlog end
mysql-db                  | 2018-04-20 23:00:31 37 [Note] InnoDB: FTS optimize thread exiting.
mysql-db                  | 2018-04-20 23:00:31 37 [Note] InnoDB: Starting shutdown...
mysql-db                  | 2018-04-20 23:00:32 37 [Note] InnoDB: Shutdown completed; log sequence number 1625977
mysql-db                  | 
mysql-db                  | 
mysql-db                  | 2018-04-20 23:00:32 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql-db                  | 2018-04-20 23:00:32 0 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
mysql-db                  | 2018-04-20 23:00:32 0 [Note] /usr/sbin/mysqld (mysqld 5.6.40) starting as process 60 ...
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Using atomics to ref count buffer pool pages
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: The InnoDB memory heap is disabled
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Memory barrier is not used
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Compressed tables use zlib 1.2.3
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Using Linux native AIO
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Using CPU crc32 instructions
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Initializing buffer pool, size = 128.0M
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Completed initialization of buffer pool
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Highest supported file format is Barracuda.
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: 128 rollback segment(s) are active.
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Waiting for purge to start
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: 5.6.40 started; log sequence number 1625977
mysql-db                  | 2018-04-20 23:00:32 60 [Note] Binlog end
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: FTS optimize thread exiting.
mysql-db                  | 2018-04-20 23:00:32 60 [Note] InnoDB: Starting shutdown...
mysql-db                  | 2018-04-20 23:00:34 60 [Note] InnoDB: Shutdown completed; log sequence number 1625987
mysql-db                  | 
mysql-db                  | 
mysql-db                  | 
mysql-db                  | 
mysql-db                  | PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
mysql-db                  | To do so, start the server, then issue the following commands:
mysql-db                  | 
mysql-db                  |   /usr/bin/mysqladmin -u root password 'new-password'
mysql-db                  |   /usr/bin/mysqladmin -u root -h f139c669e31c password 'new-password'
mysql-db                  | 
mysql-db                  | Alternatively you can run:
mysql-db                  | 
mysql-db                  |   /usr/bin/mysql_secure_installation
mysql-db                  | 
mysql-db                  | which will also give you the option of removing the test
mysql-db                  | databases and anonymous user created by default.  This is
mysql-db                  | strongly recommended for production servers.
mysql-db                  | 
mysql-db                  | See the manual for more instructions.
mysql-db                  | 
mysql-db                  | Please report any problems at http://bugs.mysql.com/
mysql-db                  | 
mysql-db                  | The latest information about MySQL is available on the web at
mysql-db                  | 
mysql-db                  |   http://www.mysql.com
mysql-db                  | 
mysql-db                  | Support MySQL by buying support/licenses at http://shop.mysql.com
mysql-db                  | 
mysql-db                  | Note: new default config file not created.
mysql-db                  | Please make sure your config file is current
mysql-db                  | 
mysql-db                  | WARNING: Default config file /etc/mysql/my.cnf exists on the system
mysql-db                  | This file will be read by default by the MySQL server
mysql-db                  | If you do not want to use this, either remove it, or use the
mysql-db                  | --defaults-file argument to mysqld_safe when starting the server
mysql-db                  | 
mysql-db                  | Database initialized
mysql-db                  | MySQL init process in progress...
mysql-db                  | 2018-04-20 23:00:35 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql-db                  | 2018-04-20 23:00:35 0 [Note] mysqld (mysqld 5.6.40) starting as process 88 ...
mysql-db                  | 2018-04-20 23:00:35 88 [Note] Plugin 'FEDERATED' is disabled.
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Using atomics to ref count buffer pool pages
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: The InnoDB memory heap is disabled
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Memory barrier is not used
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Compressed tables use zlib 1.2.3
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Using Linux native AIO
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Using CPU crc32 instructions
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Initializing buffer pool, size = 128.0M
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Completed initialization of buffer pool
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Highest supported file format is Barracuda.
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: 128 rollback segment(s) are active.
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: Waiting for purge to start
mysql-db                  | 2018-04-20 23:00:35 88 [Note] InnoDB: 5.6.40 started; log sequence number 1625987
mysql-db                  | 2018-04-20 23:00:35 88 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: a2846fca-44ee-11e8-9f05-0242ac160003.
mysql-db                  | 2018-04-20 23:00:35 88 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql-db                  | 2018-04-20 23:00:35 88 [Warning] 'user' entry 'root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 2018-04-20 23:00:35 88 [Warning] 'user' entry '@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 2018-04-20 23:00:35 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 2018-04-20 23:00:35 88 [Note] Event Scheduler: Loaded 0 events
mysql-db                  | 2018-04-20 23:00:35 88 [Note] mysqld: ready for connections.
mysql-db                  | Version: '5.6.40'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
mysql-db                  | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql-db                  | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql-db                  | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql-db                  | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql-db                  | 2018-04-20 23:00:38 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | 2018-04-20 23:00:38 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 
mysql-db                  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/MyDataAccount-DBinit.sql
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | 
mysql-db                  | 
mysql-db                  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/MyDataAccount-UserInit.sql
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | 2018-04-20 23:00:44 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 2018-04-20 23:00:44 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 
mysql-db                  | 
mysql-db                  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/Operator_Components-DBinit.sql
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | 2018-04-20 23:00:45 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 
mysql-db                  | 
mysql-db                  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/Service_Components-DBinit.sql
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | 2018-04-20 23:00:47 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 
mysql-db                  | 
mysql-db                  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/Service_Mockup-DBinit.sql
mysql-db                  | Warning: Using a password on the command line interface can be insecure.
mysql-db                  | 2018-04-20 23:00:47 88 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 
mysql-db                  | 
mysql-db                  | 2018-04-20 23:00:47 88 [Note] mysqld: Normal shutdown
mysql-db                  | 
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Giving 0 client threads a chance to die gracefully
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Event Scheduler: Purging the queue. 0 events
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down slave threads
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Forcefully disconnecting 0 remaining clients
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Binlog end
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'partition'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_FT_DELETED'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_METRICS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_CMPMEM'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_CMP_RESET'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_CMP'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_LOCKS'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'INNODB_TRX'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] Shutting down plugin 'InnoDB'
mysql-db                  | 2018-04-20 23:00:47 88 [Note] InnoDB: FTS optimize thread exiting.
mysql-db                  | 2018-04-20 23:00:47 88 [Note] InnoDB: Starting shutdown...
mysql-db                  | 2018-04-20 23:00:49 88 [Note] InnoDB: Shutdown completed; log sequence number 1908405
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'BLACKHOLE'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'ARCHIVE'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'MRG_MYISAM'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'MyISAM'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'MEMORY'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'CSV'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'sha256_password'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'mysql_old_password'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'mysql_native_password'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] Shutting down plugin 'binlog'
mysql-db                  | 2018-04-20 23:00:49 88 [Note] mysqld: Shutdown complete
mysql-db                  | 
mysql-db                  | 
mysql-db                  | MySQL init process done. Ready for start up.
mysql-db                  | 
mysql-db                  | 2018-04-20 23:00:50 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql-db                  | 2018-04-20 23:00:50 0 [Note] mysqld (mysqld 5.6.40) starting as process 1 ...
mysql-db                  | 2018-04-20 23:00:50 1 [Note] Plugin 'FEDERATED' is disabled.
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Using atomics to ref count buffer pool pages
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: The InnoDB memory heap is disabled
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Memory barrier is not used
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Compressed tables use zlib 1.2.3
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Using Linux native AIO
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Using CPU crc32 instructions
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Initializing buffer pool, size = 128.0M
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Completed initialization of buffer pool
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Highest supported file format is Barracuda.
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: 128 rollback segment(s) are active.
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: Waiting for purge to start
mysql-db                  | 2018-04-20 23:00:50 1 [Note] InnoDB: 5.6.40 started; log sequence number 1908405
mysql-db                  | 2018-04-20 23:00:50 1 [Note] Server hostname (bind-address): '*'; port: 3306
mysql-db                  | 2018-04-20 23:00:50 1 [Note] IPv6 is available.
mysql-db                  | 2018-04-20 23:00:50 1 [Note]   - '::' resolves to '::';
mysql-db                  | 2018-04-20 23:00:50 1 [Note] Server socket created on IP: '::'.
mysql-db                  | 2018-04-20 23:00:50 1 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql-db                  | 2018-04-20 23:00:50 1 [Warning] 'proxies_priv' entry '@ root@f139c669e31c' ignored in --skip-name-resolve mode.
mysql-db                  | 2018-04-20 23:00:50 1 [Note] Event Scheduler: Loaded 0 events
mysql-db                  | 2018-04-20 23:00:50 1 [Note] mysqld: ready for connections.
mysql-db                  | Version: '5.6.40'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
account                   | New Request
account                   | ############
account                   | 2018-04-20 23:02:06,961 - app.mod_account.view_api in function post at line: 76 - DEBUG - json_data: {"data": {"attributes": {"username": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5", "firstName": "ExampleFirstName", "lastName": "ExampleLastName", "dateOfBirth": "2010-05-14", "acceptTermsOfService": "True", "password": "example_password", "email": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org"}, "type": "Account"}}
account                   | 2018-04-20 23:02:06,965 - app.mod_account.view_api in function post at line: 87 - DEBUG - JSON validation -> OK
account                   | 2018-04-20 23:02:07,294 - app.mod_database.helpers in function get_db_cursor at line: 31 - INFO - Executing
account                   | 2018-04-20 23:02:07,320 - app.mod_database.helpers in function get_db_cursor at line: 38 - DEBUG - DB cursor at <MySQLdb.cursors.Cursor object at 0x7fb2f59c32d0>
account                   | 2018-04-20 23:02:07,320 - app.mod_account.view_api in function post at line: 112 - DEBUG - Accounts
account                   | 2018-04-20 23:02:07,320 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:07,320 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:07,320 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES (%s)'
account                   | 2018-04-20 23:02:07,320 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: b13b90b6-e4bb-435d-b401-35f7e2b72ffa
account                   | 2018-04-20 23:02:07,320 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES (b13b90b6-e4bb-435d-b401-35f7e2b72ffa)'
account                   | 2018-04-20 23:02:07,324 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES ('b13b90b6-e4bb-435d-b401-35f7e2b72ffa')
account                   | 2018-04-20 23:02:07,324 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:07,324 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,324 - app.mod_account.view_api in function post at line: 118 - DEBUG - localIdentityPWDs
account                   | 2018-04-20 23:02:07,324 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:07,324 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:07,324 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES (%s)'
account                   | 2018-04-20 23:02:07,325 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: $2b$12$Og0.p3aKSO73ch/lV4VyB.Zt87n42K7mBdGkVoNG.r.rwy8PRUC/6
account                   | 2018-04-20 23:02:07,325 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES ($2b$12$Og0.p3aKSO73ch/lV4VyB.Zt87n42K7mBdGkVoNG.r.rwy8PRUC/6)'
account                   | 2018-04-20 23:02:07,326 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES ('$2b$12$Og0.p3aKSO73ch/lV4VyB.Zt87n42K7mBdGkVoNG.r.rwy8PRUC/6')
account                   | 2018-04-20 23:02:07,326 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:07,326 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,326 - app.mod_account.view_api in function post at line: 124 - DEBUG - localIdentities
account                   | 2018-04-20 23:02:07,326 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:07,327 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:07,327 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES (%s, %s, %s)'
account                   | 2018-04-20 23:02:07,327 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: example_username-37023880-902d-40e6-b83f-bca72f0e12e5
account                   | 2018-04-20 23:02:07,327 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: 1
account                   | 2018-04-20 23:02:07,327 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 1
account                   | 2018-04-20 23:02:07,327 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES (example_username-37023880-902d-40e6-b83f-bca72f0e12e5, 1, 1)'
account                   | 2018-04-20 23:02:07,328 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES ('example_username-37023880-902d-40e6-b83f-bca72f0e12e5', 1, '1')
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,329 - app.mod_account.view_api in function post at line: 134 - DEBUG - salts
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES (%s, %s)'
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: $2b$12$Og0.p3aKSO73ch/lV4VyB.
account                   | 2018-04-20 23:02:07,329 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: 1
account                   | 2018-04-20 23:02:07,330 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES ($2b$12$Og0.p3aKSO73ch/lV4VyB., 1)'
account                   | 2018-04-20 23:02:07,331 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES ('$2b$12$Og0.p3aKSO73ch/lV4VyB.', 1)
account                   | 2018-04-20 23:02:07,331 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:07,331 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,331 - app.mod_account.view_api in function post at line: 143 - DEBUG - particulars
account                   | 2018-04-20 23:02:07,331 - app.mod_account.view_api in function post at line: 150 - DEBUG - to_dict: {'account_id': '1', 'firstname': u'ExampleFirstName', 'deleted': 0, 'lastname': u'ExampleLastName', 'date_of_birth': u'2010-05-14', 'table_name': 'MyDataAccount.Particulars', 'img_url': 'img/avatars/mydata-avatar.png', 'id': ''}
account                   | 2018-04-20 23:02:07,331 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:07,331 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: "INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES (%s, %s, STR_TO_DATE(%s, '%%Y-%%m-%%d'), %s, %s)"
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: ExampleFirstName
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: ExampleLastName
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 2010-05-14
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[3]: img/avatars/mydata-avatar.png
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[4]: 1
account                   | 2018-04-20 23:02:07,332 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: "INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES (ExampleFirstName, ExampleLastName, STR_TO_DATE(2010-05-14, '%Y-%m-%d'), img/avatars/mydata-avatar.png, 1)"
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES ('ExampleFirstName', 'ExampleLastName', STR_TO_DATE('2010-05-14', '%Y-%m-%d'), 'img/avatars/mydata-avatar.png', 1)
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,334 - app.mod_account.view_api in function post at line: 155 - DEBUG - emails
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES (%s, %s, %s, %s)'
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org
account                   | 2018-04-20 23:02:07,334 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: Personal
account                   | 2018-04-20 23:02:07,335 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 0
account                   | 2018-04-20 23:02:07,335 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[3]: 1
account                   | 2018-04-20 23:02:07,335 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES (example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org, Personal, 0, 1)'
account                   | 2018-04-20 23:02:07,336 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES ('example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org', 'Personal', '0', 1)
account                   | 2018-04-20 23:02:07,336 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:07,336 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,410 - app.mod_account.view_api in function post at line: 175 - DEBUG - Account commited
account                   | 2018-04-20 23:02:07,410 - app.mod_account.view_api in function post at line: 178 - INFO - Generating Key for Account
account                   | 2018-04-20 23:02:07,410 - mod_blackbox_controllers in function gen_account_key at line: 174 - DEBUG - Generated account_kid: acc-kid-7dde3a4b-0558-4cec-9c2a-8e223b0e9d69
account                   | 2018-04-20 23:02:07,476 - mod_blackbox_services in function jwk_object_to_json at line: 417 - DEBUG - JWK exported
account                   | 2018-04-20 23:02:07,476 - mod_blackbox_services in function jwk_object_to_json at line: 418 - DEBUG - jwk_json: '{"d":"LFlwqDbJZidwY1KePX246ZkLhHhPrRWC2f-lz1A3AkU","crv":"P-256","kty":"EC","y":"2cqo9bgw1J1Uh68UlD0QEDRvbnWzmwYntRsoq390GUw","x":"0Yc6mccdv2dxlCeXaUdPakNvPzgf9nnFLIIyRMSMkjU","cvr":"P-256","kid":"acc-kid-7dde3a4b-0558-4cec-9c2a-8e223b0e9d69"}'
account                   | 2018-04-20 23:02:07,476 - mod_blackbox_services in function gen_key_as_jwk at line: 465 - DEBUG - JWK for account generated
account                   | 2018-04-20 23:02:07,477 - mod_blackbox_services in function gen_key_as_jwk at line: 466 - DEBUG - account_key: '{"d":"LFlwqDbJZidwY1KePX246ZkLhHhPrRWC2f-lz1A3AkU","crv":"P-256","kty":"EC","y":"2cqo9bgw1J1Uh68UlD0QEDRvbnWzmwYntRsoq390GUw","x":"0Yc6mccdv2dxlCeXaUdPakNvPzgf9nnFLIIyRMSMkjU","cvr":"P-256","kid":"acc-kid-7dde3a4b-0558-4cec-9c2a-8e223b0e9d69"}'
account                   | 2018-04-20 23:02:07,477 - mod_blackbox_services in function get_sqlite_connection at line: 102 - DEBUG - init_db = True
account                   | 2018-04-20 23:02:07,491 - mod_blackbox_services in function init_sqlite_db at line: 78 - DEBUG - Initializing database
account                   | 2018-04-20 23:02:07,591 - mod_blackbox_services in function init_sqlite_db at line: 87 - DEBUG - Database initialized
account                   | 2018-04-20 23:02:07,592 - mod_blackbox_services in function get_sqlite_connection at line: 118 - DEBUG - DB connection at <sqlite3.Connection object at 0x7fb2f57a33d0>
account                   | 2018-04-20 23:02:07,592 - mod_blackbox_services in function get_sqlite_cursor at line: 139 - DEBUG - DB cursor at <sqlite3.Cursor object at 0x7fb2f591d500>
account                   | 2018-04-20 23:02:07,593 - mod_blackbox_services in function execute_sql_insert at line: 166 - DEBUG - SQL query executed
account                   | 2018-04-20 23:02:07,593 - mod_blackbox_services in function execute_sql_insert at line: 176 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,691 - mod_blackbox_controllers in function store_jwk at line: 160 - DEBUG - JWK, kid and account_id stored
account                   | 2018-04-20 23:02:07,691 - mod_blackbox_controllers in function gen_account_key at line: 190 - INFO - For account with id: 1 has been generated JWK with kid: acc-kid-7dde3a4b-0558-4cec-9c2a-8e223b0e9d69
account                   | 2018-04-20 23:02:07,692 - app.mod_account.view_api in function post at line: 185 - INFO - Generated Key for Account with Key ID: acc-kid-7dde3a4b-0558-4cec-9c2a-8e223b0e9d69
account                   | 2018-04-20 23:02:07,692 - app.mod_account.view_api in function post at line: 188 - INFO - Generating API Key for Account
account                   | 2018-04-20 23:02:07,692 - mod_api_auth_controllers in function gen_account_api_key at line: 82 - DEBUG - Generated account_api_key: YWNjb3VudC1hcGkta2V5LTM1MDBlM2QwLWU5M2MtNGViNy05YTUzLWRkYmNmNjhlN2VjYw==
account                   | 2018-04-20 23:02:07,693 - mod_api_auth_services in function get_sqlite_connection at line: 97 - DEBUG - init_db = True
account                   | 2018-04-20 23:02:07,693 - mod_api_auth_services in function init_sqlite_db at line: 73 - DEBUG - Initializing database
account                   | 2018-04-20 23:02:07,798 - mod_api_auth_services in function init_sqlite_db at line: 82 - DEBUG - Database initialized
account                   | 2018-04-20 23:02:07,799 - mod_api_auth_services in function get_sqlite_connection at line: 113 - DEBUG - DB connection at <sqlite3.Connection object at 0x7fb2f57a33d0>
account                   | 2018-04-20 23:02:07,799 - mod_api_auth_services in function get_sqlite_cursor at line: 134 - DEBUG - DB cursor at <sqlite3.Cursor object at 0x7fb2f591d730>
account                   | 2018-04-20 23:02:07,800 - mod_api_auth_services in function execute_sql_insert at line: 161 - DEBUG - SQL query executed
account                   | 2018-04-20 23:02:07,800 - mod_api_auth_services in function execute_sql_insert at line: 171 - DEBUG - cursor.lastrowid: 1
account                   | 2018-04-20 23:02:07,898 - mod_api_auth_controllers in function store_api_key at line: 67 - DEBUG - API Key and account_id stored
account                   | 2018-04-20 23:02:07,898 - mod_api_auth_controllers in function gen_account_api_key at line: 91 - INFO - For account with id: 1 has been generated Api Key: YWNjb3VudC1hcGkta2V5LTM1MDBlM2QwLWU5M2MtNGViNy05YTUzLWRkYmNmNjhlN2VjYw==
account                   | 2018-04-20 23:02:07,898 - app.mod_account.view_api in function post at line: 195 - INFO - Generated API Key: YWNjb3VudC1hcGkta2V5LTM1MDBlM2QwLWU5M2MtNGViNy05YTUzLWRkYmNmNjhlN2VjYw==
account                   | 2018-04-20 23:02:07,899 - app.mod_account.view_api in function post at line: 198 - DEBUG - data: ()
account                   | 2018-04-20 23:02:07,899 - app.mod_account.view_api in function post at line: 214 - INFO - Response data ready
account                   | 2018-04-20 23:02:07,899 - app.mod_account.view_api in function post at line: 215 - DEBUG - response_data: {'meta': {'activationInstructions': 'Account activated already'}, 'data': {'attributes': {u'username': u'example_username-37023880-902d-40e6-b83f-bca72f0e12e5', u'firstName': u'ExampleFirstName', u'lastName': u'ExampleLastName', u'dateOfBirth': u'2010-05-14', u'acceptTermsOfService': u'True', u'password': u'example_password', u'email': u'example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org'}, 'type': 'Account', 'id': '1'}}
account                   | 2018-04-20 23:02:07,899 - app.mod_account.view_api in function post at line: 218 - DEBUG - response_data_dict: {'meta': {'activationInstructions': 'Account activated already'}, 'data': {'attributes': {u'username': u'example_username-37023880-902d-40e6-b83f-bca72f0e12e5', u'firstName': u'ExampleFirstName', u'lastName': u'ExampleLastName', u'dateOfBirth': u'2010-05-14', u'acceptTermsOfService': u'True', u'password': u'example_password', u'email': u'example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org'}, 'type': 'Account', 'id': '1'}}
account                   | 2018-04-20 23:02:07,900 - make_json_response in function make_json_response at line: 129 - DEBUG - data was dict()
account                   | 2018-04-20 23:02:07,900 - make_json_response in function make_json_response at line: 160 - DEBUG - response_data: {"data": {"attributes": {"acceptTermsOfService": "True", "dateOfBirth": "2010-05-14", "email": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org", "firstName": "ExampleFirstName", "lastName": "ExampleLastName", "password": "example_password", "username": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5"}, "id": "1", "type": "Account"}, "meta": {"activationInstructions": "Account activated already"}}
account                   | 2018-04-20 23:02:07,901 - make_json_response in function make_json_response at line: 166 - INFO - Resposne status code: 201
account                   | [pid: 9|app: 0|req: 1/1] 172.22.0.1 () {32 vars in 412 bytes} [Fri Apr 20 23:02:06 2018] POST /api/accounts/ => generated 583 bytes in 947 msecs (HTTP/1.1 201) 2 headers in 77 bytes (1 switches on core 0)
account                   | New Request
account                   | ############
account                   | 2018-04-20 23:02:07,913 - app.mod_account.view_api in function post at line: 76 - DEBUG - json_data: {"data": {"attributes": {"username": "pasi", "firstName": "Iso", "lastName": "Pasi", "dateOfBirth": "2010-05-14", "acceptTermsOfService": "True", "password": "0nk0va", "email": "iso.pasi@example.org"}, "type": "Account"}}
account                   | 2018-04-20 23:02:07,915 - app.mod_account.view_api in function post at line: 87 - DEBUG - JSON validation -> OK
account                   | 2018-04-20 23:02:08,226 - app.mod_database.helpers in function get_db_cursor at line: 31 - INFO - Executing
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function get_db_cursor at line: 38 - DEBUG - DB cursor at <MySQLdb.cursors.Cursor object at 0x7fb2f599ef10>
account                   | 2018-04-20 23:02:08,228 - app.mod_account.view_api in function post at line: 112 - DEBUG - Accounts
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES (%s)'
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: 7f000c97-f843-474d-b9a0-8478d3943e9c
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES (7f000c97-f843-474d-b9a0-8478d3943e9c)'
account                   | 2018-04-20 23:02:08,228 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES ('7f000c97-f843-474d-b9a0-8478d3943e9c')
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,229 - app.mod_account.view_api in function post at line: 118 - DEBUG - localIdentityPWDs
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES (%s)'
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: $2b$12$HUeW4V2iSZpXkdtgCi8WdudBoowLHOi8tLXpY/JXaRKVSeV2SSlyq
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES ($2b$12$HUeW4V2iSZpXkdtgCi8WdudBoowLHOi8tLXpY/JXaRKVSeV2SSlyq)'
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES ('$2b$12$HUeW4V2iSZpXkdtgCi8WdudBoowLHOi8tLXpY/JXaRKVSeV2SSlyq')
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,229 - app.mod_account.view_api in function post at line: 124 - DEBUG - localIdentities
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:08,229 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES (%s, %s, %s)'
account                   | 2018-04-20 23:02:08,230 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: pasi
account                   | 2018-04-20 23:02:08,230 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: 2
account                   | 2018-04-20 23:02:08,230 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 2
account                   | 2018-04-20 23:02:08,230 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES (pasi, 2, 2)'
account                   | 2018-04-20 23:02:08,310 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES ('pasi', 2, '2')
account                   | 2018-04-20 23:02:08,310 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:08,310 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,310 - app.mod_account.view_api in function post at line: 134 - DEBUG - salts
account                   | 2018-04-20 23:02:08,311 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:08,311 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:08,311 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES (%s, %s)'
account                   | 2018-04-20 23:02:08,311 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: $2b$12$HUeW4V2iSZpXkdtgCi8Wdu
account                   | 2018-04-20 23:02:08,311 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: 2
account                   | 2018-04-20 23:02:08,312 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES ($2b$12$HUeW4V2iSZpXkdtgCi8Wdu, 2)'
account                   | 2018-04-20 23:02:08,392 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES ('$2b$12$HUeW4V2iSZpXkdtgCi8Wdu', 2)
account                   | 2018-04-20 23:02:08,393 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:08,393 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,393 - app.mod_account.view_api in function post at line: 143 - DEBUG - particulars
account                   | 2018-04-20 23:02:08,393 - app.mod_account.view_api in function post at line: 150 - DEBUG - to_dict: {'account_id': '2', 'firstname': u'Iso', 'deleted': 0, 'lastname': u'Pasi', 'date_of_birth': u'2010-05-14', 'table_name': 'MyDataAccount.Particulars', 'img_url': 'img/avatars/mydata-avatar.png', 'id': ''}
account                   | 2018-04-20 23:02:08,393 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:08,393 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:08,393 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: "INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES (%s, %s, STR_TO_DATE(%s, '%%Y-%%m-%%d'), %s, %s)"
account                   | 2018-04-20 23:02:08,394 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: Iso
account                   | 2018-04-20 23:02:08,394 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: Pasi
account                   | 2018-04-20 23:02:08,394 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 2010-05-14
account                   | 2018-04-20 23:02:08,394 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[3]: img/avatars/mydata-avatar.png
account                   | 2018-04-20 23:02:08,394 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[4]: 2
account                   | 2018-04-20 23:02:08,394 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: "INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES (Iso, Pasi, STR_TO_DATE(2010-05-14, '%Y-%m-%d'), img/avatars/mydata-avatar.png, 2)"
account                   | 2018-04-20 23:02:08,475 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES ('Iso', 'Pasi', STR_TO_DATE('2010-05-14', '%Y-%m-%d'), 'img/avatars/mydata-avatar.png', 2)
account                   | 2018-04-20 23:02:08,476 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:08,476 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,476 - app.mod_account.view_api in function post at line: 155 - DEBUG - emails
account                   | 2018-04-20 23:02:08,476 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:08,476 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:08,477 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES (%s, %s, %s, %s)'
account                   | 2018-04-20 23:02:08,477 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: iso.pasi@example.org
account                   | 2018-04-20 23:02:08,477 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: Personal
account                   | 2018-04-20 23:02:08,477 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 0
account                   | 2018-04-20 23:02:08,478 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[3]: 2
account                   | 2018-04-20 23:02:08,478 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES (iso.pasi@example.org, Personal, 0, 2)'
account                   | 2018-04-20 23:02:08,558 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES ('iso.pasi@example.org', 'Personal', '0', 2)
account                   | 2018-04-20 23:02:08,558 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:08,559 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,640 - app.mod_account.view_api in function post at line: 175 - DEBUG - Account commited
account                   | 2018-04-20 23:02:08,641 - app.mod_account.view_api in function post at line: 178 - INFO - Generating Key for Account
account                   | 2018-04-20 23:02:08,641 - mod_blackbox_controllers in function gen_account_key at line: 174 - DEBUG - Generated account_kid: acc-kid-565cc45c-7c12-4f6b-ba38-bd6e903e106d
account                   | 2018-04-20 23:02:08,643 - mod_blackbox_services in function jwk_object_to_json at line: 417 - DEBUG - JWK exported
account                   | 2018-04-20 23:02:08,643 - mod_blackbox_services in function jwk_object_to_json at line: 418 - DEBUG - jwk_json: '{"d":"UDKoV-a0k0OoOVCNLwHCO9cZqcFrZs31sYrFnKuVk8k","crv":"P-256","kty":"EC","y":"OXOveCD3UMUE-ALdnMBpJNhbFqIDxivlqmr0q-8KQFQ","x":"8ouid6EhmkbvXDLcelEjg3wM9YUvYRciMqqXrI79HOU","cvr":"P-256","kid":"acc-kid-565cc45c-7c12-4f6b-ba38-bd6e903e106d"}'
account                   | 2018-04-20 23:02:08,644 - mod_blackbox_services in function gen_key_as_jwk at line: 465 - DEBUG - JWK for account generated
account                   | 2018-04-20 23:02:08,644 - mod_blackbox_services in function gen_key_as_jwk at line: 466 - DEBUG - account_key: '{"d":"UDKoV-a0k0OoOVCNLwHCO9cZqcFrZs31sYrFnKuVk8k","crv":"P-256","kty":"EC","y":"OXOveCD3UMUE-ALdnMBpJNhbFqIDxivlqmr0q-8KQFQ","x":"8ouid6EhmkbvXDLcelEjg3wM9YUvYRciMqqXrI79HOU","cvr":"P-256","kid":"acc-kid-565cc45c-7c12-4f6b-ba38-bd6e903e106d"}'
account                   | 2018-04-20 23:02:08,644 - mod_blackbox_services in function get_sqlite_connection at line: 99 - DEBUG - init_db = False
account                   | 2018-04-20 23:02:08,645 - mod_blackbox_services in function get_sqlite_connection at line: 118 - DEBUG - DB connection at <sqlite3.Connection object at 0x7fb2f57264b8>
account                   | 2018-04-20 23:02:08,645 - mod_blackbox_services in function get_sqlite_cursor at line: 139 - DEBUG - DB cursor at <sqlite3.Cursor object at 0x7fb2f591d500>
account                   | 2018-04-20 23:02:08,646 - mod_blackbox_services in function execute_sql_insert at line: 166 - DEBUG - SQL query executed
account                   | 2018-04-20 23:02:08,646 - mod_blackbox_services in function execute_sql_insert at line: 176 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,782 - mod_blackbox_controllers in function store_jwk at line: 160 - DEBUG - JWK, kid and account_id stored
account                   | 2018-04-20 23:02:08,782 - mod_blackbox_controllers in function gen_account_key at line: 190 - INFO - For account with id: 2 has been generated JWK with kid: acc-kid-565cc45c-7c12-4f6b-ba38-bd6e903e106d
account                   | 2018-04-20 23:02:08,783 - app.mod_account.view_api in function post at line: 185 - INFO - Generated Key for Account with Key ID: acc-kid-565cc45c-7c12-4f6b-ba38-bd6e903e106d
account                   | 2018-04-20 23:02:08,783 - app.mod_account.view_api in function post at line: 188 - INFO - Generating API Key for Account
account                   | 2018-04-20 23:02:08,783 - mod_api_auth_controllers in function gen_account_api_key at line: 82 - DEBUG - Generated account_api_key: YWNjb3VudC1hcGkta2V5LWM3NThjOWQ1LTU0NDUtNDllMC04OWRhLTdiMzk0MGFjODFkNQ==
account                   | 2018-04-20 23:02:08,784 - mod_api_auth_services in function get_sqlite_connection at line: 94 - DEBUG - init_db = False
account                   | 2018-04-20 23:02:08,784 - mod_api_auth_services in function get_sqlite_connection at line: 113 - DEBUG - DB connection at <sqlite3.Connection object at 0x7fb2f57264b8>
account                   | 2018-04-20 23:02:08,784 - mod_api_auth_services in function get_sqlite_cursor at line: 134 - DEBUG - DB cursor at <sqlite3.Cursor object at 0x7fb2f591d730>
account                   | 2018-04-20 23:02:08,785 - mod_api_auth_services in function execute_sql_insert at line: 161 - DEBUG - SQL query executed
account                   | 2018-04-20 23:02:08,785 - mod_api_auth_services in function execute_sql_insert at line: 171 - DEBUG - cursor.lastrowid: 2
account                   | 2018-04-20 23:02:08,906 - mod_api_auth_controllers in function store_api_key at line: 67 - DEBUG - API Key and account_id stored
account                   | 2018-04-20 23:02:08,907 - mod_api_auth_controllers in function gen_account_api_key at line: 91 - INFO - For account with id: 2 has been generated Api Key: YWNjb3VudC1hcGkta2V5LWM3NThjOWQ1LTU0NDUtNDllMC04OWRhLTdiMzk0MGFjODFkNQ==
account                   | 2018-04-20 23:02:08,907 - app.mod_account.view_api in function post at line: 195 - INFO - Generated API Key: YWNjb3VudC1hcGkta2V5LWM3NThjOWQ1LTU0NDUtNDllMC04OWRhLTdiMzk0MGFjODFkNQ==
account                   | 2018-04-20 23:02:08,907 - app.mod_account.view_api in function post at line: 198 - DEBUG - data: ()
account                   | 2018-04-20 23:02:08,907 - app.mod_account.view_api in function post at line: 214 - INFO - Response data ready
account                   | 2018-04-20 23:02:08,908 - app.mod_account.view_api in function post at line: 215 - DEBUG - response_data: {'meta': {'activationInstructions': 'Account activated already'}, 'data': {'attributes': {u'username': u'pasi', u'firstName': u'Iso', u'lastName': u'Pasi', u'dateOfBirth': u'2010-05-14', u'acceptTermsOfService': u'True', u'password': u'0nk0va', u'email': u'iso.pasi@example.org'}, 'type': 'Account', 'id': '2'}}
account                   | 2018-04-20 23:02:08,908 - app.mod_account.view_api in function post at line: 218 - DEBUG - response_data_dict: {'meta': {'activationInstructions': 'Account activated already'}, 'data': {'attributes': {u'username': u'pasi', u'firstName': u'Iso', u'lastName': u'Pasi', u'dateOfBirth': u'2010-05-14', u'acceptTermsOfService': u'True', u'password': u'0nk0va', u'email': u'iso.pasi@example.org'}, 'type': 'Account', 'id': '2'}}
account                   | 2018-04-20 23:02:08,908 - make_json_response in function make_json_response at line: 129 - DEBUG - data was dict()
account                   | 2018-04-20 23:02:08,909 - make_json_response in function make_json_response at line: 160 - DEBUG - response_data: {"data": {"attributes": {"acceptTermsOfService": "True", "dateOfBirth": "2010-05-14", "email": "iso.pasi@example.org", "firstName": "Iso", "lastName": "Pasi", "password": "0nk0va", "username": "pasi"}, "id": "2", "type": "Account"}, "meta": {"activationInstructions": "Account activated already"}}
account                   | 2018-04-20 23:02:08,909 - make_json_response in function make_json_response at line: 166 - INFO - Resposne status code: 201
account                   | [pid: 9|app: 0|req: 2/2] 172.22.0.1 () {32 vars in 412 bytes} [Fri Apr 20 23:02:07 2018] POST /api/accounts/ => generated 455 bytes in 998 msecs (HTTP/1.1 201) 2 headers in 77 bytes (1 switches on core 0)
account                   | New Request
account                   | ############
account                   | 2018-04-20 23:02:08,922 - app.mod_account.view_api in function post at line: 76 - DEBUG - json_data: {"data": {"attributes": {"username": "mydata", "firstName": "Dude", "lastName": "Dudeson", "dateOfBirth": "2010-05-14", "acceptTermsOfService": "True", "password": "Hello", "email": "dude.dudeson@example.org"}, "type": "Account"}}
account                   | 2018-04-20 23:02:08,925 - app.mod_account.view_api in function post at line: 87 - DEBUG - JSON validation -> OK
account                   | 2018-04-20 23:02:09,260 - app.mod_database.helpers in function get_db_cursor at line: 31 - INFO - Executing
account                   | 2018-04-20 23:02:09,264 - app.mod_database.helpers in function get_db_cursor at line: 38 - DEBUG - DB cursor at <MySQLdb.cursors.Cursor object at 0x7fb2f59c3290>
account                   | 2018-04-20 23:02:09,264 - app.mod_account.view_api in function post at line: 112 - DEBUG - Accounts
account                   | 2018-04-20 23:02:09,264 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:09,264 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES (%s)'
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: 59c42a01-c358-4207-9a97-9baac0c9069c
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES (59c42a01-c358-4207-9a97-9baac0c9069c)'
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Accounts (globalIdentifier) VALUES ('59c42a01-c358-4207-9a97-9baac0c9069c')
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,265 - app.mod_account.view_api in function post at line: 118 - DEBUG - localIdentityPWDs
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:09,265 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES (%s)'
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: $2b$12$dY9I1VGp4uz595975ceGIufYXHSQDD.lpf9DCTDaNcpZi3N.EPTBW
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES ($2b$12$dY9I1VGp4uz595975ceGIufYXHSQDD.lpf9DCTDaNcpZi3N.EPTBW)'
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.LocalIdentityPWDs (password) VALUES ('$2b$12$dY9I1VGp4uz595975ceGIufYXHSQDD.lpf9DCTDaNcpZi3N.EPTBW')
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,266 - app.mod_account.view_api in function post at line: 124 - DEBUG - localIdentities
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES (%s, %s, %s)'
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: mydata
account                   | 2018-04-20 23:02:09,266 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: 3
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 3
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES (mydata, 3, 3)'
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.LocalIdentities (username, Accounts_id, LocalIdentityPWDs_id) VALUES ('mydata', 3, '3')
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,267 - app.mod_account.view_api in function post at line: 134 - DEBUG - salts
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES (%s, %s)'
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: $2b$12$dY9I1VGp4uz595975ceGIu
account                   | 2018-04-20 23:02:09,267 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: 3
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES ($2b$12$dY9I1VGp4uz595975ceGIu, 3)'
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Salts (salt, LocalIdentities_id) VALUES ('$2b$12$dY9I1VGp4uz595975ceGIu', 3)
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,268 - app.mod_account.view_api in function post at line: 143 - DEBUG - particulars
account                   | 2018-04-20 23:02:09,268 - app.mod_account.view_api in function post at line: 150 - DEBUG - to_dict: {'account_id': '3', 'firstname': u'Dude', 'deleted': 0, 'lastname': u'Dudeson', 'date_of_birth': u'2010-05-14', 'table_name': 'MyDataAccount.Particulars', 'img_url': 'img/avatars/mydata-avatar.png', 'id': ''}
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: "INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES (%s, %s, STR_TO_DATE(%s, '%%Y-%%m-%%d'), %s, %s)"
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: Dude
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: Dudeson
account                   | 2018-04-20 23:02:09,268 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 2010-05-14
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[3]: img/avatars/mydata-avatar.png
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[4]: 3
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: "INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES (Dude, Dudeson, STR_TO_DATE(2010-05-14, '%Y-%m-%d'), img/avatars/mydata-avatar.png, 3)"
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Particulars (firstname, lastname, dateOfBirth, img_url, Accounts_id) VALUES ('Dude', 'Dudeson', STR_TO_DATE('2010-05-14', '%Y-%m-%d'), 'img/avatars/mydata-avatar.png', 3)
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,269 - app.mod_account.view_api in function post at line: 155 - DEBUG - emails
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function execute_sql_insert_2 at line: 86 - INFO - Executing
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 16 - INFO - Executing
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 22 - DEBUG - sql_query: 'INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES (%s, %s, %s, %s)'
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[0]: dude.dudeson@example.org
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[1]: Personal
account                   | 2018-04-20 23:02:09,269 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[2]: 0
account                   | 2018-04-20 23:02:09,270 - app.mod_database.helpers in function log_query at line: 25 - DEBUG - arguments[3]: 3
account                   | 2018-04-20 23:02:09,270 - app.mod_database.helpers in function log_query at line: 27 - DEBUG - SQL query to execute: 'INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES (dude.dudeson@example.org, Personal, 0, 3)'
account                   | 2018-04-20 23:02:09,270 - app.mod_database.helpers in function execute_sql_insert_2 at line: 95 - DEBUG - Executed SQL query: INSERT INTO MyDataAccount.Emails (email, entryType, prime, Accounts_id) VALUES ('dude.dudeson@example.org', 'Personal', '0', 3)
account                   | 2018-04-20 23:02:09,270 - app.mod_database.helpers in function execute_sql_insert_2 at line: 96 - DEBUG - Affected rows: 1
account                   | 2018-04-20 23:02:09,270 - app.mod_database.helpers in function execute_sql_insert_2 at line: 107 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,302 - app.mod_account.view_api in function post at line: 175 - DEBUG - Account commited
account                   | 2018-04-20 23:02:09,302 - app.mod_account.view_api in function post at line: 178 - INFO - Generating Key for Account
account                   | 2018-04-20 23:02:09,302 - mod_blackbox_controllers in function gen_account_key at line: 174 - DEBUG - Generated account_kid: acc-kid-6c80bd29-bef1-403e-818d-4dd2b0e5c410
account                   | 2018-04-20 23:02:09,335 - mod_blackbox_services in function jwk_object_to_json at line: 417 - DEBUG - JWK exported
account                   | 2018-04-20 23:02:09,335 - mod_blackbox_services in function jwk_object_to_json at line: 418 - DEBUG - jwk_json: '{"d":"DOe_yrUN-un4RUo917clafpmZaE-PZ13hmylGPmRu6M","crv":"P-256","kty":"EC","y":"SNWaRHzbNOvbaT_weeF2Ms3JzMS4gb3x5MtUFNIRupo","x":"OgCrIVzHhko3_pedyml_VclC74yl_CvfV6Nj3RbizIk","cvr":"P-256","kid":"acc-kid-6c80bd29-bef1-403e-818d-4dd2b0e5c410"}'
account                   | 2018-04-20 23:02:09,335 - mod_blackbox_services in function gen_key_as_jwk at line: 465 - DEBUG - JWK for account generated
account                   | 2018-04-20 23:02:09,335 - mod_blackbox_services in function gen_key_as_jwk at line: 466 - DEBUG - account_key: '{"d":"DOe_yrUN-un4RUo917clafpmZaE-PZ13hmylGPmRu6M","crv":"P-256","kty":"EC","y":"SNWaRHzbNOvbaT_weeF2Ms3JzMS4gb3x5MtUFNIRupo","x":"OgCrIVzHhko3_pedyml_VclC74yl_CvfV6Nj3RbizIk","cvr":"P-256","kid":"acc-kid-6c80bd29-bef1-403e-818d-4dd2b0e5c410"}'
account                   | 2018-04-20 23:02:09,335 - mod_blackbox_services in function get_sqlite_connection at line: 99 - DEBUG - init_db = False
account                   | 2018-04-20 23:02:09,335 - mod_blackbox_services in function get_sqlite_connection at line: 118 - DEBUG - DB connection at <sqlite3.Connection object at 0x7fb2f57ac2e8>
account                   | 2018-04-20 23:02:09,336 - mod_blackbox_services in function get_sqlite_cursor at line: 139 - DEBUG - DB cursor at <sqlite3.Cursor object at 0x7fb2f591d500>
account                   | 2018-04-20 23:02:09,336 - mod_blackbox_services in function execute_sql_insert at line: 166 - DEBUG - SQL query executed
account                   | 2018-04-20 23:02:09,336 - mod_blackbox_services in function execute_sql_insert at line: 176 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,450 - mod_blackbox_controllers in function store_jwk at line: 160 - DEBUG - JWK, kid and account_id stored
account                   | 2018-04-20 23:02:09,451 - mod_blackbox_controllers in function gen_account_key at line: 190 - INFO - For account with id: 3 has been generated JWK with kid: acc-kid-6c80bd29-bef1-403e-818d-4dd2b0e5c410
account                   | 2018-04-20 23:02:09,451 - app.mod_account.view_api in function post at line: 185 - INFO - Generated Key for Account with Key ID: acc-kid-6c80bd29-bef1-403e-818d-4dd2b0e5c410
account                   | 2018-04-20 23:02:09,451 - app.mod_account.view_api in function post at line: 188 - INFO - Generating API Key for Account
account                   | 2018-04-20 23:02:09,451 - mod_api_auth_controllers in function gen_account_api_key at line: 82 - DEBUG - Generated account_api_key: YWNjb3VudC1hcGkta2V5LTU5ZWFmMjJhLTdkOGEtNGFiZC1hOWU0LWI2OWIxM2IwYmU2OQ==
account                   | 2018-04-20 23:02:09,452 - mod_api_auth_services in function get_sqlite_connection at line: 94 - DEBUG - init_db = False
account                   | 2018-04-20 23:02:09,452 - mod_api_auth_services in function get_sqlite_connection at line: 113 - DEBUG - DB connection at <sqlite3.Connection object at 0x7fb2f57ac2e8>
account                   | 2018-04-20 23:02:09,452 - mod_api_auth_services in function get_sqlite_cursor at line: 134 - DEBUG - DB cursor at <sqlite3.Cursor object at 0x7fb2f591d730>
account                   | 2018-04-20 23:02:09,453 - mod_api_auth_services in function execute_sql_insert at line: 161 - DEBUG - SQL query executed
account                   | 2018-04-20 23:02:09,453 - mod_api_auth_services in function execute_sql_insert at line: 171 - DEBUG - cursor.lastrowid: 3
account                   | 2018-04-20 23:02:09,575 - mod_api_auth_controllers in function store_api_key at line: 67 - DEBUG - API Key and account_id stored
account                   | 2018-04-20 23:02:09,575 - mod_api_auth_controllers in function gen_account_api_key at line: 91 - INFO - For account with id: 3 has been generated Api Key: YWNjb3VudC1hcGkta2V5LTU5ZWFmMjJhLTdkOGEtNGFiZC1hOWU0LWI2OWIxM2IwYmU2OQ==
account                   | 2018-04-20 23:02:09,575 - app.mod_account.view_api in function post at line: 195 - INFO - Generated API Key: YWNjb3VudC1hcGkta2V5LTU5ZWFmMjJhLTdkOGEtNGFiZC1hOWU0LWI2OWIxM2IwYmU2OQ==
account                   | 2018-04-20 23:02:09,575 - app.mod_account.view_api in function post at line: 198 - DEBUG - data: ()
account                   | 2018-04-20 23:02:09,576 - app.mod_account.view_api in function post at line: 214 - INFO - Response data ready
account                   | 2018-04-20 23:02:09,576 - app.mod_account.view_api in function post at line: 215 - DEBUG - response_data: {'meta': {'activationInstructions': 'Account activated already'}, 'data': {'attributes': {u'username': u'mydata', u'firstName': u'Dude', u'lastName': u'Dudeson', u'dateOfBirth': u'2010-05-14', u'acceptTermsOfService': u'True', u'password': u'Hello', u'email': u'dude.dudeson@example.org'}, 'type': 'Account', 'id': '3'}}
account                   | 2018-04-20 23:02:09,576 - app.mod_account.view_api in function post at line: 218 - DEBUG - response_data_dict: {'meta': {'activationInstructions': 'Account activated already'}, 'data': {'attributes': {u'username': u'mydata', u'firstName': u'Dude', u'lastName': u'Dudeson', u'dateOfBirth': u'2010-05-14', u'acceptTermsOfService': u'True', u'password': u'Hello', u'email': u'dude.dudeson@example.org'}, 'type': 'Account', 'id': '3'}}
account                   | 2018-04-20 23:02:09,576 - make_json_response in function make_json_response at line: 129 - DEBUG - data was dict()
account                   | 2018-04-20 23:02:09,577 - make_json_response in function make_json_response at line: 160 - DEBUG - response_data: {"data": {"attributes": {"acceptTermsOfService": "True", "dateOfBirth": "2010-05-14", "email": "dude.dudeson@example.org", "firstName": "Dude", "lastName": "Dudeson", "password": "Hello", "username": "mydata"}, "id": "3", "type": "Account"}, "meta": {"activationInstructions": "Account activated already"}}
account                   | 2018-04-20 23:02:09,577 - make_json_response in function make_json_response at line: 166 - INFO - Resposne status code: 201
account                   | [pid: 1|app: 0|req: 1/3] 172.22.0.1 () {32 vars in 412 bytes} [Fri Apr 20 23:02:08 2018] POST /api/accounts/ => generated 464 bytes in 658 msecs (HTTP/1.1 201) 2 headers in 77 bytes (1 switches on core 0)
operator_components       | INFO:debug:Making request GET https://sandbox.mydata.fi/registry/search/api/v1/services/582f2bf50cf2f4663ec4f020
operator_components       | ERROR:debug:HTTPSConnectionPool(host='sandbox.mydata.fi', port=443): Max retries exceeded with url: /registry/search/api/v1/services/582f2bf50cf2f4663ec4f020 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0af8a306d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
operator_components       | Traceback (most recent call last):
operator_components       |   File "/mydata-sdk-components/Operator_Components/Templates.py", line 87, in getService
operator_components       |     req = get(self.registry_url+service_id)
operator_components       |   File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 70, in get
operator_components       |     return request('get', url, params=params, **kwargs)
operator_components       |   File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 56, in request
operator_components       |     return session.request(method=method, url=url, **kwargs)
operator_components       |   File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
operator_components       |     resp = self.send(prep, **send_kwargs)
operator_components       |   File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
operator_components       |     r = adapter.send(request, **kwargs)
operator_components       |   File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
operator_components       |     raise ConnectionError(e, request=request)
operator_components       | ConnectionError: HTTPSConnectionPool(host='sandbox.mydata.fi', port=443): Max retries exceeded with url: /registry/search/api/v1/services/582f2bf50cf2f4663ec4f020 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0af8a306d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
operator_components       | {'status': 503, 'count': 0, 'trace': ['Traceback (most recent call last):', '  File "/mydata-sdk-components/Operator_Components/Operator_SLR/start.py", line 63, in get', '    service_json = self.service_registry_handler.getService(service_id)', '  File "/mydata-sdk-components/Operator_Components/Templates.py", line 93, in getService', '    raise e', "ConnectionError: HTTPSConnectionPool(host='sandbox.mydata.fi', port=443): Max retries exceeded with url: /registry/search/api/v1/services/582f2bf50cf2f4663ec4f020 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0af8a306d0>: Failed to establish a new connection: [Errno 111] Connection refused',))"], 'title': 'Request to Service_Components Mgmnt failed due to ConnectionError.', 'detail': 'Service_Components Mgmnt might be down or unresponsive.', 'source': None, 'id': '13ae3866-d15d-4777-b606-a107ba5c4948'}
operator_components       | (['Traceback (most recent call last):', '  File "/mydata-sdk-components/Operator_Components/Operator_SLR/start.py", line 98, in get', '    trace=traceback.format_exc(limit=100).splitlines())', 'DetailedHTTPException: 503: Service Unavailable'], <type 'list'>)
operator_components       | ['Traceback (most recent call last):', '  File "/mydata-sdk-components/Operator_Components/Operator_SLR/start.py", line 98, in get', '    trace=traceback.format_exc(limit=100).splitlines())', 'DetailedHTTPException: 503: Service Unavailable']
operator_components       | {
operator_components       |   "errors": [
operator_components       |     {
operator_components       |       "status": 503, 
operator_components       |       "count": 0, 
operator_components       |       "trace": [
operator_components       |         "Traceback (most recent call last):", 
operator_components       |         "  File \"/mydata-sdk-components/Operator_Components/Operator_SLR/start.py\", line 63, in get", 
operator_components       |         "    service_json = self.service_registry_handler.getService(service_id)", 
operator_components       |         "  File \"/mydata-sdk-components/Operator_Components/Templates.py\", line 93, in getService", 
operator_components       |         "    raise e", 
operator_components       |         "ConnectionError: HTTPSConnectionPool(host='sandbox.mydata.fi', port=443): Max retries exceeded with url: /registry/search/api/v1/services/582f2bf50cf2f4663ec4f020 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0af8a306d0>: Failed to establish a new connection: [Errno 111] Connection refused',))"
operator_components       |       ], 
operator_components       |       "title": "Request to Service_Components Mgmnt failed due to ConnectionError.", 
operator_components       |       "detail": "Service_Components Mgmnt might be down or unresponsive.", 
operator_components       |       "source": null, 
operator_components       |       "id": "13ae3866-d15d-4777-b606-a107ba5c4948"
operator_components       |     }, 
operator_components       |     {
operator_components       |       "status": 500, 
operator_components       |       "count": 1, 
operator_components       |       "trace": [
operator_components       |         "Traceback (most recent call last):", 
operator_components       |         "  File \"/mydata-sdk-components/Operator_Components/Operator_SLR/start.py\", line 98, in get", 
operator_components       |         "    trace=traceback.format_exc(limit=100).splitlines())", 
operator_components       |         "DetailedHTTPException: 503: Service Unavailable"
operator_components       |       ], 
operator_components       |       "title": "SLR registration failed.", 
operator_components       |       "detail": "Something failed during creation of SLR.", 
operator_components       |       "source": "Not resolved", 
operator_components       |       "id": "aaac0066-eeec-4995-adf7-c2ad726c3a28"
operator_components       |     }
operator_components       |   ]
operator_components       | }
^A^A
fititnt commented 6 years ago

Another screen while the first one still running

# fititnt at bravo in /alligo/code/HIIT/mydata-sdk on git:master o [20:01:46]
$ python ui_flow.py
http://localhost:8080/
http://localhost:5000/
False
582f2bf50cf2f4663ec4f020
582f2bf50cf2f4663ec4f01f

##### CREATE USER ACCOUNTS #####
NOTE: Throws an error if run for second time as you cannot create more accounts with same unique usernames. (Will be fixed in later releases.)

201 CREATED {
    "data": {
        "attributes": {
            "acceptTermsOfService": "True", 
            "dateOfBirth": "2010-05-14", 
            "email": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org", 
            "firstName": "ExampleFirstName", 
            "lastName": "ExampleLastName", 
            "password": "example_password", 
            "username": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5"
        }, 
        "id": "1", 
        "type": "Account"
    }, 
    "meta": {
        "activationInstructions": "Account activated already"
    }
}
 http://localhost:8080/api/accounts/
{
  "data": {
    "attributes": {
      "acceptTermsOfService": "True",
      "dateOfBirth": "2010-05-14",
      "email": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5@examlpe.org",
      "firstName": "ExampleFirstName",
      "lastName": "ExampleLastName",
      "password": "example_password",
      "username": "example_username-37023880-902d-40e6-b83f-bca72f0e12e5"
    },
    "id": "1",
    "type": "Account"
  },
  "meta": {
    "activationInstructions": "Account activated already"
  }
}
201 CREATED {
    "data": {
        "attributes": {
            "acceptTermsOfService": "True", 
            "dateOfBirth": "2010-05-14", 
            "email": "iso.pasi@example.org", 
            "firstName": "Iso", 
            "lastName": "Pasi", 
            "password": "0nk0va", 
            "username": "pasi"
        }, 
        "id": "2", 
        "type": "Account"
    }, 
    "meta": {
        "activationInstructions": "Account activated already"
    }
}
 http://localhost:8080/api/accounts/
{
  "data": {
    "attributes": {
      "acceptTermsOfService": "True",
      "dateOfBirth": "2010-05-14",
      "email": "iso.pasi@example.org",
      "firstName": "Iso",
      "lastName": "Pasi",
      "password": "0nk0va",
      "username": "pasi"
    },
    "id": "2",
    "type": "Account"
  },
  "meta": {
    "activationInstructions": "Account activated already"
  }
}
201 CREATED {
    "data": {
        "attributes": {
            "acceptTermsOfService": "True", 
            "dateOfBirth": "2010-05-14", 
            "email": "dude.dudeson@example.org", 
            "firstName": "Dude", 
            "lastName": "Dudeson", 
            "password": "Hello", 
            "username": "mydata"
        }, 
        "id": "3", 
        "type": "Account"
    }, 
    "meta": {
        "activationInstructions": "Account activated already"
    }
}
 http://localhost:8080/api/accounts/
{
  "data": {
    "attributes": {
      "acceptTermsOfService": "True",
      "dateOfBirth": "2010-05-14",
      "email": "dude.dudeson@example.org",
      "firstName": "Dude",
      "lastName": "Dudeson",
      "password": "Hello",
      "username": "mydata"
    },
    "id": "3",
    "type": "Account"
  },
  "meta": {
    "activationInstructions": "Account activated already"
  }
}

##### CREATE A SERVICE LINK #####
Creation of first SLR failed with status (500) reason (INTERNAL SERVER ERROR) and the following content:
{
  "errors": [
    {
      "status": 503,
      "count": 0,
      "trace": [
        "Traceback (most recent call last):",
        "  File \"/mydata-sdk-components/Operator_Components/Operator_SLR/start.py\", line 63, in get",
        "    service_json = self.service_registry_handler.getService(service_id)",
        "  File \"/mydata-sdk-components/Operator_Components/Templates.py\", line 93, in getService",
        "    raise e",
        "ConnectionError: HTTPSConnectionPool(host='sandbox.mydata.fi', port=443): Max retries exceeded with url: /registry/search/api/v1/services/582f2bf50cf2f4663ec4f020 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0af8a306d0>: Failed to establish a new connection: [Errno 111] Connection refused',))"
      ],
      "title": "Request to Service_Components Mgmnt failed due to ConnectionError.",
      "detail": "Service_Components Mgmnt might be down or unresponsive.",
      "source": null,
      "id": "13ae3866-d15d-4777-b606-a107ba5c4948"
    },
    {
      "status": 500,
      "count": 1,
      "trace": [
        "Traceback (most recent call last):",
        "  File \"/mydata-sdk-components/Operator_Components/Operator_SLR/start.py\", line 98, in get",
        "    trace=traceback.format_exc(limit=100).splitlines())",
        "DetailedHTTPException: 503: Service Unavailable"
      ],
      "title": "SLR registration failed.",
      "detail": "Something failed during creation of SLR.",
      "source": "Not resolved",
      "id": "aaac0066-eeec-4995-adf7-c2ad726c3a28"
    }
  ]
}
Traceback (most recent call last):
  File "ui_flow.py", line 213, in <module>
    create_service_link(args.operator_url, args.sink_id)
  File "ui_flow.py", line 84, in create_service_link
    raise Exception("SLR flow failed.")
Exception: SLR flow failed.
fititnt commented 6 years ago

captura de tela de 2018-04-20 20-12-52 captura de tela de 2018-04-20 20-13-07

fititnt commented 6 years ago

Commited https://github.com/fititnt/mydata-sdk/commit/043453c2c8d164f8b55c3ba144ccc9710077d2a6.

Lets try again

fititnt commented 6 years ago

humm.

captura de tela de 2018-04-20 21-10-42

captura de tela de 2018-04-20 21-10-55

fititnt commented 6 years ago

Forked https://github.com/digitalhealthrevolution/serviceregistry to https://github.com/fititnt/serviceregistry.

fititnt commented 6 years ago

Why exist another org https://github.com/mydata-sdk? And why i forked the less recent one?

fititnt commented 6 years ago

https://www.youtube.com/watch?v=VHcVqj1XFuY

fititnt commented 6 years ago

I got in touch with Slack folks at https://mydataglobal.slack.com about the new org with newer updated version and kindly informed me about it and plan to look around the GitHub repositories with less updated versions.

Also, there is a lot going there on Slack, so it's a great place to get in touch with the non software developers and they have wonderful links to research related to privacy on the last decades.