ga4gh / cloud-interop-testing

Interoperable execution of workflows using GA4GH APIs
Apache License 2.0
9 stars 8 forks source link

testbed_server failes to launch from develop@0da1136 #80

Closed pr80ik closed 5 years ago

pr80ik commented 5 years ago

Steps

  1. create a new virtual environment & activate
  2. checkout latest develop (0da1136)
  3. build pip install -r requirements.txt . && pip install --no-deps -r dev-requirements.txt
  4. run testbed_server

Additional info:

$ python --version
Python 3.6.5

$ python2 --version
Python 2.7.16

$ python3 --version
Python 3.6.5

$ pip --version
pip 19.2.3 from /work/ilmn/git/_other/cloud-interop-testing/venv/lib/python3.6/site-packages/pip (python 3.6)

$ pip3 --version
pip 19.2.3 from /work/ilmn/git/_other/cloud-interop-testing/venv/lib/python3.6/site-packages/pip (python 3.6)

Expected:

Actual:

$ testbed_server
ERROR:connexion.apis.abstract:Failed to add operation for POST /ga4gh/testbed/v1/tests
Traceback (most recent call last):
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apis/abstract.py", line 205, in add_paths
    self.add_operation(path, method)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apis/abstract.py", line 169, in add_operation
    pass_context_arg_name=self.pass_context_arg_name
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/operations/__init__.py", line 8, in make_operation
    return spec.operation_cls.from_spec(spec, *args, **kwargs)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/operations/openapi.py", line 138, in from_spec
    **kwargs
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/operations/openapi.py", line 89, in __init__
    pass_context_arg_name=pass_context_arg_name
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/operations/abstract.py", line 99, in __init__
    self._resolution = resolver.resolve(self)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/resolver.py", line 40, in resolve
    return Resolution(self.resolve_function_from_operation_id(operation_id), operation_id)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/resolver.py", line 64, in resolve_function_from_operation_id
    raise ResolverError(msg, sys.exc_info())
connexion.exceptions.ResolverError: <ResolverError: Cannot resolve operationId "ga4ghtest.controllers.tests_controller.create_test"! Import error was "No module named 'ga4ghtest.controllers'">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/projects/cloud-interop-testing/venv/bin/testbed_server", line 10, in <module>
    sys.exit(main())
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/ga4ghtest/__main__.py", line 16, in main
    app = create_app()
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/ga4ghtest/__init__.py", line 15, in create_app
    app.add_api('openapi.yaml', arguments={'title': 'Provenance Service'})
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apps/flask_app.py", line 54, in add_api
    api = super(FlaskApp, self).add_api(specification, **kwargs)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apps/abstract.py", line 155, in add_api
    options=api_options.as_dict())
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apis/abstract.py", line 107, in __init__
    self.add_paths()
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apis/abstract.py", line 212, in add_paths
    self._handle_add_operation_error(path, method, err.exc_info)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/apis/abstract.py", line 226, in _handle_add_operation_error
    six.reraise(*exc_info)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/resolver.py", line 61, in resolve_function_from_operation_id
    return self.function_resolver(operation_id)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/utils.py", line 99, in get_function_from_name
    raise last_import_error
  File "/projects/cloud-interop-testing/venv/lib/python3.6/site-packages/connexion/utils.py", line 87, in get_function_from_name
    module = importlib.import_module(module_name)
  File "/projects/cloud-interop-testing/venv/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'ga4ghtest.controllers'
pr80ik commented 5 years ago

The docker build command also fails as follows


$ docker build -t ga4ghtest .
Sending build context to Docker daemon  1.933MB
Step 1/9 : FROM python:3-alpine
 ---> 39fb80313465
Step 2/9 : RUN mkdir -p /usr/src/app
 ---> Using cache
 ---> 7eb13da5335d
Step 3/9 : WORKDIR /usr/src/app
 ---> Using cache
 ---> 4124ba8d331f
Step 4/9 : COPY requirements.txt /usr/src/app/
 ---> Using cache
 ---> 73f001b429b4
Step 5/9 : RUN pip3 install --no-cache-dir -r requirements.txt
 ---> Running in fd8fda6f1cf0
Collecting connexion==2.0.2 (from -r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/78/46/7a53cd1771e098d7d6b707a5667d93c8ce6028fe0a4544739eebe9b91303/connexion-2.0.2-py2.py3-none-any.whl (1.0MB)
Collecting flask_cors>=3.0.0 (from -r requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/78/38/e68b11daa5d613e3a91e4bf3da76c94ac9ee0d9cd515af9c1ab80d36f709/Flask_Cors-3.0.8-py2.py3-none-any.whl
Collecting swagger-ui-bundle==0.0.2 (from -r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/25/b8/df9bf0a8ed761a481e993665e3e820f69ce5043cd270c67a9fcfddafbffe/swagger_ui_bundle-0.0.2-py3-none-any.whl (3.8MB)
Requirement already satisfied: setuptools>=21.0.0 in /usr/local/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (41.2.0)
Collecting certifi>=14.05.14 (from -r requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
Collecting six>=1.10 (from -r requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting python_dateutil>=2.5.3 (from -r requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
Collecting healthcheck (from -r requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/b1/49/962f329b1d9ed2ded6c667f26b9a09eaf08a0545c33a17668dbe2c68a9a5/healthcheck-1.3.3.tar.gz
Collecting urllib3>=1.15.1 (from -r requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/81/b7/cef47224900ca67078ed6e2db51342796007433ad38329558f56a15255f5/urllib3-1.25.5-py2.py3-none-any.whl (125kB)
Collecting subprocess32 (from -r requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007/subprocess32-3.5.4.tar.gz (97kB)
Collecting future (from -r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting bravado (from -r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/2e/d1/4ebb68d43f3131ded06c77d795841727ac1595258b6ebbee80ad7f21f395/bravado-10.4.1-py2.py3-none-any.whl
Collecting schema-salad (from -r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/a2/14/8d3ac644028c62d7f9b823f06b617c2f42deb58846eb1fc672ec6545effe/schema_salad-4.5.20190906201758-py2.py3-none-any.whl (428kB)
Collecting toil[wdl] (from -r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/d3/03/06904c5de7c7bbd6c3c58cf569edb0b83c8312080f9a3e89f07226e01ab0/toil-3.20.0.tar.gz (361kB)
Collecting rfc3987 (from -r requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/65/d4/f7407c3d15d5ac779c3dd34fbbc6ea2090f77bd7dd12f207ccf881551208/rfc3987-1.3.8-py2.py3-none-any.whl
Collecting webcolors (from -r requirements.txt (line 18))
  Downloading https://files.pythonhosted.org/packages/8b/ff/c21df7e08e68a1a84b947992c07dfed9cfe7219d068cb7728358d065c877/webcolors-1.10-py2.py3-none-any.whl
Collecting strict-rfc3339 (from -r requirements.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/56/e4/879ef1dbd6ddea1c77c0078cd59b503368b0456bcca7d063a870ca2119d3/strict-rfc3339-0.7.tar.gz
Collecting jsonschema<3.0.0,>=2.5.1 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting PyYAML>=3.11 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
Collecting flask>=0.10.1 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94kB)
Collecting inflection>=0.3.1 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/d5/35/a6eb45b4e2356fe688b21570864d4aa0d0a880ce387defe9c589112077f8/inflection-0.3.1.tar.gz
Collecting openapi-spec-validator>=0.2.4 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/4a/ef/7ec6c49367faea4c666e536fcb5d4165a677220ccae882e861d2c2f02878/openapi_spec_validator-0.2.8-py3-none-any.whl
Collecting clickclick>=1.2 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/b6/51/2b04f7a56dcbacc0e3a7cf726e1d88d28866bf488a7a0668582306e1e643/clickclick-1.2.2-py2.py3-none-any.whl
Collecting requests>=2.9.1 (from connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
Collecting Jinja2>=2.0 (from swagger-ui-bundle==0.0.2->-r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl (124kB)
Collecting monotonic (from bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/ac/aa/063eca6a416f397bd99552c534c6d11d57f58f2e94c14780f3bbf818c4cf/monotonic-1.5-py2.py3-none-any.whl
Collecting bravado-core>=5.0.1 (from bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/a1/0a/be8527a25c1250ae6e8c87babff4a55551a2b679bd509c821c0155a0930b/bravado_core-5.13.2-py2.py3-none-any.whl (66kB)
Collecting simplejson (from bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz (81kB)
Collecting typing-extensions (from bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/27/aa/bd1442cfb0224da1b671ab334d3b0a4302e4161ea916e28904ff9618d471/typing_extensions-3.7.4-py3-none-any.whl
Collecting msgpack-python (from bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz (138kB)
Collecting CacheControl<0.12,>=0.11.7 (from schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/c5/cb/7a78039c1e0d4e5fd9d8e9edf7ae34df469267e1c58873ca11af16e96bd8/CacheControl-0.11.7.tar.gz
Collecting ruamel.yaml<=0.16,>=0.12.4 (from schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/8f/8c/37f9fc75cf24535534446e592578443d47577aff38b519cef397c4d73de4/ruamel.yaml-0.16.0-py2.py3-none-any.whl (122kB)
Collecting lockfile>=0.9 (from schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/c8/22/9460e311f340cb62d26a38c419b1381b8593b0bb6b5d1f056938b086d362/lockfile-0.12.2-py2.py3-none-any.whl
Collecting mistune<0.9,>=0.8.1 (from schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
Collecting rdflib<4.3.0,>=4.2.2 (from schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/3c/fe/630bacb652680f6d481b9febbb3e2c3869194a1a5fc3401a4a41195a2f8f/rdflib-4.2.2-py3-none-any.whl (344kB)
Collecting rdflib-jsonld<0.5.0,>=0.3.0 (from schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/ba/48/edaad22fc9de34500699f0c7fc9124385dd425fd18857244f126a6f7df66/rdflib-jsonld-0.4.0.tar.gz (53kB)
Collecting dill==0.2.7.1 (from toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/91/a0/19d4d31dee064fc553ae01263b5c55e7fb93daff03a69debbedee647c5a0/dill-0.2.7.1.tar.gz (64kB)
Collecting docker==2.5.1 (from toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/b8/4c/fb6c7d26ecfb6ea9e24d940edec4c67c2b9fc7c95c72435dfa4a5a0c6085/docker-2.5.1-py2.py3-none-any.whl (111kB)
Collecting psutil==3.0.1 (from toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/aa/5d/cbd3b7227fe7a4c2c77e4031b6c43961563a3ecde2981190e5afe959be51/psutil-3.0.1.tar.gz (241kB)
Collecting addict<=2.2.0 (from toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/ca/25/784dc859c978401cb7fba2ad3a29bb51a989abb618b8558cbc89dc2a8a5f/addict-2.2.0.tar.gz
Collecting sphinx==1.7.5 (from toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/1b/9f/98d67201c5a6e1aececed03a44a819d0e32adba81414081e303cfaf8c54c/Sphinx-1.7.5-py2.py3-none-any.whl (1.9MB)
Collecting pathlib2==2.3.2 (from toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/66/a7/9f8d84f31728d78beade9b1271ccbfb290c41c1e4dc13dbd4997ad594dcd/pathlib2-2.3.2-py2.py3-none-any.whl
Collecting Werkzeug>=0.15 (from flask>=0.10.1->connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)
Collecting click>=5.1 (from flask>=0.10.1->connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting itsdangerous>=0.24 (from flask>=0.10.1->connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.9.1->connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.9.1->connexion==2.0.2->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting MarkupSafe>=0.23 (from Jinja2>=2.0->swagger-ui-bundle==0.0.2->-r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz
Collecting jsonref (from bravado-core>=5.0.1->bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/07/92/f8e4ac824b14af77e613984e480fa818397c72d4141fc466decb26752749/jsonref-0.2-py3-none-any.whl
Collecting pytz (from bravado-core>=5.0.1->bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB)
Collecting swagger-spec-validator>=2.0.1 (from bravado-core>=5.0.1->bravado->-r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/3a/98/1845e3f23fc910f05461d2f981eb0f09ab1f6e75b4f20f9fedb2da3be4c5/swagger_spec_validator-2.4.3-py2.py3-none-any.whl
Collecting ruamel.yaml.clib; platform_python_implementation == "CPython" and python_version < "3.8" (from ruamel.yaml<=0.16,>=0.12.4->schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/6a/6c/7b461053ce5be0d7c8b12dcae9a7c10e8012238a00f6fcd98643ee66d2de/ruamel.yaml.clib-0.1.2.tar.gz (177kB)
Collecting pyparsing (from rdflib<4.3.0,>=4.2.2->schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/11/fa/0160cd525c62d7abd076a070ff02b2b94de589f1a9789774f17d7c54058e/pyparsing-2.4.2-py2.py3-none-any.whl (65kB)
Collecting isodate (from rdflib<4.3.0,>=4.2.2->schema-salad->-r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl (45kB)
Collecting docker-pycreds>=0.2.1 (from docker==2.5.1->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl
Collecting websocket-client>=0.32.0 (from docker==2.5.1->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
Collecting alabaster<0.8,>=0.7 (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/10/ad/00b090d23a222943eb0eda509720a404f531a439e803f6538f35136cae9e/alabaster-0.7.12-py2.py3-none-any.whl
Collecting imagesize (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/fc/b6/aef66b4c52a6ad6ac18cf6ebc5731ed06d8c9ae4d3b2d9951f261150be67/imagesize-1.1.0-py2.py3-none-any.whl
Collecting sphinxcontrib-websupport (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/2a/59/d64bda9b7480a84a3569be4dde267c0f6675b255ba63b4c8e84469940457/sphinxcontrib_websupport-1.1.2-py2.py3-none-any.whl
Collecting Pygments>=2.0 (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
Collecting packaging (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/cf/94/9672c2d4b126e74c4496c6b3c58a8b51d6419267be9e70660ba23374c875/packaging-19.2-py2.py3-none-any.whl
Collecting docutils>=0.11 (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl (547kB)
Collecting snowballstemmer>=1.1 (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/51/16/86a280d59b3bb439e7103ea1a275a191e3d2df8a3543cda0708f7cb4333c/snowballstemmer-1.9.1.tar.gz (82kB)
Collecting babel!=2.0,>=1.3 (from sphinx==1.7.5->toil[wdl]->-r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/2c/60/f2af68eb046c5de5b1fe6dd4743bf42c074f7141fe7b2737d3061533b093/Babel-2.7.0-py2.py3-none-any.whl (8.4MB)
Building wheels for collected packages: healthcheck, subprocess32, future, toil, strict-rfc3339, PyYAML, inflection, simplejson, msgpack-python, CacheControl, rdflib-jsonld, dill, psutil, addict, MarkupSafe, ruamel.yaml.clib, snowballstemmer
  Building wheel for healthcheck (setup.py): started
  Building wheel for healthcheck (setup.py): finished with status 'done'
  Created wheel for healthcheck: filename=healthcheck-1.3.3-cp37-none-any.whl size=4338 sha256=d4789ac2c796eaf7b58ce6340abbe7d716107e8df3318338a01239a46b45f9be
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/77/92/d6/78b7fa71216256aa09989d8a4dd82f3b0b23ad98b627439b9f
  Building wheel for subprocess32 (setup.py): started
  Building wheel for subprocess32 (setup.py): finished with status 'done'
  Created wheel for subprocess32: filename=subprocess32-3.5.4-cp37-none-any.whl size=6490 sha256=28cb149dbcdef67cf4f65237330239b16cf9656bfabdbe50ec3ffd01aead3b54
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/68/39/1a/5e402bdfdf004af1786c8b853fd92f8c4a04f22aad179654d1
  Building wheel for future (setup.py): started
  Building wheel for future (setup.py): finished with status 'done'
  Created wheel for future: filename=future-0.17.1-cp37-none-any.whl size=488730 sha256=9f249081f3d491e2bd558453accb27400db4ba162ff9e426cfc9af44b242435d
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
  Building wheel for toil (setup.py): started
  Building wheel for toil (setup.py): finished with status 'done'
  Created wheel for toil: filename=toil-3.20.0-cp37-none-any.whl size=432652 sha256=950ea3a72f5f6368810ff429abbb5ae53322d3536112d856ea0254fe024aed86
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/ee/bb/a6/90fe39d300690bfeceb239790ea6891aae2e8a6952519ea2dd
  Building wheel for strict-rfc3339 (setup.py): started
  Building wheel for strict-rfc3339 (setup.py): finished with status 'done'
  Created wheel for strict-rfc3339: filename=strict_rfc3339-0.7-cp37-none-any.whl size=18120 sha256=dfd636a89e7ceed1849ed4ced1c60970ee6fb26b41fdf9c1335deb0dad4d9d03
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/bb/af/c9/b6e9fb5f9b2470e4ed2a7241c9ab3a8cdd3bc8555ae02ca2e6
  Building wheel for PyYAML (setup.py): started
  Building wheel for PyYAML (setup.py): finished with status 'done'
  Created wheel for PyYAML: filename=PyYAML-5.1.2-cp37-cp37m-linux_x86_64.whl size=44103 sha256=33ab973a291dc69dd33f5e6b366200712afaaea3b39cd4c760b1ae56059e7808
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/d9/45/dd/65f0b38450c47cf7e5312883deb97d065e030c5cca0a365030
  Building wheel for inflection (setup.py): started
  Building wheel for inflection (setup.py): finished with status 'done'
  Created wheel for inflection: filename=inflection-0.3.1-cp37-none-any.whl size=6075 sha256=1e7ff14f61de1af8d68a2a9130f4add08cdb9aab2328bbfb3878f0f3dad19867
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/9f/5a/d3/6fc3bf6516d2a3eb7e18f9f28b472110b59325f3f258fe9211
  Building wheel for simplejson (setup.py): started
  Building wheel for simplejson (setup.py): finished with status 'done'
  Created wheel for simplejson: filename=simplejson-3.16.0-cp37-none-any.whl size=55274 sha256=fbac2b87282a5fb834401a4f9ad3475edfbb7e0483bee75a278dc6b3f05bea17
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/5d/1a/1e/0350bb3df3e74215cd91325344cc86c2c691f5306eb4d22c77
  Building wheel for msgpack-python (setup.py): started
  Building wheel for msgpack-python (setup.py): finished with status 'done'
  Created wheel for msgpack-python: filename=msgpack_python-0.5.6-cp37-cp37m-linux_x86_64.whl size=10405 sha256=0155f6010e6e7c0d07b5579d3e6da2653176f8eaac8dea16913f3832be3ab69d
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/d5/de/86/7fa56fda12511be47ea0808f3502bc879df4e63ab168ec0406
  Building wheel for CacheControl (setup.py): started
  Building wheel for CacheControl (setup.py): finished with status 'done'
  Created wheel for CacheControl: filename=CacheControl-0.11.7-cp37-none-any.whl size=18087 sha256=728b95a5bb9d6d4e56cee64da4e5bf89fec55a8ca80a6b954b8d4666be4275e9
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/66/46/36/bc94397c815ad29e5c41ffa5b870d666b1f2ab68b54135c007
  Building wheel for rdflib-jsonld (setup.py): started
  Building wheel for rdflib-jsonld (setup.py): finished with status 'done'
  Created wheel for rdflib-jsonld: filename=rdflib_jsonld-0.4.0-cp37-none-any.whl size=14076 sha256=754bcae7bbad70c17e058d35dd0f9d13635ca89b6edc63376555f332180dc486
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/9f/31/d2/ac7f9fea93b5440274e5c67336e35f1c0f9d38e49c71e35b6d
  Building wheel for dill (setup.py): started
  Building wheel for dill (setup.py): finished with status 'done'
  Created wheel for dill: filename=dill-0.2.7.1-cp37-none-any.whl size=54543 sha256=e47b4c1e577fadc38ec340c8cddfdab0e404ad5db319d83a6d397b5686ef51fa
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/99/c4/ed/1b64d2d5809e60d5a3685530432f6159d6a9959739facb61f2
  Building wheel for psutil (setup.py): started
  Building wheel for psutil (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i6i4535d/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i6i4535d/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-v98wqrgi --python-tag cp37
       cwd: /tmp/pip-install-i6i4535d/psutil/
  Complete output (22 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/psutil
  copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/__init__.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_psposix.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_common.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_psosx.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_compat.py -> build/lib.linux-x86_64-3.7/psutil
  copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.7/psutil
  running build_ext
  building 'psutil._psutil_linux' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/psutil
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPSUTIL_VERSION=301 -I/usr/local/include/python3.7m -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-3.7/psutil/_psutil_linux.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for psutil
  Running setup.py clean for psutil
  Building wheel for addict (setup.py): started
  Building wheel for addict (setup.py): finished with status 'done'
  Created wheel for addict: filename=addict-2.2.0-cp37-none-any.whl size=2782 sha256=9fae1070541f68ba53b1beabfc071b03af3d9fcbe90c0b9ab07cefdd532e1ac6
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/1c/35/37/7a99ee58a72dc257689fb4f99c8018c9513555055e3fb87123
  Building wheel for MarkupSafe (setup.py): started
  Building wheel for MarkupSafe (setup.py): finished with status 'done'
  Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp37-none-any.whl size=12629 sha256=b324f2085d8b64cec3287eb4611324fc807a6c0ef2ca20b3acdb3b02b8a29ce4
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/f2/aa/04/0edf07a1b8a5f5f1aed7580fffb69ce8972edc16a505916a77
  Building wheel for ruamel.yaml.clib (setup.py): started
  Building wheel for ruamel.yaml.clib (setup.py): finished with status 'done'
  Created wheel for ruamel.yaml.clib: filename=ruamel.yaml.clib-0.1.2-cp37-none-any.whl size=2898 sha256=928def96778dc5dfc53ca294165af65c341127c10de52d04cb068c608fdc561e
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/28/88/2a/70c4579e647724d98a52b856110558d37e66054af6de5f1795
  Building wheel for snowballstemmer (setup.py): started
  Building wheel for snowballstemmer (setup.py): finished with status 'done'
  Created wheel for snowballstemmer: filename=snowballstemmer-1.9.1-cp37-none-any.whl size=101576 sha256=b09260e8e96f25410bdbe6a1e6ba0d3175fb2792a1c6201423d79f94cbd027c3
  Stored in directory: /tmp/pip-ephem-wheel-cache-m447vrwc/wheels/ae/9b/66/6b8f275ec6dfa2138a56faaf2b4314ca44a4746286560d5578
Successfully built healthcheck subprocess32 future toil strict-rfc3339 PyYAML inflection simplejson msgpack-python CacheControl rdflib-jsonld dill addict MarkupSafe ruamel.yaml.clib snowballstemmer
Failed to build psutil
Installing collected packages: jsonschema, PyYAML, six, Werkzeug, click, MarkupSafe, Jinja2, itsdangerous, flask, inflection, openapi-spec-validator, clickclick, idna, chardet, urllib3, certifi, requests, connexion, flask-cors, swagger-ui-bundle, python-dateutil, healthcheck, subprocess32, future, monotonic, jsonref, pytz, simplejson, swagger-spec-validator, msgpack-python, bravado-core, typing-extensions, bravado, CacheControl, ruamel.yaml.clib, ruamel.yaml, lockfile, mistune, pyparsing, isodate, rdflib, rdflib-jsonld, schema-salad, dill, docker-pycreds, websocket-client, docker, psutil, addict, alabaster, imagesize, sphinxcontrib-websupport, Pygments, packaging, docutils, snowballstemmer, babel, sphinx, pathlib2, toil, rfc3987, webcolors, strict-rfc3339
  Running setup.py install for psutil: started
    Running setup.py install for psutil: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i6i4535d/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i6i4535d/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-67ree8og/install-record.txt --single-version-externally-managed --compile
         cwd: /tmp/pip-install-i6i4535d/psutil/
    Complete output (22 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/psutil
    copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/__init__.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_psposix.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_common.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_psosx.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_compat.py -> build/lib.linux-x86_64-3.7/psutil
    copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.7/psutil
    running build_ext
    building 'psutil._psutil_linux' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/psutil
    gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPSUTIL_VERSION=301 -I/usr/local/include/python3.7m -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-3.7/psutil/_psutil_linux.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i6i4535d/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i6i4535d/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-67ree8og/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
The command '/bin/sh -c pip3 install --no-cache-dir -r requirements.txt' returned a non-zero code: 1
pr80ik commented 5 years ago

works with d0af956