After following Developing Rally - Rally 2.10.0.dev0 documentation
I ran:
(.venv) ➜ rally git:(master) python esrally/rally.py race --pipeline=benchmark-only --target-host=127.0.0.1:39200 --track=geonames --challenge=append-no-conflicts-index-only --on-error=abort --race-id=${RACE_ID}
errors:
2024-03-07 08:08:53,640 -not-actor-/PID:49360 __main__ INFO OS [uname_result(system='Darwin', node='88665a1d692f.ant.amazon.com', release='23.3.0', version='Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64', machine='x86_64', processor='i386')]
2024-03-07 08:08:53,643 -not-actor-/PID:49360 __main__ INFO Python [namespace(_multiarch='darwin', cache_tag='cpython-38', hexversion=50860272, name='cpython', version=sys.version_info(major=3, minor=8, micro=16, releaselevel='final', serial=0))]
2024-03-07 08:08:53,717 -not-actor-/PID:49360 __main__ INFO Rally version [2.10.0.dev0 (git revision: a2c09a751d7e2797fde531f90aea43ac1375c987)]
2024-03-07 08:08:53,718 -not-actor-/PID:49360 esrally.utils.net INFO Connecting directly to the Internet (no proxy support) for [all_proxy].
2024-03-07 08:08:53,643 -not-actor-/PID:49360 __main__ INFO Python [namespace(_multiarch='darwin', cache_tag='cpython-38', hexversion=50860272, name='cpython', version=sys.vers
ion_info(major=3, minor=8, micro=16, releaselevel='final', serial=0))]
2024-03-07 08:08:53,717 -not-actor-/PID:49360 __main__ INFO Rally version [2.10.0.dev0 (git revision: a2c09a751d7e2797fde531f90aea43ac1375c987)]
2024-03-07 08:08:53,718 -not-actor-/PID:49360 esrally.utils.net INFO Connecting directly to the Internet (no proxy support) for [all_proxy].
2024-03-07 08:08:53,718 -not-actor-/PID:49360 esrally.utils.net INFO Connecting directly to the Internet (no proxy support) for [all_proxy].
2024-03-07 08:08:53,718 -not-actor-/PID:49360 __main__ INFO Cleaning track dependency directory [/Users/qiaoxux/.rally/libs]...
2024-03-07 08:08:53,798 -not-actor-/PID:49360 __main__ INFO Actor system already running locally? [True]
2024-03-07 08:08:53,814 -not-actor-/PID:49360 root WARNING Unable to get address info for address freeip.amazon.com (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, 0): <class 'socket.gaierror'> [Errno 8] nodename nor servname provided, or not known
2024-03-07 08:08:53,815 -not-actor-/PID:49360 root WARNING Unable to get address info for address freeip.amazon.com (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, AddressInfo.AI_PASSIVE): <class 'socket.gaierror'> [Errno 8] nodename nor servname provided, or not known
2024-03-07 08:08:53,823 -not-actor-/PID:49360 esrally.racecontrol INFO Race id is [0D0EA5A3-0CE3-4E8C-9134-2BFB46084152]
2024-03-07 08:08:53,824 -not-actor-/PID:49360 esrally.racecontrol INFO User specified pipeline [benchmark-only].
2024-03-07 08:08:53,824 -not-actor-/PID:49360 esrally.racecontrol INFO Using configured hosts [{'host': '127.0.0.1', 'port': 39200}]
2024-03-07 08:08:53,834 -not-actor-/PID:49360 __main__ ERROR Cannot run subcommand [race].
Traceback (most recent call last):
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 405, in run
pipeline(cfg)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 74, in __call__
self.target(cfg)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 344, in benchmark_only
return race(cfg, external=True)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 292, in race
benchmark_actor = actor_system.createActor(BenchmarkActor, targetActorRequirements={"coordinator": True})
File "/Volumes/workplace/rally/rally/.venv/lib/python3.8/site-packages/thespian/actors.py", line 702, in createActor
return self._systemBase.newPrimaryActor(actorClass,
File "/Volumes/workplace/rally/rally/.venv/lib/python3.8/site-packages/thespian/system/systemBase.py", line 201, in newPrimaryActor
raise ImportError(str(actorClass) + ': ' + info)
ImportError: <class 'esrally.racecontrol.BenchmarkActor'>: No module named 'esrally'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "esrally/rally.py", line 1184, in dispatch_sub_command
race(cfg, args.kill_running_processes)
File "esrally/rally.py", line 932, in race
with_actor_system(racecontrol.run, cfg)
File "esrally/rally.py", line 962, in with_actor_system
runnable(cfg)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 414, in run
raise exceptions.RallyError("This race ended with a fatal crash.").with_traceback(tb)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 405, in run
pipeline(cfg)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 74, in __call__
self.target(cfg)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 344, in benchmark_only
return race(cfg, external=True)
File "/Volumes/workplace/rally/rally/esrally/racecontrol.py", line 292, in race
benchmark_actor = actor_system.createActor(BenchmarkActor, targetActorRequirements={"coordinator": True})
File "/Volumes/workplace/rally/rally/.venv/lib/python3.8/site-packages/thespian/actors.py", line 702, in createActor
return self._systemBase.newPrimaryActor(actorClass,
File "/Volumes/workplace/rally/rally/.venv/lib/python3.8/site-packages/thespian/system/systemBase.py", line 201, in newPrimaryActor
raise ImportError(str(actorClass) + ': ' + info)
esrally.exceptions.RallyError: This race ended with a fatal crash.