Yes, LFS is enabled for both repos (tools/cmake and 3rdparty/cmake in this trial) and configurations are matching. LFS works fine for >20 other repositories that we have in our Gerrit.
Both repositories have LFS Info:
Enabled: true
Max Object Size:1048576000
Read Only:false
Backend:common
Rights are inherit from the same repository so no difference there either.
It is just that 'tools' prefix that is treated by Gerrit or plugin in some special way. But what Gerrit component causes that, I don't yet know.
Short version of the error message:
$ git push origin HEAD:refs/for/master
Remote "origin" does not support the Git LFS locking API. Consider disabling it with:
$ git config lfs.
http://company.url.com/gerrit/tools/trial.git/info/lfs.locksverify false
batch response: Client error &{%!!(string=http) %!!(string=) %!!(*url.Userinfo=<nil>) %!!(string=
company.url.com) %!!(string=/gerrit/tools/trial.git/info/lfs/objects/batch) %!!(string=) %!!(bool=false) %!!(string=) %!!(string=) %!!(string=)}s(MISSING) from HTTP 405
Uploading LFS objects: 0% (0/11), 0 B | 0 B/s, done.