Skip to content

Investigate ROCm failure on CI: test_disable_external_correlation #1242

@scotts

Description

@scotts

CI failure example: https://github.com/pytorch/kineto/actions/runs/21599182062/job/62240085046?pr=1240

________________ TestProfiler.test_disable_external_correlation ________________
Traceback (most recent call last):
  File "/opt/conda/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
    yield
  File "/opt/conda/lib/python3.11/unittest/case.py", line 623, in run
    self._callTestMethod(testMethod)
  File "/opt/conda/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "/pytorch/torch/testing/_internal/common_utils.py", line 3364, in wrapper
    method(*args, **kwargs)
  File "/pytorch/torch/testing/_internal/common_utils.py", line 1760, in wrapper
    fn(*args, **kwargs)
  File "/pytorch/test/profiler/test_profiler.py", line 2394, in test_disable_external_correlation
    validate_json(prof, disable_external_correlation)
  File "/pytorch/test/profiler/test_profiler.py", line 2380, in validate_json
    check_correlations(event, disable_external_correlation)
  File "/pytorch/test/profiler/test_profiler.py", line 2370, in check_correlations
    self.assertTrue("External id" in event["args"])
  File "/opt/conda/lib/python3.11/unittest/case.py", line 715, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true

To execute this test, run the following from the base repo dir:
    python test/profiler/test_profiler.py TestProfiler.test_disable_external_correlation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions