# \[ERROR\] Cannot race. This race ended with a fatal crash

**URL:** <https://discuss.elastic.co/t/error-cannot-race-this-race-ended-with-a-fatal-crash/318756>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [November 11, 2022, 5:17pm UTC](https://discuss.elastic.co/t/error-cannot-race-this-race-ended-with-a-fatal-crash/318756 "2022-11-11T17:17:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahitya\_Panchapakasa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sahitya_panchapakasa/32/103180_2.png) [@Sahitya\_Panchapakasa](https://discuss.elastic.co/u/Sahitya_Panchapakasa)\
**Post date:** [November 11, 2022, 5:17pm UTC](https://discuss.elastic.co/t/error-cannot-race-this-race-ended-with-a-fatal-crash/318756/1 "2022-11-11T17:17:02Z")

</div>

Hi,

Am just getting started with rally and got this error when doing  
esrally race --distribution-version=6.8.0 --track=geopoint --challenge=append-fast-with-conflicts

Steps followed as per [https://esrally.readthedocs.io/en/stable/race.html-](https://esrally.readthedocs.io/en/stable/race.html-)

1. esrally list tracks
2. esrally race --distribution-version=6.8.0 --track=geopoint --challenge=append-fast-with-conflicts

Error :  
[INFO] Race id is [22704670-dfba-4248-8b9c-9c2177e6bd9e]  
INFO:esrally.actor:Checking capabilities [{'Thespian ActorSystem Name': 'multiprocQueueBase', 'Thespian ActorSystem Version': 1, 'Python Version': (3, 9, 6, 'final', 0), 'Thespian Generation': (3, 10), 'Thespian Version': '1668186421200'}] against requirements [{'coordinator': True}] failed.  
[WARNING] Could not terminate all internal processes within timeout. Please check and force-terminate all Rally processes.  
[ERROR] Cannot race. This race ended with a fatal crash.

Getting further help:

* * *

- Check the log files in /Users/psahitya/.rally/logs for errors.
- Read the documentation at [Rally 2.7.0 documentation](https://esrally.readthedocs.io/en/2.7.0/).
- Ask a question on the forum at [Topics tagged rally](https://discuss.elastic.co/tags/c/elastic-stack/elasticsearch/rally).
- Raise an issue at [Issues · elastic/rally · GitHub](https://github.com/elastic/rally/issues) and include the log files in /Users/psahitya/.rally/logs.

Logs :

```auto
2022-11-11 16:44:15,933 -not-actor-/PID:37013 esrally.rally INFO Falling back to offline actor system.
2022-11-11 16:44:15,933 -not-actor-/PID:37013 esrally.actor INFO Joining already running actor system with system base [multiprocQueueBase].
2022-11-11 16:44:16,4 -not-actor-/PID:37042 root INFO ++++ Actor System gen (3, 10) started, admin @ ActorAddr-Q.ThespianQ
2022-11-11 16:44:16,25 -not-actor-/PID:37013 esrally.racecontrol INFO Race id is [569093d2-9506-4a5d-bf5e-3d3b9a678503]
2022-11-11 16:44:16,25 -not-actor-/PID:37013 esrally.racecontrol INFO User specified no pipeline. Automatically derived pipeline [from-distribution].
2022-11-11 16:44:16,26 -not-actor-/PID:37013 esrally.racecontrol INFO Setting default host to [127.0.0.1:39200]
2022-11-11 16:44:16,27 -not-actor-/PID:37013 esrally.actor INFO Joining already running actor system with system base [multiprocQueueBase].
2022-11-11 16:44:19,35 -not-actor-/PID:37013 esrally.rally INFO Attempting to shutdown internal actor system.
2022-11-11 16:44:19,59 -not-actor-/PID:37042 root INFO ---- Actor System shutdown
2022-11-11 16:44:19,61 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:20,63 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:21,68 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:22,72 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:23,76 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:24,81 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:25,84 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:26,88 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:27,93 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:28,99 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:29,100 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:30,113 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:31,116 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:32,120 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:33,124 -not-actor-/PID:37013 esrally.rally INFO Actor system is still running. Waiting...
2022-11-11 16:44:34,129 -not-actor-/PID:37013 esrally.rally WARNING Shutdown timed out. Actor system is still running.
2022-11-11 16:44:34,129 -not-actor-/PID:37013 esrally.rally ERROR Cannot run subcommand [race].
Traceback (most recent call last):
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 370, in run
    pipeline(cfg)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 71, in __call__
    self.target(cfg)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 302, in from_distribution
    return race(cfg, distribution=True)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 257, in race
    benchmark_actor = actor_system.createActor(BenchmarkActor, targetActorRequirements={"coordinator": True})
  File "/Users/psahitya/Library/Python/3.9/lib/python/site-packages/thespian/actors.py", line 702, in createActor
    return self._systemBase.newPrimaryActor(actorClass,
  File "/Users/psahitya/Library/Python/3.9/lib/python/site-packages/thespian/system/systemBase.py", line 205, in newPrimaryActor
    raise NoCompatibleSystemForActor(
thespian.actors.NoCompatibleSystemForActor: No compatible ActorSystem could be found for Actor <class 'esrally.racecontrol.BenchmarkActor'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Python/3.9/site-packages/esrally/rally.py", line 1107, in dispatch_sub_command
    race(cfg, args.kill_running_processes)
  File "/Library/Python/3.9/site-packages/esrally/rally.py", line 865, in race
    with_actor_system(racecontrol.run, cfg)
  File "/Library/Python/3.9/site-packages/esrally/rally.py", line 895, in with_actor_system
    runnable(cfg)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 379, in run
    raise exceptions.RallyError("This race ended with a fatal crash.").with_traceback(tb)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 370, in run
    pipeline(cfg)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 71, in __call__
    self.target(cfg)
  File "/Library/Python/3.9/site-packages/esrally/racecontrol.py", line 302, in from_distribution
    return race(cfg, distribution=True)

```

Any help appreciated

---

<div class="post-metadata">

**Author:** ![json](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/json/32/4125_2.png) [@json](https://discuss.elastic.co/u/json)\
**Post date:** [November 11, 2022, 7:18pm UTC](https://discuss.elastic.co/t/error-cannot-race-this-race-ended-with-a-fatal-crash/318756/2 "2022-11-11T19:18:18Z")

</div>

Hi Sahitya, welcome to the Elastic community. It looks like there could possibly be processes leftover from another Rally run on your system. Can you try executing Rally with `--kill-running-processes`? The `--test-mode` flag can be used for fast iteration and troubleshooting:

```nohighlight
esrally race --distribution-version=6.8.0 --track=geopoint --challenge=append-fast-with-conflicts --test-mode --kill-running-processes

```

If you have further questions, could you be sure to include the full rally.log?

Thank you,  
Jason

---

<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:** [December 9, 2022, 7:18pm UTC](https://discuss.elastic.co/t/error-cannot-race-this-race-ended-with-a-fatal-crash/318756/3 "2022-12-09T19:18:41Z")

</div>

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