bmbouter / pulp3-openshift

0 stars 0 forks source link

make build failed on local machine #4

Closed haarchri closed 3 years ago

haarchri commented 6 years ago

Hello,

also a local build failed with make build in the pulp_ansible directory

MacBook-Pro-Sarah:pulp_ansible Sahara$ make build
docker build -t python-36-centos7 .
Sending build context to Docker daemon  22.53kB
Step 1/21 : FROM centos/python-36-centos7
latest: Pulling from centos/python-36-centos7
256b176beaff: Pull complete 
03f625cd1c87: Pull complete 
e6ecde3f0281: Pull complete 
79e6026c0081: Pull complete 
ba1c23d1d040: Pull complete 
4dd0f2651d85: Pull complete 
970c8d5018cc: Pull complete 
2115b29d8239: Pull complete 
ba901ccd80b1: Pull complete 
Digest: sha256:3eaab6370bfd58fda78bcca65746a091be9a04331512d28e4f080bd675a7a212
Status: Downloaded newer image for centos/python-36-centos7:latest
 ---> e2f9e35b60bd
Step 2/21 : LABEL maintainer="Brian Bouterse <bbouters@redhat.com>"
 ---> Running in b8053afcebc9
Removing intermediate container b8053afcebc9
 ---> 5157c31ddddd
Step 3/21 : ENV DJANGO_SETTINGS_MODULE=pulpcore.app.settings
 ---> Running in d342ab82bc05
Removing intermediate container d342ab82bc05
 ---> dd75ee194573
Step 4/21 : ENV PULP_SETTINGS=/opt/app-root/settings.yaml
 ---> Running in de410b4c6f08
Removing intermediate container de410b4c6f08
 ---> 89a99893bb27
Step 5/21 : RUN echo "SECRET_KEY: 'putyourreallylongsecretkeyhereandkeepitsecret'" > /opt/app-root/settings.yaml
 ---> Running in c6aa136f5b14
Removing intermediate container c6aa136f5b14
 ---> 5ffcb5f8cb5e
Step 6/21 : RUN echo "DATABASES:" >> /opt/app-root/settings.yaml
 ---> Running in 54a53b05d669
Removing intermediate container 54a53b05d669
 ---> f3d500f51d99
Step 7/21 : RUN echo "  default:" >>/opt/app-root/settings.yaml
 ---> Running in a5413ca5af0c
Removing intermediate container a5413ca5af0c
 ---> 2a6b6054f37e
Step 8/21 : RUN echo "    ENGINE: django.db.backends.sqlite3" >> /opt/app-root/settings.yaml
 ---> Running in fa04ec3cf997
Removing intermediate container fa04ec3cf997
 ---> 0a2b0d2106d6
Step 9/21 : RUN echo "    NAME: /opt/app-root/sqlite3.db" >> /opt/app-root/settings.yaml
 ---> Running in f30bbe2901ff
Removing intermediate container f30bbe2901ff
 ---> 708e9d86388e
Step 10/21 : RUN pip install -e 'git://github.com/pulp/pulp#egg=pulpcore&subdirectory=pulpcore'
 ---> Running in d065a859e4d9
Obtaining pulpcore from git+git://github.com/pulp/pulp#egg=pulpcore&subdirectory=pulpcore
  Cloning git://github.com/pulp/pulp to ./pulpcore
Collecting coreapi (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/fc/3a/9dedaad22962770edd334222f2b3c3e7ad5e1c8cab1d6a7992c30329e2e5/coreapi-2.3.3-py2.py3-none-any.whl
Collecting Django>=2.0 (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/32/ab/22530cc1b2114e6067eece94a333d6c749fa1c56a009f0721e51c181ea53/Django-2.1.2-py3-none-any.whl (7.3MB)
Collecting django-filter (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/6a/8b/8517167a0adc45ce94d0873efb9487dd4cdeff7e10f96e837ad3d58f5837/django_filter-2.0.0-py3-none-any.whl (69kB)
Collecting djangorestframework (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/90/30/ad1148098ff0c375df2a30cc4494ed953cf7551fc1ecec30fc951c712d20/djangorestframework-3.8.2-py2.py3-none-any.whl (923kB)
Collecting djangorestframework-queryfields (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/80/5b/a578ca2a3781214039bc458f11ad20ed6b652fa68a77d87b7aefc05e0923/djangorestframework_queryfields-1.0.0-py2.py3-none-any.whl
Collecting drf-nested-routers (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/2c/31/7644fbfada8c8c7aaa804d65ca8e6a813f9b2392fe7a6e0928f95738c82f/drf_nested_routers-0.91-py2.py3-none-any.whl
Collecting drf-yasg (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/31/73/f56fa005d829db53d96d10aba594b724c3d327960e728d29538ce7e05bb8/drf_yasg-1.10.2-py2.py3-none-any.whl (1.1MB)
Collecting psycopg2-binary (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/3f/4e/b9a5cb7c7451029f67f93426cbb5f5bebedc3f9a8b0a470de7d0d7883602/psycopg2_binary-2.7.5-cp36-cp36m-manylinux1_x86_64.whl (2.7MB)
Collecting PyYAML (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
Collecting rq>=0.12.0 (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/1d/3f/e05539962949aecd83496736f73abd36bd811884a20f68f691b59805125e/rq-0.12.0-py2.py3-none-any.whl (54kB)
Requirement already satisfied: setuptools in /opt/app-root/lib/python3.6/site-packages (from pulpcore)
Collecting dynaconf>=1.0.4 (from pulpcore)
  Downloading https://files.pythonhosted.org/packages/10/1e/7483eb1003dbe370d2666c31d96fa40e83bb3526a3d040960e10fd6a5cf9/dynaconf-1.0.6-py2.py3-none-any.whl (54kB)
Collecting requests (from coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
Collecting coreschema (from coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/93/08/1d105a70104e078718421e6c555b8b293259e7fc92f7e9a04869947f198f/coreschema-0.0.4.tar.gz
Collecting itypes (from coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/d3/24/5e511590f95582efe64b8ad2f6dadd85c5563c9dcf40171ea5a70adbf5a9/itypes-1.1.0.tar.gz
Collecting uritemplate (from coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/e5/7d/9d5a640c4f8bf2c8b1afc015e9a9d8de32e13c9016dcc4b0ec03481fb396/uritemplate-3.0.0-py2.py3-none-any.whl
Collecting pytz (from Django>=2.0->pulpcore)
  Downloading https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl (510kB)
Collecting ruamel.yaml>=0.15.34 (from drf-yasg->pulpcore)
  Downloading https://files.pythonhosted.org/packages/e0/5b/1e2fe3c00e0ecf37bebeb0a7c7eab24bbcc0cb0d7fab8e7ab3e41eaf788c/ruamel.yaml-0.15.72-cp36-cp36m-manylinux1_x86_64.whl (659kB)
Collecting six>=1.10.0 (from drf-yasg->pulpcore)
  Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting inflection>=0.3.1 (from drf-yasg->pulpcore)
  Downloading https://files.pythonhosted.org/packages/d5/35/a6eb45b4e2356fe688b21570864d4aa0d0a880ce387defe9c589112077f8/inflection-0.3.1.tar.gz
Collecting redis>=2.7.0 (from rq>=0.12.0->pulpcore)
  Downloading https://files.pythonhosted.org/packages/3b/f6/7a76333cf0b9251ecf49efff635015171843d9b977e4ffcf59f9c4428052/redis-2.10.6-py2.py3-none-any.whl (64kB)
Collecting click>=5.0 (from rq>=0.12.0->pulpcore)
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting toml (from dynaconf>=1.0.4->pulpcore)
  Downloading https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting python-box (from dynaconf>=1.0.4->pulpcore)
  Downloading https://files.pythonhosted.org/packages/a8/bb/604be0a3a98b0858819cefb1124fcf0b7c3dfb9d357ff55348514f122f20/python_box-3.2.1-py3-none-any.whl
Collecting python-dotenv (from dynaconf>=1.0.4->pulpcore)
  Downloading https://files.pythonhosted.org/packages/24/3d/977140bd94bfb160f98a5c02fdfbb72325130f12a325cf993182956e9d0e/python_dotenv-0.9.1-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)
Collecting urllib3<1.24,>=1.21.1 (from requests->coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests->coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting idna<2.8,>=2.5 (from requests->coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
Collecting jinja2 (from coreschema->coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB)
Collecting MarkupSafe>=0.23 (from jinja2->coreschema->coreapi->pulpcore)
  Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz
Installing collected packages: certifi, urllib3, chardet, idna, requests, MarkupSafe, jinja2, coreschema, itypes, uritemplate, coreapi, pytz, Django, django-filter, djangorestframework, djangorestframework-queryfields, drf-nested-routers, ruamel.yaml, six, inflection, drf-yasg, psycopg2-binary, PyYAML, redis, click, rq, toml, python-box, python-dotenv, dynaconf, pulpcore
  Running setup.py install for MarkupSafe: started
    Running setup.py install for MarkupSafe: finished with status 'done'
  Running setup.py install for coreschema: started
    Running setup.py install for coreschema: finished with status 'done'
  Running setup.py install for itypes: started
    Running setup.py install for itypes: finished with status 'done'
  Running setup.py install for inflection: started
    Running setup.py install for inflection: finished with status 'done'
  Running setup.py install for PyYAML: started
    Running setup.py install for PyYAML: finished with status 'done'
  Running setup.py develop for pulpcore
Successfully installed Django-2.1.2 MarkupSafe-1.0 PyYAML-3.13 certifi-2018.8.24 chardet-3.0.4 click-7.0 coreapi-2.3.3 coreschema-0.0.4 django-filter-2.0.0 djangorestframework-3.8.2 djangorestframework-queryfields-1.0.0 drf-nested-routers-0.91 drf-yasg-1.10.2 dynaconf-1.0.6 idna-2.7 inflection-0.3.1 itypes-1.1.0 jinja2-2.10 psycopg2-binary-2.7.5 pulpcore python-box-3.2.1 python-dotenv-0.9.1 pytz-2018.5 redis-2.10.6 requests-2.19.1 rq-0.12.0 ruamel.yaml-0.15.72 six-1.11.0 toml-0.10.0 uritemplate-3.0.0 urllib3-1.23
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container d065a859e4d9
 ---> d76c57742111
Step 11/21 : RUN pip install -e 'git://github.com/pulp/pulp#egg=pulpcore-plugin&subdirectory=plugin'
 ---> Running in 91ab26db2bc9
Obtaining pulpcore-plugin from git+git://github.com/pulp/pulp#egg=pulpcore-plugin&subdirectory=plugin
  Cloning git://github.com/pulp/pulp to ./pulpcore-plugin
Requirement already satisfied: pulpcore>=3.0.0b12 in ./pulpcore/pulpcore (from pulpcore-plugin)
Collecting aiohttp (from pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/52/f9/c22977fc95346911d8fe507f90c3c4e4f445fdf339b750be6f03f090498d/aiohttp-3.4.4-cp36-cp36m-manylinux1_x86_64.whl (1.1MB)
Collecting aiofiles (from pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/cf/f2/a67a23bc0bb61d88f82aa7fb84a2fb5f278becfbdc038c5cbb36c31feaf1/aiofiles-0.4.0-py3-none-any.whl
Collecting backoff (from pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/e7/00/1aa1ffe4668ddee7a381144bcf953835500387301a3202465e023ea44bcb/backoff-1.6.0.tar.gz
Requirement already satisfied: coreapi in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: Django>=2.0 in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: django-filter in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: djangorestframework in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: djangorestframework-queryfields in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: drf-nested-routers in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: drf-yasg in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: psycopg2-binary in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: PyYAML in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: rq>=0.12.0 in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: setuptools in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: dynaconf>=1.0.4 in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: chardet<4.0,>=2.0 in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin)
Collecting yarl<2.0,>=1.0 (from aiohttp->pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/61/67/df71b367680e06bb4127e3df6189826d4b9daebf83c3bd5b9341c99ef528/yarl-1.2.6-cp36-cp36m-manylinux1_x86_64.whl (253kB)
Collecting attrs>=17.3.0 (from aiohttp->pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/3a/e1/5f9023cc983f1a628a8c2fd051ad19e76ff7b142a0faf329336f9a62a514/attrs-18.2.0-py2.py3-none-any.whl
Collecting idna-ssl>=1.0; python_version < "3.7" (from aiohttp->pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz
Collecting multidict<5.0,>=4.0 (from aiohttp->pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/60/10/05f29904a073fdba2d367cdd8c7862260cc23cdee52ba0443f4599acbc93/multidict-4.4.2-cp36-cp36m-manylinux1_x86_64.whl (385kB)
Collecting async-timeout<4.0,>=3.0 (from aiohttp->pulpcore-plugin)
  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Requirement already satisfied: coreschema in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: requests in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: uritemplate in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: itypes in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: pytz in /opt/app-root/lib/python3.6/site-packages (from Django>=2.0->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: six>=1.10.0 in /opt/app-root/lib/python3.6/site-packages (from drf-yasg->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: ruamel.yaml>=0.15.34 in /opt/app-root/lib/python3.6/site-packages (from drf-yasg->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: inflection>=0.3.1 in /opt/app-root/lib/python3.6/site-packages (from drf-yasg->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: redis>=2.7.0 in /opt/app-root/lib/python3.6/site-packages (from rq>=0.12.0->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: click>=5.0 in /opt/app-root/lib/python3.6/site-packages (from rq>=0.12.0->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: toml in /opt/app-root/lib/python3.6/site-packages (from dynaconf>=1.0.4->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: python-box in /opt/app-root/lib/python3.6/site-packages (from dynaconf>=1.0.4->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: python-dotenv in /opt/app-root/lib/python3.6/site-packages (from dynaconf>=1.0.4->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: idna>=2.0 in /opt/app-root/lib/python3.6/site-packages (from yarl<2.0,>=1.0->aiohttp->pulpcore-plugin)
Requirement already satisfied: jinja2 in /opt/app-root/lib/python3.6/site-packages (from coreschema->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /opt/app-root/lib/python3.6/site-packages (from requests->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: certifi>=2017.4.17 in /opt/app-root/lib/python3.6/site-packages (from requests->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Requirement already satisfied: MarkupSafe>=0.23 in /opt/app-root/lib/python3.6/site-packages (from jinja2->coreschema->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin)
Installing collected packages: multidict, yarl, attrs, idna-ssl, async-timeout, aiohttp, aiofiles, backoff, pulpcore-plugin
  Running setup.py install for idna-ssl: started
    Running setup.py install for idna-ssl: finished with status 'done'
  Running setup.py install for backoff: started
    Running setup.py install for backoff: finished with status 'done'
  Running setup.py develop for pulpcore-plugin
Successfully installed aiofiles-0.4.0 aiohttp-3.4.4 async-timeout-3.0.1 attrs-18.2.0 backoff-1.6.0 idna-ssl-1.1.0 multidict-4.4.2 pulpcore-plugin yarl-1.2.6
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 91ab26db2bc9
 ---> 2b60065f003c
Step 12/21 : RUN pip install -e 'git://github.com/pulp/pulp_ansible#egg=pulp_ansible'
 ---> Running in 3555ba0a0fee
Obtaining pulp_ansible from git+git://github.com/pulp/pulp_ansible#egg=pulp_ansible
  Cloning git://github.com/pulp/pulp_ansible to ./pulp-ansible
Requirement already satisfied: pulpcore-plugin in ./pulpcore-plugin/plugin (from pulp_ansible)
Requirement already satisfied: pulpcore>=3.0.0b12 in ./pulpcore/pulpcore (from pulpcore-plugin->pulp_ansible)
Requirement already satisfied: aiohttp in /opt/app-root/lib/python3.6/site-packages (from pulpcore-plugin->pulp_ansible)
Requirement already satisfied: aiofiles in /opt/app-root/lib/python3.6/site-packages (from pulpcore-plugin->pulp_ansible)
Requirement already satisfied: backoff in /opt/app-root/lib/python3.6/site-packages (from pulpcore-plugin->pulp_ansible)
Requirement already satisfied: coreapi in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: Django>=2.0 in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: django-filter in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: djangorestframework in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: djangorestframework-queryfields in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: drf-nested-routers in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: drf-yasg in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: psycopg2-binary in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: PyYAML in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: rq>=0.12.0 in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: setuptools in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: dynaconf>=1.0.4 in /opt/app-root/lib/python3.6/site-packages (from pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: idna-ssl>=1.0; python_version < "3.7" in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: attrs>=17.3.0 in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: chardet<4.0,>=2.0 in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: yarl<2.0,>=1.0 in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: multidict<5.0,>=4.0 in /opt/app-root/lib/python3.6/site-packages (from aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: coreschema in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: requests in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: itypes in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: uritemplate in /opt/app-root/lib/python3.6/site-packages (from coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: pytz in /opt/app-root/lib/python3.6/site-packages (from Django>=2.0->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: inflection>=0.3.1 in /opt/app-root/lib/python3.6/site-packages (from drf-yasg->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: ruamel.yaml>=0.15.34 in /opt/app-root/lib/python3.6/site-packages (from drf-yasg->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: six>=1.10.0 in /opt/app-root/lib/python3.6/site-packages (from drf-yasg->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: click>=5.0 in /opt/app-root/lib/python3.6/site-packages (from rq>=0.12.0->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: redis>=2.7.0 in /opt/app-root/lib/python3.6/site-packages (from rq>=0.12.0->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: python-dotenv in /opt/app-root/lib/python3.6/site-packages (from dynaconf>=1.0.4->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: python-box in /opt/app-root/lib/python3.6/site-packages (from dynaconf>=1.0.4->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: toml in /opt/app-root/lib/python3.6/site-packages (from dynaconf>=1.0.4->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: idna>=2.0 in /opt/app-root/lib/python3.6/site-packages (from idna-ssl>=1.0; python_version < "3.7"->aiohttp->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: jinja2 in /opt/app-root/lib/python3.6/site-packages (from coreschema->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: certifi>=2017.4.17 in /opt/app-root/lib/python3.6/site-packages (from requests->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /opt/app-root/lib/python3.6/site-packages (from requests->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Requirement already satisfied: MarkupSafe>=0.23 in /opt/app-root/lib/python3.6/site-packages (from jinja2->coreschema->coreapi->pulpcore>=3.0.0b12->pulpcore-plugin->pulp_ansible)
Installing collected packages: pulp-ansible
  Running setup.py develop for pulp-ansible
Successfully installed pulp-ansible
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 3555ba0a0fee
 ---> 18f08dec56fc
Step 13/21 : RUN pulp-manager makemigrations pulp_app
 ---> Running in ed0ce3632601
Traceback (most recent call last):
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
    self.connect()
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 194, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/opt/app-root/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/app-root/bin/pulp-manager", line 11, in <module>
    load_entry_point('pulpcore', 'console_scripts', 'pulp-manager')()
  File "/opt/app-root/src/pulpcore/pulpcore/pulpcore/app/entry_points.py", line 11, in pulp_manager_entry_point
    execute_from_command_line(sys.argv)
  File "/opt/app-root/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/opt/app-root/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/app-root/lib/python3.6/site-packages/django/core/management/base.py", line 316, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/opt/app-root/lib/python3.6/site-packages/django/core/management/base.py", line 353, in execute
    output = self.handle(*args, **options)
  File "/opt/app-root/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/opt/app-root/lib/python3.6/site-packages/django/core/management/commands/makemigrations.py", line 103, in handle
    loader.check_consistent_history(connection)
  File "/opt/app-root/lib/python3.6/site-packages/django/db/migrations/loader.py", line 281, in check_consistent_history
    applied = recorder.applied_migrations()
  File "/opt/app-root/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 61, in applied_migrations
    if self.has_table():
  File "/opt/app-root/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 44, in has_table
    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 255, in cursor
    return self._cursor()
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 232, in _cursor
    self.ensure_connection()
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
    self.connect()
  File "/opt/app-root/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
    self.connect()
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/base/base.py", line 194, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/opt/app-root/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/opt/app-root/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

The command '/bin/sh -c pulp-manager makemigrations pulp_app' returned a non-zero code: 1
make: *** [build] Error 

i think the following 2 line - needs a postgres database - so it looks like the sqlite3.db is not used during the build ... can someone have a deeper look in it ?

haarchri commented 6 years ago

when i leave the following steps:

#RUN pulp-manager makemigrations pulp_app
#RUN pulp-manager makemigrations pulp_ansible

then i see a error message

Step 14/19 : RUN rm /opt/app-root/sqlite3.db
 ---> Running in e3b1b2f819f7
rm: cannot remove ‘/opt/app-root/sqlite3.db’: No such file or directory
haarchri commented 6 years ago

without the 3 lines - the build finished - i will check tomorrow if the rest is working .. on OpenShift with DeploymentConfigs

#RUN pulp-manager makemigrations pulp_app
#RUN pulp-manager makemigrations pulp_ansible

#RUN rm /opt/app-root/sqlite3.db