[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

298 replace usage of unicode #366

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

ChristianF88
Copy link

Code commits from @TomeCirun. Updated github workflow from master of ckan/ckanext-scheming.

@ChristianF88
Copy link
Author

@wardi could you please approve the workflow, so we can see where the tests fail? Cheers

@ChristianF88
Copy link
Author

Hi guys,

As the reason why linting fails remains a mystery, I have been using act to run the github actions locally and locally linting passes. However there're some other failures, that seem to be unrelated with changes made in the course of this pull requests. Would one of you have a look at this? @wardi or @TomeCirun?

This is the output of running the actions locally:

(default) root@ckan-2-10:/usr/lib/ckan/default/src/ckanext-scheming# ../bin/act
[Tests/lint] 🚀  Start image=catthehacker/ubuntu:act-18.04
[Tests/lint]   🐳  docker pull image=catthehacker/ubuntu:act-18.04 platform= username= forcePull=true
[Tests/lint]   🐳  docker create image=catthehacker/ubuntu:act-18.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/lint]   🐳  docker run image=catthehacker/ubuntu:act-18.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/lint]   ☁  git clone 'https://github.com/actions/setup-python' # ref=v2
[Tests/lint] ⭐ Run Main actions/checkout@v2
[Tests/lint]   🐳  docker cp src=/usr/lib/ckan/default/src/ckanext-scheming/. dst=/usr/lib/ckan/default/src/ckanext-scheming
[Tests/lint]   ✅  Success - Main actions/checkout@v2
[Tests/lint] ⭐ Run Main actions/setup-python@v2
[Tests/lint]   🐳  docker cp src=/root/.cache/act/actions-setup-python@v2/ dst=/var/run/act/actions/actions-setup-python@v2/
[Tests/lint]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-python@v2/dist/setup/index.js] user= workdir=
[Tests/lint]   💬  ::debug::Semantic version spec of 3.6 is 3.6
[Tests/lint]   💬  ::debug::isExplicit: 
[Tests/lint]   💬  ::debug::explicit? false
[Tests/lint]   💬  ::debug::evaluating 0 versions
[Tests/lint]   💬  ::debug::match not found
| Version 3.6 was not found in the local cache
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.12.0-alpha.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-rc.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-rc.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-beta.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-beta.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-beta.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-beta.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-beta.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.11.0-alpha.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.11 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.10 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.9 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.8 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-rc.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-rc.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-beta.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-beta.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-beta.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-beta.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.10.0-alpha.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.16 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.15 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.14 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.13 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.12 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.11 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.10 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.9 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.8 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.2-rc.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.1-rc.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.0 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.0-rc.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.0-rc.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.0-beta.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.9.0-beta.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.16 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.15 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.14 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.13 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.12 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.11 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.10 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.9 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.8 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.8.0 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.16 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.15 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.14 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.13 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.12 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.11 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.10 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.9 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.8 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.7 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.6 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.5 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.4 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.3 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.2 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.7.1 satisfies 3.6
[Tests/lint]   💬  ::debug::check 3.6.15 satisfies 3.6
[Tests/lint]   💬  ::debug::x64===x64 && darwin===linux
[Tests/lint]   💬  ::debug::x64===x64 && linux===linux
[Tests/lint]   💬  ::debug::matched 3.6.15
| Version 3.6 is available for downloading
| Download from "https://github.com/actions/python-versions/releases/download/3.6.15-116025/python-3.6.15-linux-18.04-x64.tar.gz"
[Tests/lint]   💬  ::debug::Downloading https://github.com/actions/python-versions/releases/download/3.6.15-116025/python-3.6.15-linux-18.04-x64.tar.gz
[Tests/lint]   💬  ::debug::Destination /tmp/ce35551c-0dc2-4036-bd81-92787ed92ea5
[Tests/lint]   💬  ::debug::download complete
| Extract downloaded archive
[Tests/lint]   💬  ::debug::Checking tar --version
[Tests/lint]   💬  ::debug::tar (GNU tar) 1.29%0ACopyright (C) 2015 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason.
| [command]/bin/tar xz --warning=no-unknown-keyword -C /tmp/d034d279-0cc7-4f05-9fbf-ae228857fc5b -f /tmp/ce35551c-0dc2-4036-bd81-92787ed92ea5
| Execute installation script
| Check if Python hostedtoolcache folder exist...
| Creating Python hostedtoolcache folder...
| Create Python 3.6.15 folder
| Copy Python binaries to hostedtoolcache folder
| Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
| Upgrading PIP...
| Looking in links: /tmp/tmp51uzq_ho
| Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages (40.6.2)
| Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages (18.1)
| Collecting pip
| Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
| Installing collected packages: pip
| Successfully installed pip-21.3.1
| Create complete file
[Tests/lint]   💬  ::debug::isExplicit: 
[Tests/lint]   💬  ::debug::explicit? false
[Tests/lint]   💬  ::debug::isExplicit: 3.6.15
[Tests/lint]   💬  ::debug::explicit? true
[Tests/lint]   💬  ::debug::evaluating 1 versions
[Tests/lint]   💬  ::debug::matched: 3.6.15
[Tests/lint]   💬  ::debug::checking cache: /opt/hostedtoolcache/Python/3.6.15/x64
[Tests/lint]   💬  ::debug::Found tool in cache Python 3.6.15 x64
| Successfully setup CPython (3.6.15)
[Tests/lint]   ❓ add-matcher /run/act/actions/actions-setup-python@v2/.github/python.json
[Tests/lint]   ✅  Success - Main actions/setup-python@v2
[Tests/lint]   ⚙  ::set-env:: pythonLocation=/opt/hostedtoolcache/Python/3.6.15/x64
[Tests/lint]   ⚙  ::set-env:: LD_LIBRARY_PATH=/opt/hostedtoolcache/Python/3.6.15/x64/lib
[Tests/lint]   ⚙  ::set-output:: python-version=3.6.15
[Tests/lint]   ⚙  ::add-path:: /opt/hostedtoolcache/Python/3.6.15/x64
[Tests/lint]   ⚙  ::add-path:: /opt/hostedtoolcache/Python/3.6.15/x64/bin
[Tests/lint] ⭐ Run Main Install requirements
[Tests/lint]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/2] user= workdir=
| Collecting flake8
|   Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 409 kB/s             
| Collecting pycodestyle
|   Downloading pycodestyle-2.10.0-py2.py3-none-any.whl (41 kB)
     |████████████████████████████████| 41 kB 280 kB/s             
| Collecting mccabe<0.8.0,>=0.7.0
|   Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
| Collecting pycodestyle
|   Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
     |████████████████████████████████| 41 kB 440 kB/s             
| Collecting pyflakes<2.6.0,>=2.5.0
|   Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)
     |████████████████████████████████| 66 kB 3.4 MB/s             
| Collecting importlib-metadata<4.3,>=1.1.0
|   Downloading importlib_metadata-4.2.0-py3-none-any.whl (16 kB)
| Collecting zipp>=0.5
|   Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB)
| Collecting typing-extensions>=3.6.4
|   Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
| Installing collected packages: zipp, typing-extensions, pyflakes, pycodestyle, mccabe, importlib-metadata, flake8
| Successfully installed flake8-5.0.4 importlib-metadata-4.2.0 mccabe-0.7.0 pycodestyle-2.9.1 pyflakes-2.5.0 typing-extensions-4.1.1 zipp-3.6.0
| WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[Tests/lint]   ✅  Success - Main Install requirements
[Tests/lint] ⭐ Run Main Check syntax
[Tests/lint]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3] user= workdir=
| 0
[Tests/lint]   ✅  Success - Main Check syntax
[Tests/lint] ⭐ Run Post actions/setup-python@v2
[Tests/lint]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-python@v2/dist/cache-save/index.js] user= workdir=
[Tests/lint]   ✅  Success - Post actions/setup-python@v2
[Tests/lint] 🏁  Job succeeded
[Tests/CKAN 2.10-1   ] 🚀  Start image=openknowledge/ckan-dev:2.10
[Tests/CKAN 2.9-2    ] 🚀  Start image=openknowledge/ckan-dev:2.9
[Tests/CKAN 2.9-py2-3] 🚀  Start image=openknowledge/ckan-dev:2.9-py2
[Tests/CKAN 2.8-4    ] 🚀  Start image=openknowledge/ckan-dev:2.8
[Tests/CKAN 2.8-4    ]   🐳  docker pull image=openknowledge/ckan-dev:2.8 platform= username= forcePull=true
[Tests/CKAN 2.10-1   ]   🐳  docker pull image=openknowledge/ckan-dev:2.10 platform= username= forcePull=true
[Tests/CKAN 2.9-py2-3]   🐳  docker pull image=openknowledge/ckan-dev:2.9-py2 platform= username= forcePull=true
[Tests/CKAN 2.9-2    ]   🐳  docker pull image=openknowledge/ckan-dev:2.9 platform= username= forcePull=true
[Tests/CKAN 2.9-2    ]   🐳  docker create image=openknowledge/ckan-dev:2.9 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/CKAN 2.9-2    ]   🐳  docker run image=openknowledge/ckan-dev:2.9 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/CKAN 2.9-2    ] 🧪  Matrix: map[ckan-version:2.9]
[Tests/CKAN 2.9-2    ] ⭐ Run Main actions/checkout@v2
[Tests/CKAN 2.9-2    ]   🐳  docker cp src=/usr/lib/ckan/default/src/ckanext-scheming/. dst=/usr/lib/ckan/default/src/ckanext-scheming
[Tests/CKAN 2.9-2    ]   ✅  Success - Main actions/checkout@v2
[Tests/CKAN 2.9-2    ] ⭐ Run Main Install requirements
[Tests/CKAN 2.9-py2-3]   🐳  docker create image=openknowledge/ckan-dev:2.9-py2 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/CKAN 2.9-2    ]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/1.sh] user= workdir=
[Tests/CKAN 2.9-py2-3]   🐳  docker run image=openknowledge/ckan-dev:2.9-py2 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/CKAN 2.9-py2-3] 🧪  Matrix: map[ckan-version:2.9-py2]
[Tests/CKAN 2.9-py2-3] ⭐ Run Main actions/checkout@v2
[Tests/CKAN 2.9-py2-3]   🐳  docker cp src=/usr/lib/ckan/default/src/ckanext-scheming/. dst=/usr/lib/ckan/default/src/ckanext-scheming
[Tests/CKAN 2.8-4    ]   🐳  docker create image=openknowledge/ckan-dev:2.8 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/CKAN 2.9-py2-3]   ✅  Success - Main actions/checkout@v2
[Tests/CKAN 2.8-4    ]   🐳  docker run image=openknowledge/ckan-dev:2.8 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Tests/CKAN 2.9-py2-3] ⭐ Run Main Install requirements
[Tests/CKAN 2.8-4    ] 🧪  Matrix: map[ckan-version:2.8]
[Tests/CKAN 2.8-4    ] ⭐ Run Main actions/checkout@v2
| Obtaining file:///usr/lib/ckan/default/src/ckanext-scheming
[Tests/CKAN 2.9-py2-3]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/1.sh] user= workdir=
[Tests/CKAN 2.8-4    ]   🐳  docker cp src=/usr/lib/ckan/default/src/ckanext-scheming/. dst=/usr/lib/ckan/default/src/ckanext-scheming
[Tests/CKAN 2.8-4    ]   ✅  Success - Main actions/checkout@v2
|   Preparing metadata (setup.py) ... done
| Requirement already satisfied: pyyaml in /usr/lib/python3.8/site-packages (from ckanext-scheming==3.0.0) (5.4.1)
| Collecting ckanapi
|   Downloading ckanapi-4.7.tar.gz (33 kB)
[Tests/CKAN 2.8-4    ] ⭐ Run Main Install requirements
| DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
[Tests/CKAN 2.8-4    ]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/1.sh] user= workdir=
| Obtaining file:///usr/lib/ckan/default/src/ckanext-scheming
[Tests/CKAN 2.10-1   ]   🐳  docker create image=openknowledge/ckan-dev:2.10 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
|   Preparing metadata (setup.py) ... done
| Requirement already satisfied: ckantoolkit>=0.0.7 in /usr/lib/python3.8/site-packages (from ckanext-scheming==3.0.0) (0.0.7)
| Requirement already satisfied: pytz in /usr/lib/python3.8/site-packages (from ckanext-scheming==3.0.0) (2016.7)
| Requirement already satisfied: six in /usr/lib/python3.8/site-packages (from ckanext-scheming==3.0.0) (1.16.0)
| Requirement already satisfied: setuptools in /usr/lib/python3.8/site-packages (from ckanapi->ckanext-scheming==3.0.0) (44.1.0)
[Tests/CKAN 2.10-1   ]   🐳  docker run image=openknowledge/ckan-dev:2.10 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
| Requirement already satisfied: docopt in /usr/lib/python3.8/site-packages (from ckanapi->ckanext-scheming==3.0.0) (0.6.2)
| Requirement already satisfied: requests in /usr/lib/python3.8/site-packages (from ckanapi->ckanext-scheming==3.0.0) (2.25.1)
| Collecting python-slugify>=1.0
|   Downloading python_slugify-8.0.1-py2.py3-none-any.whl (9.7 kB)
| Collecting text-unidecode>=1.3
|   Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.2/78.2 kB 7.7 MB/s eta 0:00:00
| Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (2021.5.30)
| Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (1.26.6)
| Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (2.10)
| Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (4.0.0)
| Building wheels for collected packages: ckanapi
| Requirement already satisfied: pyyaml in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (5.3.1)
[Tests/CKAN 2.10-1   ] 🧪  Matrix: map[ckan-version:2.10]
[Tests/CKAN 2.10-1   ] ⭐ Run Main actions/checkout@v2
| Collecting ckanapi
|   Downloading ckanapi-4.7.tar.gz (33 kB)
[Tests/CKAN 2.10-1   ]   🐳  docker cp src=/usr/lib/ckan/default/src/ckanext-scheming/. dst=/usr/lib/ckan/default/src/ckanext-scheming
| DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
[Tests/CKAN 2.10-1   ]   ✅  Success - Main actions/checkout@v2
| Obtaining file:///usr/lib/ckan/default/src/ckanext-scheming
|   Building wheel for ckanapi (setup.py) ... done
|   Created wheel for ckanapi: filename=ckanapi-4.7-py3-none-any.whl size=43309 sha256=0a7b752dac2e32ba519ad089efd91dc103801f49288ca96f4b6f5b95e79e0d69
|   Stored in directory: /root/.cache/pip/wheels/0d/b2/c7/219cd5a752c2ff4fb9809216307d26f6421f6711e0f4e010ff
| Successfully built ckanapi
| Requirement already satisfied: ckantoolkit>=0.0.7 in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (0.0.7)
| Requirement already satisfied: pytz in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (2016.7)
| Requirement already satisfied: six in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (1.12.0)
| Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (44.1.0)
| Requirement already satisfied: docopt in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (0.6.2)
| Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (2.22.0)
| Collecting python-slugify>=1.0
|   Downloading python_slugify-6.1.2-py2.py3-none-any.whl (9.4 kB)
| Requirement already satisfied: simplejson in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (3.10.0)
| Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (3.0.4)
| Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python2.7/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (2.8)
| Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (1.25.8)
| Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (2019.3.9)
| Requirement already satisfied: text-unidecode>=1.3 in /usr/lib/python2.7/site-packages (from python-slugify>=1.0->ckanapi->ckanext-scheming==3.0.0) (1.3)
[Tests/CKAN 2.10-1   ] ⭐ Run Main Install requirements
| Building wheels for collected packages: ckanapi
[Tests/CKAN 2.10-1   ]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/1.sh] user= workdir=
| Collecting pyyaml
|   Downloading PyYAML-5.4.1.tar.gz (175 kB)
     |████████████████████████████████| 175 kB 8.2 MB/s 
|   Building wheel for ckanapi (setup.py) ... done
|   Created wheel for ckanapi: filename=ckanapi-4.7-py2-none-any.whl size=43318 sha256=ff7ad915e7dbd029667243b60d4896b962c9950c20f73b54d1a9e7f2e2db0932
|   Stored in directory: /root/.cache/pip/wheels/10/0f/2a/274cced8f56bd0b71adf01876f5defc8bcc290f32499557376
| Successfully built ckanapi
| Installing collected packages: text-unidecode, python-slugify, ckanapi, ckanext-scheming
|   Running setup.py develop for ckanext-scheming
| Installing collected packages: python-slugify, ckanapi, ckanext-scheming
|   Running setup.py develop for ckanext-scheming
| Successfully installed ckanapi-4.7 ckanext-scheming-3.0.0 python-slugify-8.0.1 text-unidecode-1.3
| WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
| 
| [notice] A new release of pip is available: 23.0.1 -> 23.1
| [notice] To update, run: pip install --upgrade pip
[Tests/CKAN 2.9-2    ]   ✅  Success - Main Install requirements
| Successfully installed ckanapi-4.7 ckanext-scheming python-slugify-6.1.2
| Obtaining file:///usr/lib/ckan/default/src/ckanext-scheming
[Tests/CKAN 2.9-2    ] ⭐ Run Main Setup extension (CKAN >= 2.9)
| WARNING: You are using pip version 20.3.3; however, version 20.3.4 is available.
| You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
[Tests/CKAN 2.9-py2-3]   ✅  Success - Main Install requirements
[Tests/CKAN 2.9-2    ]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/2.sh] user= workdir=
|   Preparing metadata (setup.py) ... done
| Requirement already satisfied: pyyaml in /usr/lib/python3.10/site-packages (from ckanext-scheming==3.0.0) (6.0)
[Tests/CKAN 2.9-py2-3] ⭐ Run Main Setup extension (CKAN >= 2.9)
| Collecting ckanapi
|   Downloading ckanapi-4.7.tar.gz (33 kB)
[Tests/CKAN 2.9-py2-3]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/2.sh] user= workdir=
|   Preparing metadata (setup.py) ... done
| Requirement already satisfied: ckantoolkit>=0.0.7 in /usr/lib/python3.10/site-packages (from ckanext-scheming==3.0.0) (0.0.7)
| Requirement already satisfied: pytz in /usr/lib/python3.10/site-packages (from ckanext-scheming==3.0.0) (2021.3)
| Requirement already satisfied: six in /usr/lib/python3.10/site-packages (from ckanext-scheming==3.0.0) (1.16.0)
| Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (from ckanapi->ckanext-scheming==3.0.0) (59.4.0)
| Requirement already satisfied: docopt in /usr/lib/python3.10/site-packages (from ckanapi->ckanext-scheming==3.0.0) (0.6.2)
| Requirement already satisfied: requests in /usr/lib/python3.10/site-packages (from ckanapi->ckanext-scheming==3.0.0) (2.28.1)
| Requirement already satisfied: python-slugify>=1.0 in /usr/lib/python3.10/site-packages (from ckanapi->ckanext-scheming==3.0.0) (8.0.0)
| Requirement already satisfied: text-unidecode>=1.3 in /usr/lib/python3.10/site-packages (from python-slugify>=1.0->ckanapi->ckanext-scheming==3.0.0) (1.3)
| Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.10/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (2021.10.8)
| Requirement already satisfied: charset-normalizer<3,>=2 in /usr/lib/python3.10/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (2.0.12)
| Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.10/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (1.26.9)
| Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.10/site-packages (from requests->ckanapi->ckanext-scheming==3.0.0) (3.3)
| Building wheels for collected packages: ckanapi
| Requirement already satisfied: beautifulsoup4 in /usr/lib/python3.8/site-packages (from -r test-requirements.txt (line 1)) (4.9.1)
| Requirement already satisfied: factory-boy in /usr/lib/python3.8/site-packages (from -r test-requirements.txt (line 2)) (2.12.0)
| Requirement already satisfied: pytest in /usr/lib/python3.8/site-packages (from -r test-requirements.txt (line 3)) (4.6.5)
| DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
| Collecting pytest-ckan
| Requirement already satisfied: beautifulsoup4 in /usr/lib/python2.7/site-packages (from -r test-requirements.txt (line 1)) (4.9.1)
|   Downloading pytest_ckan-0.0.12-py2.py3-none-any.whl (6.0 kB)
| Requirement already satisfied: pytest-cov in /usr/lib/python3.8/site-packages (from -r test-requirements.txt (line 5)) (2.7.1)
| Requirement already satisfied: factory-boy in /usr/lib/python2.7/site-packages (from -r test-requirements.txt (line 2)) (2.12.0)
| Requirement already satisfied: pytest in /usr/lib/python2.7/site-packages (from -r test-requirements.txt (line 3)) (4.6.5)
| Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.8/site-packages (from beautifulsoup4->-r test-requirements.txt (line 1)) (2.4)
| Requirement already satisfied: Faker>=0.7.0 in /usr/lib/python3.8/site-packages (from factory-boy->-r test-requirements.txt (line 2)) (17.0.0)
| Requirement already satisfied: pluggy<1.0,>=0.12 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (0.13.1)
| Requirement already satisfied: py>=1.5.0 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.11.0)
| Requirement already satisfied: atomicwrites>=1.0 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.4.1)
| Requirement already satisfied: wcwidth in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (0.2.6)
| Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (22.2.0)
| Requirement already satisfied: six>=1.10.0 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.16.0)
| Requirement already satisfied: packaging in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (23.0)
| Requirement already satisfied: more-itertools>=4.0.0 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (9.0.0)
| Requirement already satisfied: importlib-metadata>=0.12 in /usr/lib/python3.8/site-packages (from pytest->-r test-requirements.txt (line 3)) (6.0.0)
| Requirement already satisfied: coverage>=4.4 in /usr/lib/python3.8/site-packages (from pytest-cov->-r test-requirements.txt (line 5)) (6.5.0)
| Requirement already satisfied: python-dateutil>=2.4 in /usr/lib/python3.8/site-packages (from Faker>=0.7.0->factory-boy->-r test-requirements.txt (line 2)) (2.8.2)
| Collecting pytest-ckan
|   Downloading pytest_ckan-0.0.12-py2.py3-none-any.whl (6.0 kB)
| Requirement already satisfied: zipp>=0.5 in /usr/lib/python3.8/site-packages (from importlib-metadata>=0.12->pytest->-r test-requirements.txt (line 3)) (3.14.0)
| Requirement already satisfied: pytest-cov in /usr/lib/python2.7/site-packages (from -r test-requirements.txt (line 5)) (2.7.1)
| Requirement already satisfied: soupsieve<2.0 in /usr/lib/python2.7/site-packages (from beautifulsoup4->-r test-requirements.txt (line 1)) (1.9.6)
| Requirement already satisfied: Faker>=0.7.0 in /usr/lib/python2.7/site-packages (from factory-boy->-r test-requirements.txt (line 2)) (3.0.1)
| Requirement already satisfied: funcsigs>=1.0; python_version < "3.0" in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.0.2)
| Requirement already satisfied: py>=1.5.0 in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.11.0)
| Requirement already satisfied: pluggy<1.0,>=0.12 in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (0.13.1)
| Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (2.3.7.post1)
| Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.12.0)
| Requirement already satisfied: more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (5.0.0)
| Requirement already satisfied: packaging in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (20.9)
| Requirement already satisfied: atomicwrites>=1.0 in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.4.1)
| Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (21.4.0)
| Requirement already satisfied: wcwidth in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (0.2.6)
| Requirement already satisfied: importlib-metadata>=0.12 in /usr/lib/python2.7/site-packages (from pytest->-r test-requirements.txt (line 3)) (2.1.3)
|   Building wheel for ckanapi (setup.py) ... done
|   Created wheel for ckanapi: filename=ckanapi-4.7-py3-none-any.whl size=43312 sha256=dea7145f317691e5c112e9162349c0ae43c8f6031973675f5836aab7ea742e81
|   Stored in directory: /root/.cache/pip/wheels/d1/07/e2/8237645142c5eb6502d5f1e7f97d78d721e9cd22a376dc78bc
| Requirement already satisfied: coverage>=4.4 in /usr/lib/python2.7/site-packages (from pytest-cov->-r test-requirements.txt (line 5)) (5.5)
| Successfully built ckanapi
| Requirement already satisfied: backports.functools-lru-cache; python_version < "3" in /usr/lib/python2.7/site-packages (from soupsieve<2.0->beautifulsoup4->-r test-requirements.txt (line 1)) (1.6.4)
| Requirement already satisfied: text-unidecode==1.3 in /usr/lib/python2.7/site-packages (from Faker>=0.7.0->factory-boy->-r test-requirements.txt (line 2)) (1.3)
| Requirement already satisfied: ipaddress; python_version < "3.3" in /usr/lib/python2.7/site-packages (from Faker>=0.7.0->factory-boy->-r test-requirements.txt (line 2)) (1.0.23)
| Requirement already satisfied: python-dateutil>=2.4 in /usr/lib/python2.7/site-packages (from Faker>=0.7.0->factory-boy->-r test-requirements.txt (line 2)) (2.8.0)
| Requirement already satisfied: scandir; python_version < "3.5" in /usr/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest->-r test-requirements.txt (line 3)) (1.10.0)
| Requirement already satisfied: typing; python_version < "3.5" in /usr/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest->-r test-requirements.txt (line 3)) (3.10.0.0)
| Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python2.7/site-packages (from packaging->pytest->-r test-requirements.txt (line 3)) (2.4.7)
| Requirement already satisfied: configparser>=3.5; python_version < "3" in /usr/lib/python2.7/site-packages (from importlib-metadata>=0.12->pytest->-r test-requirements.txt (line 3)) (4.0.2)
| Requirement already satisfied: zipp>=0.5 in /usr/lib/python2.7/site-packages (from importlib-metadata>=0.12->pytest->-r test-requirements.txt (line 3)) (1.2.0)
| Requirement already satisfied: contextlib2; python_version < "3" in /usr/lib/python2.7/site-packages (from importlib-metadata>=0.12->pytest->-r test-requirements.txt (line 3)) (0.6.0.post1)
| Installing collected packages: pytest-ckan
| Successfully installed pytest-ckan-0.0.12
| WARNING: You are using pip version 20.3.3; however, version 20.3.4 is available.
| You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
| Installing collected packages: pytest-ckan
| Successfully installed pytest-ckan-0.0.12
| WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
| 
| [notice] A new release of pip is available: 23.0.1 -> 23.1
| [notice] To update, run: pip install --upgrade pip
| Installing collected packages: ckanapi, ckanext-scheming
|   Installing build dependencies ... done
|   Running setup.py develop for ckanext-scheming
| /usr/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
|   from cryptography import utils, x509
| Successfully installed ckanapi-4.7 ckanext-scheming-3.0.0
| WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
| 2023-04-18 07:53:54,674 INFO  [ckan.cli] Using configuration file /usr/lib/ckan/default/src/ckanext-scheming/test.ini
| 2023-04-18 07:53:54,676 INFO  [ckan.config.environment] Loading static files from public
| 2023-04-18 07:53:54,761 ERROR [ckan.lib.search.common] Failed to connect to server at 'http://solr:8983/solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1085bde550>: Failed to establish a new connection: [Errno -2] Name does not resolve',))
| Traceback (most recent call last):
|   File "/srv/app/src/ckan/ckan/lib/search/common.py", line 61, in is_available
|     conn.search(q="*:*", rows=1)
|   File "/usr/lib/python2.7/site-packages/pysolr.py", line 720, in search
|     response = self._select(params, handler=search_handler)
|   File "/usr/lib/python2.7/site-packages/pysolr.py", line 418, in _select
|     return self._send_request('get', path)
|   File "/usr/lib/python2.7/site-packages/pysolr.py", line 375, in _send_request
|     raise SolrError(error_message % params)
| SolrError: Failed to connect to server at 'http://solr:8983/solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1085bde550>: Failed to establish a new connection: [Errno -2] Name does not resolve',))
| 2023-04-18 07:53:54,762 WARNI [ckan.lib.search] Problems were found while connecting to the SOLR server
| 2023-04-18 07:53:54,778 INFO  [ckan.config.environment] Loading templates from /srv/app/src/ckan/ckan/templates
| Traceback (most recent call last):
|   File "/usr/bin/ckan", line 11, in <module>
|     load_entry_point('ckan', 'console_scripts', 'ckan')()
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 829, in __call__
|     return self.main(*args, **kwargs)
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 781, in main
|     with self.make_context(prog_name, args, **extra) as ctx:
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 700, in make_context
|     self.parse_args(ctx, args)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 116, in parse_args
|     result = super(ExtendableGroup, self).parse_args(ctx, args)
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 1212, in parse_args
|     rest = Command.parse_args(self, ctx, args)
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 1048, in parse_args
|     value, args = param.handle_parse_result(ctx, opts, args)
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 1630, in handle_parse_result
|     value = invoke_param_callback(self.callback, ctx, self, value)
|   File "/usr/lib/python2.7/site-packages/click/core.py", line 123, in invoke_param_callback
|     return callback(ctx, param, value)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 126, in _init_ckan_config
|     _add_ctx_object(ctx, value)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 135, in _add_ctx_object
|     ctx.obj = CtxObject(path)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 57, in __init__
|     self.app = make_app(self.config)
|   File "/srv/app/src/ckan/ckan/config/middleware/__init__.py", line 56, in make_app
|     load_environment(conf)
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 123, in load_environment
|     p.load_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 161, in load_all
|     unload_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 208, in unload_all
|     unload(*reversed(_PLUGINS))
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 236, in unload
|     plugins_update()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 153, in plugins_update
|     environment.update_config()
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 306, in update_config
|     model.init_model(engine)
|   File "/srv/app/src/ckan/ckan/model/__init__.py", line 152, in init_model
|     Table('alembic_version', meta.metadata, autoload=True)
|   File "<string>", line 2, in __new__
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/deprecations.py", line 130, in warned
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 496, in __new__
|     metadata._remove_table(name, schema)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 491, in __new__
|     table._init(name, metadata, *args, **kw)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 585, in _init
|     resolve_fks=resolve_fks,
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 626, in _autoload
|     _extend_on=_extend_on,
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2146, in run_callable
|     with self._contextual_connect() as conn:
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2226, in _contextual_connect
|     self._wrap_pool_connect(self.pool.connect, None),
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2266, in _wrap_pool_connect
|     e, dialect, self
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1536, in _handle_dbapi_exception_noconnection
|     util.raise_from_cause(sqlalchemy_exception, exc_info)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 399, in raise_from_cause
|     reraise(type(exception), exception, tb=exc_tb, cause=cause)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
|     return fn()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 363, in connect
|     return _ConnectionFairy._checkout(self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 760, in _checkout
|     fairy = _ConnectionRecord.checkout(pool)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
|     rec = pool._do_get()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/impl.py", line 139, in _do_get
|     self._dec_overflow()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/impl.py", line 136, in _do_get
|     return self._create_connection()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
|     return _ConnectionRecord(self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 437, in __init__
|     self.__connect(first_connect_check=True)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 639, in __connect
|     connection = pool._invoke_creator(self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
|     return dialect.connect(*cargs, **cparams)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 451, in connect
|     return self.dbapi.connect(*cargs, **cparams)
|   File "/usr/lib/python2.7/site-packages/psycopg2/__init__.py", line 127, in connect
|     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
| sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres" to address: Name does not resolve
| 
| (Background on this error at: http://sqlalche.me/e/e3q8)
| 
| [notice] A new release of pip is available: 23.0.1 -> 23.1
| [notice] To update, run: pip install --upgrade pip
[Tests/CKAN 2.9-py2-3]   ❌  Failure - Main Setup extension (CKAN >= 2.9)
| 2023-04-18 07:53:55,229 INFO  [ckan.cli] Using configuration file /usr/lib/ckan/default/src/ckanext-scheming/test.ini
| 2023-04-18 07:53:55,231 INFO  [ckan.config.environment] Loading static files from public
[Tests/CKAN 2.10-1   ]   ✅  Success - Main Install requirements
[Tests/CKAN 2.9-py2-3] exitcode '1': failure
| 2023-04-18 07:53:55,694 ERROR [ckan.lib.search.common] Failed to connect to server at 'http://solr:8983/solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89be1d9ee0>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| Traceback (most recent call last):
|   File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
|     conn = connection.create_connection(
|   File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
|     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
|   File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
|     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
| socket.gaierror: [Errno -2] Name does not resolve
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
|     httplib_response = self._make_request(
|   File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
|     conn.request(method, url, **httplib_request_kw)
|   File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
|     super(HTTPConnection, self).request(method, url, body=body, headers=headers)
|   File "/usr/lib/python3.8/http/client.py", line 1256, in request
|     self._send_request(method, url, body, headers, encode_chunked)
|   File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
|     self.endheaders(body, encode_chunked=encode_chunked)
|   File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
|     self._send_output(message_body, encode_chunked=encode_chunked)
|   File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
|     self.send(msg)
|   File "/usr/lib/python3.8/http/client.py", line 951, in send
|     self.connect()
|   File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
|     conn = self._new_conn()
|   File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
|     raise NewConnectionError(
| urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89be1d9ee0>: Failed to establish a new connection: [Errno -2] Name does not resolve
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
|     resp = conn.urlopen(
|   File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
|     retries = retries.increment(
|   File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
|     raise MaxRetryError(_pool, url, error or ResponseError(cause))
| urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89be1d9ee0>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/usr/lib/python3.8/site-packages/pysolr.py", line 365, in _send_request
|     resp = requests_method(url, data=bytes_body, headers=headers, files=files,
|   File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 555, in get
|     return self.request('GET', url, **kwargs)
|   File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
|     resp = self.send(prep, **send_kwargs)
|   File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
|     r = adapter.send(request, **kwargs)
|   File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
|     raise ConnectionError(e, request=request)
| requests.exceptions.ConnectionError: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89be1d9ee0>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/srv/app/src/ckan/ckan/lib/search/common.py", line 61, in is_available
|     conn.search(q="*:*", rows=1)
|   File "/usr/lib/python3.8/site-packages/pysolr.py", line 720, in search
|     response = self._select(params, handler=search_handler)
|   File "/usr/lib/python3.8/site-packages/pysolr.py", line 418, in _select
|     return self._send_request('get', path)
|   File "/usr/lib/python3.8/site-packages/pysolr.py", line 375, in _send_request
|     raise SolrError(error_message % params)
| pysolr.SolrError: Failed to connect to server at 'http://solr:8983/solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89be1d9ee0>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| 2023-04-18 07:53:55,705 WARNI [ckan.lib.search] Problems were found while connecting to the SOLR server
| 2023-04-18 07:53:55,707 INFO  [ckan.config.environment] Loading templates from /srv/app/src/ckan/ckan/templates
| Traceback (most recent call last):
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
|     return fn()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 363, in connect
|     return _ConnectionFairy._checkout(self)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 760, in _checkout
|     fairy = _ConnectionRecord.checkout(pool)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
|     rec = pool._do_get()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 139, in _do_get
|     self._dec_overflow()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 154, in reraise
|     raise value
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 136, in _do_get
|     return self._create_connection()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
|     return _ConnectionRecord(self)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 437, in __init__
|     self.__connect(first_connect_check=True)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 639, in __connect
|     connection = pool._invoke_creator(self)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
|     return dialect.connect(*cargs, **cparams)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 451, in connect
|     return self.dbapi.connect(*cargs, **cparams)
|   File "/usr/lib/python3.8/site-packages/psycopg2/__init__.py", line 122, in connect
|     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
| psycopg2.OperationalError: could not translate host name "postgres" to address: Name does not resolve
| 
| 
| The above exception was the direct cause of the following exception:
| 
| Traceback (most recent call last):
|   File "/usr/bin/ckan", line 8, in <module>
|     sys.exit(ckan())
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 829, in __call__
|     return self.main(*args, **kwargs)
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 781, in main
|     with self.make_context(prog_name, args, **extra) as ctx:
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 700, in make_context
|     self.parse_args(ctx, args)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 116, in parse_args
|     result = super(ExtendableGroup, self).parse_args(ctx, args)
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 1212, in parse_args
|     rest = Command.parse_args(self, ctx, args)
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 1048, in parse_args
|     value, args = param.handle_parse_result(ctx, opts, args)
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 1630, in handle_parse_result
|     value = invoke_param_callback(self.callback, ctx, self, value)
|   File "/usr/lib/python3.8/site-packages/click/core.py", line 123, in invoke_param_callback
|     return callback(ctx, param, value)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 126, in _init_ckan_config
|     _add_ctx_object(ctx, value)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 135, in _add_ctx_object
|     ctx.obj = CtxObject(path)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 57, in __init__
|     self.app = make_app(self.config)
|   File "/srv/app/src/ckan/ckan/config/middleware/__init__.py", line 56, in make_app
|     load_environment(conf)
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 123, in load_environment
|     p.load_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 161, in load_all
|     unload_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 208, in unload_all
|     unload(*reversed(_PLUGINS))
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 236, in unload
|     plugins_update()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 153, in plugins_update
|     environment.update_config()
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 306, in update_config
|     model.init_model(engine)
|   File "/srv/app/src/ckan/ckan/model/__init__.py", line 152, in init_model
|     Table('alembic_version', meta.metadata, autoload=True)
|   File "<string>", line 2, in __new__
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py", line 130, in warned
|     return fn(*args, **kwargs)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/sql/schema.py", line 496, in __new__
|     metadata._remove_table(name, schema)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 154, in reraise
|     raise value
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/sql/schema.py", line 491, in __new__
|     table._init(name, metadata, *args, **kw)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/sql/schema.py", line 580, in _init
|     self._autoload(
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/sql/schema.py", line 620, in _autoload
|     bind.run_callable(
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2146, in run_callable
|     with self._contextual_connect() as conn:
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2226, in _contextual_connect
|     self._wrap_pool_connect(self.pool.connect, None),
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2265, in _wrap_pool_connect
|     Connection._handle_dbapi_exception_noconnection(
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1536, in _handle_dbapi_exception_noconnection
|     util.raise_from_cause(sqlalchemy_exception, exc_info)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 399, in raise_from_cause
|     reraise(type(exception), exception, tb=exc_tb, cause=cause)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 153, in reraise
|     raise value.with_traceback(tb)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
|     return fn()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 363, in connect
|     return _ConnectionFairy._checkout(self)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 760, in _checkout
|     fairy = _ConnectionRecord.checkout(pool)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
|     rec = pool._do_get()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 139, in _do_get
|     self._dec_overflow()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 154, in reraise
|     raise value
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 136, in _do_get
|     return self._create_connection()
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
|     return _ConnectionRecord(self)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 437, in __init__
|     self.__connect(first_connect_check=True)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 639, in __connect
|     connection = pool._invoke_creator(self)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
|     return dialect.connect(*cargs, **cparams)
|   File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 451, in connect
|     return self.dbapi.connect(*cargs, **cparams)
|   File "/usr/lib/python3.8/site-packages/psycopg2/__init__.py", line 122, in connect
|     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
| sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres" to address: Name does not resolve
| 
| (Background on this error at: http://sqlalche.me/e/e3q8)
[Tests/CKAN 2.9-py2-3] 🏁  Job failed
[Tests/CKAN 2.9-2    ]   ❌  Failure - Main Setup extension (CKAN >= 2.9)
[Tests/CKAN 2.10-1   ] ⭐ Run Main Setup extension (CKAN >= 2.9)
[Tests/CKAN 2.10-1   ]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/2.sh] user= workdir=
[Tests/CKAN 2.9-2    ] exitcode '1': failure
[Tests/CKAN 2.9-2    ] 🏁  Job failed
|   Getting requirements to build wheel ... done
|     Preparing wheel metadata ... done
| Collecting ckanapi
|   Downloading ckanapi-4.7.tar.gz (33 kB)
| Requirement already satisfied: ckantoolkit>=0.0.7 in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (0.0.7)
| Requirement already satisfied: pytz in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (2016.7)
| Requirement already satisfied: six in /usr/lib/python2.7/site-packages (from ckanext-scheming==3.0.0) (1.11.0)
| Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (44.1.1)
| Collecting docopt
|   Downloading docopt-0.6.2.tar.gz (25 kB)
| Requirement already satisfied: beautifulsoup4 in /usr/lib/python3.10/site-packages (from -r test-requirements.txt (line 1)) (4.11.1)
| Requirement already satisfied: factory-boy in /usr/lib/python3.10/site-packages (from -r test-requirements.txt (line 2)) (3.2.1)
| Requirement already satisfied: pytest in /usr/lib/python3.10/site-packages (from -r test-requirements.txt (line 3)) (7.1.3)
| Collecting pytest-ckan
|   Downloading pytest_ckan-0.0.12-py2.py3-none-any.whl (6.0 kB)
| Requirement already satisfied: pytest-cov in /usr/lib/python3.10/site-packages (from -r test-requirements.txt (line 5)) (3.0.0)
| Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.10/site-packages (from beautifulsoup4->-r test-requirements.txt (line 1)) (2.4)
| Requirement already satisfied: Faker>=0.7.0 in /usr/lib/python3.10/site-packages (from factory-boy->-r test-requirements.txt (line 2)) (14.2.0)
| Requirement already satisfied: py>=1.8.2 in /usr/lib/python3.10/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.11.0)
| Requirement already satisfied: pluggy<2.0,>=0.12 in /usr/lib/python3.10/site-packages (from pytest->-r test-requirements.txt (line 3)) (1.0.0)
| Requirement already satisfied: iniconfig in /usr/lib/python3.10/site-packages (from pytest->-r test-requirements.txt (line 3)) (2.0.0)
| Requirement already satisfied: tomli>=1.0.0 in /usr/lib/python3.10/site-packages (from pytest->-r test-requirements.txt (line 3)) (2.0.1)
| Requirement already satisfied: packaging in /usr/lib/python3.10/site-packages (from pytest->-r test-requirements.txt (line 3)) (21.3)
| Requirement already satisfied: attrs>=19.2.0 in /usr/lib/python3.10/site-packages (from pytest->-r test-requirements.txt (line 3)) (22.2.0)
| Requirement already satisfied: coverage[toml]>=5.2.1 in /usr/lib/python3.10/site-packages (from pytest-cov->-r test-requirements.txt (line 5)) (6.5.0)
| Requirement already satisfied: python-dateutil>=2.4 in /usr/lib/python3.10/site-packages (from Faker>=0.7.0->factory-boy->-r test-requirements.txt (line 2)) (2.8.2)
| Requirement already satisfied: six>=1.5 in /usr/lib/python3.10/site-packages (from python-dateutil>=2.4->Faker>=0.7.0->factory-boy->-r test-requirements.txt (line 2)) (1.16.0)
| Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (2.11.1)
| Collecting python-slugify>=1.0
|   Downloading python_slugify-6.1.2-py2.py3-none-any.whl (9.4 kB)
| Requirement already satisfied: simplejson in /usr/lib/python2.7/site-packages (from ckanapi->ckanext-scheming==3.0.0) (3.10.0)
| Collecting text-unidecode>=1.3
|   Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
     |████████████████████████████████| 78 kB 5.9 MB/s 
| Building wheels for collected packages: pyyaml, ckanapi, docopt
|   Building wheel for pyyaml (PEP 517) ... done
|   Created wheel for pyyaml: filename=PyYAML-5.4.1-cp27-cp27mu-linux_x86_64.whl size=46824 sha256=e157480ad5cacc2d8bae6d08b1588a7c6434adf0eaa58d0fd310a9c4a50e7ebe
|   Stored in directory: /root/.cache/pip/wheels/ac/f7/59/730c380c3ff2d8cb0ee6c31443fab00321b1e55728b7f3a33f
| Installing collected packages: pytest-ckan
| Successfully installed pytest-ckan-0.0.12
| WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
| 
| [notice] A new release of pip is available: 23.0.1 -> 23.1
| [notice] To update, run: pip install --upgrade pip
|   Building wheel for ckanapi (setup.py) ... done
|   Created wheel for ckanapi: filename=ckanapi-4.7-py2-none-any.whl size=43318 sha256=1e397dc1a0aa1dd480cba134ff9268358a285db2f232746fdd5441970f8c4e5e
|   Stored in directory: /root/.cache/pip/wheels/10/0f/2a/274cced8f56bd0b71adf01876f5defc8bcc290f32499557376
|   Building wheel for docopt (setup.py) ... done
|   Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13704 sha256=5f8193481048102bb42bbc83055941fe27f7c686397c568cd708d95701c70448
|   Stored in directory: /root/.cache/pip/wheels/1c/d7/2d/aefbee2bf20e0ed968d4ab943e03451db0f14c52b5f624fc7e
| Successfully built pyyaml ckanapi docopt
| Installing collected packages: pyyaml, docopt, text-unidecode, python-slugify, ckanapi, ckanext-scheming
|   Running setup.py develop for ckanext-scheming
| Successfully installed ckanapi-4.7 ckanext-scheming docopt-0.6.2 python-slugify-6.1.2 pyyaml-5.4.1 text-unidecode-1.3
| WARNING: You are using pip version 20.3.3; however, version 20.3.4 is available.
| You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
[Tests/CKAN 2.8-4    ]   ✅  Success - Main Install requirements
| 2023-04-18 07:54:03,701 INFO  [ckan.cli] Using configuration file /usr/lib/ckan/default/src/ckanext-scheming/test.ini
| 2023-04-18 07:54:03,702 INFO  [ckan.config.environment] Loading static files from public
[Tests/CKAN 2.8-4    ] ⭐ Run Main Setup extension (CKAN < 2.9)
[Tests/CKAN 2.8-4    ]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/3.sh] user= workdir=
| 2023-04-18 07:54:04,637 ERROR [ckan.lib.search.common] Failed to connect to server at http://solr:8983/solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc5689f7340>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| Traceback (most recent call last):
|   File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
|     conn = connection.create_connection(
|   File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
|     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
|   File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
|     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
| socket.gaierror: [Errno -2] Name does not resolve
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
|     httplib_response = self._make_request(
|   File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
|     conn.request(method, url, **httplib_request_kw)
|   File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
|     super(HTTPConnection, self).request(method, url, body=body, headers=headers)
|   File "/usr/lib/python3.10/http/client.py", line 1282, in request
|     self._send_request(method, url, body, headers, encode_chunked)
|   File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request
|     self.endheaders(body, encode_chunked=encode_chunked)
|   File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders
|     self._send_output(message_body, encode_chunked=encode_chunked)
|   File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output
|     self.send(msg)
|   File "/usr/lib/python3.10/http/client.py", line 975, in send
|     self.connect()
|   File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
|     conn = self._new_conn()
|   File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
|     raise NewConnectionError(
| urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fc5689f7340>: Failed to establish a new connection: [Errno -2] Name does not resolve
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
|     resp = conn.urlopen(
|   File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 785, in urlopen
|     retries = retries.increment(
|   File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
|     raise MaxRetryError(_pool, url, error or ResponseError(cause))
| urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc5689f7340>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request
|     resp = requests_method(
|   File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
|     return self.request("GET", url, **kwargs)
|   File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
|     resp = self.send(prep, **send_kwargs)
|   File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
|     r = adapter.send(request, **kwargs)
|   File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 565, in send
|     raise ConnectionError(e, request=request)
| requests.exceptions.ConnectionError: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc5689f7340>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| 
| During handling of the above exception, another exception occurred:
| 
| Traceback (most recent call last):
|   File "/srv/app/src/ckan/ckan/lib/search/common.py", line 69, in is_available
|     conn.search(q="*:*", rows=1)
|   File "/usr/lib/python3.10/site-packages/pysolr.py", line 827, in search
|     response = self._select(params, handler=search_handler)
|   File "/usr/lib/python3.10/site-packages/pysolr.py", line 488, in _select
|     return self._send_request("get", path)
|   File "/usr/lib/python3.10/site-packages/pysolr.py", line 431, in _send_request
|     raise SolrError(error_message % (url, err))
| pysolr.SolrError: Failed to connect to server at http://solr:8983/solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json: HTTPConnectionPool(host='solr', port=8983): Max retries exceeded with url: /solr/ckan/select/?q=%2A%3A%2A&rows=1&wt=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc5689f7340>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
| 2023-04-18 07:54:04,645 WARNI [ckan.lib.search] Problems were found while connecting to the SOLR server
| 2023-04-18 07:54:04,649 INFO  [ckan.config.environment] Loading templates from /srv/app/src/ckan/ckan/templates
| Traceback (most recent call last):
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3361, in _wrap_pool_connect
|     return fn()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 320, in connect
|     return _ConnectionFairy._checkout(self)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 884, in _checkout
|     fairy = _ConnectionRecord.checkout(pool)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 486, in checkout
|     rec = pool._do_get()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 145, in _do_get
|     with util.safe_reraise():
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|     compat.raise_(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
|     raise exception
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 143, in _do_get
|     return self._create_connection()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 266, in _create_connection
|     return _ConnectionRecord(self)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 381, in __init__
|     self.__connect()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 677, in __connect
|     with util.safe_reraise():
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|     compat.raise_(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
|     raise exception
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 673, in __connect
|     self.dbapi_connection = connection = pool._invoke_creator(self)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|     return dialect.connect(*cargs, **cparams)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 598, in connect
|     return self.dbapi.connect(*cargs, **cparams)
|   File "/usr/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect
|     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
| psycopg2.OperationalError: could not translate host name "postgres" to address: Name does not resolve
| 
| 
| The above exception was the direct cause of the following exception:
| 
| Traceback (most recent call last):
|   File "/usr/bin/ckan", line 8, in <module>
|     sys.exit(ckan())
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
|     return self.main(*args, **kwargs)
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 1054, in main
|     with self.make_context(prog_name, args, **extra) as ctx:
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 920, in make_context
|     self.parse_args(ctx, args)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 121, in parse_args
|     result = super().parse_args(ctx, args)
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 1613, in parse_args
|     rest = super().parse_args(ctx, args)
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 1378, in parse_args
|     value, args = param.handle_parse_result(ctx, opts, args)
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 2360, in handle_parse_result
|     value = self.process_value(ctx, value)
|   File "/usr/lib/python3.10/site-packages/click/core.py", line 2322, in process_value
|     value = self.callback(ctx, self, value)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 131, in _init_ckan_config
|     _add_ctx_object(ctx, value)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 140, in _add_ctx_object
|     ctx.obj = CtxObject(path)
|   File "/srv/app/src/ckan/ckan/cli/cli.py", line 57, in __init__
|     self.app = make_app(raw_config)
|   File "/srv/app/src/ckan/ckan/config/middleware/__init__.py", line 27, in make_app
|     load_environment(conf)
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 69, in load_environment
|     p.load_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 220, in load_all
|     unload_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 270, in unload_all
|     unload(*reversed(_PLUGINS))
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 302, in unload
|     plugins_update()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 212, in plugins_update
|     environment.update_config()
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 216, in update_config
|     model.init_model(engine)
|   File "/srv/app/src/ckan/ckan/model/__init__.py", line 164, in init_model
|     Table('alembic_version', meta.metadata, autoload=True)
|   File "<string>", line 2, in __new__
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
|     return fn(*args, **kwargs)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 616, in __new__
|     with util.safe_reraise():
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|     compat.raise_(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
|     raise exception
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 612, in __new__
|     table._init(name, metadata, *args, **kw)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 687, in _init
|     self._autoload(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 720, in _autoload
|     insp = inspection.inspect(autoload_with)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/inspection.py", line 64, in inspect
|     ret = reg(subject)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 182, in _engine_insp
|     return Inspector._construct(Inspector._init_engine, bind)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 117, in _construct
|     init(self, bind)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 128, in _init_engine
|     engine.connect().close()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3315, in connect
|     return self._connection_cls(self, close_with_result=close_with_result)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|     else engine.raw_connection()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3394, in raw_connection
|     return self._wrap_pool_connect(self.pool.connect, _connection)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3364, in _wrap_pool_connect
|     Connection._handle_dbapi_exception_noconnection(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2198, in _handle_dbapi_exception_noconnection
|     util.raise_(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
|     raise exception
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3361, in _wrap_pool_connect
|     return fn()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 320, in connect
|     return _ConnectionFairy._checkout(self)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 884, in _checkout
|     fairy = _ConnectionRecord.checkout(pool)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 486, in checkout
|     rec = pool._do_get()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 145, in _do_get
|     with util.safe_reraise():
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|     compat.raise_(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
|     raise exception
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 143, in _do_get
|     return self._create_connection()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 266, in _create_connection
|     return _ConnectionRecord(self)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 381, in __init__
|     self.__connect()
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 677, in __connect
|     with util.safe_reraise():
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|     compat.raise_(
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
|     raise exception
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 673, in __connect
|     self.dbapi_connection = connection = pool._invoke_creator(self)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|     return dialect.connect(*cargs, **cparams)
|   File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 598, in connect
|     return self.dbapi.connect(*cargs, **cparams)
|   File "/usr/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect
|     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
| sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres" to address: Name does not resolve
| 
| (Background on this error at: https://sqlalche.me/e/14/e3q8)
| DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
| Requirement already satisfied: factory-boy>=2 in /usr/lib/python2.7/site-packages (from -r test-requirements-py2.txt (line 1)) (2.1.1)
| Requirement already satisfied: mock in /usr/lib/python2.7/site-packages (from -r test-requirements-py2.txt (line 2)) (2.0.0)
[Tests/CKAN 2.10-1   ]   ❌  Failure - Main Setup extension (CKAN >= 2.9)
| Collecting soupsieve==1.2
|   Downloading soupsieve-1.2-py2.py3-none-any.whl (22 kB)
[Tests/CKAN 2.10-1   ] exitcode '1': failure
[Tests/CKAN 2.10-1   ] 🏁  Job failed
| Collecting importlib-metadata==1.6.1
|   Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 kB)
| Collecting configparser==3.8.1
|   Downloading configparser-3.8.1-py2.py3-none-any.whl (22 kB)
| Collecting zipp==1.2.0
|   Downloading zipp-1.2.0-py2.py3-none-any.whl (4.8 kB)
| Collecting beautifulsoup4==4.8.2
|   Downloading beautifulsoup4-4.8.2-py2-none-any.whl (106 kB)
     |████████████████████████████████| 106 kB 18.9 MB/s 
| Collecting pytest==4.6.5
|   Downloading pytest-4.6.5-py2.py3-none-any.whl (230 kB)
     |████████████████████████████████| 230 kB 17.2 MB/s 
| Collecting pytest-ckan
|   Downloading pytest_ckan-0.0.12-py2.py3-none-any.whl (6.0 kB)
| Collecting pytest-cov==2.7.1
|   Downloading pytest_cov-2.7.1-py2.py3-none-any.whl (17 kB)
| Requirement already satisfied: funcsigs>=1 in /usr/lib/python2.7/site-packages (from mock->-r test-requirements-py2.txt (line 2)) (1.0.2)
| Requirement already satisfied: pbr>=0.11 in /usr/lib/python2.7/site-packages (from mock->-r test-requirements-py2.txt (line 2)) (1.10.0)
| Requirement already satisfied: six>=1.9 in /usr/lib/python2.7/site-packages (from mock->-r test-requirements-py2.txt (line 2)) (1.11.0)
| Collecting backports.functools-lru-cache; python_version < "3"
|   Downloading backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)
| Collecting pathlib2; python_version < "3"
|   Downloading pathlib2-2.3.7.post1-py2.py3-none-any.whl (18 kB)
| Collecting contextlib2; python_version < "3"
|   Downloading contextlib2-0.6.0.post1-py2.py3-none-any.whl (9.8 kB)
| Collecting py>=1.5.0
|   Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
     |████████████████████████████████| 98 kB 6.6 MB/s 
| Collecting pluggy<1.0,>=0.12
|   Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
| Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7"
|   Downloading more_itertools-5.0.0-py2-none-any.whl (52 kB)
     |████████████████████████████████| 52 kB 1.1 MB/s 
| Requirement already satisfied: packaging in /usr/lib/python2.7/site-packages (from pytest==4.6.5->-r test-requirements-py2.txt (line 8)) (20.9)
| Collecting atomicwrites>=1.0
|   Downloading atomicwrites-1.4.1.tar.gz (14 kB)
| Collecting attrs>=17.4.0
|   Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
     |████████████████████████████████| 60 kB 4.9 MB/s 
| Collecting wcwidth
|   Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
| Collecting coverage>=4.4
|   Downloading coverage-5.5.tar.gz (691 kB)
     |████████████████████████████████| 691 kB 21.4 MB/s 
| Collecting scandir; python_version < "3.5"
|   Downloading scandir-1.10.0.tar.gz (33 kB)
| Requirement already satisfied: typing; python_version < "3.5" in /usr/lib/python2.7/site-packages (from pathlib2; python_version < "3"->importlib-metadata==1.6.1->-r test-requirements-py2.txt (line 4)) (3.10.0.0)
| Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python2.7/site-packages (from packaging->pytest==4.6.5->-r test-requirements-py2.txt (line 8)) (2.4.7)
| Building wheels for collected packages: atomicwrites, coverage, scandir
|   Building wheel for atomicwrites (setup.py) ... done
|   Created wheel for atomicwrites: filename=atomicwrites-1.4.1-py2.py3-none-any.whl size=6945 sha256=65afc22e0d982f5759010cd9538d1056d9daeb8accddb442b298b2e2a24a61d5
|   Stored in directory: /root/.cache/pip/wheels/2f/ad/c7/8f63590ada41ee3d04e3633845cdbb899543f2def32ca31003
|   Building wheel for coverage (setup.py) ... done
|   Created wheel for coverage: filename=coverage-5.5-cp27-cp27mu-linux_x86_64.whl size=231923 sha256=01814193229269ceb58e76301b06ede4cf43bd90347b440430d1c73bb75a9453
|   Stored in directory: /root/.cache/pip/wheels/b6/f8/66/466b523e75a5bb511138db91e5601e3a3ecfb21342c146b8ba
|   Building wheel for scandir (setup.py) ... done
|   Created wheel for scandir: filename=scandir-1.10.0-cp27-cp27mu-linux_x86_64.whl size=37785 sha256=57ba1b8abaab31ab3a22552549c1a4f25f05f6d2887f55d6341bd9031108cec8
|   Stored in directory: /root/.cache/pip/wheels/58/2c/26/52406f7d1f19bcc47a6fbd1037a5f293492f5cf1d58c539edb
| Successfully built atomicwrites coverage scandir
| Installing collected packages: backports.functools-lru-cache, soupsieve, configparser, contextlib2, zipp, scandir, pathlib2, importlib-metadata, beautifulsoup4, py, pluggy, more-itertools, atomicwrites, attrs, wcwidth, pytest, pytest-ckan, coverage, pytest-cov
|   Attempting uninstall: beautifulsoup4
|     Found existing installation: beautifulsoup4 4.5.1
|     Uninstalling beautifulsoup4-4.5.1:
|       Successfully uninstalled beautifulsoup4-4.5.1
| Successfully installed atomicwrites-1.4.1 attrs-21.4.0 backports.functools-lru-cache-1.6.4 beautifulsoup4-4.8.2 configparser-3.8.1 contextlib2-0.6.0.post1 coverage-5.5 importlib-metadata-1.6.1 more-itertools-5.0.0 pathlib2-2.3.7.post1 pluggy-0.13.1 py-1.11.0 pytest-4.6.5 pytest-ckan-0.0.12 pytest-cov-2.7.1 scandir-1.10.0 soupsieve-1.2 wcwidth-0.2.6 zipp-1.2.0
| WARNING: You are using pip version 20.3.3; however, version 20.3.4 is available.
| You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
| Traceback (most recent call last):
|   File "/usr/bin/paster", line 11, in <module>
|     load_entry_point('PasteScript==2.0.2', 'console_scripts', 'paster')()
|   File "/usr/lib/python2.7/site-packages/paste/script/command.py", line 102, in run
|     invoke(command, command_name, options, args[1:])
|   File "/usr/lib/python2.7/site-packages/paste/script/command.py", line 141, in invoke
|     exit_code = runner.run(args)
|   File "/usr/lib/python2.7/site-packages/paste/script/command.py", line 236, in run
|     result = self.command()
|   File "/srv/app/src/ckan/ckan/lib/cli.py", line 357, in command
|     self._load_config(cmd!='upgrade')
|   File "/srv/app/src/ckan/ckan/lib/cli.py", line 330, in _load_config
|     self.site_user = load_config(self.options.config, load_site_user)
|   File "/srv/app/src/ckan/ckan/lib/cli.py", line 237, in load_config
|     load_environment(conf.global_conf, conf.local_conf)
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 116, in load_environment
|     p.load_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 130, in load_all
|     unload_all()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 183, in unload_all
|     unload(*reversed(_PLUGINS))
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 211, in unload
|     plugins_update()
|   File "/srv/app/src/ckan/ckan/plugins/core.py", line 122, in plugins_update
|     environment.update_config()
|   File "/srv/app/src/ckan/ckan/config/environment.py", line 289, in update_config
|     model.init_model(engine)
|   File "/srv/app/src/ckan/ckan/model/__init__.py", line 157, in init_model
|     version_table = Table('migrate_version', meta.metadata, autoload=True)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 439, in __new__
|     metadata._remove_table(name, schema)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 434, in __new__
|     table._init(name, metadata, *args, **kw)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 514, in _init
|     include_columns, _extend_on=_extend_on)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 540, in _autoload
|     _extend_on=_extend_on
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2044, in run_callable
|     with self.contextual_connect() as conn:
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2112, in contextual_connect
|     self._wrap_pool_connect(self.pool.connect, None),
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2151, in _wrap_pool_connect
|     e, dialect, self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1465, in _handle_dbapi_exception_noconnection
|     exc_info
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
|     reraise(type(exception), exception, tb=exc_tb, cause=cause)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2147, in _wrap_pool_connect
|     return fn()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 387, in connect
|     return _ConnectionFairy._checkout(self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 766, in _checkout
|     fairy = _ConnectionRecord.checkout(pool)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 516, in checkout
|     rec = pool._do_get()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 1138, in _do_get
|     self._dec_overflow()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
|     compat.reraise(exc_type, exc_value, exc_tb)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 1135, in _do_get
|     return self._create_connection()
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 333, in _create_connection
|     return _ConnectionRecord(self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 461, in __init__
|     self.__connect(first_connect_check=True)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line 651, in __connect
|     connection = pool._invoke_creator(self)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 105, in connect
|     return dialect.connect(*cargs, **cparams)
|   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 393, in connect
|     return self.dbapi.connect(*cargs, **cparams)
|   File "/usr/lib/python2.7/site-packages/psycopg2/__init__.py", line 130, in connect
|     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
| sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres" to address: Name does not resolve
| 
[Tests/CKAN 2.8-4    ]   ❌  Failure - Main Setup extension (CKAN < 2.9)
[Tests/CKAN 2.8-4    ] exitcode '1': failure
[Tests/CKAN 2.8-4    ] 🏁  Job failed
Error: Job 'CKAN ${{ matrix.ckan-version }}' failed

Cheers!

@wardi
Copy link
Contributor
wardi commented Apr 19, 2023

@ChristianF88 would you merge master so we can get the tests running on this PR?

@ChristianF88
Copy link
Author

@wardi as far as I can say, the diff between master and this branch is now only the safe_unicode validator that is also in ckan core.

The changes made by @TomeCirun and now myself (merging master and tidying up) do not resolve the error described in issue #298. I'm still running into this error when trying to create a group (source install ckan2.10).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants