Skip to content

Commit

Permalink
[GR-53612] Fix RssPercentilesTracker if python3 is not on the path.
Browse files Browse the repository at this point in the history
PullRequest: mx/1789
  • Loading branch information
gilles-duboscq committed Apr 23, 2024
2 parents 8215510 + cfa617c commit 8545aa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Jsonnet files should not include this file directly but use ci/common.jsonnet instead."
],

"mx_version": "7.22.3",
"mx_version": "7.22.6",

"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
"jdks": {
Expand Down
2 changes: 1 addition & 1 deletion src/mx/_impl/mx.py
Original file line number Diff line number Diff line change
Expand Up @@ -18149,7 +18149,7 @@ def alarm_handler(signum, frame):
_CACHE_DIR = get_env('MX_CACHE_DIR', join(dot_mx_dir(), 'cache'))

# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
version = VersionSpec("7.22.6") # Stop MaxRssCopyRule of the rsspercentiles tracker from rerunning
version = VersionSpec("7.22.7") # Use current python for rsspercentiles

_mx_start_datetime = datetime.utcnow()

Expand Down
2 changes: 1 addition & 1 deletion src/mx/_impl/mx_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -2921,7 +2921,7 @@ def map_command(self, cmd):

self.most_recent_text_output = text_output
ps_poller_script_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "ps_poller.py")
return ["python3", ps_poller_script_path, "-f", text_output, "-i", str(RssPercentilesTracker.poll_interval)] + cmd
return [sys.executable, ps_poller_script_path, "-f", text_output, "-i", str(RssPercentilesTracker.poll_interval)] + cmd

def get_rules(self, bmSuiteArgs):
if self.copy_into_max_rss:
Expand Down

0 comments on commit 8545aa4

Please sign in to comment.