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

Can't run a git tag using clearml-task cli #1056

Open
tessagoldchmit opened this issue Jun 26, 2023 · 4 comments
Open

Can't run a git tag using clearml-task cli #1056

tessagoldchmit opened this issue Jun 26, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@tessagoldchmit
Copy link

Describe the bug

Can't run a git tag using clearml-task cli

To reproduce

try running a git project tag

Expected behaviour

the task should run successfully

Environment

  • Server type - self hosted
  • ClearML Server Version - WebApp: 1.4.0-175 • Server: 1.4.0-175 • API: 2.18
  • Python Version 3.8
  • OS - Linux

Logs from the clearml

error: pathspec 'origin/my_tag' did not match any file(s) known to git
Repository cloning failed: Command '['git', 'checkout', 'origin/my_tag', '--force']' returned non-zero exit status 1.
clearml_agent: ERROR: Failed cloning repository.

  1. Make sure you pushed the requested commit:
    (repository='', branch='my_tag', commit_id='', tag='', docker_cmd='', entry_point='***', working_dir='.')
  2. Check if remote-worker has valid credentials [see worker configuration file]
    2023-06-25 17:21:18
    User aborted: stopping task (3)

Related Discussion

https://clearml.slack.com/archives/CTK20V944/p1687784122805969?thread_ts=1681735660.640359&cid=CTK20V944

@tessagoldchmit tessagoldchmit added the bug Something isn't working label Jun 26, 2023
@ainoam
Copy link
Collaborator

ainoam commented Jun 29, 2023

@tessagoldchmit What was the clearml-task command you used to create the task?
Which version of clearml are you using?

@tessagoldchmit
Copy link
Author

@ainoam
clearml==1.10.4rc1

clearml-task --project <project_name> --name <experiment_name> --queue <clearml_queue> --script <script_to_run> --repo <git_repo> --branch <git_tag> --docker <docker_image> --docker_args <docker_args>

when using --branch <git_branch> everything works as expected. but when using a git tag it does not work.

@gustavoeb
Copy link

hitting this same issue

@ainoam
Copy link
Collaborator

ainoam commented Apr 14, 2024

@gustavoeb Which clearml version are you using? Can you share the command line invocation you are using and what error you are getting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants