ERROR: bob.bio.video.test.test_databases.test_new_youtube
See: https://gitlab.idiap.ch/bob/nightlies/-/jobs/247320
======================================================================
ERROR: bob.bio.video.test.test_databases.test_new_youtube
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/test/test_databases.py", line 14, in test_new_youtube
references = database.references()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/database/youtube.py", line 269, in references
sampleset = self._make_sample_set(reference_id, suject_id, sample_path)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/database/youtube.py", line 185, in _make_sample_set
path = os.path.join(self.original_directory, sample_path)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
-------------------- >> begin captured logging << --------------------
bob.bio.video.database.youtube: WARNING: Invalid or non existant `original_directory`: f{original_directory}.Please, do `bob config set bob.bio.face.lfw.directory PATH` to set the LFW data directory.
bob.extension.download: INFO: Downloading ./bob_data/datasets/youtube_protocols/youtube_protocols-6962cd2e.tar.gz
bob.extension.download: WARNING: Could not download from the https://www.idiap.ch/software/bob/databases/latest/youtube_protocols-6962cd2e.tar.gz url
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1425, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.idiap.ch'. (_ssl.c:1131)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/extension/download.py", line 116, in download_file_from_possible_urls
download_file(url, out_file)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/extension/download.py", line 93, in download_file
with urlopen(url) as response:
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.idiap.ch'. (_ssl.c:1131)>
bob.extension.download: INFO: Untar/gzip in ./bob_data/datasets/youtube_protocols/youtube_protocols-6962cd2e.tar.gz