-
Notifications
You must be signed in to change notification settings - Fork 17
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
3 tests started to fail due to expired shub https certificate! #267
Comments
yarikoptic
added a commit
to yarikoptic/datalad
that referenced
this issue
Aug 29, 2024
Inspired by datalad/datalad-container#267 Before this change > datalad -l debug download-url shub://datalad/datalad-container:testhelper ... download_url(error): /home/yoh/.tmp/datalad_temp_test_container_files0tvyery_/ (file) [AccessFailedError(Failed to establish a new session 1 times. )] [Failed to establish a new session 1 times. ] [DEBUG ] could not perform all requested actions: IncompleteResultsError(Command did not complete successfully. 1 failed: [{'action': 'download_url', 'error_message': 'Failed to establish a new session 1 times. ', 'exception': Failed to establish a new session 1 times. [download_url.py:__call__:202,base.py:download:533,shub.py:access:50,shub.py:_resolve_url:39,base.py:fetch:643,shub.py:access:50,base.py:access:174,base.py:_fetch:589,http.py:get_downloader_session:633,http.py:get_downloader_session:618,sessions.py:get:602,sessions.py:request:589,sessions.py:send:703,adapters.py:send:517], 'exception_traceback': '[download_url.py:__call__:202,base.py:download:533,shub.py:access:50,shub.py:_resolve_url:39,base.py:fetch:643,shub.py:access:50,base.py:access:174,base.py:_fetch:589,http.py:get_downloader_session:633,http.py:get_downloader_session:618,sessions.py:get:602,sessions.py:request:589,sessions.py:send:703,adapters.py:send:517]', 'message': 'AccessFailedError(Failed to establish a new session 1 times. )', 'path': '/home/yoh/.tmp/datalad_temp_test_container_files0tvyery_/', 'status': 'error', 'type': 'file'}]) so no information about actual problem is provided even in DEBUG output. With this change we get at least full record containing it: [DEBUG ] could not perform all requested actions: IncompleteResultsError(Command did not complete successfully. 1 failed: [{'action': 'download_url', 'error_message': 'Failed to establish a new session 1 times. ', 'exception': Failed to establish a new session 1 times. -caused by- HTTPSConnectionPool(host='singularity-hub.org', port=443): Max retries exceeded with url: /api/container/datalad/datalad-container:testhelper (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)'))) [download_url.py:__call__:202,base.py:download:533,shub.py:access:50,shub.py:_resolve_url:39,base.py:fetch:643,shub.py:access:50,base.py:access:174,base.py:_fetch:589,http.py:get_downloader_session:633,http.py:get_downloader_session:618,sessions.py:get:602,sessions.py:request:589,sessions.py:send:703,adapters.py:send:517], 'exception_traceback': '[download_url.py:__call__:202,base.py:download:533,shub.py:access:50,shub.py:_resolve_url:39,base.py:fetch:643,shub.py:access:50,base.py:access:174,base.py:_fetch:589,http.py:get_downloader_session:633,http.py:get_downloader_session:618,sessions.py:get:602,sessions.py:request:589,sessions.py:send:703,adapters.py:send:517]', 'message': 'AccessFailedError(Failed to establish a new session 1 times. )', 'path': '/home/yoh/.tmp/datalad_temp_test_container_files0tvyery_/', 'status': 'error', 'type': 'file'}])
yarikoptic
added a commit
to yarikoptic/datalad
that referenced
this issue
Aug 29, 2024
… remotes Inspired by - datalad/datalad-container#267 but to be of benefit, requires review/merge/release of - Lykos153/AnnexRemote#106 But should be safe otherwise since ATM (without the above PR) AnnexRemote simply ignores the message
we are green again:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From june 26 to 27 we started to have 3 tests to fail with a sample fail looking like
so nothing really hinting on what is going on! Looking at what image we are trying to get, and calling singularity directly:
gives us a little clarity, but above we should have reported that -- that singularity failed to pull or smth like that instead of that image is not there! Then running with --debug got actual URL
to then realize that
So, ideally it is fixed by (in this order)
The text was updated successfully, but these errors were encountered: