Help with custom track repositories

I'm following the create custom track repositories documentation and rally is throwing an error fatal: 'origin' does not appear to be a git repository.

I followed the directions but renamed the directory from private to verve.

cd ~/.rally/benchmarks/tracks
mkdir verve
cd verve
git init
# add your track now
git commit -a -m "Initial commit"

I created an new repo and added it to my rally.ini

[tracks]
default.url = https://github.com/elastic/rally-tracks
verve.url = https://github.com/FooBar/insights-rally-tracks

But when trying to list the tracks ( should be none at this time ) I'm getting this git error.

[jspooner]% esrally list tracks --track-repository=verve

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
                /____/

[INFO] Writing logs to /Users/jspooner/.rally/logs/rally_out_20170601T232552Z.log
Available tracks:

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[WARNING] Could not update tracks. Continuing with your locally available state.
error: pathspec 'master' did not match any file(s) known to git.
[ERROR] Cannot list. Cannot update track data in [/Users/jspooner/.rally/benchmarks/tracks/verve].

Getting further help:
*********************
* Check the log files in /Users/jspooner/.rally/logs for errors.
* Read the documentation at https://esrally.readthedocs.io/en/0.5.3/
* Ask a question in the forum at https://discuss.elastic.co/c/elasticsearch/rally
* Raise an issue at https://github.com/elastic/rally/issues and include the log files in /Users/jspooner/.rally/logs.

-------------------------------
[INFO] FAILURE (took 1 seconds)
-------------------------------

Ok the documentation should note that you need to add the remote to that directory before updating the rally.ini file.

git remote add origin git@github.com:FooBar/insights-rally-tracks.git
git push -u origin master

Hi @jspooner,

I've opened #288 to fix this.

Daniel

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.