Skip to content

Fix issue 130 #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,30 @@ def process_self_contained_coordinator_stream(
)
)

# Delete all the perf artifacts, now that they are uploaded to S3.
# The .script and .script.mainthread files are not part of the artifacts_matrix and thus have to be deleted separately
line = profilers_artifacts_matrix[0]
logging.info(
"Deleting perf file {}".format(
line[3].split(".")[0]
+ ".out.script.mainthread"
)
)
os.remove(
line[3].split(".")[0] + ".out.script.mainthread"
)
logging.info(
"Deleteing perf file {}".format(
line[3].split(".")[0] + ".out.script"
)
)
os.remove(line[3].split(".")[0] + ".out.script")
for line in profilers_artifacts_matrix:
logging.info(
"Deleting perf file {}".format(line[3])
)
os.remove(line[3])

datapoint_time_ms = start_time_ms
if (
use_git_timestamp is True
Expand Down