Hi @shivam and @mohanty. I’m getting errors on submission when it clones my repo. I made certain that the image has both git and git lfs
hash: 13895a4c74fcb52b5ecd7102d5d994977fe69754
remote: Compressing objects: 100% (29/29)
remote: Compressing objects: 100% (29/29), done.
Receiving objects: 3% (1/31)
Traceback (most recent call last):
File "/builder/image_builder/utils/git_utils.py", line 89, in clone_repo
repo_dir = Path(git_clone(git_uri, git_revision))
File "/builder/image_builder/utils/git_utils.py", line 65, in git_clone
Repo.clone_from(
File "/home/user/.local/lib/python3.9/site-packages/git/repo/base.py", line 1148, in clone_from
return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs)
File "/home/user/.local/lib/python3.9/site-packages/git/repo/base.py", line 1078, in _clone
handle_process_output(proc, None, to_progress_instance(progress).new_message_handler(),
File "/home/user/.local/lib/python3.9/site-packages/git/cmd.py", line 176, in handle_process_output
return finalizer(process)
File "/home/user/.local/lib/python3.9/site-packages/git/util.py", line 386, in finalize_process
proc.wait(**kwargs)
File "/home/user/.local/lib/python3.9/site-packages/git/cmd.py", line 502, in wait
raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(-9)
cmdline: git clone -v --branch=submission-5-version --depth=1 --progress git@gitlab.aicrowd.com:vitor_amancio_jeronymo/task_1_query-product_ranking_code_starter_kit.git /home/user/.local/tmp/tmpjzrrupy_
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/builder/image_builder/__main__.py", line 8, in <module>
main()
File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/builder/image_builder/builder.py", line 59, in main
repo_dir = clone_repo(git_uri, git_revision)
File "/builder/image_builder/utils/git_utils.py", line 91, in clone_repo
raise ImageBuilderException(f"Couldn't clone repository.\n{e}")
image_builder.exceptions.ImageBuilderException: Image Builder Error: Couldn't clone repository.
Cmd('git') failed due to: exit code(-9)
cmdline: git clone -v --branch=submission-5-version --depth=1 --progress git@gitlab.aicrowd.com:vitor_amancio_jeronymo/task_1_query-product_ranking_code_starter_kit.git /home/user/.local/tmp/tmpjzrrupy_
Receiving objects: 6% (2/31)
Receiving objects: 9% (3/31)