openid-certification / oidctest

THE CERTIFICATION TEST SUITE HAS BEEN MIGRATED TO A NEW SERVICE https://www.certificatinon.openid.net
Other
50 stars 15 forks source link

Can't start the op-test service when using docker compose #217

Closed CrowdHailer closed 4 years ago

CrowdHailer commented 4 years ago

I have cloned the repo and checked out the branch stable-release-1.2.x. The tag I am at is v1.2.5. When try to start the project, building the image fails.

command:

docker-compose -f docker/docker-compose.yml up

error:

Couldn't find index page for 'entropy' (maybe misspelled?)
No local packages or working download links found for entropy
error: Could not find suitable distribution for Requirement.parse('entropy')
ERROR: Service 'op-test' failed to build: The command '/bin/sh -c cd otest && python3 setup.py install && cd -' returned a non-zero code: 1

docker version: Docker version 19.03.6, build 369ce74a3c docker-compose version: docker-compose version 1.25.3, build d4d1b42b

full logs:

Creating network "docker_default" with the default driver
Building op-test
Step 1/30 : FROM ubuntu:18.04
 ---> ccc6e87d482b
Step 2/30 : MAINTAINER hans.zandbelt@oidf.org
 ---> Using cache
 ---> 86216835f782
Step 3/30 : RUN apt-get clean && apt-get --fix-missing update
 ---> Using cache
 ---> e764461af95e
Step 4/30 : RUN apt-get update && apt-get install -y python3-pip
 ---> Using cache
 ---> dc8f7719dc47
Step 5/30 : RUN apt-get update && apt-get install -y build-essential libssl-dev libffi-dev python3-dev
 ---> Using cache
 ---> ef9e725d3883
Step 6/30 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 6ba99c8335f8
Step 7/30 : RUN apt-get update && apt-get install -y git ntp psmisc python3-pytest
 ---> Using cache
 ---> 83c91c861be0
Step 8/30 : ENV SRCDIR /usr/local/src
 ---> Using cache
 ---> aebe000d86f7
Step 9/30 : ENV INSTDIR oidf
 ---> Using cache
 ---> 0ed9a929a77c
Step 10/30 : ENV SUBDIR ${SRCDIR}/${INSTDIR}/oidc_op
 ---> Using cache
 ---> ed349347859f
Step 11/30 : WORKDIR ${SRCDIR}
 ---> Using cache
 ---> 8853a6e0ea90
Step 12/30 : ENV VERSION_OTEST   tags/v0.8.3
 ---> Using cache
 ---> ef2b57b14e6d
Step 13/30 : RUN git clone https://github.com/openid-certification/otest.git
 ---> Using cache
 ---> b4903476910b
Step 14/30 : RUN cd otest && git fetch origin && git checkout ${VERSION_OTEST} && cd -
 ---> Using cache
 ---> c2a83f0a826a
Step 15/30 : RUN cd otest && python3 setup.py install && cd -
 ---> Running in 3a892579cf60
running install
running bdist_egg
running egg_info
creating src/otest.egg-info
writing src/otest.egg-info/PKG-INFO
writing dependency_links to src/otest.egg-info/dependency_links.txt
writing requirements to src/otest.egg-info/requires.txt
writing top-level names to src/otest.egg-info/top_level.txt
writing manifest file 'src/otest.egg-info/SOURCES.txt'
reading manifest file 'src/otest.egg-info/SOURCES.txt'
writing manifest file 'src/otest.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/otest
copying src/otest/interaction.py -> build/lib/otest
copying src/otest/events.py -> build/lib/otest
copying src/otest/shannon_entropy.py -> build/lib/otest
copying src/otest/__init__.py -> build/lib/otest
copying src/otest/time_util.py -> build/lib/otest
copying src/otest/check.py -> build/lib/otest
copying src/otest/jlog.py -> build/lib/otest
copying src/otest/tool.py -> build/lib/otest
copying src/otest/session.py -> build/lib/otest
copying src/otest/flow.py -> build/lib/otest
copying src/otest/conf_setup_old.py -> build/lib/otest
copying src/otest/handling.py -> build/lib/otest
copying src/otest/comhandler.py -> build/lib/otest
copying src/otest/parse_cnf.py -> build/lib/otest
copying src/otest/utils.py -> build/lib/otest
copying src/otest/common.py -> build/lib/otest
copying src/otest/verify.py -> build/lib/otest
copying src/otest/operation.py -> build/lib/otest
copying src/otest/func.py -> build/lib/otest
copying src/otest/summation.py -> build/lib/otest
copying src/otest/conversation.py -> build/lib/otest
copying src/otest/prof_util.py -> build/lib/otest
copying src/otest/proc.py -> build/lib/otest
copying src/otest/test_setup.py -> build/lib/otest
copying src/otest/result.py -> build/lib/otest
copying src/otest/jsonconv.py -> build/lib/otest
copying src/otest/conf_setup.py -> build/lib/otest
creating build/lib/otest/rp
copying src/otest/rp/__init__.py -> build/lib/otest/rp
copying src/otest/rp/response.py -> build/lib/otest/rp
copying src/otest/rp/check.py -> build/lib/otest/rp
copying src/otest/rp/tool.py -> build/lib/otest/rp
copying src/otest/rp/parse_conf.py -> build/lib/otest/rp
copying src/otest/rp/setup.py -> build/lib/otest/rp
copying src/otest/rp/handling.py -> build/lib/otest/rp
copying src/otest/rp/endpoints.py -> build/lib/otest/rp
copying src/otest/rp/operation.py -> build/lib/otest/rp
copying src/otest/rp/provider.py -> build/lib/otest/rp
copying src/otest/rp/display.py -> build/lib/otest/rp
creating build/lib/otest/aus
copying src/otest/aus/__init__.py -> build/lib/otest/aus
copying src/otest/aus/check.py -> build/lib/otest/aus
copying src/otest/aus/tool.py -> build/lib/otest/aus
copying src/otest/aus/client.py -> build/lib/otest/aus
copying src/otest/aus/handling.py -> build/lib/otest/aus
copying src/otest/aus/utils.py -> build/lib/otest/aus
copying src/otest/aus/request.py -> build/lib/otest/aus
copying src/otest/aus/operation.py -> build/lib/otest/aus
copying src/otest/aus/handling_ph.py -> build/lib/otest/aus
copying src/otest/aus/prof_util.py -> build/lib/otest/aus
copying src/otest/aus/app.py -> build/lib/otest/aus
creating build/lib/otest/contenthandler
copying src/otest/contenthandler/__init__.py -> build/lib/otest/contenthandler
creating build/lib/otest/aus/preproc
copying src/otest/aus/preproc/__init__.py -> build/lib/otest/aus/preproc
copying src/otest/aus/preproc/flow_list.py -> build/lib/otest/aus/preproc
copying src/otest/aus/preproc/logs.py -> build/lib/otest/aus/preproc
copying src/otest/aus/preproc/testinfo.py -> build/lib/otest/aus/preproc
copying src/otest/aus/preproc/profile.py -> build/lib/otest/aus/preproc
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/interaction.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/events.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/shannon_entropy.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/__init__.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/time_util.py -> build/bdist.linux-x86_64/egg/otest
creating build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/__init__.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/response.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/check.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/tool.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/parse_conf.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/setup.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/handling.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/endpoints.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/operation.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/provider.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/rp/display.py -> build/bdist.linux-x86_64/egg/otest/rp
copying build/lib/otest/check.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/jlog.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/tool.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/session.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/flow.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/conf_setup_old.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/handling.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/comhandler.py -> build/bdist.linux-x86_64/egg/otest
creating build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/__init__.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/check.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/tool.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/client.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/handling.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/utils.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/request.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/operation.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/handling_ph.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/prof_util.py -> build/bdist.linux-x86_64/egg/otest/aus
copying build/lib/otest/aus/app.py -> build/bdist.linux-x86_64/egg/otest/aus
creating build/bdist.linux-x86_64/egg/otest/aus/preproc
copying build/lib/otest/aus/preproc/__init__.py -> build/bdist.linux-x86_64/egg/otest/aus/preproc
copying build/lib/otest/aus/preproc/flow_list.py -> build/bdist.linux-x86_64/egg/otest/aus/preproc
copying build/lib/otest/aus/preproc/logs.py -> build/bdist.linux-x86_64/egg/otest/aus/preproc
copying build/lib/otest/aus/preproc/testinfo.py -> build/bdist.linux-x86_64/egg/otest/aus/preproc
copying build/lib/otest/aus/preproc/profile.py -> build/bdist.linux-x86_64/egg/otest/aus/preproc
copying build/lib/otest/parse_cnf.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/utils.py -> build/bdist.linux-x86_64/egg/otest
creating build/bdist.linux-x86_64/egg/otest/contenthandler
copying build/lib/otest/contenthandler/__init__.py -> build/bdist.linux-x86_64/egg/otest/contenthandler
copying build/lib/otest/common.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/verify.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/operation.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/func.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/summation.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/conversation.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/prof_util.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/proc.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/test_setup.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/result.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/jsonconv.py -> build/bdist.linux-x86_64/egg/otest
copying build/lib/otest/conf_setup.py -> build/bdist.linux-x86_64/egg/otest
byte-compiling build/bdist.linux-x86_64/egg/otest/interaction.py to interaction.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/events.py to events.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/shannon_entropy.py to shannon_entropy.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/time_util.py to time_util.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/response.py to response.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/check.py to check.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/tool.py to tool.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/parse_conf.py to parse_conf.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/setup.py to setup.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/handling.py to handling.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/endpoints.py to endpoints.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/operation.py to operation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/provider.py to provider.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/rp/display.py to display.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/check.py to check.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/jlog.py to jlog.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/tool.py to tool.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/session.py to session.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/flow.py to flow.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/conf_setup_old.py to conf_setup_old.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/handling.py to handling.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/comhandler.py to comhandler.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/check.py to check.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/tool.py to tool.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/client.py to client.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/handling.py to handling.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/utils.py to utils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/request.py to request.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/operation.py to operation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/handling_ph.py to handling_ph.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/prof_util.py to prof_util.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/app.py to app.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/preproc/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/preproc/flow_list.py to flow_list.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/preproc/logs.py to logs.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/preproc/testinfo.py to testinfo.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/aus/preproc/profile.py to profile.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/parse_cnf.py to parse_cnf.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/utils.py to utils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/contenthandler/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/common.py to common.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/verify.py to verify.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/operation.py to operation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/func.py to func.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/summation.py to summation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/conversation.py to conversation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/prof_util.py to prof_util.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/proc.py to proc.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/test_setup.py to test_setup.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/result.py to result.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/jsonconv.py to jsonconv.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/otest/conf_setup.py to conf_setup.cpython-36.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
copying data/uri-schemes-1.csv -> build/bdist.linux-x86_64/egg/otest
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-3.6
copying and adjusting script/testtool.py -> build/scripts-3.6
copying and adjusting script/make_keys.py -> build/scripts-3.6
changing mode of build/scripts-3.6/testtool.py from 644 to 755
changing mode of build/scripts-3.6/make_keys.py from 644 to 755
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.6/testtool.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.6/make_keys.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/testtool.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/make_keys.py to 755
copying src/otest.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/otest.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/otest.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/otest.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/otest.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/otest.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/otest-0.8.0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing otest-0.8.0-py3.6.egg
creating /usr/local/lib/python3.6/dist-packages/otest-0.8.0-py3.6.egg
Extracting otest-0.8.0-py3.6.egg to /usr/local/lib/python3.6/dist-packages
Adding otest 0.8.0 to easy-install.pth file
Installing testtool.py script to /usr/local/bin
Installing make_keys.py script to /usr/local/bin

Installed /usr/local/lib/python3.6/dist-packages/otest-0.8.0-py3.6.egg
Processing dependencies for otest==0.8.0
Searching for robobrowser
Reading https://pypi.python.org/simple/robobrowser/
Downloading https://files.pythonhosted.org/packages/f3/53/fd527e78fe8bdf7ec24b3b821c88c2dcbbe63d120c838f80f12ed0a0fac6/robobrowser-0.5.3.tar.gz#sha256=31219acab41ca68adce928e5c1e04acebba4ceabeb447b9c5e408d7b30fee983
Best match: robobrowser 0.5.3
Processing robobrowser-0.5.3.tar.gz
Writing /tmp/easy_install-79bdc8k5/robobrowser-0.5.3/setup.cfg
Running robobrowser-0.5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-79bdc8k5/robobrowser-0.5.3/egg-dist-tmp-xip738ii
warning: no files found matching 'AUTHORS.rst'
warning: no files found matching 'CONTRIBUTING.rst'
warning: no files found matching 'requirements.txt'
creating /usr/local/lib/python3.6/dist-packages/robobrowser-0.5.3-py3.6.egg
Extracting robobrowser-0.5.3-py3.6.egg to /usr/local/lib/python3.6/dist-packages
Adding robobrowser 0.5.3 to easy-install.pth file

Installed /usr/local/lib/python3.6/dist-packages/robobrowser-0.5.3-py3.6.egg
Searching for requests>=2.0.0
Reading https://pypi.python.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl#sha256=9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31
Best match: requests 2.22.0
Processing requests-2.22.0-py2.py3-none-any.whl
Installing requests-2.22.0-py2.py3-none-any.whl to /usr/local/lib/python3.6/dist-packages
writing requirements to /usr/local/lib/python3.6/dist-packages/requests-2.22.0-py3.6.egg/EGG-INFO/requires.txt
Adding requests 2.22.0 to easy-install.pth file

Installed /usr/local/lib/python3.6/dist-packages/requests-2.22.0-py3.6.egg
Searching for pyjwkest>=1.4.2
Reading https://pypi.python.org/simple/pyjwkest/
Downloading https://files.pythonhosted.org/packages/d2/41/37bda420543432c3da450fcfb1a1d0102a7dc92b69ed02306e299b5f65eb/pyjwkest-1.4.2.tar.gz#sha256=5560fd5ba08655f29ff6ad1df1e15dc05abc9d976fcbcec8d2b5167f49b70222
Best match: pyjwkest 1.4.2
Processing pyjwkest-1.4.2.tar.gz
Writing /tmp/easy_install-zis7uctr/pyjwkest-1.4.2/setup.cfg
Running pyjwkest-1.4.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zis7uctr/pyjwkest-1.4.2/egg-dist-tmp-4h3m_ygo
creating /usr/local/lib/python3.6/dist-packages/pyjwkest-1.4.2-py3.6.egg
Extracting pyjwkest-1.4.2-py3.6.egg to /usr/local/lib/python3.6/dist-packages
Adding pyjwkest 1.4.2 to easy-install.pth file
Installing gen_symkey.py script to /usr/local/bin
Installing peek.py script to /usr/local/bin
Installing jwenc.py script to /usr/local/bin
Installing jwkutil.py script to /usr/local/bin
Installing jwdecrypt.py script to /usr/local/bin
Installing jwk_create.py script to /usr/local/bin
Installing jwk_export.py script to /usr/local/bin

Installed /usr/local/lib/python3.6/dist-packages/pyjwkest-1.4.2-py3.6.egg
Searching for pycryptodomex
Reading https://pypi.python.org/simple/pycryptodomex/
Downloading https://files.pythonhosted.org/packages/85/56/97693da7f3f44ae8908a3ac80108d46db7ee5b62ebd533a90fae441405e8/pycryptodomex-3.9.6-cp36-cp36m-manylinux1_x86_64.whl#sha256=be838abc8557a21a60d453c5a4e64c738966b8a0b7d7f8f97eb8bb44041ca452
Best match: pycryptodomex 3.9.6
Processing pycryptodomex-3.9.6-cp36-cp36m-manylinux1_x86_64.whl
Installing pycryptodomex-3.9.6-cp36-cp36m-manylinux1_x86_64.whl to /usr/local/lib/python3.6/dist-packages
Adding pycryptodomex 3.9.6 to easy-install.pth file

Installed /usr/local/lib/python3.6/dist-packages/pycryptodomex-3.9.6-py3.6-linux-x86_64.egg
Searching for pyYAML
Reading https://pypi.python.org/simple/pyYAML/
Downloading https://files.pythonhosted.org/packages/3d/d9/ea9816aea31beeadccd03f1f8b625ecf8f645bd66744484d162d84803ce5/PyYAML-5.3.tar.gz#sha256=e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615
Best match: PyYAML 5.3
Processing PyYAML-5.3.tar.gz
Writing /tmp/easy_install-j3e_7q8r/PyYAML-5.3/setup.cfg
Running PyYAML-5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-j3e_7q8r/PyYAML-5.3/egg-dist-tmp-5492xr7z
In file included from ext/_yaml.c:596:0:
ext/_yaml.h:2:10: fatal error: yaml.h: No such file or directory
 #include <yaml.h>
          ^~~~~~~~
compilation terminated.
Error compiling module, falling back to pure Python
zip_safe flag not set; analyzing archive contents...
Moving PyYAML-5.3-py3.6-linux-x86_64.egg to /usr/local/lib/python3.6/dist-packages
Adding PyYAML 5.3 to easy-install.pth file

Installed /usr/local/lib/python3.6/dist-packages/PyYAML-5.3-py3.6-linux-x86_64.egg
Searching for psutil
Reading https://pypi.python.org/simple/psutil/
Downloading https://files.pythonhosted.org/packages/73/93/4f8213fbe66fc20cb904f35e6e04e20b47b85bee39845cc66a0bcf5ccdcb/psutil-5.6.7.tar.gz#sha256=ffad8eb2ac614518bbe3c0b8eb9dffdb3a8d2e3a7d5da51c5b974fb723a5c5aa
Best match: psutil 5.6.7
Processing psutil-5.6.7.tar.gz
Writing /tmp/easy_install-5sdvu4kh/psutil-5.6.7/setup.cfg
Running psutil-5.6.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5sdvu4kh/psutil-5.6.7/egg-dist-tmp-a34bsvqu
creating /usr/local/lib/python3.6/dist-packages/psutil-5.6.7-py3.6-linux-x86_64.egg
Extracting psutil-5.6.7-py3.6-linux-x86_64.egg to /usr/local/lib/python3.6/dist-packages
Adding psutil 5.6.7 to easy-install.pth file

Installed /usr/local/lib/python3.6/dist-packages/psutil-5.6.7-py3.6-linux-x86_64.egg
Searching for oic>=1.1.1
Reading https://pypi.python.org/simple/oic/
Downloading https://files.pythonhosted.org/packages/2f/31/4d01fe3784fc1f500b7e32605ec66fa393c7dc43889f197ed15ceb96871b/oic-1.2.0-py3-none-any.whl#sha256=0de63907c4037c2c8e83610f0ae0ae0d6563c254becd5a4279abe9e8abd18199
Best match: oic 1.2.0
Processing oic-1.2.0-py3-none-any.whl
Installing oic-1.2.0-py3-none-any.whl to /usr/local/lib/python3.6/dist-packages
writing requirements to /usr/local/lib/python3.6/dist-packages/oic-1.2.0-py3.6.egg/EGG-INFO/requires.txt
Adding oic 1.2.0 to easy-install.pth file
Installing oic-client-management script to /usr/local/bin

Installed /usr/local/lib/python3.6/dist-packages/oic-1.2.0-py3.6.egg
Searching for future
Reading https://pypi.python.org/simple/future/
Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz#sha256=b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d
Best match: future 0.18.2
Processing future-0.18.2.tar.gz
Writing /tmp/easy_install-1f5f05pn/future-0.18.2/setup.cfg
Running future-0.18.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1f5f05pn/future-0.18.2/egg-dist-tmp-c_0379as
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
zip_safe flag not set; analyzing archive contents...
future.backports.test.__pycache__.ssl_servers.cpython-36: module references __file__
future.backports.test.__pycache__.support.cpython-36: module references __file__
future.standard_library.__pycache__.__init__.cpython-36: module references __file__
future.standard_library.__pycache__.__init__.cpython-36: module references __path__
future.utils.__pycache__.__init__.cpython-36: module MAY be using inspect.stack
past.builtins.__pycache__.misc.cpython-36: module MAY be using inspect.stack
past.translation.__pycache__.__init__.cpython-36: module references __file__
past.translation.__pycache__.__init__.cpython-36: module references __path__
creating /usr/local/lib/python3.6/dist-packages/future-0.18.2-py3.6.egg
Extracting future-0.18.2-py3.6.egg to /usr/local/lib/python3.6/dist-packages
Adding future 0.18.2 to easy-install.pth file
Installing futurize script to /usr/local/bin
Installing pasteurize script to /usr/local/bin

Installed /usr/local/lib/python3.6/dist-packages/future-0.18.2-py3.6.egg
Searching for entropy
Reading https://pypi.python.org/simple/entropy/
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Couldn't find index page for 'entropy' (maybe misspelled?)
No local packages or working download links found for entropy
error: Could not find suitable distribution for Requirement.parse('entropy')
ERROR: Service 'op-test' failed to build: The command '/bin/sh -c cd otest && python3 setup.py install && cd -' returned a non-zero code: 1
zandbelt commented 4 years ago

we'll investigate asap. but I guess for now it is best to use the Docker images from https://hub.docker.com/r/openidcertification/op_test/tags

CrowdHailer commented 4 years ago

@zandbelt thank you. This looks a much more accessible approach for anyone with docker installed.

Is it important that you modify your host file. so that you can call it at the domain op-test?

I've run

docker run -p 60000:60000 openidcertification/op_test:v1.2.4

However I cannot visit service at http://localhost:60000 ?

I did see this output from the docker run command. But it hasn't stopped the container starting so might just be warnings.

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/CherryPy-8.9.1-py3.6.egg/cherrypy/wsgiserver/__init__.py", line 2021, in start
    self.tick()
  File "/usr/local/lib/python3.6/dist-packages/CherryPy-8.9.1-py3.6.egg/cherrypy/wsgiserver/__init__.py", line 2090, in tick
    s, ssl_env = self.ssl_adapter.wrap(s)
  File "/usr/local/lib/python3.6/dist-packages/CherryPy-8.9.1-py3.6.egg/cherrypy/wsgiserver/ssl_builtin.py", line 67, in wrap
    server_side=True)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
OSError: [Errno 0] Error
zandbelt commented 4 years ago

the modification to the hosts file is important once you start to run tests; the SSL error message is (unfortunately) merely a warning; you should use "https" rather than "http"

CrowdHailer commented 4 years ago

Interesting, I see that warning before making any requests. I wonder if it's a health check or ping I have somewhere. I will investigate.

Is there a way to start the docker container with some services already configures. Probably by mounting a volume in the appropriate place

dimaqq commented 4 years ago

It seems entropy was pulled from pypi... Google finds some cached URLs, but pypi.org reports there's no such package...

zandbelt commented 4 years ago

yes, I was afraid of that: @rohe what's the typical way forward here?

CrowdHailer commented 4 years ago

@zandbelt is there somewhere documented that there are published images for this project? If not would adding a comment to the README about getting started be a good idea

rohe commented 4 years ago

Hmm, neither pyoidc or pyjwkest requires something called entropy. So it's a secondary requirement. Will take some time to track down and even so I'm not sure what we could do about it. There used to be an entropy package at pypi but that was a couple of years ago.

tpazderka commented 4 years ago

otest does.

tpazderka commented 4 years ago

Although it looks like the package is actually not used and just declared as a dependency, so it should be safe to remove.

rohe commented 4 years ago

Ah, missed that! Thanks @tpazderka ! Then it should be possible to handle.

rohe commented 4 years ago

Removed the requirement. My guess is that there might be other requirements that are not needed anymore now when we demand python 3.5 or higher. PyYAML for instance.

travisspencer commented 4 years ago

Is there a fix for this? Encountering the same error on master.

This is blocking us from upgrading to get the new logout tests.

zandbelt commented 4 years ago

we'll rollout the fix to production later today or tomorrow

travisspencer commented 4 years ago

I am OK with a fix on master. We don't need it running anywhere for our local tests. Just the update here in GitHub is OK for us. Is that what you meant, @zandbelt ?

zandbelt commented 4 years ago

I see: the fix is in "otest" which is a dependency; I have pushed it here: https://github.com/openid-certification/otest/commit/908ea67c2473e213ba62a9e285c57c24fc947694 you'll need to rebuild after removing some of the Docker cache that contains otest master...

travisspencer commented 4 years ago

But, doesn't the otest submodule or dependency need to be updated here on master? We suck this repo in as a submodule to our code and build the Docker container from it. Then, we run our tests, so this is our only entry point into the test tool during our pre-certification testing.

zandbelt commented 4 years ago

oidctest master depends only on otest master, which would be cached in Docker... I know it is sub-optimal but that's why the release branch used fixed versions of dependencies

travisspencer commented 4 years ago

I'm confused. Did you just push a fix? I'm not getting it:

.../oidctest > master $ git pull Already up to date.

travisspencer commented 4 years ago

Ah, I see. Got it. The master of this module didn't change, but the Docker build process is pulling in master of the oidctest project that had the fix. I'm up now! Thanks @zandbelt !

travisspencer commented 4 years ago

From my perspective, this issue can be closed.