Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Have The User/Pass Set Up On The

I have the user/pass set up on the clearml.conf and also have the enable_git_ask_pass set to True

  
  
Posted 11 months ago
Votes Newest

Answers 52


I generated another one just to show

  
  
Posted 11 months ago

the local machine does not have clearml-agent

  
  
Posted 11 months ago

well, I’m not sure how I’d go about cloning just one specific commit but I have cloned the repository
image

  
  
Posted 11 months ago

and force_git_ssh_protocol to false, I have also tried turning it to true and enable_git_ask_pass to false but no luck

  
  
Posted 11 months ago

I do have the virtualenv installed on the same python environment

  
  
Posted 11 months ago

ubuntu 18.04

  
  
Posted 11 months ago

I generated the access token in gitlab and passed it to git_pass

  
  
Posted 11 months ago

and an ubuntu machine is running the agent on the same network i guess and all clearml.conf changes you also make on that machine. correct?

  
  
Posted 11 months ago

actually sorry it’s 20.04

  
  
Posted 11 months ago

You're sure this is a generated token and not a password?
image

  
  
Posted 11 months ago

the macbook is the local machine, it has the script that uses execute_remotely

  
  
Posted 11 months ago

I’m positive, this is where I got it from
image

  
  
Posted 11 months ago

update: clearml-agent was stuck on version 1.4.0 it has now been upgraded to the latest version 1.9.2

  
  
Posted 11 months ago

And can you manually clone the same exact commit on the machine running the agent?

  
  
Posted 11 months ago

Also, you need to restart the agent between changes in the config

  
  
Posted 11 months ago

What OS are you on?

  
  
Posted 11 months ago

wait.

  
  
Posted 11 months ago

image

  
  
Posted 11 months ago

they all seem to have the ‘glpat’ prefix before them

  
  
Posted 11 months ago

Try installing virtualenv on the ubuntu machine running the agent

  
  
Posted 11 months ago

back then the error was this
image

  
  
Posted 11 months ago

oops sorry! And yes I have set up the access token from gitlab and that’s what I’m passing in git_pass

  
  
Posted 11 months ago

Can you add the full log of the run?

  
  
Posted 11 months ago

The agent prints its configuration before the execution step, I don't see agent.git_pass set anywhere in the log. Are you sure you set it up on the correct machine? This needs to be set up on the machine running the agent.

  
  
Posted 11 months ago

just to be clear, the second log I sent was awhile ago, anything showing there is largely irrelevant

  
  
Posted 11 months ago

and you can see it includes the commit that the log mentions

  
  
Posted 11 months ago

let me know if it changes anything. Of course rerun the agent afterwards

  
  
Posted 11 months ago

From the previous screenshot you showed, it looks like you're using a password and not an access token

  
  
Posted 11 months ago

noted and updated

  
  
Posted 11 months ago

self-hosted so clearml keys are fine

  
  
Posted 11 months ago
120K Views
52 Answers
11 months ago
11 months ago
Tags
Similar posts