Skip to content

opengate_tests HTTPError with 10.0.0 #840

@mlewis1973

Description

@mlewis1973

this is specific to 10.0.0 and not an issue >=10.0.1
(but 10.0.0 is only version that works out-of-box with macOS Sonoma)

(opengate_env) mlewis@chaudeyrolles gate % opengate_tests
/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/requests/init.py:86: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer).
warnings.warn(
Detected Geant4 version: geant4-11-02-patch-01 [MT]
Required Geant4 version: v11.2.1
OK
Looking for tests in: /opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate/tests/src
No Opengate test data available in: /opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate/tests/data
I download it for you.
Download attempt 1 failed: 404 Client Error: Not Found for url: https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts
Retrying in 10 seconds...
Download attempt 2 failed: 404 Client Error: Not Found for url: https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts
Retrying in 10 seconds...
Download attempt 3 failed: 404 Client Error: Not Found for url: https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts
Retrying in 10 seconds...
Download attempt 4 failed: 404 Client Error: Not Found for url: https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts
Retrying in 10 seconds...
Download attempt 5 failed: 404 Client Error: Not Found for url: https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts
Exceeded maximum retries for https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts.
Traceback (most recent call last):
File "/opt/anaconda3/envs/opengate_env/bin/opengate_tests", line 7, in
sys.exit(go())
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/click/core.py", line 1462, in call
return self.main(*args, **kwargs)
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/click/core.py", line 1383, in main
rv = self.invoke(ctx)
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/click/core.py", line 1246, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/click/core.py", line 814, in invoke
return callback(*args, **kwargs)
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate/bin/opengate_tests.py", line 107, in go
files_to_run_avail, files_to_ignore = get_files_to_run()
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate/bin/opengate_tests.py", line 165, in get_files_to_run
if not check_tests_data_folder():
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate_core/testsDataSetup.py", line 18, in check_tests_data_folder
download_tests_data(data_location)
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate_core/testsDataSetup.py", line 102, in download_tests_data
download_with_resume(url, out)
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate_core/g4DataSetup.py", line 78, in download_with_resume
raise e
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/opengate_core/g4DataSetup.py", line 63, in download_with_resume
r.raise_for_status()
File "/opt/anaconda3/envs/opengate_env/lib/python3.10/site-packages/requests/models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://gitlab.in2p3.fr/api/v4/projects/15155/jobs/1043308/artifacts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions