# ESRally: Problems cloning tracks git repo

**URL:** <https://discuss.elastic.co/t/esrally-problems-cloning-tracks-git-repo/141645>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [July 25, 2018, 6:17pm UTC](https://discuss.elastic.co/t/esrally-problems-cloning-tracks-git-repo/141645 "2018-07-25T18:17:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Wells](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@Justin\_Wells](https://discuss.elastic.co/u/Justin_Wells)\
**Post date:** [July 25, 2018, 6:17pm UTC](https://discuss.elastic.co/t/esrally-problems-cloning-tracks-git-repo/141645/1 "2018-07-25T18:17:53Z")

</div>

I am attempting to run a rally benchmark from a benchmark coordinator using the configuration described in "Benchmarking a remote cluster" in [https://esrally.readthedocs.io/en/stable/recipes.html](https://esrally.readthedocs.io/en/stable/recipes.html). Operating system is Amazon Linux. Pre-requisite packages installed.

Python version: 3.7  
Git version: 2.14.4  
ESRally version: 1.0.0

After execution of this command:

```
esrally --pipeline=benchmark-only --track=http_logs --load-driver-hosts=10.224.36.224,10.224.36.174 --target-hosts=10.224.36.232:9200,10.224.32.224:9200,10.224.32.92:9200 --client-options="use_ssl:true,verify_certs:false,basic_auth_user:<hidden>,basic_auth_password:<hidden>"

```

I received the following:

```
(\'Could not clone from [https://github.com/elastic/rally-tracks] to [/home/ec2-user/.rally/benchmarks/tracks/default]\', None)\n].', None)

```

I manually cloned this repo and it worked just fine, but after cloning I now receive:

```
File "/usr/local/lib/python3.7/site-packages/esrally/utils/git.py", line 51, in checkout
raise exceptions.SupplyError("Could not checkout branch [%s]. Do you have uncommitted changes?" % branch)

```

Thoughts?

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [July 26, 2018, 6:14am UTC](https://discuss.elastic.co/t/esrally-problems-cloning-tracks-git-repo/141645/2 "2018-07-26T06:14:53Z")

</div>

Hi,

odd that the initial clone has failed. Your git version seems fine but note that we do not yet test Python 3.7 in our CI. However, I doubt that your issue is related to the Python version.

You can try two things: First, can you please attempt to checkout a different branch?

```auto
# to ensure you are not in the repo - we use -C in Rally for that
cd
# mimic Rally's behavior to checkout branch 2
git -C /home/ec2-user/.rally/benchmarks/tracks/default checkout 2
# shows the exit code of the previous command
echo $?

```

Then, can you please `rm -rf /home/ec2-user/.rally/benchmarks/tracks/default` and issue the following commands?

```auto
# to ensure you are not in the directory to clone
cd
# mimic Rally's clone behavior
git clone https://github.com/elastic/rally-tracks /home/ec2-user/.rally/benchmarks/tracks/default
# shows the exit code of the previous command
echo $?

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 23, 2018, 6:15am UTC](https://discuss.elastic.co/t/esrally-problems-cloning-tracks-git-repo/141645/3 "2018-08-23T06:15:11Z")

</div>

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