[ez][TD] Increase logging (#124082)

increase logging during td
generate an artifact that says which tests got excluded
fix minor bug where filter test configs couldnt get commit messages

Pull Request resolved: https://github.com/pytorch/pytorch/pull/124082
Approved by: https://github.com/seemethere, https://github.com/malfet
This commit is contained in:
Catherine Lee
2024-04-17 00:18:24 +00:00
committed by PyTorch MergeBot
parent e7cf6f81ea
commit 946b50c788
5 changed files with 23 additions and 1 deletions

View File

@ -57,6 +57,7 @@ from tools.testing.discover_tests import (
TESTS,
)
from tools.testing.do_target_determination_for_s3 import import_results
from tools.testing.target_determination.gen_artifact import gen_ci_artifact
from tools.testing.test_run import TestRun
from tools.testing.test_selections import (
@ -1714,6 +1715,8 @@ def main():
test_batch = TestBatch("tests to run", include, False)
test_batch_exclude = TestBatch("excluded", exclude, True)
if IS_CI:
gen_ci_artifact([x.to_json() for x in include], [x.to_json() for x in exclude])
print_to_stderr(test_batch)
print_to_stderr(test_batch_exclude)