Skip to content
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

Incorrect repo name during bundle download #7928

Closed
KumoLiu opened this issue Jul 18, 2024 · 0 comments · Fixed by #7929
Closed

Incorrect repo name during bundle download #7928

KumoLiu opened this issue Jul 18, 2024 · 0 comments · Fixed by #7929

Comments

@KumoLiu
Copy link
Contributor

KumoLiu commented Jul 18, 2024


[2024-07-18T06:50:47.819Z] ======================================================================

[2024-07-18T06:50:47.819Z] ERROR: test_url_download_large_files_0 (tests.test_bundle_download.TestDownloadLargefiles)

[2024-07-18T06:50:47.819Z] ----------------------------------------------------------------------

[2024-07-18T06:50:47.819Z] Traceback (most recent call last):

[2024-07-18T06:50:47.819Z]   File "/home/jenkins/agent/workspace/YunLiu-Monai-pytorch-versions/tests/utils.py", line 810, in command_line_tests

[2024-07-18T06:50:47.819Z]     normal_out = subprocess.run(cmd, env=test_env, check=True, capture_output=True)

[2024-07-18T06:50:47.819Z]   File "/usr/lib/python3.9/subprocess.py", line 528, in run

[2024-07-18T06:50:47.819Z]     raise CalledProcessError(retcode, process.args,

[2024-07-18T06:50:47.819Z] subprocess.CalledProcessError: Command '['coverage', 'run', '-m', 'monai.bundle', 'download', '--args_file', '/tmp/tmp6jrkkn9x/def_args.json', '--url', 'https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/test_bundle_v0.1.2.zip', '--source', 'github']' returned non-zero exit status 1.

[2024-07-18T06:50:47.819Z] 

[2024-07-18T06:50:47.819Z] The above exception was the direct cause of the following exception:

[2024-07-18T06:50:47.819Z] 

[2024-07-18T06:50:47.819Z] Traceback (most recent call last):

[2024-07-18T06:50:47.819Z]   File "/usr/local/lib/python3.9/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2024-07-18T06:50:47.819Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2024-07-18T06:50:47.819Z]   File "/home/jenkins/agent/workspace/YunLiu-Monai-pytorch-versions/tests/test_bundle_download.py", line 371, in test_url_download_large_files

[2024-07-18T06:50:47.819Z]     command_line_tests(cmd)

[2024-07-18T06:50:47.819Z]   File "/home/jenkins/agent/workspace/YunLiu-Monai-pytorch-versions/tests/utils.py", line 816, in command_line_tests

[2024-07-18T06:50:47.819Z]     raise RuntimeError(f"subprocess call error {e.returncode}: {errors}, {output}") from e

[2024-07-18T06:50:47.819Z] RuntimeError: subprocess call error 1: b'Traceback (most recent call last):

[2024-07-18T06:50:47.819Z]   File "/home/jenkins/agent/workspace/YunLiu-Monai-pytorch-versions/monai/bundle/__main__.py", line 31, in <module>

[2024-07-18T06:50:47.819Z]     fire.Fire()

[2024-07-18T06:50:47.819Z]   File "/usr/local/lib/python3.9/dist-packages/fire/core.py", line 143, in Fire

[2024-07-18T06:50:47.819Z]     component_trace = _Fire(component, args, parsed_flag_args, context, name)

[2024-07-18T06:50:47.819Z]   File "/usr/local/lib/python3.9/dist-packages/fire/core.py", line 477, in _Fire

[2024-07-18T06:50:47.819Z]     component, remaining_args = _CallAndUpdateTrace(

[2024-07-18T06:50:47.819Z]   File "/usr/local/lib/python3.9/dist-packages/fire/core.py", line 693, in _CallAndUpdateTrace

[2024-07-18T06:50:47.819Z]     component = fn(*varargs, **kwargs)

[2024-07-18T06:50:47.819Z]   File "/home/jenkins/agent/workspace/YunLiu-Monai-pytorch-versions/monai/bundle/scripts.py", line 448, in download

[2024-07-18T06:50:47.819Z]     raise ValueError(f"repo should be in the form of `repo_owner/repo_name/release_tag`, got {repo_}.")
KumoLiu added a commit to KumoLiu/MONAI that referenced this issue Jul 18, 2024
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant