Skip to content

Incorrect repo name during bundle download #7928

Closed
@KumoLiu

Description

@KumoLiu

[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_}.")

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