docker-compose up log
C:\git\tasking-manager>docker-compose up
WARNING: The Docker Engine you're using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use `docker stack deploy`.
Creating network "taskingmanager_default" with the default driver
Creating volume "taskingmanager_pgdata" with default driver
Creating volume "taskingmanager_downloads" with default driver
Creating volume "taskingmanager_stage" with default driver
Building base
Step 1/10 : FROM python:3.6
3.6: Pulling from library/python
f49cf87b52c1: Already exists
7b491c575b06: Already exists
b313b08bab3b: Already exists
51d6678c3f0e: Already exists
09f35bd58db2: Pull complete
0f9de702e222: Pull complete
73911d37fcde: Pull complete
99a87e214c92: Pull complete
Digest: sha256:98149ed5f37f48ea3fad26ae6c0042dd2b08228d58edc95ef0fce35f1b3d9e9f
Status: Downloaded newer image for python:3.6
---> c1e459c00dc3
Step 2/10 : RUN apt-get update
---> Running in 612a4bde0d3a
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [608 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 19s (516 kB/s)
Reading package lists...
Removing intermediate container 612a4bde0d3a
---> cbd2f250252c
Step 3/10 : RUN apt-get upgrade -y
---> Running in e24b8062a4a5
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
curl gir1.2-gdkpixbuf-2.0 libcurl3 libcurl3-gnutls libcurl4-openssl-dev
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev
libmysqlclient-dev libmysqlclient18 libtiff5 libtiff5-dev libtiffxx5 libxml2
libxml2-dev linux-libc-dev mysql-common sensible-utils
18 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6523 kB of archives.
After this operation, 188 kB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libxml2-dev amd64 2.9.1+dfsg1-5+deb8u6 [696 kB]
Get:2 http://security.debian.org/ jessie/updates/main libxml2 amd64 2.9.1+dfsg1-5+deb8u6 [802 kB]
Get:3 http://security.debian.org/ jessie/updates/main libcurl4-openssl-dev amd64 7.38.0-4+deb8u9 [337 kB]
Get:4 http://security.debian.org/ jessie/updates/main curl amd64 7.38.0-4+deb8u9 [201 kB]
Get:5 http://security.debian.org/ jessie/updates/main libcurl3 amd64 7.38.0-4+deb8u9 [260 kB]
Get:6 http://security.debian.org/ jessie/updates/main libcurl3-gnutls amd64 7.38.0-4+deb8u9 [252 kB]
Get:7 http://security.debian.org/ jessie/updates/main libgdk-pixbuf2.0-dev amd64 2.31.1-2+deb8u7 [52.9 kB]
Get:8 http://security.debian.org/ jessie/updates/main gir1.2-gdkpixbuf-2.0 amd64 2.31.1-2+deb8u7 [16.9 kB]
Get:9 http://security.debian.org/ jessie/updates/main libgdk-pixbuf2.0-0 amd64 2.31.1-2+deb8u7 [167 kB]
Get:10 http://security.debian.org/ jessie/updates/main libgdk-pixbuf2.0-common all 2.31.1-2+deb8u7 [294 kB]
Get:11 http://security.debian.org/ jessie/updates/main libtiff5-dev amd64 4.0.3-12.3+deb8u5 [344 kB]
Get:12 http://security.debian.org/ jessie/updates/main libtiffxx5 amd64 4.0.3-12.3+deb8u5 [80.9 kB]
Get:13 http://security.debian.org/ jessie/updates/main libtiff5 amd64 4.0.3-12.3+deb8u5 [221 kB]
Get:14 http://security.debian.org/ jessie/updates/main libmysqlclient-dev amd64 5.5.59-0+deb8u1 [952 kB]
Get:15 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.59-0+deb8u1 [80.2 kB]
Get:16 http://security.debian.org/ jessie/updates/main libmysqlclient18 amd64 5.5.59-0+deb8u1 [674 kB]
Get:17 http://security.debian.org/ jessie/updates/main sensible-utils all 0.0.9+deb8u1 [10.9 kB]
Get:18 http://security.debian.org/ jessie/updates/main linux-libc-dev amd64 3.16.51-3+deb8u1 [1083 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 6523 kB in 5s (1091 kB/s)
(Reading database ... 21636 files and directories currently installed.)
Preparing to unpack .../libxml2-dev_2.9.1+dfsg1-5+deb8u6_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.1+dfsg1-5+deb8u6) over (2.9.1+dfsg1-5+deb8u5) ...
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u6_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-5+deb8u6) over (2.9.1+dfsg1-5+deb8u5) ...
Preparing to unpack .../libcurl4-openssl-dev_7.38.0-4+deb8u9_amd64.deb ...
Unpacking libcurl4-openssl-dev:amd64 (7.38.0-4+deb8u9) over (7.38.0-4+deb8u8) ...
Preparing to unpack .../curl_7.38.0-4+deb8u9_amd64.deb ...
Unpacking curl (7.38.0-4+deb8u9) over (7.38.0-4+deb8u8) ...
Preparing to unpack .../libcurl3_7.38.0-4+deb8u9_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u9) over (7.38.0-4+deb8u8) ...
Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u9_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.38.0-4+deb8u9) over (7.38.0-4+deb8u8) ...
Preparing to unpack .../libgdk-pixbuf2.0-dev_2.31.1-2+deb8u7_amd64.deb ...
Unpacking libgdk-pixbuf2.0-dev (2.31.1-2+deb8u7) over (2.31.1-2+deb8u6) ...
Preparing to unpack .../gir1.2-gdkpixbuf-2.0_2.31.1-2+deb8u7_amd64.deb ...
Unpacking gir1.2-gdkpixbuf-2.0 (2.31.1-2+deb8u7) over (2.31.1-2+deb8u6) ...
Preparing to unpack .../libgdk-pixbuf2.0-0_2.31.1-2+deb8u7_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.31.1-2+deb8u7) over (2.31.1-2+deb8u6) ...
Preparing to unpack .../libgdk-pixbuf2.0-common_2.31.1-2+deb8u7_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.31.1-2+deb8u7) over (2.31.1-2+deb8u6) ...
Preparing to unpack .../libtiff5-dev_4.0.3-12.3+deb8u5_amd64.deb ...
Unpacking libtiff5-dev:amd64 (4.0.3-12.3+deb8u5) over (4.0.3-12.3+deb8u4) ...
Preparing to unpack .../libtiffxx5_4.0.3-12.3+deb8u5_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.0.3-12.3+deb8u5) over (4.0.3-12.3+deb8u4) ...
Preparing to unpack .../libtiff5_4.0.3-12.3+deb8u5_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.3-12.3+deb8u5) over (4.0.3-12.3+deb8u4) ...
Preparing to unpack .../libmysqlclient-dev_5.5.59-0+deb8u1_amd64.deb ...
Unpacking libmysqlclient-dev (5.5.59-0+deb8u1) over (5.5.58-0+deb8u1) ...
Preparing to unpack .../mysql-common_5.5.59-0+deb8u1_all.deb ...
Unpacking mysql-common (5.5.59-0+deb8u1) over (5.5.58-0+deb8u1) ...
Preparing to unpack .../libmysqlclient18_5.5.59-0+deb8u1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.59-0+deb8u1) over (5.5.58-0+deb8u1) ...
Preparing to unpack .../sensible-utils_0.0.9+deb8u1_all.deb ...
Unpacking sensible-utils (0.0.9+deb8u1) over (0.0.9) ...
Processing triggers for mime-support (3.58) ...
Setting up sensible-utils (0.0.9+deb8u1) ...
(Reading database ... 21636 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.16.51-3+deb8u1) over (3.16.51-2) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-5+deb8u6) ...
Setting up libxml2-dev:amd64 (2.9.1+dfsg1-5+deb8u6) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u9) ...
Setting up libcurl4-openssl-dev:amd64 (7.38.0-4+deb8u9) ...
Setting up curl (7.38.0-4+deb8u9) ...
Setting up libcurl3-gnutls:amd64 (7.38.0-4+deb8u9) ...
Setting up libtiff5:amd64 (4.0.3-12.3+deb8u5) ...
Setting up libgdk-pixbuf2.0-common (2.31.1-2+deb8u7) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.31.1-2+deb8u7) ...
Setting up gir1.2-gdkpixbuf-2.0 (2.31.1-2+deb8u7) ...
Setting up libgdk-pixbuf2.0-dev (2.31.1-2+deb8u7) ...
Setting up libtiffxx5:amd64 (4.0.3-12.3+deb8u5) ...
Setting up libtiff5-dev:amd64 (4.0.3-12.3+deb8u5) ...
Setting up mysql-common (5.5.59-0+deb8u1) ...
Setting up libmysqlclient18:amd64 (5.5.59-0+deb8u1) ...
Setting up libmysqlclient-dev (5.5.59-0+deb8u1) ...
Setting up linux-libc-dev:amd64 (3.16.51-3+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Removing intermediate container e24b8062a4a5
---> 315fe14d00da
Step 4/10 : RUN apt-get install -y libgeos-c1 libgeos-dev
---> Running in 75ceec130e82
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libgeos-3.4.2
Suggested packages:
libgdal-doc
The following NEW packages will be installed:
libgeos-3.4.2 libgeos-c1 libgeos-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 923 kB of archives.
After this operation, 2761 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main libgeos-3.4.2 amd64 3.4.2-6 [564 kB]
Get:2 http://deb.debian.org/debian/ jessie/main libgeos-c1 amd64 3.4.2-6 [172 kB]
Get:3 http://deb.debian.org/debian/ jessie/main libgeos-dev amd64 3.4.2-6 [187 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 923 kB in 2s (407 kB/s)
Selecting previously unselected package libgeos-3.4.2.
(Reading database ... 21636 files and directories currently installed.)
Preparing to unpack .../libgeos-3.4.2_3.4.2-6_amd64.deb ...
Unpacking libgeos-3.4.2 (3.4.2-6) ...
Selecting previously unselected package libgeos-c1.
Preparing to unpack .../libgeos-c1_3.4.2-6_amd64.deb ...
Unpacking libgeos-c1 (3.4.2-6) ...
Selecting previously unselected package libgeos-dev.
Preparing to unpack .../libgeos-dev_3.4.2-6_amd64.deb ...
Unpacking libgeos-dev (3.4.2-6) ...
Setting up libgeos-3.4.2 (3.4.2-6) ...
Setting up libgeos-c1 (3.4.2-6) ...
Setting up libgeos-dev (3.4.2-6) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Removing intermediate container 75ceec130e82
---> 45eb7e93c080
Step 5/10 : WORKDIR /src
Removing intermediate container b746f20aa124
---> 168c66b0d79f
Step 6/10 : ADD requirements.txt /src/requirements.txt
---> 322c03e9dbb6
Step 7/10 : RUN pip install -r requirements.txt
---> Running in d96f8a9b33c0
Collecting alembic==0.9.2 (from -r requirements.txt (line 1))
Downloading alembic-0.9.2.tar.gz (986kB)
Collecting aniso8601==1.2.1 (from -r requirements.txt (line 2))
Downloading aniso8601-1.2.1.tar.gz (62kB)
Collecting bleach==2.0.0 (from -r requirements.txt (line 3))
Downloading bleach-2.0.0-py2.py3-none-any.whl
Collecting cachetools==2.0.0 (from -r requirements.txt (line 4))
Downloading cachetools-2.0.0-py2.py3-none-any.whl
Collecting click==6.7 (from -r requirements.txt (line 5))
Downloading click-6.7-py2.py3-none-any.whl (71kB)
Collecting coverage==4.3.4 (from -r requirements.txt (line 6))
Downloading coverage-4.3.4-cp36-cp36m-manylinux1_x86_64.whl (191kB)
Collecting flake8==3.3.0 (from -r requirements.txt (line 7))
Downloading flake8-3.3.0-py2.py3-none-any.whl (66kB)
Collecting Flask==0.12.2 (from -r requirements.txt (line 8))
Downloading Flask-0.12.2-py2.py3-none-any.whl (83kB)
Collecting Flask-Cors==3.0.2 (from -r requirements.txt (line 9))
Downloading Flask_Cors-3.0.2-py2.py3-none-any.whl
Collecting Flask-HTTPAuth==3.2.3 (from -r requirements.txt (line 10))
Downloading Flask_HTTPAuth-3.2.3-py2.py3-none-any.whl
Collecting Flask-Migrate==2.0.4 (from -r requirements.txt (line 11))
Downloading Flask-Migrate-2.0.4.tar.gz
Collecting Flask-OAuthlib==0.9.3 (from -r requirements.txt (line 12))
Downloading Flask-OAuthlib-0.9.3.tar.gz
Collecting Flask-RESTful==0.3.6 (from -r requirements.txt (line 13))
Downloading Flask_RESTful-0.3.6-py2.py3-none-any.whl
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 14))
Downloading Flask-Script-2.0.5.tar.gz (42kB)
Collecting Flask-SQLAlchemy==2.2 (from -r requirements.txt (line 15))
Downloading Flask_SQLAlchemy-2.2-py2.py3-none-any.whl
Collecting flask-swagger==0.2.13 (from -r requirements.txt (line 16))
Downloading flask-swagger-0.2.13.tar.gz
Collecting GeoAlchemy2==0.4.0 (from -r requirements.txt (line 17))
Downloading GeoAlchemy2-0.4.0-py2.py3-none-any.whl
Collecting geojson==1.3.4 (from -r requirements.txt (line 18))
Downloading geojson-1.3.4-py2.py3-none-any.whl
Collecting gunicorn==19.7.1 (from -r requirements.txt (line 19))
Downloading gunicorn-19.7.1-py2.py3-none-any.whl (111kB)
Collecting html5lib==0.999999999 (from -r requirements.txt (line 20))
Downloading html5lib-0.999999999-py2.py3-none-any.whl (112kB)
Collecting itsdangerous==0.24 (from -r requirements.txt (line 21))
Downloading itsdangerous-0.24.tar.gz (46kB)
Collecting Jinja2==2.9.6 (from -r requirements.txt (line 22))
Downloading Jinja2-2.9.6-py2.py3-none-any.whl (340kB)
Collecting Mako==1.0.6 (from -r requirements.txt (line 23))
Downloading Mako-1.0.6.tar.gz (575kB)
Collecting MarkupSafe==1.0 (from -r requirements.txt (line 24))
Downloading MarkupSafe-1.0.tar.gz
Collecting mccabe==0.6.1 (from -r requirements.txt (line 25))
Downloading mccabe-0.6.1-py2.py3-none-any.whl
Collecting nose==1.3.7 (from -r requirements.txt (line 26))
Downloading nose-1.3.7-py3-none-any.whl (154kB)
Collecting oauthlib==2.0.2 (from -r requirements.txt (line 27))
Downloading oauthlib-2.0.2.tar.gz (125kB)
Collecting psycopg2==2.7.1 (from -r requirements.txt (line 28))
Downloading psycopg2-2.7.1-cp36-cp36m-manylinux1_x86_64.whl (2.7MB)
Collecting pycodestyle==2.3.1 (from -r requirements.txt (line 29))
Downloading pycodestyle-2.3.1-py2.py3-none-any.whl (45kB)
Collecting pyflakes==1.5.0 (from -r requirements.txt (line 30))
Downloading pyflakes-1.5.0-py2.py3-none-any.whl (225kB)
Collecting python-dateutil==2.6.0 (from -r requirements.txt (line 31))
Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
Collecting python-editor==1.0.3 (from -r requirements.txt (line 32))
Downloading python-editor-1.0.3.tar.gz
Collecting pytz==2017.2 (from -r requirements.txt (line 33))
Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
Collecting PyYAML==3.12 (from -r requirements.txt (line 34))
Downloading PyYAML-3.12.tar.gz (253kB)
Collecting requests==2.13.0 (from -r requirements.txt (line 35))
Downloading requests-2.13.0-py2.py3-none-any.whl (584kB)
Collecting requests-oauthlib==0.8.0 (from -r requirements.txt (line 36))
Downloading requests_oauthlib-0.8.0-py2.py3-none-any.whl
Collecting schematics==2.0.0a1 (from -r requirements.txt (line 37))
Downloading schematics-2.0.0a1-py2.py3-none-any.whl
Collecting Shapely==1.5.17 (from -r requirements.txt (line 38))
Downloading Shapely-1.5.17.tar.gz (180kB)
Collecting six==1.10.0 (from -r requirements.txt (line 39))
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting SQLAlchemy==1.1.10 (from -r requirements.txt (line 40))
Downloading SQLAlchemy-1.1.10.tar.gz (5.2MB)
Collecting transifex-client==0.12.4 (from -r requirements.txt (line 41))
Downloading transifex-client-0.12.4.tar.gz (179kB)
Collecting urllib3==1.21.1 (from -r requirements.txt (line 42))
Downloading urllib3-1.21.1-py2.py3-none-any.whl (131kB)
Collecting webencodings==0.5.1 (from -r requirements.txt (line 43))
Downloading webencodings-0.5.1-py2.py3-none-any.whl
Collecting Werkzeug==0.12.2 (from -r requirements.txt (line 44))
Downloading Werkzeug-0.12.2-py2.py3-none-any.whl (312kB)
Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.6/site-packages (from html5lib==0.999999999->-r requirements.txt (line 20))
Building wheels for collected packages: alembic, aniso8601, Flask-Migrate, Flask-OAuthlib, Flask-Script, flask-swagger, itsdangerous, Mako, MarkupSafe, oauthlib, python-editor, PyYAML, Shapely, SQLAlchemy, transifex-client
Running setup.py bdist_wheel for alembic: started
Running setup.py bdist_wheel for alembic: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/b9/d5/8e/f0de6622033684ba94d029eabee5abda70b012db80bad13bd0
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/05/69/b1/f26f3fbda12e5bc21583b45446da5c298d75569b6cb4ec09c9
Running setup.py bdist_wheel for Flask-Migrate: started
Running setup.py bdist_wheel for Flask-Migrate: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/7b/7d/90/1edd50fb951714143cbe1ffb1af3341e08d1d64084cd15cf41
Running setup.py bdist_wheel for Flask-OAuthlib: started
Running setup.py bdist_wheel for Flask-OAuthlib: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/af/f8/9c/d4c65877e6abec65285956b8b68de75f462b132495374e0dec
Running setup.py bdist_wheel for Flask-Script: started
Running setup.py bdist_wheel for Flask-Script: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/e2/ea/d8/8d114e46cef819f7d9879504a7f9cb2a88a479af2858223d9f
Running setup.py bdist_wheel for flask-swagger: started
Running setup.py bdist_wheel for flask-swagger: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/fd/33/5a/f3372cbc7d36179822cbb1fce14a4ebcef9e764c39a63ca87d
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/fc/a8/66/24d655233c757e178d45dea2de22a04c6d92766abfb741129a
Running setup.py bdist_wheel for Mako: started
Running setup.py bdist_wheel for Mako: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/34/be/28/7999aa61d80a775c9e85a5a7d345777f73e87e6e30573e9551
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/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
Running setup.py bdist_wheel for oauthlib: started
Running setup.py bdist_wheel for oauthlib: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/84/98/7a/fba7268f61097bea6081cbe5480bc439b38975748ea7684fd5
Running setup.py bdist_wheel for python-editor: started
Running setup.py bdist_wheel for python-editor: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/84/d6/b8/082dc3b5cd7763f17f5500a193b6b248102217cbaa3f0a24ca
Running setup.py bdist_wheel for PyYAML: started
Running setup.py bdist_wheel for PyYAML: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc
Running setup.py bdist_wheel for Shapely: started
Running setup.py bdist_wheel for Shapely: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/18/05/7a/396a27e51dd68caf81e6bb00d349bdac6f2846cc33fe1dfed2
Running setup.py bdist_wheel for SQLAlchemy: started
Running setup.py bdist_wheel for SQLAlchemy: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/40/56/d4/74f19c34f4828b433b6c15bbc77d8a21ddac1df3b7900d528a
Running setup.py bdist_wheel for transifex-client: started
Running setup.py bdist_wheel for transifex-client: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/b6/69/45/0d69a57aa0e6478e9c0df4804c9f9e0b8827c449844b25fc97
Successfully built alembic aniso8601 Flask-Migrate Flask-OAuthlib Flask-Script flask-swagger itsdangerous Mako MarkupSafe oauthlib python-editor PyYAML Shapely SQLAlchemy transifex-client
Installing collected packages: SQLAlchemy, MarkupSafe, Mako, python-editor, six, python-dateutil, alembic, aniso8601, webencodings, html5lib, bleach, cachetools, click, coverage, pyflakes, mccabe, pycodestyle, flake8, itsdangerous, Werkzeug, Jinja2, Flask, Flask-Cors, Flask-HTTPAuth, Flask-SQLAlchemy, Flask-Script, Flask-Migrate, oauthlib, requests, requests-oauthlib, Flask-OAuthlib, pytz, Flask-RESTful, PyYAML, flask-swagger, GeoAlchemy2, geojson, gunicorn, nose, psycopg2, schematics, Shapely, urllib3, transifex-client
Successfully installed Flask-0.12.2 Flask-Cors-3.0.2 Flask-HTTPAuth-3.2.3 Flask-Migrate-2.0.4 Flask-OAuthlib-0.9.3 Flask-RESTful-0.3.6 Flask-SQLAlchemy-2.2 Flask-Script-2.0.5 GeoAlchemy2-0.4.0 Jinja2-2.9.6 Mako-1.0.6 MarkupSafe-1.0 PyYAML-3.12 SQLAlchemy-1.1.10 Shapely-1.5.17 Werkzeug-0.12.2 alembic-0.9.2 aniso8601-1.2.1 bleach-2.0.0 cachetools-2.0.0 click-6.7 coverage-4.3.4 flake8-3.3.0 flask-swagger-0.2.13 geojson-1.3.4 gunicorn-19.7.1 html5lib-0.999999999 itsdangerous-0.24 mccabe-0.6.1 nose-1.3.7 oauthlib-2.0.2 psycopg2-2.7.1 pycodestyle-2.3.1 pyflakes-1.5.0 python-dateutil-2.6.0 python-editor-1.0.3 pytz-2017.2 requests-2.13.0 requests-oauthlib-0.8.0 schematics-2.0.0a1 six-1.10.0 transifex-client-0.12.4 urllib3-1.21.1 webencodings-0.5.1
Removing intermediate container d96f8a9b33c0
---> 4b5e866da2c3
Step 8/10 : ADD . /src
---> 4bf9627fbb7f
Step 9/10 : EXPOSE 8000
---> Running in d3884432e533
Removing intermediate container d3884432e533
---> 6393c7f777cf
Step 10/10 : CMD gunicorn -b 0.0.0.0:8000 -w 3 --timeout 179 manage:application
---> Running in b6907075c108
Removing intermediate container b6907075c108
---> 5cd154c28d90
Successfully built 5cd154c28d90
Successfully tagged taskingmanager_base:latest
WARNING: Image for service base was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Pulling postgresql (mdillon/postgis:9.6)...
9.6: Pulling from mdillon/postgis
f49cf87b52c1: Already exists
67d44cf86769: Pull complete
f16a15c53831: Pull complete
9b76eec81f9c: Pull complete
c9a1ed29c8a8: Pull complete
8862935f78c7: Pull complete
6264275e324a: Pull complete
aaa0ac8d49e5: Pull complete
195b6cc09ddd: Pull complete
4b1162cbf0e0: Pull complete
afef25248e13: Pull complete
c9332c260ec5: Pull complete
044fd31f65b4: Pull complete
d0c7abcf11ec: Pull complete
062d167ac906: Pull complete
Digest: sha256:09b7f62d3e9e50aaddeab016964c674c5508acc42fde8383e43fa8f6fa0d5689
Status: Downloaded newer image for mdillon/postgis:9.6
Building app
Step 1/10 : FROM python:3.6
---> c1e459c00dc3
Step 2/10 : RUN apt-get update
---> Using cache
---> cbd2f250252c
Step 3/10 : RUN apt-get upgrade -y
---> Using cache
---> 315fe14d00da
Step 4/10 : RUN apt-get install -y libgeos-c1 libgeos-dev
---> Using cache
---> 45eb7e93c080
Step 5/10 : WORKDIR /src
---> Using cache
---> 168c66b0d79f
Step 6/10 : ADD requirements.txt /src/requirements.txt
---> Using cache
---> 322c03e9dbb6
Step 7/10 : RUN pip install -r requirements.txt
---> Using cache
---> 4b5e866da2c3
Step 8/10 : ADD . /src
---> Using cache
---> 4bf9627fbb7f
Step 9/10 : EXPOSE 8000
---> Using cache
---> 6393c7f777cf
Step 10/10 : CMD gunicorn -b 0.0.0.0:8000 -w 3 --timeout 179 manage:application
---> Using cache
---> 5cd154c28d90
Successfully built 5cd154c28d90
Successfully tagged taskingmanager_app:latest
WARNING: Image for service app was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Building migration
Step 1/10 : FROM python:3.6
---> c1e459c00dc3
Step 2/10 : RUN apt-get update
---> Using cache
---> cbd2f250252c
Step 3/10 : RUN apt-get upgrade -y
---> Using cache
---> 315fe14d00da
Step 4/10 : RUN apt-get install -y libgeos-c1 libgeos-dev
---> Using cache
---> 45eb7e93c080
Step 5/10 : WORKDIR /src
---> Using cache
---> 168c66b0d79f
Step 6/10 : ADD requirements.txt /src/requirements.txt
---> Using cache
---> 322c03e9dbb6
Step 7/10 : RUN pip install -r requirements.txt
---> Using cache
---> 4b5e866da2c3
Step 8/10 : ADD . /src
---> Using cache
---> 4bf9627fbb7f
Step 9/10 : EXPOSE 8000
---> Using cache
---> 6393c7f777cf
Step 10/10 : CMD gunicorn -b 0.0.0.0:8000 -w 3 --timeout 179 manage:application
---> Using cache
---> 5cd154c28d90
Successfully built 5cd154c28d90
Successfully tagged taskingmanager_migration:latest
WARNING: Image for service migration was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-composCreating taskingmanager_postgresql_1 ... done
Creating taskingmanager_base_1 ... done
Creating taskingmanager_base_1 ...
Creating taskingmanager_app_1 ... done
Creating taskingmanager_migration_1 ... done
Attaching to taskingmanager_postgresql_1, taskingmanager_base_1, taskingmanager_app_1, taskingmanager_migration_1
postgresql_1 | WARNING: no logs are available with the 'none' log driver
taskingmanager_base_1 exited with code 1
app_1 | manage.py:16: UserWarning: TM_SECRET environmental variable not set.
app_1 | warnings.warn("%s environmental variable not set." % (key,))
app_1 | manage.py:16: UserWarning: TM_CONSUMER_KEY environmental variable not set.
app_1 | warnings.warn("%s environmental variable not set." % (key,))
app_1 | manage.py:16: UserWarning: TM_CONSUMER_SECRET environmental variable not set.
app_1 | warnings.warn("%s environmental variable not set." % (key,))
app_1 | manage.py:16: UserWarning: TM_ENV environmental variable not set.
app_1 | warnings.warn("%s environmental variable not set." % (key,))
app_1 | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
migration_1 | manage.py:16: UserWarning: TM_SECRET environmental variable not set.
migration_1 | warnings.warn("%s environmental variable not set." % (key,))
migration_1 | manage.py:16: UserWarning: TM_CONSUMER_KEY environmental variable not set.
migration_1 | warnings.warn("%s environmental variable not set." % (key,))
migration_1 | manage.py:16: UserWarning: TM_CONSUMER_SECRET environmental variable not set.
migration_1 | warnings.warn("%s environmental variable not set." % (key,))
migration_1 | manage.py:16: UserWarning: TM_ENV environmental variable not set.
migration_1 | warnings.warn("%s environmental variable not set." % (key,))
migration_1 | Traceback (most recent call last):
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2147, in _wrap_pool_connect
migration_1 | return fn()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 328, in unique_connection
migration_1 | return _ConnectionFairy._checkout(self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 766, in _checkout
migration_1 | fairy = _ConnectionRecord.checkout(pool)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 516, in checkout
migration_1 | rec = pool._do_get()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 1229, in _do_get
migration_1 | return self._create_connection()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 333, in _create_connection
migration_1 | return _ConnectionRecord(self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 461, in __init__
migration_1 | self.__connect(first_connect_check=True)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 651, in __connect
migration_1 | connection = pool._invoke_creator(self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 105, in connect
migration_1 | return dialect.connect(*cargs, **cparams)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 393, in connect
migration_1 | return self.dbapi.connect(*cargs, **cparams)
migration_1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
migration_1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
migration_1 | psycopg2.OperationalError: could not connect to server: Connection refused
migration_1 | Is the server running on host "postgresql" (172.19.0.2) and accepting
migration_1 | TCP/IP connections on port 5432?
migration_1 |
migration_1 |
migration_1 | The above exception was the direct cause of the following exception:
migration_1 |
migration_1 | Traceback (most recent call last):
migration_1 | File "manage.py", line 43, in <module>
migration_1 | manager.run()
migration_1 | File "/usr/local/lib/python3.6/site-packages/flask_script/__init__.py", line 412, in run
migration_1 | result = self.handle(sys.argv[0], sys.argv[1:])
migration_1 | File "/usr/local/lib/python3.6/site-packages/flask_script/__init__.py", line 383, in handle
migration_1 | res = handle(*args, **config)
migration_1 | File "/usr/local/lib/python3.6/site-packages/flask_script/commands.py", line 216, in __call__
migration_1 | return self.run(*args, **kwargs)
migration_1 | File "/usr/local/lib/python3.6/site-packages/flask_migrate/__init__.py", line 247, in upgrade
migration_1 | command.upgrade(config, revision, sql=sql, tag=tag)
migration_1 | File "/usr/local/lib/python3.6/site-packages/alembic/command.py", line 254, in upgrade
migration_1 | script.run_env()
migration_1 | File "/usr/local/lib/python3.6/site-packages/alembic/script/base.py", line 421, in run_env
migration_1 | util.load_python_file(self.dir, 'env.py')
migration_1 | File "/usr/local/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 93, in load_python_file
migration_1 | module = load_module_py(module_id, path)
migration_1 | File "/usr/local/lib/python3.6/site-packages/alembic/util/compat.py", line 64, in load_module_py
migration_1 | module_id, path).load_module(module_id)
migration_1 | File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper
migration_1 | File "<frozen importlib._bootstrap_external>", line 823, in load_module
migration_1 | File "<frozen importlib._bootstrap_external>", line 682, in load_module
migration_1 | File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
migration_1 | File "<frozen importlib._bootstrap>", line 684, in _load
migration_1 | File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
migration_1 | File "<frozen importlib._bootstrap_external>", line 678, in exec_module
migration_1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
migration_1 | File "migrations/env.py", line 99, in <module>
migration_1 | run_migrations_online()
migration_1 | File "migrations/env.py", line 83, in run_migrations_online
migration_1 | connection = engine.connect()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2091, in connect
migration_1 | return self._connection_cls(self, **kwargs)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 90, in __init__
migration_1 | if connection is not None else engine.raw_connection()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2177, in raw_connection
migration_1 | self.pool.unique_connection, _connection)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2151, in _wrap_pool_connect
migration_1 | e, dialect, self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1465, in _handle_dbapi_exception_noconnection
migration_1 | exc_info
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
migration_1 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise
migration_1 | raise value.with_traceback(tb)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2147, in _wrap_pool_connect
migration_1 | return fn()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 328, in unique_connection
migration_1 | return _ConnectionFairy._checkout(self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 766, in _checkout
migration_1 | fairy = _ConnectionRecord.checkout(pool)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 516, in checkout
migration_1 | rec = pool._do_get()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 1229, in _do_get
migration_1 | return self._create_connection()
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 333, in _create_connection
migration_1 | return _ConnectionRecord(self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 461, in __init__
migration_1 | self.__connect(first_connect_check=True)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 651, in __connect
migration_1 | connection = pool._invoke_creator(self)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 105, in connect
migration_1 | return dialect.connect(*cargs, **cparams)
migration_1 | File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 393, in connect
migration_1 | return self.dbapi.connect(*cargs, **cparams)
migration_1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
migration_1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
migration_1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Connection refused
migration_1 | Is the server running on host "postgresql" (172.19.0.2) and accepting
migration_1 | TCP/IP connections on port 5432?
migration_1 |
taskingmanager_migration_1 exited with code 1