Rally: Errror: Cannot update teams in /root/.rally/benchmarks/teams/default

Hi guys,

I use Rally 1.4.1, RHEL 7.9, offline. I didnt't find any similiar topic so I hope somebody could help me. Thanks

Input:

  esrally --distribution-version=7.10.2 --track-path=/root/.rally/benchmarks/tracks/default/geonames --challenge=append-fast-with-conflicts --offline

Output:

    [ERROR] Cannot race. Error in mechanic (('Cannot update teams in [/root/.rally/benchmarks/teams/default] (Could not checkout [master]. Do you have uncommitted changes?).', None))

    Getting further help:
    *********************
    * Check the log files in /root/.rally/logs for errors.
    * Read the documentation at https://esrally.readthedocs.io/en/1.4.1/
    * Ask a question on the forum at https://discuss.elastic.co/c/elasticsearch/rally
    * Raise an issue at https://github.com/elastic/rally/issues and include the log files in /root/.rally/logs.

    -------------------------------
    [INFO] FAILURE (took 4 seconds)
    -------------------------------
```´

Log File:
2021-02-24 11:34:25,322 -not-actor-/PID:1694 esrally.rally INFO Race id [225be7e7-9ed0-4fd4-b998-6888bf7065a5]
2021-02-24 11:34:25,322 -not-actor-/PID:1694 esrally.rally INFO OS [uname_result(system='Linux', node='ile36516', release='3.10.0-1160.11.1.el7.x86_64', version='#1 SMP Mon Nov 30 13:05:31 EST 2020', machine='x86_64', processor='x86_64')]
2021-02-24 11:34:25,322 -not-actor-/PID:1694 esrally.rally INFO Python [namespace(_multiarch='x86_64-linux-gnu', cache_tag='cpython-36', hexversion=50727152, name='cpython', version=sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0))]
2021-02-24 11:34:25,322 -not-actor-/PID:1694 esrally.rally INFO Rally version [1.4.1]
2021-02-24 11:34:25,322 -not-actor-/PID:1694 esrally.utils.net INFO Connecting directly to the Internet (no proxy support).
2021-02-24 11:34:25,347 -not-actor-/PID:1694 esrally.rally INFO Actor system already running locally? [False]
2021-02-24 11:34:25,347 -not-actor-/PID:1694 esrally.actor INFO Starting actor system with system base [multiprocTCPBase] and capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900'}].
2021-02-24 11:34:25,363 -not-actor-/PID:1700 root INFO ++++ Actor System gen (3, 9) started, admin @ ActorAddr-(T|:1900)
2021-02-24 11:34:25,375 -not-actor-/PID:1694 esrally.racecontrol INFO User specified no pipeline. Automatically derived pipeline [from-distribution].
2021-02-24 11:34:25,375 -not-actor-/PID:1694 esrally.racecontrol INFO Setting default host to [127.0.0.1:39200]
2021-02-24 11:34:25,376 -not-actor-/PID:1694 esrally.actor INFO Joining already running actor system with system base [multiprocTCPBase].
2021-02-24 11:34:25,378 ActorAddr-(T|:1900)/PID:1700 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 6, 8, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1614166465356'}] match requirements [{'coordinator': True}].
2021-02-24 11:34:25,378 ActorAddr-(T|:1900)/PID:1700 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 6, 8, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1614166465356'}] match requirements [{'coordinator': True}].
2021-02-24 11:34:25,389 ActorAddr-(T|:43194)/PID:1702 esrally.track.loader INFO Reading track specification file [/root/.rally/benchmarks/tracks/default/geonames/track.json].
2021-02-24 11:34:25,423 ActorAddr-(T|:43194)/PID:1702 esrally.track.loader INFO Final rendered track for '/root/.rally/benchmarks/tracks/default/geonames/track.json' has been written to '/tmp/tmpr6616lyk.json'.
2021-02-24 11:34:25,433 ActorAddr-(T|:43194)/PID:1702 esrally.track.loader INFO Loading template [definition for index geonames in index.json].
2021-02-24 11:34:25,439 ActorAddr-(T|:43194)/PID:1702 esrally.metrics INFO Creating in-memory metrics store
2021-02-24 11:34:25,439 ActorAddr-(T|:43194)/PID:1702 esrally.metrics INFO Opening metrics store for race timestamp=[20210224T113425Z], track=[geonames], challenge=[append-fast-with-conflicts], car=[['defaults']]
2021-02-24 11:34:25,439 ActorAddr-(T|:43194)/PID:1702 esrally.metrics INFO Creating file race store
2021-02-24 11:34:25,440 ActorAddr-(T|:43194)/PID:1702 esrally.actor INFO Asking mechanic to start the engine.
2021-02-24 11:34:25,440 ActorAddr-(T|:43194)/PID:1702 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 6, 8, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1614166465356'}] match requirements [{'coordinator': True}].
2021-02-24 11:34:25,449 ActorAddr-(T|:43488)/PID:1703 esrally.actor INFO Received signal from race control to start engine.
2021-02-24 11:34:25,457 ActorAddr-(T|:43488)/PID:1703 esrally.utils.repo INFO Checking out [master] in [/root/.rally/benchmarks/teams/default] for distribution version [7.10.2].
2021-02-24 11:34:25,468 ActorAddr-(T|:43194)/PID:1702 esrally.actor INFO Received a benchmark failure from [ActorAddr-(T|:43488)] and will forward it now.
2021-02-24 11:34:25,470 -not-actor-/PID:1694 esrally.racecontrol ERROR A benchmark failure has occurred
2021-02-24 11:34:25,470 -not-actor-/PID:1694 esrally.racecontrol INFO Telling benchmark actor to exit.
2021-02-24 11:34:25,464 ActorAddr-(T|:43488)/PID:1703 esrally.utils.process INFO error: pathspec 'master' did not match any file(s) known to git

2021-02-24 11:34:25,470 ActorAddr-(T|:43194)/PID:1702 esrally.actor INFO BenchmarkActor received unknown message [ActorExitRequest] (ignoring).
2021-02-24 11:34:25,465 ActorAddr-(T|:43488)/PID:1703 esrally.actor ERROR Error in mechanic
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/site-packages/esrally/utils/repo.py", line 66, in update
    git.checkout(self.repo_dir, branch=branch)

  File "/usr/local/lib/python3.6/site-packages/esrally/utils/git.py", line 36, in probe
    return f(src, *args, **kwargs)

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

esrally.exceptions.SupplyError: ('Could not checkout [master]. Do you have uncommitted changes?', None)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/usr/local/lib/python3.6/site-packages/esrally/actor.py", line 85, in guard
    return f(self, msg, sender)

  File "/usr/local/lib/python3.6/site-packages/esrally/mechanic/mechanic.py", line 350, in receiveMsg_StartEngine
    self.car, _ = load_team(self.cfg, msg.external)

  File "/usr/local/lib/python3.6/site-packages/esrally/mechanic/mechanic.py", line 616, in load_team
    team_path = team.team_path(cfg)

  File "/usr/local/lib/python3.6/site-packages/esrally/mechanic/team.py", line 146, in team_path
    current_team_repo.update(distribution_version)

  File "/usr/local/lib/python3.6/site-packages/esrally/utils/repo.py", line 102, in update
    raise exceptions.DataError("Cannot update %s in [%s] (%s)." % (self.resource_name, self.repo_dir, e.message)).with_traceback(tb)

  File "/usr/local/lib/python3.6/site-packages/esrally/utils/repo.py", line 66, in update
    git.checkout(self.repo_dir, branch=branch)

  File "/usr/local/lib/python3.6/site-packages/esrally/utils/git.py", line 36, in probe
    return f(src, *args, **kwargs)

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

esrally.exceptions.DataError: ('Cannot update teams in [/root/.rally/benchmarks/teams/default] (Could not checkout [master]. Do you have uncommitted changes?).', None)

2021-02-24 11:34:25,472 ActorAddr-(T|:43194)/PID:1702 esrally.actor INFO BenchmarkActor received unknown message [ChildActorExited:ActorAddr-(T|:43488)] (ignoring).
2021-02-24 11:34:25,471 ActorAddr-(T|:43488)/PID:1703 esrally.actor INFO MechanicActor#receiveMessage unrecognized(msg = [<class 'thespian.actors.ActorExitRequest'>] sender = [ActorAddr-(T|:43194)])
2021-02-24 11:34:28,473 -not-actor-/PID:1694 esrally.rally INFO Attempting to shutdown internal actor system.
2021-02-24 11:34:28,475 -not-actor-/PID:1701 root INFO ActorSystem Logging Shutdown
2021-02-24 11:34:28,477 -not-actor-/PID:1700 root INFO ---- Actor System shutdown
2021-02-24 11:34:28,477 -not-actor-/PID:1694 esrally.rally INFO Actor system is still running. Waiting...
2021-02-24 11:34:29,479 -not-actor-/PID:1694 esrally.rally INFO Shutdown completed.
2021-02-24 11:34:29,479 -not-actor-/PID:1694 esrally.rally ERROR Cannot run subcommand [race].
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 714, in dispatch_sub_command
    race(cfg)
  File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 624, in race
    with_actor_system(racecontrol.run, cfg)
  File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 652, in with_actor_system
    runnable(cfg)
  File "/usr/local/lib/python3.6/site-packages/esrally/racecontrol.py", line 365, in run
    raise e
  File "/usr/local/lib/python3.6/site-packages/esrally/racecontrol.py", line 362, in run
    pipeline(cfg)
  File "/usr/local/lib/python3.6/site-packages/esrally/racecontrol.py", line 79, in __call__
    self.target(cfg)
  File "/usr/local/lib/python3.6/site-packages/esrally/racecontrol.py", line 290, in from_distribution
    return race(cfg, distribution=True)
  File "/usr/local/lib/python3.6/site-packages/esrally/racecontrol.py", line 250, in race
    raise exceptions.RallyError(result.message, result.cause)
esrally.exceptions.RallyError: ("Error in mechanic (('Cannot update teams in [/root/.rally/benchmarks/teams/default] (Could not checkout [master]. Do you have uncommitted changes?).', None))", None)
1 Like

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