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
Hi Team, How To Configure Gerrit Details In Clearml So That Tasks Or Pipeline Will Be Executed Depends On Gerrit?

Hi Team, How to configure Gerrit details in ClearML so that tasks or pipeline will be executed depends on Gerrit?

  
  
Posted one year ago
Votes Newest

Answers 12


did you setup agent.git_pass & agent.git_user in clearml.conf ?

  
  
Posted one year ago

I need to run the code which are in Gerrit but while cloning that getting below error. seems like we need to configure in gerrit Adding venv into cache: C:\Users\kavyashree.ab.clearml\venvs-builds\3.9
2023-03-16 17:42:56
clearml_agent: ERROR: [('C:/Users/kavyashree.ab/.clearml/venvs-builds/3.9/Lib\site-packages\tensorflow\include\external\cudnn_frontend_archive\_virtual_includes\cudnn_frontend\third_party\cudnn_frontend\include\cudnn_frontend_EngineConfigGenerator.h', 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\site-packages\tensorflow\include\external\cudnn_frontend_archive\_virtual_includes\cudnn_frontend\third_party\cudnn_frontend\include\cudnn_frontend_EngineConfigGenerator.h', "[Errno 2] No such file or directory: 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\\site-packages\\tensorflow\\include\\external\\cudnn_frontend_archive\\_virtual_includes\\cudnn_frontend\\third_party\\cudnn_frontend\\include\\cudnn_frontend_EngineConfigGenerator.h'"), ('C:/Users/kavyashree.ab/.clearml/venvs-builds/3.9/Lib\site-packages\tensorflow\include\external\cudnn_frontend_archive\_virtual_includes\cudnn_frontend\third_party\cudnn_frontend\include\cudnn_frontend_EngineFallbackList.h', 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\site-packages\tensorflow\include\external\cudnn_frontend_archive\_virtual_includes\cudnn_frontend\third_party\cudnn_frontend\include\cudnn_frontend_EngineFallbackList.h', "[Errno 2] No such file or directory: 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\\site-packages\\tensorflow\\include\\external\\cudnn_frontend_archive\\_virtual_includes\\cudnn_frontend\\third_party\\cudnn_frontend\\include\\cudnn_frontend_EngineFallbackList.h'"), ('C:/Users/kavyashree.ab/.clearml/venvs-builds/3.9/Lib\site-packages\tensorflow\include\external\llvm-project\mlir\_virtual_includes\BufferizableOpInterfaceIncGen\mlir\Dialect\Linalg\ComprehensiveBufferize\BufferizableOpInterface.cpp.inc', 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\site-packages\tensorflow\include\external\llvm-project\mlir\_virtual_includes\BufferizableOpInterfaceIncGen\mlir\Dialect\Linalg\ComprehensiveBufferize\BufferizableOpInterface.cpp.inc', "[Errno 2] No such file or directory: 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\\site-packages\\tensorflow\\include\\external\\llvm-project\\mlir\\_virtual_includes\\BufferizableOpInterfaceIncGen\\mlir\\Dialect\\Linalg\\ComprehensiveBufferize\\BufferizableOpInterface.cpp.inc'"), ('C:/Users/kavyashree.ab/.clearml/venvs-builds/3.9/Lib\site-packages\tensorflow\include\external\llvm-project\mlir\_virtual_includes\BufferizableOpInterfaceIncGen\mlir\Dialect\Linalg\ComprehensiveBufferize\BufferizableOpInterface.h.inc', 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\site-packages\tensorflow\include\external\llvm-project\mlir\_virtual_includes\BufferizableOpInterfaceIncGen\mlir\Dialect\Linalg\ComprehensiveBufferize\BufferizableOpInterface.h.inc', "[Errno 2] No such file or directory: 'C:/Users/kavyashree.ab/.clearml/venvs-cache/_temp.1678968241_3725352.0_19145510944557054/Lib\\site-packages\\tensorflow\\include\\external\\llvm-project\\mlir\\_virtual_includes\\BufferizableOpInterfaceIncGen\\mlir\\Dialect\\Linalg\\ComprehensiveBufferize\\BufferizableOpInterface.h.inc'")]
2023-03-16 17:42:57
Process failed, exit code 1

  
  
Posted one year ago

Using cached repository in "C:\Users*..clearml\vcs-cache*.*"
ssh: Could not resolve hostname tegerrit.tataelxsi.co.in : Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Repository cloning failed: Command '['git', 'fetch', '--all', '--recurse-submodules']' returned non-zero exit status 128.

  
  
Posted one year ago

but how can we configure this .ssh in agent machine

  
  
Posted one year ago

ssh: Could not resolve hostname

: Name or service not known

@<1542316991337992192:profile|AverageMoth57> so is this the main issue? this seems unrelated to the Gerrit thing, just missing configuration of the .ssh on the agent machine, is that correct?

  
  
Posted one year ago

i have tried this but should we configure this in clearML.config as well

  
  
Posted one year ago

No, but this is for Gerrit so would that be same

  
  
Posted one year ago

@<1542316991337992192:profile|AverageMoth57> it sounds like you should use SSH authentication for the agent, just set
force_git_ssh_protocol: true
None
And make sure you have the SSH kets on the agent's machine

  
  
Posted one year ago

Hi @<1542316991337992192:profile|AverageMoth57> , can you please explain the use-case? I'm not sure I follow

  
  
Posted one year ago

This should be a good started, after googling more on how ssh works will give you the right direction 🙂

  
  
Posted one year ago

@<1542316991337992192:profile|AverageMoth57> , here you go - None

  
  
Posted one year ago

Hi @<1542316991337992192:profile|AverageMoth57>
Not sure I follow how the integration what you have in mind regarding Gerrit integration None
Sounds interesting ...
wdyt?

  
  
Posted one year ago
607 Views
12 Answers
one year ago
one year ago
Tags