Started by user Alan Wu
Running as SYSTEM
Building remotely on Ubuntu_18.04_bioeng49 (buildslave Testing) in workspace /home/cmiss/Jenkins/workspace/SCKAN Connectivity
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/ABI-Software/scicrunch-knowledge-testing.git
> git init /home/cmiss/Jenkins/workspace/SCKAN Connectivity # timeout=10
Fetching upstream changes from https://github.com/ABI-Software/scicrunch-knowledge-testing.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress -- https://github.com/ABI-Software/scicrunch-knowledge-testing.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/ABI-Software/scicrunch-knowledge-testing.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/main^{commit} # timeout=10
Checking out Revision fa89eb739116cfa3cd33f7b54c333cef6f363b32 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f fa89eb739116cfa3cd33f7b54c333cef6f363b32 # timeout=10
Commit message: "Merge pull request #8 from alan-wu/datasets-objects-testing"
First time build. Skipping changelog.
[SCKAN Connectivity] $ /usr/bin/python3.8 /home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenv.py /home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenvs/d41d8cd9
Using base prefix '/usr'
New python executable in /home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenvs/d41d8cd9/bin/python3.8
Also creating executable in /home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenvs/d41d8cd9/bin/python
Installing setuptools, pip, wheel...done.
/home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
[SCKAN Connectivity] $ /bin/sh -xe /tmp/shiningpanda5458460641791386842.sh
+ pip install -r requirements.txt
Collecting mapknowledge@ https://github.com/AnatomicMaps/map-knowledge/releases/download/v0.9.9/mapknowledge-0.9.9-py3-none-any.whl
Downloading https://github.com/AnatomicMaps/map-knowledge/releases/download/v0.9.9/mapknowledge-0.9.9-py3-none-any.whl (15 kB)
Collecting requests==2.27.1
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting algoliasearch==2.6.2
Using cached algoliasearch-2.6.2-py2.py3-none-any.whl (35 kB)
Collecting boto3==1.17.67
Using cached boto3-1.17.67-py2.py3-none-any.whl (131 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting jmespath<1.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting s3transfer<0.5.0,>=0.4.0
Using cached s3transfer-0.4.2-py2.py3-none-any.whl (79 kB)
Collecting botocore<1.21.0,>=1.20.67
Using cached botocore-1.20.112-py2.py3-none-any.whl (7.7 MB)
Collecting rdflib
Using cached rdflib-6.2.0-py3-none-any.whl (500 kB)
Collecting networkx
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting python-dateutil<3.0.0,>=2.1
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pyparsing
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting isodate
Using cached isodate-0.6.1-py2.py3-none-any.whl (41 kB)
Requirement already satisfied: setuptools in /home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenvs/d41d8cd9/lib/python3.8/site-packages (from rdflib->mapknowledge@ https://github.com/AnatomicMaps/map-knowledge/releases/download/v0.9.9/mapknowledge-0.9.9-py3-none-any.whl->-r requirements.txt (line 4)) (65.6.0)
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: urllib3, six, pyparsing, networkx, jmespath, idna, charset-normalizer, certifi, requests, python-dateutil, isodate, rdflib, botocore, algoliasearch, s3transfer, mapknowledge, boto3
Successfully installed algoliasearch-2.6.2 boto3-1.17.67 botocore-1.20.112 certifi-2022.9.24 charset-normalizer-2.0.12 idna-3.4 isodate-0.6.1 jmespath-0.10.0 mapknowledge-0.9.9 networkx-2.8.8 pyparsing-3.0.9 python-dateutil-2.8.2 rdflib-6.2.0 requests-2.27.1 s3transfer-0.4.2 six-1.16.0 urllib3-1.26.12
+ python -m unittest tests/nightly_tests/test_connectivity.py
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.8/unittest/__main__.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.8/unittest/main.py", line 100, in __init__
self.parseArgs(argv)
File "/usr/lib/python3.8/unittest/main.py", line 147, in parseArgs
self.createTests()
File "/usr/lib/python3.8/unittest/main.py", line 158, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
File "/usr/lib/python3.8/unittest/loader.py", line 220, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python3.8/unittest/loader.py", line 220, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/home/cmiss/Jenkins/workspace/SCKAN Connectivity/tests/nightly_tests/test_connectivity.py", line 16, in <module>
from tests.config import Config
File "/home/cmiss/Jenkins/workspace/SCKAN Connectivity/tests/config.py", line 4, in <module>
class Config(object):
File "/home/cmiss/Jenkins/workspace/SCKAN Connectivity/tests/config.py", line 8, in Config
SCICRUNCH_API_HOST = os.environ['SCICRUNCH_API_HOST']
File "/home/cmiss/Jenkins/shiningpanda/jobs/5a3744f0/virtualenvs/d41d8cd9/lib/python3.8/os.py", line 675, in __getitem__
raise KeyError(key) from None
KeyError: 'SCICRUNCH_API_HOST'
Build step 'Virtualenv Builder' marked build as failure
Finished: FAILURE