Started by timer Running as SYSTEM Building remotely on Ubuntu_18.04_bioeng49 (buildslave Testing) in workspace /home/cmiss/Jenkins/workspace/SPARC-API-New-SciCrunch [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://github.com/nih-sparc/sparc-api.git > git init /home/cmiss/Jenkins/workspace/SPARC-API-New-SciCrunch # timeout=10 Fetching upstream changes from https://github.com/nih-sparc/sparc-api.git > git --version # timeout=10 > git --version # 'git version 2.25.1' > git fetch --tags --force --progress -- https://github.com/nih-sparc/sparc-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/nih-sparc/sparc-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 84b6ce18430316f35d7a03a7839db24cc0a7ebce (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 84b6ce18430316f35d7a03a7839db24cc0a7ebce # timeout=10 Commit message: "Merge pull request #257 from nih-sparc/Address-api-test-failures" > git rev-list --no-walk 84b6ce18430316f35d7a03a7839db24cc0a7ebce # timeout=10 [SPARC-API-New-SciCrunch] $ /usr/bin/python3.9 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenv.py /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp Using base prefix '/usr' New python executable in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/bin/python3.9 Also creating executable in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/bin/python Installing setuptools, pip, wheel...done. [SPARC-API-New-SciCrunch] $ /bin/sh -xe /tmp/shiningpanda7008727243542493526.sh + pwd + export PYTHONPATH=/home/cmiss/Jenkins/workspace/SPARC-API-New-SciCrunch + export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + export SCICRUNCH_HOST=https://api.scicrunch.io/elastic/v1/SPARC_PortalDatasets_pr + pip install -r requirements.txt Collecting algoliasearch==2.6.2 (from -r requirements.txt (line 1)) Using cached algoliasearch-2.6.2-py2.py3-none-any.whl.metadata (4.4 kB) Collecting api==0.0.7 (from -r requirements.txt (line 2)) Using cached api-0.0.7-py3-none-any.whl Collecting APScheduler==3.7.0 (from -r requirements.txt (line 3)) Using cached APScheduler-3.7.0-py2.py3-none-any.whl.metadata (5.7 kB) Collecting boto3==1.26 (from -r requirements.txt (line 4)) Using cached boto3-1.26.0-py3-none-any.whl.metadata (7.0 kB) Collecting botocore==1.29.0 (from -r requirements.txt (line 5)) Using cached botocore-1.29.0-py3-none-any.whl.metadata (5.9 kB) Collecting certifi==2023.5.7 (from -r requirements.txt (line 6)) Using cached certifi-2023.5.7-py3-none-any.whl.metadata (2.2 kB) Collecting chardet==3.0.4 (from -r requirements.txt (line 7)) Using cached chardet-3.0.4-py2.py3-none-any.whl.metadata (3.2 kB) Collecting Click==7.1.2 (from -r requirements.txt (line 8)) Using cached click-7.1.2-py2.py3-none-any.whl.metadata (2.9 kB) Collecting contentful==1.13.1 (from -r requirements.txt (line 9)) Using cached contentful-1.13.1-py3-none-any.whl Collecting contentful_management==2.11.0 (from -r requirements.txt (line 10)) Using cached contentful_management-2.11.0-py3-none-any.whl Collecting docutils==0.15.2 (from -r requirements.txt (line 11)) Using cached docutils-0.15.2-py3-none-any.whl.metadata (2.6 kB) Collecting Flask==1.1.1 (from -r requirements.txt (line 12)) Using cached Flask-1.1.1-py2.py3-none-any.whl.metadata (4.4 kB) Collecting Flask-Caching==2.3.0 (from -r requirements.txt (line 13)) Using cached Flask_Caching-2.3.0-py3-none-any.whl.metadata (2.2 kB) Collecting Flask-Cors==3.0.8 (from -r requirements.txt (line 14)) Using cached Flask_Cors-3.0.8-py2.py3-none-any.whl.metadata (5.4 kB) Collecting flask-marshmallow==0.10.1 (from -r requirements.txt (line 15)) Using cached flask_marshmallow-0.10.1-py2.py3-none-any.whl.metadata (5.8 kB) Collecting google-api-python-client==2.52.0 (from -r requirements.txt (line 16)) Using cached google_api_python_client-2.52.0-py2.py3-none-any.whl.metadata (6.6 kB) Collecting gunicorn==20.0.4 (from -r requirements.txt (line 17)) Using cached gunicorn-20.0.4-py2.py3-none-any.whl.metadata (3.5 kB) Collecting hubspot-api-client==9.0.0 (from -r requirements.txt (line 18)) Using cached hubspot_api_client-9.0.0-py3-none-any.whl.metadata (7.0 kB) Collecting idna==2.8 (from -r requirements.txt (line 19)) Using cached idna-2.8-py2.py3-none-any.whl.metadata (8.9 kB) Collecting itsdangerous==1.1.0 (from -r requirements.txt (line 20)) Using cached itsdangerous-1.1.0-py2.py3-none-any.whl.metadata (3.1 kB) Collecting Jinja2==2.11.3 (from -r requirements.txt (line 21)) Using cached Jinja2-2.11.3-py2.py3-none-any.whl.metadata (3.5 kB) Collecting jmespath==0.9.4 (from -r requirements.txt (line 22)) Using cached jmespath-0.9.4-py2.py3-none-any.whl.metadata (7.9 kB) Collecting MarkupSafe==1.1.1 (from -r requirements.txt (line 23)) Using cached MarkupSafe-1.1.1-cp39-cp39-manylinux2010_x86_64.whl.metadata (3.2 kB) Collecting marshmallow==3.2.2 (from -r requirements.txt (line 24)) Using cached marshmallow-3.2.2-py2.py3-none-any.whl.metadata (7.6 kB) Collecting nose==1.3.7 (from -r requirements.txt (line 25)) Using cached nose-1.3.7-py3-none-any.whl.metadata (1.7 kB) Collecting oauth2client==4.1.3 (from -r requirements.txt (line 26)) Using cached oauth2client-4.1.3-py2.py3-none-any.whl.metadata (1.2 kB) Collecting osparc==0.4.3 (from -r requirements.txt (line 27)) Using cached osparc-0.4.3-py3-none-any.whl.metadata (7.0 kB) Collecting Pennsieve==6.1.1 (from -r requirements.txt (line 28)) Using cached pennsieve-6.1.1-py2.py3-none-any.whl.metadata (3.6 kB) Collecting Pennsieve2==0.1.2 (from -r requirements.txt (line 29)) Using cached pennsieve2-0.1.2-py3-none-any.whl.metadata (4.2 kB) Collecting Pillow (from -r requirements.txt (line 30)) Using cached pillow-11.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.metadata (9.1 kB) Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 31)) Using cached psycopg2_binary-2.9.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB) Collecting public==2019.4.13 (from -r requirements.txt (line 32)) Using cached public-2019.4.13-py3-none-any.whl Collecting pytest (from -r requirements.txt (line 33)) Using cached pytest-8.3.5-py3-none-any.whl.metadata (7.6 kB) Collecting pymongo==3.8.0 (from -r requirements.txt (line 34)) Using cached pymongo-3.8.0-cp39-cp39-linux_x86_64.whl Collecting python-dateutil==2.8.2 (from -r requirements.txt (line 35)) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB) Collecting python-dotenv==0.10.3 (from -r requirements.txt (line 36)) Using cached python_dotenv-0.10.3-py2.py3-none-any.whl.metadata (15 kB) Collecting query-string==2019.4.13 (from -r requirements.txt (line 37)) Using cached query_string-2019.4.13-py3-none-any.whl Collecting requests==2.31.0 (from -r requirements.txt (line 38)) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting s3transfer==0.6.0 (from -r requirements.txt (line 39)) Using cached s3transfer-0.6.0-py3-none-any.whl.metadata (1.6 kB) Collecting sendgrid==6.9.7 (from -r requirements.txt (line 40)) Using cached sendgrid-6.9.7-py3-none-any.whl.metadata (12 kB) Collecting six==1.13.0 (from -r requirements.txt (line 41)) Using cached six-1.13.0-py2.py3-none-any.whl.metadata (1.9 kB) Collecting SQLAlchemy==1.3.20 (from -r requirements.txt (line 42)) Using cached SQLAlchemy-1.3.20-cp39-cp39-manylinux2010_x86_64.whl.metadata (7.8 kB) Collecting urllib3==1.26.4 (from -r requirements.txt (line 43)) Using cached urllib3-1.26.4-py2.py3-none-any.whl.metadata (43 kB) Collecting Werkzeug==0.16.0 (from -r requirements.txt (line 44)) Using cached Werkzeug-0.16.0-py2.py3-none-any.whl.metadata (4.7 kB) Requirement already satisfied: setuptools>=0.7 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from APScheduler==3.7.0->-r requirements.txt (line 3)) (78.1.0) Collecting pytz (from APScheduler==3.7.0->-r requirements.txt (line 3)) Using cached pytz-2025.2-py2.py3-none-any.whl.metadata (22 kB) Collecting tzlocal~=2.0 (from APScheduler==3.7.0->-r requirements.txt (line 3)) Using cached tzlocal-2.1-py2.py3-none-any.whl.metadata (8.2 kB) Collecting cachelib<0.10.0,>=0.9.0 (from Flask-Caching==2.3.0->-r requirements.txt (line 13)) Using cached cachelib-0.9.0-py3-none-any.whl.metadata (1.9 kB) Collecting httplib2<1dev,>=0.15.0 (from google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached httplib2-0.22.0-py3-none-any.whl.metadata (2.6 kB) Collecting google-auth<3.0.0dev,>=1.19.0 (from google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached google_auth-2.38.0-py2.py3-none-any.whl.metadata (4.8 kB) Collecting google-auth-httplib2>=0.1.0 (from google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached google_auth_httplib2-0.2.0-py2.py3-none-any.whl.metadata (2.2 kB) Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5 (from google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached google_api_core-2.24.2-py3-none-any.whl.metadata (3.0 kB) Collecting uritemplate<5,>=3.0.1 (from google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached uritemplate-4.1.1-py2.py3-none-any.whl.metadata (2.9 kB) Collecting pyasn1>=0.1.7 (from oauth2client==4.1.3->-r requirements.txt (line 26)) Using cached pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB) Collecting pyasn1-modules>=0.0.5 (from oauth2client==4.1.3->-r requirements.txt (line 26)) Using cached pyasn1_modules-0.4.2-py3-none-any.whl.metadata (3.5 kB) Collecting rsa>=3.1.4 (from oauth2client==4.1.3->-r requirements.txt (line 26)) Using cached rsa-4.9-py3-none-any.whl.metadata (4.2 kB) Collecting configparser>=3.5 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached configparser-7.2.0-py3-none-any.whl.metadata (5.5 kB) Collecting deprecated>=1.2.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached Deprecated-1.2.18-py2.py3-none-any.whl.metadata (5.7 kB) Collecting future>=0.15.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Collecting futures (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached futures-3.0.5-py3-none-any.whl Collecting protobuf>=3.2.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached protobuf-6.30.2-cp39-abi3-manylinux2014_x86_64.whl.metadata (593 bytes) Collecting python-jose==3.2.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached python_jose-3.2.0-py2.py3-none-any.whl.metadata (5.1 kB) Collecting rsa>=3.1.4 (from oauth2client==4.1.3->-r requirements.txt (line 26)) Using cached rsa-4.0-py2.py3-none-any.whl.metadata (3.0 kB) Collecting semver>=2.8.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached semver-3.0.4-py3-none-any.whl.metadata (6.8 kB) Collecting websocket-client>=0.57.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached websocket_client-1.8.0-py3-none-any.whl.metadata (8.0 kB) Collecting docopt>=0.6 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached docopt-0.6.2-py2.py3-none-any.whl Collecting psutil>=5.4 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB) Collecting grpcio<2.0,>=1.51 (from Pennsieve2==0.1.2->-r requirements.txt (line 29)) Using cached grpcio-1.71.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB) Collecting grpcio_tools<2.0,>=1.51 (from Pennsieve2==0.1.2->-r requirements.txt (line 29)) Using cached grpcio_tools-1.71.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Collecting protobuf>=3.2.0 (from Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached protobuf-4.25.6-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes) Collecting pyjwt<3.0,>=2.6 (from Pennsieve2==0.1.2->-r requirements.txt (line 29)) Using cached PyJWT-2.10.1-py3-none-any.whl.metadata (4.0 kB) Collecting tqdm<5.0,>=4.64 (from Pennsieve2==0.1.2->-r requirements.txt (line 29)) Using cached tqdm-4.67.1-py3-none-any.whl.metadata (57 kB) Collecting charset-normalizer<4,>=2 (from requests==2.31.0->-r requirements.txt (line 38)) Using cached charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB) Collecting python-http-client>=3.2.1 (from sendgrid==6.9.7->-r requirements.txt (line 40)) Using cached python_http_client-3.3.7-py3-none-any.whl.metadata (6.9 kB) Collecting starkbank-ecdsa>=2.0.1 (from sendgrid==6.9.7->-r requirements.txt (line 40)) Using cached starkbank_ecdsa-2.2.0-py3-none-any.whl Collecting ecdsa<0.15 (from python-jose==3.2.0->Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached ecdsa-0.14.1-py2.py3-none-any.whl.metadata (19 kB) Collecting exceptiongroup>=1.0.0rc8 (from pytest->-r requirements.txt (line 33)) Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB) Collecting iniconfig (from pytest->-r requirements.txt (line 33)) Using cached iniconfig-2.1.0-py3-none-any.whl.metadata (2.7 kB) Requirement already satisfied: packaging in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pytest->-r requirements.txt (line 33)) (24.2) Collecting pluggy<2,>=1.5 (from pytest->-r requirements.txt (line 33)) Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB) Collecting tomli>=1 (from pytest->-r requirements.txt (line 33)) Using cached tomli-2.2.1-py3-none-any.whl.metadata (10 kB) Collecting wrapt<2,>=1.10 (from deprecated>=1.2.0->Pennsieve==6.1.1->-r requirements.txt (line 28)) Using cached wrapt-1.17.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.4 kB) Collecting googleapis-common-protos<2.0.0,>=1.56.2 (from google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached googleapis_common_protos-1.69.2-py3-none-any.whl.metadata (9.3 kB) Collecting proto-plus<2.0.0,>=1.22.3 (from google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached proto_plus-1.26.1-py3-none-any.whl.metadata (2.2 kB) Collecting cachetools<6.0,>=2.0.0 (from google-auth<3.0.0dev,>=1.19.0->google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached cachetools-5.5.2-py3-none-any.whl.metadata (5.4 kB) INFO: pip is looking at multiple versions of grpcio-tools to determine which version is compatible with other requirements. This could take a while. Collecting grpcio_tools<2.0,>=1.51 (from Pennsieve2==0.1.2->-r requirements.txt (line 29)) Using cached grpcio_tools-1.70.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.69.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.68.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.68.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.67.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.67.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.66.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) INFO: pip is still looking at multiple versions of grpcio-tools to determine which version is compatible with other requirements. This could take a while. Using cached grpcio_tools-1.66.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.66.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.65.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.65.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.65.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Using cached grpcio_tools-1.65.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.64.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.64.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.64.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.63.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.63.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB) Using cached grpcio_tools-1.62.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.2 kB) Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 (from httplib2<1dev,>=0.15.0->google-api-python-client==2.52.0->-r requirements.txt (line 16)) Using cached pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB) Using cached algoliasearch-2.6.2-py2.py3-none-any.whl (35 kB) Using cached APScheduler-3.7.0-py2.py3-none-any.whl (59 kB) Using cached boto3-1.26.0-py3-none-any.whl (132 kB) Using cached botocore-1.29.0-py3-none-any.whl (9.8 MB) Using cached certifi-2023.5.7-py3-none-any.whl (156 kB) Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Using cached click-7.1.2-py2.py3-none-any.whl (82 kB) Using cached docutils-0.15.2-py3-none-any.whl (547 kB) Using cached Flask-1.1.1-py2.py3-none-any.whl (94 kB) Using cached Flask_Caching-2.3.0-py3-none-any.whl (28 kB) Using cached Flask_Cors-3.0.8-py2.py3-none-any.whl (14 kB) Using cached flask_marshmallow-0.10.1-py2.py3-none-any.whl (9.7 kB) Using cached google_api_python_client-2.52.0-py2.py3-none-any.whl (8.7 MB) Using cached gunicorn-20.0.4-py2.py3-none-any.whl (77 kB) Using cached hubspot_api_client-9.0.0-py3-none-any.whl (3.8 MB) Using cached idna-2.8-py2.py3-none-any.whl (58 kB) Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) Using cached jmespath-0.9.4-py2.py3-none-any.whl (24 kB) Using cached MarkupSafe-1.1.1-cp39-cp39-manylinux2010_x86_64.whl (32 kB) Using cached marshmallow-3.2.2-py2.py3-none-any.whl (45 kB) Using cached nose-1.3.7-py3-none-any.whl (154 kB) Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB) Using cached osparc-0.4.3-py3-none-any.whl (52 kB) Using cached pennsieve-6.1.1-py2.py3-none-any.whl (93 kB) Using cached pennsieve2-0.1.2-py3-none-any.whl (27 kB) Using cached psycopg2_binary-2.9.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Using cached python_dotenv-0.10.3-py2.py3-none-any.whl (16 kB) Using cached requests-2.31.0-py3-none-any.whl (62 kB) Using cached s3transfer-0.6.0-py3-none-any.whl (79 kB) Using cached sendgrid-6.9.7-py3-none-any.whl (101 kB) Using cached six-1.13.0-py2.py3-none-any.whl (10 kB) Using cached SQLAlchemy-1.3.20-cp39-cp39-manylinux2010_x86_64.whl (1.3 MB) Using cached urllib3-1.26.4-py2.py3-none-any.whl (153 kB) Using cached Werkzeug-0.16.0-py2.py3-none-any.whl (327 kB) Using cached python_jose-3.2.0-py2.py3-none-any.whl (26 kB) Using cached rsa-4.0-py2.py3-none-any.whl (38 kB) Using cached pillow-11.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (4.5 MB) Using cached pytest-8.3.5-py3-none-any.whl (343 kB) Using cached cachelib-0.9.0-py3-none-any.whl (15 kB) Using cached charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (146 kB) Using cached configparser-7.2.0-py3-none-any.whl (17 kB) Using cached Deprecated-1.2.18-py2.py3-none-any.whl (10.0 kB) Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB) Using cached future-1.0.0-py3-none-any.whl (491 kB) Using cached google_api_core-2.24.2-py3-none-any.whl (160 kB) Using cached google_auth-2.38.0-py2.py3-none-any.whl (210 kB) Using cached google_auth_httplib2-0.2.0-py2.py3-none-any.whl (9.3 kB) Using cached grpcio-1.71.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB) Using cached grpcio_tools-1.62.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB) Using cached httplib2-0.22.0-py3-none-any.whl (96 kB) Using cached pluggy-1.5.0-py3-none-any.whl (20 kB) Using cached protobuf-4.25.6-cp37-abi3-manylinux2014_x86_64.whl (294 kB) Using cached psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277 kB) Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB) Using cached pyasn1_modules-0.4.2-py3-none-any.whl (181 kB) Using cached PyJWT-2.10.1-py3-none-any.whl (22 kB) Using cached python_http_client-3.3.7-py3-none-any.whl (8.4 kB) Using cached pytz-2025.2-py2.py3-none-any.whl (509 kB) Using cached semver-3.0.4-py3-none-any.whl (17 kB) Using cached tomli-2.2.1-py3-none-any.whl (14 kB) Using cached tqdm-4.67.1-py3-none-any.whl (78 kB) Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB) Using cached uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Using cached websocket_client-1.8.0-py3-none-any.whl (58 kB) Using cached iniconfig-2.1.0-py3-none-any.whl (6.0 kB) Using cached cachetools-5.5.2-py3-none-any.whl (10 kB) Using cached ecdsa-0.14.1-py2.py3-none-any.whl (79 kB) Using cached googleapis_common_protos-1.69.2-py3-none-any.whl (293 kB) Using cached proto_plus-1.26.1-py3-none-any.whl (50 kB) Using cached pyparsing-3.2.3-py3-none-any.whl (111 kB) Using cached wrapt-1.17.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82 kB) Installing collected packages: starkbank-ecdsa, pytz, python-dotenv, nose, jmespath, futures, docopt, chardet, wrapt, Werkzeug, websocket-client, urllib3, uritemplate, tzlocal, tqdm, tomli, SQLAlchemy, six, semver, python-http-client, pyparsing, pymongo, pyjwt, pyasn1, public, psycopg2-binary, psutil, protobuf, pluggy, Pillow, marshmallow, MarkupSafe, itsdangerous, iniconfig, idna, gunicorn, grpcio, future, exceptiongroup, docutils, configparser, Click, charset-normalizer, certifi, cachetools, cachelib, sendgrid, rsa, requests, query-string, python-dateutil, pytest, pyasn1-modules, proto-plus, Jinja2, httplib2, grpcio_tools, googleapis-common-protos, ecdsa, deprecated, APScheduler, python-jose, osparc, oauth2client, hubspot-api-client, google-auth, Flask, contentful_management, contentful, botocore, api, algoliasearch, s3transfer, google-auth-httplib2, google-api-core, flask-marshmallow, Flask-Cors, Flask-Caching, google-api-python-client, boto3, Pennsieve2, Pennsieve Successfully installed APScheduler-3.7.0 Click-7.1.2 Flask-1.1.1 Flask-Caching-2.3.0 Flask-Cors-3.0.8 Jinja2-2.11.3 MarkupSafe-1.1.1 Pennsieve-6.1.1 Pennsieve2-0.1.2 Pillow-11.1.0 SQLAlchemy-1.3.20 Werkzeug-0.16.0 algoliasearch-2.6.2 api-0.0.7 boto3-1.26.0 botocore-1.29.0 cachelib-0.9.0 cachetools-5.5.2 certifi-2023.5.7 chardet-3.0.4 charset-normalizer-3.4.1 configparser-7.2.0 contentful-1.13.1 contentful_management-2.11.0 deprecated-1.2.18 docopt-0.6.2 docutils-0.15.2 ecdsa-0.14.1 exceptiongroup-1.2.2 flask-marshmallow-0.10.1 future-1.0.0 futures-3.0.5 google-api-core-2.24.2 google-api-python-client-2.52.0 google-auth-2.38.0 google-auth-httplib2-0.2.0 googleapis-common-protos-1.69.2 grpcio-1.71.0 grpcio_tools-1.62.3 gunicorn-20.0.4 httplib2-0.22.0 hubspot-api-client-9.0.0 idna-2.8 iniconfig-2.1.0 itsdangerous-1.1.0 jmespath-0.9.4 marshmallow-3.2.2 nose-1.3.7 oauth2client-4.1.3 osparc-0.4.3 pluggy-1.5.0 proto-plus-1.26.1 protobuf-4.25.6 psutil-7.0.0 psycopg2-binary-2.9.9 public-2019.4.13 pyasn1-0.6.1 pyasn1-modules-0.4.2 pyjwt-2.10.1 pymongo-3.8.0 pyparsing-3.2.3 pytest-8.3.5 python-dateutil-2.8.2 python-dotenv-0.10.3 python-http-client-3.3.7 python-jose-3.2.0 pytz-2025.2 query-string-2019.4.13 requests-2.31.0 rsa-4.0 s3transfer-0.6.0 semver-3.0.4 sendgrid-6.9.7 six-1.13.0 starkbank-ecdsa-2.2.0 tomli-2.2.1 tqdm-4.67.1 tzlocal-2.1 uritemplate-4.1.1 urllib3-1.26.4 websocket-client-1.8.0 wrapt-1.17.2 + pip install -r requirements-dev.txt Collecting pytest==5.4.3 (from -r requirements-dev.txt (line 1)) Using cached pytest-5.4.3-py3-none-any.whl.metadata (7.3 kB) Requirement already satisfied: pennsieve==6.1.1 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from -r requirements-dev.txt (line 2)) (6.1.1) Collecting black (from -r requirements-dev.txt (line 3)) Using cached black-25.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.metadata (81 kB) Collecting isort (from -r requirements-dev.txt (line 4)) Using cached isort-6.0.1-py3-none-any.whl.metadata (11 kB) Requirement already satisfied: nose in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from -r requirements-dev.txt (line 5)) (1.3.7) Requirement already satisfied: packaging in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from -r requirements-dev.txt (line 6)) (24.2) Collecting py>=1.5.0 (from pytest==5.4.3->-r requirements-dev.txt (line 1)) Using cached py-1.11.0-py2.py3-none-any.whl.metadata (2.8 kB) Collecting attrs>=17.4.0 (from pytest==5.4.3->-r requirements-dev.txt (line 1)) Using cached attrs-25.3.0-py3-none-any.whl.metadata (10 kB) Collecting more-itertools>=4.0.0 (from pytest==5.4.3->-r requirements-dev.txt (line 1)) Using cached more_itertools-10.6.0-py3-none-any.whl.metadata (37 kB) Collecting pluggy<1.0,>=0.12 (from pytest==5.4.3->-r requirements-dev.txt (line 1)) Using cached pluggy-0.13.1-py2.py3-none-any.whl.metadata (15 kB) Collecting wcwidth (from pytest==5.4.3->-r requirements-dev.txt (line 1)) Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB) Requirement already satisfied: boto3 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.26.0) Requirement already satisfied: configparser>=3.5 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (7.2.0) Requirement already satisfied: deprecated>=1.2.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.2.18) Requirement already satisfied: future>=0.15.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.0.0) Requirement already satisfied: futures in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (3.0.5) Requirement already satisfied: protobuf>=3.2.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (4.25.6) Requirement already satisfied: python-jose==3.2.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (3.2.0) Requirement already satisfied: pytz>=2016 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (2025.2) Requirement already satisfied: requests>=2.18 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (2.31.0) Requirement already satisfied: rsa==4.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (4.0) Requirement already satisfied: semver>=2.8.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (3.0.4) Requirement already satisfied: websocket-client>=0.57.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.8.0) Requirement already satisfied: docopt>=0.6 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (0.6.2) Requirement already satisfied: psutil>=5.4 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (7.0.0) Requirement already satisfied: python-dateutil>=2.8.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (2.8.2) Requirement already satisfied: six<2.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from python-jose==3.2.0->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.13.0) Requirement already satisfied: ecdsa<0.15 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from python-jose==3.2.0->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (0.14.1) Requirement already satisfied: pyasn1 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from python-jose==3.2.0->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (0.6.1) Collecting click>=8.0.0 (from black->-r requirements-dev.txt (line 3)) Using cached click-8.1.8-py3-none-any.whl.metadata (2.3 kB) Collecting mypy-extensions>=0.4.3 (from black->-r requirements-dev.txt (line 3)) Using cached mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB) Collecting pathspec>=0.9.0 (from black->-r requirements-dev.txt (line 3)) Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) Collecting platformdirs>=2 (from black->-r requirements-dev.txt (line 3)) Using cached platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB) Requirement already satisfied: tomli>=1.1.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 3)) (2.2.1) Collecting typing-extensions>=4.0.1 (from black->-r requirements-dev.txt (line 3)) Using cached typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB) Requirement already satisfied: wrapt<2,>=1.10 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from deprecated>=1.2.0->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.17.2) Requirement already satisfied: charset-normalizer<4,>=2 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from requests>=2.18->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (3.4.1) Requirement already satisfied: idna<4,>=2.5 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from requests>=2.18->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (2.8) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from requests>=2.18->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.26.4) Requirement already satisfied: certifi>=2017.4.17 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from requests>=2.18->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (2023.5.7) Requirement already satisfied: botocore<1.30.0,>=1.29.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from boto3->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (1.29.0) Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from boto3->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (0.9.4) Requirement already satisfied: s3transfer<0.7.0,>=0.6.0 in /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages (from boto3->pennsieve==6.1.1->-r requirements-dev.txt (line 2)) (0.6.0) Using cached pytest-5.4.3-py3-none-any.whl (248 kB) Using cached black-25.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.8 MB) Using cached isort-6.0.1-py3-none-any.whl (94 kB) Using cached attrs-25.3.0-py3-none-any.whl (63 kB) Using cached click-8.1.8-py3-none-any.whl (98 kB) Using cached more_itertools-10.6.0-py3-none-any.whl (63 kB) Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Using cached pathspec-0.12.1-py3-none-any.whl (31 kB) Using cached platformdirs-4.3.7-py3-none-any.whl (18 kB) Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Using cached py-1.11.0-py2.py3-none-any.whl (98 kB) Using cached typing_extensions-4.13.2-py3-none-any.whl (45 kB) Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Installing collected packages: wcwidth, typing-extensions, py, pluggy, platformdirs, pathspec, mypy-extensions, more-itertools, isort, click, attrs, pytest, black Attempting uninstall: pluggy Found existing installation: pluggy 1.5.0 Uninstalling pluggy-1.5.0: Successfully uninstalled pluggy-1.5.0 Attempting uninstall: click Found existing installation: click 7.1.2 Uninstalling click-7.1.2: Successfully uninstalled click-7.1.2 Attempting uninstall: pytest Found existing installation: pytest 8.3.5 Uninstalling pytest-8.3.5: Successfully uninstalled pytest-8.3.5 Successfully installed attrs-25.3.0 black-25.1.0 click-8.1.8 isort-6.0.1 more-itertools-10.6.0 mypy-extensions-1.0.0 pathspec-0.12.1 platformdirs-4.3.7 pluggy-0.13.1 py-1.11.0 pytest-5.4.3 typing-extensions-4.13.2 wcwidth-0.2.13 + pytest ============================= test session starts ============================== platform linux -- Python 3.9.22, pytest-5.4.3, py-1.11.0, pluggy-0.13.1 rootdir: /home/cmiss/Jenkins/workspace/SPARC-API-New-SciCrunch collected 116 items tests/test_api.py .............F........... [ 21%] tests/test_biolucida.py ............. [ 32%] tests/test_dataset_info.py .s..ss..... [ 42%] tests/test_health.py . [ 43%] tests/test_monthly_stats.py ......... [ 50%] tests/test_osparc.py .............. [ 62%] tests/test_plot.py . [ 63%] tests/test_pmr.py ......... [ 71%] tests/test_scicrunch.py .................s......... [ 94%] tests/test_segmentation_info.py .. [ 96%] tests/test_thumbnails.py .FF [ 99%] tests/test_update_contentful_entries.py . [100%] =================================== FAILURES =================================== _____________________________ test_hubspot_webhook _____________________________ client = <FlaskClient <Flask 'app.main'>> def test_hubspot_webhook(client): http_method = "POST" endpoint = "/hubspot_webhook" base_url = "http://localhost" # Default for Flask test client full_url = f"{base_url}{endpoint}" # mock a property changed event firing for test Hubspot contact mock_body = [{"subscriptionType":"contact.propertyChange","objectId":"83944215465"}] # The timestamp must be a Unix epoch time within 5 minutes (300 seconds) of the current time when the webhook request is received. valid_timestamp = int(time.time()) # Concatenate the string as HubSpot does stringified_body = json.dumps(mock_body, separators=(",", ":")) data_to_sign = f'{http_method}{full_url}{stringified_body}{valid_timestamp}' # Generate the HMAC SHA256 signature signature = hmac.new( key=Config.HUBSPOT_CLIENT_SECRET.encode('utf-8'), msg=data_to_sign.encode('utf-8'), digestmod=hashlib.sha256 ).digest() # Encode the signature in Base64 mock_signature = base64.b64encode(signature).decode() # Send a mock POST request response = client.post( endpoint, json=mock_body, headers={ "Content-Type": "application/json", "X-HubSpot-Signature-Version": "v3", "X-Hubspot-Signature-v3": mock_signature, "X-HubSpot-Request-Timestamp": str(valid_timestamp), } ) > assert response.status_code == 200 E assert 401 == 200 E + where 401 = <Response streamed [401 UNAUTHORIZED]>.status_code tests/test_api.py:212: AssertionError ----------------------------- Captured stderr call ----------------------------- ERROR:root:Signature is invalid ------------------------------ Captured log call ------------------------------- ERROR root:main.py:1704 Signature is invalid __________________________ test_neurolucida_thumbnail __________________________ client = <FlaskClient <Flask 'app.main'>> def test_neurolucida_thumbnail(client): query_string = {'datasetId': 37, 'version': 3, 'path': 'files/derivative/sub-54-5/TJU_3Scan_ratheart54-5_updated_06_11_19_Fiducials.xml'} r = client.get('/thumbnail/neurolucida', query_string=query_string) > assert r.data.decode('utf-8').startswith('iVBORw0KGgoAAAANSUhEUgAAAtAAAAIcCAIAAABQHw4EAAAgAElEQVR4Xuy9P4hjWZbu+zWv4erChVwNAyPjQq') E assert False E + where False = <built-in method startswith of str object at 0x7f75c46928f0>('iVBORw0KGgoAAAANSUhEUgAAAtAAAAIcCAIAAABQHw4EAAAgAElEQVR4Xuy9P4hjWZbu+zWv4erChVwNAyPjQq') E + where <built-in method startswith of str object at 0x7f75c46928f0> = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n'.startswith E + where '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n' = <built-in method decode of bytes object at 0x7f75b7721370>('utf-8') E + where <built-in method decode of bytes object at 0x7f75b7721370> = b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n'.decode E + where b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n' = <Response 164 bytes [400 BAD REQUEST]>.data tests/test_thumbnails.py:22: AssertionError ____________________ test_neurolucida_thumbnail_dataset_221 ____________________ client = <FlaskClient <Flask 'app.main'>> def test_neurolucida_thumbnail_dataset_221(client): query_string = {'datasetId': 221, 'version': 3, 'path': 'files/derivative/sub-M168/digital-traces/pCm168_AAV_Z_20x_191211_S3B_lx_IGS.xml'} r = client.get('/thumbnail/neurolucida', query_string=query_string) > assert r.data.decode('utf-8').startswith('iVBORw0KGgoAAAANSUhEUgAAAtAAAAIcCAIAAABQHw4EAAAgAElEQVR4Xuzdd3xV9f348fe569ydm') E assert False E + where False = <built-in method startswith of str object at 0x7f75b7725110>('iVBORw0KGgoAAAANSUhEUgAAAtAAAAIcCAIAAABQHw4EAAAgAElEQVR4Xuzdd3xV9f348fe569ydm') E + where <built-in method startswith of str object at 0x7f75b7725110> = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n'.startswith E + where '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n' = <built-in method decode of bytes object at 0x7f75b7721850>('utf-8') E + where <built-in method decode of bytes object at 0x7f75b7721850> = b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n'.decode E + where b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>Unable to make a connection to NEUROLUCIDA_HOST.</p>\n' = <Response 164 bytes [400 BAD REQUEST]>.data tests/test_thumbnails.py:29: AssertionError =============================== warnings summary =============================== /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/apscheduler/__init__.py:1 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/apscheduler/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import get_distribution, DistributionNotFound /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/marshmallow/__init__.py:17 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/marshmallow/__init__.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. __version_info__ = tuple(LooseVersion(__version__).version) /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/flask_marshmallow/__init__.py:34 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/flask_marshmallow/__init__.py:34: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. __version_info__ = tuple(LooseVersion(__version__).version) /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:19 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:19: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. DESCRIPTOR = _descriptor.FileDescriptor( /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:36 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:36: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:53 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:53: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:70 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:70: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:29 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/pennsieve/cache/cache_segment_pb2.py:29: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _CACHESEGMENT = _descriptor.Descriptor( /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/nose/importer.py:12 /home/cmiss/Jenkins/shiningpanda/jobs/0f41e94a/virtualenvs/d41d8cd9/lib/python3.9/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import find_module, load_module, acquire_lock, release_lock tests/test_health.py::test_request_response /home/cmiss/Jenkins/workspace/SPARC-API-New-SciCrunch/tests/test_health.py:13: DeprecationWarning: Please use assertEqual instead. assert_equals("healthy", json_response.get("status")) -- Docs: https://docs.pytest.org/en/latest/warnings.html =========================== short test summary info ============================ FAILED tests/test_api.py::test_hubspot_webhook - assert 401 == 200 FAILED tests/test_thumbnails.py::test_neurolucida_thumbnail - assert False FAILED tests/test_thumbnails.py::test_neurolucida_thumbnail_dataset_221 - ass... ====== 3 failed, 109 passed, 4 skipped, 10 warnings in 268.95s (0:04:28) ======= Build step 'Virtualenv Builder' marked build as failure [Slack Notifications] found #45 as previous completed, non-aborted build [Slack Notifications] will send OnEveryFailureNotification because build matches and user preferences allow it Finished: FAILURE