Yes, I have tried reinitializing multiple times according to the doc before starting the thread. Just to confirm:
~/.rally/benchmarks/tracks/custom# git status
On branch master
nothing to commit, working tree clean
In custom:
~/.rally/benchmarks/tracks/custom# ls
mytrack
Running
esrally --pipeline=benchmark-only --track-repository=custom --track=mytrack ...
Still gives:
[ERROR] Cannot race. Error in track preparator
[/root/.rally/benchmarks/tracks/custom] must be a git repository.
Please run:
git -C /root/.rally/benchmarks/tracks/custom init
Neither the steps you've mentioned, nor the command in the error message seem to work.
Trying to get it working with:
esrally --pipeline=benchmark-only --track-path=/root/.rally/benchmarks/tracks/custom/mytrack ...
Yields:
[ERROR] Cannot race. Error in track preparator
Track path /root/.rally/benchmarks/tracks/custom/mytrack does not exist
Same result even when I point to /root/.rally/benchmarks/tracks/custom/mytrack/track.json
~/.rally/benchmarks/tracks/custom/mytrack# ls
challenges files.txt index.json node_modules operations __pycache__ README.md report.csv terms.txt track.json track.py
~/.rally/benchmarks/tracks/custom/mytrack# echo $PWD
/root/.rally/benchmarks/tracks/custom/mytrack
So weird. I had it all working at some point.