I was trying to run Rally using our own custom track and data . I have put my own documents.json, document.tar.gz , and mappings and track.json in the respective data and track folder. Then I started running Rally.
Before running it, I used
$esrally list tracks --offline
it listed my custom track "spectre" there.
then I ran it, using the below command. It got some 'gradle clean" failed error in the end. See below screen shot.
[eyang@App-Agent97 elasticsearch-5.1.2]$esrallyd start --node-ip=172.20.115.95 --coordinator-ip=172.20.115.95
[INFO] Successfully started actor system on node [172.20.115.95] with coordinator node IP [172.20.115.95].
[eyang@App-Agent97 elasticsearch-5.1.2]$ esrally --track=spectre --target-hosts=172.20.115.97:9200 --offline --report-file=spectre-2017-03-20-13 --report-form
/ __ ____ / / / __
/ // / __ `/ / / / / /
/ , / // / / / // /
// ||_,///_, /
[INFO] Writing logs to /home/eyang/.rally/logs/rally_out.log
[INFO] Preparing for race ...Downloading sources from https://github.com/elastic/elasticsearch.git to /home/eyang/.rally/benchmarks/src.
Cloning into '/home/eyang/.rally/benchmarks/src'...
remote: Counting objects: 768220, done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 768220 (delta 42), reused 3 (delta 3), pack-reused 768122
Receiving objects: 100% (768220/768220), 322.37 MiB | 800.00 KiB/s, done.
Resolving deltas: 100% (424894/424894), done.
Checking connectivity... done.
[ERROR] Cannot race. Executing '/home/gradle/gradle-3.4.1/bin/gradle clean' failed. The last 20 lines in the build log file are:
> Could not GET 'https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.11/apache-rat-0.11.pom'. > Connect to repo1.maven.org:443 [repo1.maven.org/184.108.40.206] failed: Connection timed out (Connection timed out) > Could not resolve ru.vyarus:gradle-animalsniffer-plugin:1.2.0. Required by: project : > Could not resolve ru.vyarus:gradle-animalsniffer-plugin:1.2.0. > Could not get resource 'https://jcenter.bintray.com/ru/vyarus/gradle-animalsniffer-plugin/1.2.0/gradle-animalsniffer-plugin-1.2.0.pom'. > Could not GET 'https://jcenter.bintray.com/ru/vyarus/gradle-animalsniffer-plugin/1.2.0/gradle-animalsniffer-plugin-1.2.0.pom'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/220.127.116.11, jcenter.bintray.com/18.104.22.168] failed: Connection timed out (Connection timed out) > Could not resolve ru.vyarus:gradle-animalsniffer-plugin:1.2.0. > Could not get resource 'https://repo1.maven.org/maven2/ru/vyarus/gradle-animalsniffer-plugin/1.2.0/gradle-animalsniffer-plugin-1.2.0.pom'. > Could not GET 'https://repo1.maven.org/maven2/ru/vyarus/gradle-animalsniffer-plugin/1.2.0/gradle-animalsniffer-plugin-1.2.0.pom'. > Connect to repo1.maven.org:443 [repo1.maven.org/22.214.171.124] failed: Connection timed out (Connection timed out) * 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: 53 mins 16.206 secs
The full build log is available at [/home/eyang/.rally/benchmarks/races/2017-03-20-20-24-57/local/logs/build.log].
Getting further help:
- Check the log file at /home/eyang/.rally/logs/rally_out.log for errors.
- Read the documentation at https://esrally.readthedocs.io/en/0.5.2/
- 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 file in /home/eyang/.rally/logs/rally_out.log.
[INFO] FAILURE (took 3623 seconds)
Any clues as what was the issue?