# The below bugs appers when running esrally

**URL:** <https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [August 3, 2016, 2:50am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063 "2016-08-03T02:50:03Z")\
**Posts on this page:** 10\
**Page:** 2

<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:** [August 8, 2016, 6:55am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/21 "2016-08-08T06:55:52Z")

</div>

Hi @laoyang360,

> [@laoyang360](#):
>
> 275 2016-08-08 06:35:50,65 rally.builder WARNING Executing '/usr/bin/gradle :distribution:tar:assemble' failed

This says that gradle could not build Elasticsearch. Maybe you forgot to set `JAVA_HOME` for this user?

You can find the detailed output of the Gradle build in `/home/elasticsearch/.rally/benchmarks/races/2016-08-08-05-36-47/local/logs/build/build.gradle.tasks.package.log`

Can you share the output here please?

Daniel

---

<div class="post-metadata">

**Author:** ![laoyang360](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@laoyang360](https://discuss.elastic.co/u/laoyang360)\
**Post date:** [August 8, 2016, 6:58am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/22 "2016-08-08T06:58:32Z")

</div>

Hi @danielmitterdorfer:

The log information which you needed as follows:  
:buildSrc:compileJava UP-TO-DATE  
2 :buildSrc:compileGroovy UP-TO-DATE  
3 :buildSrc:writeVersionProperties UP-TO-DATE  
4 :buildSrc:processResources UP-TO-DATE  
5 :buildSrc:classes UP-TO-DATE  
6 :buildSrc:jar UP-TO-DATE  
7 :buildSrc:assemble UP-TO-DATE  
8 :buildSrc:compileTestJava UP-TO-DATE  
9 :buildSrc:compileTestGroovy UP-TO-DATE  
10 :buildSrc:processTestResources UP-TO-DATE  
11 :buildSrc:testClasses UP-TO-DATE  
12 :buildSrc:test UP-TO-DATE  
13 :buildSrc:check UP-TO-DATE  
14 :buildSrc:build UP-TO-DATE  
15 Download [https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.pom](https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.pom)  
16 Download [https://plugins.gradle.org/m2/org/jdom/jdom2/2.0.5/jdom2-2.0.5.pom](https://plugins.gradle.org/m2/org/jdom/jdom2/2.0.5/jdom2-2.0.5.pom)  
17 Download [https://plugins.gradle.org/m2/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom](https://plugins.gradle.org/m2/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom)  
18 Download [https://plugins.gradle.org/m2/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom](https://plugins.gradle.org/m2/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom)  
19 Download [https://plugins.gradle.org/m2/org/ow2/ow2/1.3/ow2-1.3.pom](https://plugins.gradle.org/m2/org/ow2/ow2/1.3/ow2-1.3.pom)  
20 Download [https://plugins.gradle.org/m2/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.pom](https://plugins.gradle.org/m2/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.pom)  
21 Download [https://plugins.gradle.org/m2/commons-io/commons-io/2.4/commons-io-2.4.pom](https://plugins.gradle.org/m2/commons-io/commons-io/2.4/commons-io-2.4.pom)  
22 Download [https://plugins.gradle.org/m2/org/apache/commons/commons-parent/25/commons-parent-25.pom](https://plugins.gradle.org/m2/org/apache/commons/commons-parent/25/commons-parent-25.pom)  
23 Download [https://plugins.gradle.org/m2/org/apache/ant/ant/1.9.4/ant-1.9.4.pom](https://plugins.gradle.org/m2/org/apache/ant/ant/1.9.4/ant-1.9.4.pom)  
24 Download [https://plugins.gradle.org/m2/org/apache/ant/ant-parent/1.9.4/ant-parent-1.9.4.pom](https://plugins.gradle.org/m2/org/apache/ant/ant-parent/1.9.4/ant-parent-1.9.4.pom)  
25 Download [https://plugins.gradle.org/m2/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.pom](https://plugins.gradle.org/m2/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.pom)  
26 Download [https://plugins.gradle.org/m2/org/codehaus/plexus/plexus/2.0.7/plexus-2.0.7.pom](https://plugins.gradle.org/m2/org/codehaus/plexus/plexus/2.0.7/plexus-2.0.7.pom)  
27 Download [https://plugins.gradle.org/m2/org/codehaus/groovy/groovy-backports-compat23/2.4.4/groovy-backports-compat23-2.4.4.pom](https://plugins.gradle.org/m2/org/codehaus/groovy/groovy-backports-compat23/2.4.4/groovy-backports-compat23-2.4.4.pom)  
28 Download [https://plugins.gradle.org/m2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom](https://plugins.gradle.org/m2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom)  
29 Download [https://plugins.gradle.org/m2/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.pom](https://plugins.gradle.org/m2/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.pom)  
30 Download [https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar](https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar)  
31  
32 FAILURE: Build failed with an exception.  
33  
34 \* What went wrong:  
35 A problem occurred configuring project ':benchmarks'.  
36 \> Could not resolve all dependencies for configuration ':benchmarks:classpath'.  
37 \> Could not download shadow.jar (com.github.jengelman.gradle.plugins:shadow:1.2.3)  
38 \> Could not get resource '[https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar](https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar)'.  
39 \> Connection reset  
40  
41 \* Try:  
42 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.  
43  
44 BUILD FAILED  
45  
46 Total time: 5 mins 45.775 sec

---

<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:** [August 8, 2016, 7:07am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/23 "2016-08-08T07:07:08Z")

</div>

Hi @laoyang360,

> [@laoyang360](#):
>
> 36 \> Could not resolve all dependencies for configuration ':benchmarks:classpath'. 37 \> Could not download shadow.jar (com.github.jengelman.gradle.plugins:shadow:1.2.3) 38 \> Could not get resource '[https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar](https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar)'. 39 \> Connection reset

Sadly, this indicates a problem with your network connection again. ☹

Gradle was not able to download an artifact for the build. I fear the best you can do is to retry until Gradle was able to fetch all dependencies. To speed up this process I suggest you directly run:

```auto
cd /home/elasticsearch/.rally/benchmarks/src
gradle :distribution:tar:assemble

```

Repeat this until Gradle could download all dependencies and the build succeeds. Once this is done you can run Rally again and the build will run fine.

As an aside: I really wonder about your network connection. Is this a corporate network or your private home connection? Can you share a few more details about the type of connection you use? Do you experience similar problems with other software too?

Daniel

---

<div class="post-metadata">

**Author:** ![laoyang360](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@laoyang360](https://discuss.elastic.co/u/laoyang360)\
**Post date:** [August 8, 2016, 7:16am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/24 "2016-08-08T07:16:59Z")

</div>

Hi, @danielmitterdorfer:

`Is this a corporate network or your private home connection? Can you share a few more details about the type of connection you use?`  
Your know, I am in a corporate network in China. Does the connection refused by Great Firewall of China.

`Do you experience similar problems with other software too?`  
No, I running many many software from github and many other foreign network, I never come across the above similar problem before.

---

<div class="post-metadata">

**Author:** ![laoyang360](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@laoyang360](https://discuss.elastic.co/u/laoyang360)\
**Post date:** [August 8, 2016, 7:40am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/25 "2016-08-08T07:40:03Z")

</div>

@danielmitterdorfer:  
I find the new problem:

When I run as root user, running:  
cd /home/elasticsearch/.rally/benchmarks/src  
gradle :distribution:tar:assemble

The result is  
... ....  
deprecated API.  
Note: Recompile with -Xlint:deprecation for details.  
:modules:transport-netty4:processResources UP-TO-DATE  
:modules:transport-netty4:classes  
:modules:transport-netty4:jar  
:modules:transport-netty4:copyPluginPropertiesTemplate  
:modules:transport-netty4:pluginProperties  
:modules:transport-netty4:bundlePlugin  
:distribution:buildModules  
:distribution:tar:buildTar  
:distribution:tar:generatePomFileForNebulaPublication  
:distribution:tar:signArchives SKIPPED  
:distribution:tar:assemble

```
BUILD SUCCESSFUL 

```

But when I run as the "elaticsearch" user, running :  
cd /home/elasticsearch/.rally/benchmarks/src  
gradle :distribution:tar:assemble

The follow errors appers:  
elasticsearch@laoyang src]$ gradle :distribution:tar:assemble  
:buildSrc:compileJava UP-TO-DATE  
:buildSrc:compileGroovy UP-TO-DATE  
:buildSrc:writeVersionProperties UP-TO-DATE  
:buildSrc:processResources UP-TO-DATE  
:buildSrc:classes UP-TO-DATE  
:buildSrc:jar UP-TO-DATE  
:buildSrc:assemble UP-TO-DATE  
:buildSrc:compileTestJava UP-TO-DATE  
:buildSrc:compileTestGroovy UP-TO-DATE  
:buildSrc:processTestResources UP-TO-DATE  
:buildSrc:testClasses UP-TO-DATE  
:buildSrc:test UP-TO-DATE  
:buildSrc:check UP-TO-DATE  
:buildSrc:build UP-TO-DATE  
Download [https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar](https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar)

```
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':benchmarks'.
> Could not resolve all dependencies for configuration ':benchmarks:classpath'.
   > Could not download shadow.jar (com.github.jengelman.gradle.plugins:shadow:1.2.3)
      > Could not get resource 'https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar'.
         > Connection reset

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 5 mins 52.512 secs
```

---

<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:** [August 8, 2016, 7:43am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/26 "2016-08-08T07:43:05Z")

</div>

Hi @laoyang360,

Gradle caches downloaded artifacts by user in `~/.gradle/caches` so it's perfectly possible that the build succeeds for root (where all artifacts could be downloaded successfully) but not for the user elasticsearch.

Daniel

---

<div class="post-metadata">

**Author:** ![laoyang360](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@laoyang360](https://discuss.elastic.co/u/laoyang360)\
**Post date:** [August 8, 2016, 8:08am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/27 "2016-08-08T08:08:44Z")

</div>

Now, I running ok, There is no any other error agin.

The result of my elasticsearch is:  
Preparing for race (might take a few moments) ...  
Building from sources ...

* * *

| Metric | Value |
| --- | --- |
| Min Indexing Throughput [docs/s] | 11949 |
| Median Indexing Throughput [docs/s] | 12307 |
| Max Indexing Throughput [docs/s] | 13349 |
| Indexing time [min] | 164.045 |
| Merge time [min] | 32.3815 |
| Refresh time [min] | 8.82333 |
| Flush time [min] | 1.63852 |
| Merge throttle time [min] | 1.45482 |
| Query latency default (90.0 percentile) [ms] | 68.8676 |
| Query latency default (99.0 percentile) [ms] | 77.6009 |
| Query latency default (100 percentile) [ms] | 78.8328 |
| Query latency term (90.0 percentile) [ms] | 4.63227 |
| Query latency term (99.0 percentile) [ms] | 10.9506 |
| Query latency term (100 percentile) [ms] | 13.0573 |
| Query latency phrase (90.0 percentile) [ms] | 6.35018 |
| Query latency phrase (99.0 percentile) [ms] | 13.1745 |
| Query latency phrase (100 percentile) [ms] | 14.2399 |
| Query latency country\_agg\_uncached (90.0 percentile) [ms] | 361.913 |
| Query latency country\_agg\_uncached (99.0 percentile) [ms] | 384.75 |
| Query latency country\_agg\_uncached (100 percentile) [ms] | 392.645 |
| Query latency country\_agg\_cached (90.0 percentile) [ms] | 7.71451 |
| Query latency country\_agg\_cached (99.0 percentile) [ms] | 17.4704 |
| Query latency country\_agg\_cached (100 percentile) [ms] | 18.4851 |
| Query latency scroll (90.0 percentile) [ms] | 50.4234 |
| Query latency scroll (99.0 percentile) [ms] | 50.9866 |
| Query latency scroll (100 percentile) [ms] | 51.2115 |
| Query latency expression (90.0 percentile) [ms] | 482.02 |
| Query latency expression (99.0 percentile) [ms] | 485.951 |
| Query latency expression (100 percentile) [ms] | 491.999 |
| Query latency painless\_static (90.0 percentile) [ms] | 890.382 |
| Query latency painless\_static (99.0 percentile) [ms] | 918.354 |
| Query latency painless\_static (100 percentile) [ms] | 927.282 |
| Query latency painless\_dynamic (90.0 percentile) [ms] | 968.908 |
| Query latency painless\_dynamic (99.0 percentile) [ms] | 1019.14 |
| Query latency painless\_dynamic (100 percentile) [ms] | 1021.97 |
| Median CPU usage (index) [%] | 887.7 |
| Median CPU usage (stats) [%] | 94.9 |
| Median CPU usage (search) [%] | 445.05 |
| Total Young Gen GC [s] | 89.121 |
| Total Old Gen GC [s] | 12.274 |
| Index size [GB] | 3.30111 |
| Totally written [GB] | 20.2123 |
| Heap used for segments [MB] | 21.6794 |
| Heap used for doc values [MB] | 0.113129 |
| Heap used for terms [MB] | 20.0574 |
| Heap used for norms [MB] | 0.0761719 |
| Heap used for points [MB] | 0.770404 |
| Heap used for stored fields [MB] | 0.6623 |
| Segment count | 96 |
| Indices Stats(90.0 percentile) [ms] | 11.5116 |
| Indices Stats(99.0 percentile) [ms] | 14.1724 |
| Indices Stats(100 percentile) [ms] | 36.8348 |
| Nodes Stats(90.0 percentile) [ms] | 11.342 |
| Nodes Stats(99.0 percentile) [ms] | 13.435 |
| Nodes Stats(100 percentile) [ms] | 16.4768 |

Logs for this race are archived in /home/elasticsearch/.rally/benchmarks/races/2016-08-08-07-29-59/local/logs-geonames-append-no-conflicts-defaults.zip  
You have new mail in /var/spool/mail/root

I want to know more detail about the result. If I have other problem, I will ask you again.  
Thank you very much. I'm very very happy.

---

<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:** [August 8, 2016, 8:21am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/28 "2016-08-08T08:21:00Z")

</div>

Hi @laoyang360,

> [@laoyang360](#):
>
> I want to know more detail about the result.

Do you need specific info on some metric?

> [@laoyang360](#):
>
> Thank you very much. I'm very very happy.

I am very happy too and I am glad you had so much persistence. 🙂 You also uncovered a few usability problems that I need to tackle.

Daniel

Daniel

---

<div class="post-metadata">

**Author:** ![laoyang360](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@laoyang360](https://discuss.elastic.co/u/laoyang360)\
**Post date:** [August 8, 2016, 8:40am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/29 "2016-08-08T08:40:12Z")

</div>

> [@danielmitterdorfer](#):
>
> I am very happy too and I am glad you had so much persistence. 🙂 You also uncovered a few usability problems that I need to tackle.

I list a new problem:

> [@The detail meaning of esrally Final score?](https://discuss.elastic.co/t/i-want-to-know-the-profound-meaning-of-esrally-final-score/57454):
>
> Now I running esrally 0.3.2 successfully. And I also get the Final score. I have problem below: Firstly: I think the score contain too many information, But as user I just need the most useful performance information of my elaticsearch? Secondly: I don't know the detail meaning of many socore? just like: 1.Median Indexing Throughput [docs/s] | 12307 |, what is every doc size? I think one doc size is 1KB, the other doc is 1TB. It's very different between the little one and the large one. 2…

Thank you sincerely.

---

<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:** [July 5, 2017, 10:29pm UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/30 "2017-07-05T22:29:30Z")

</div>



[Previous page](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063.md?page=1)
