Skip to content

[Bug Skip]: [Regression] FileNotFoundError: [Errno 2] No such file or directory: '/tmp/torchinductor_root/r3/cr3z25rxexxnkmt5ftijiorxcqsimwwb56y2 in test_execution_trace_xpu.py #5121

Description

@RUIJIEZHONG66166

🐛 Describe the bug with skip template

Cases:
op_ut,third_party.torch-xpu-ops.test.xpu.profiler.test_execution_trace_xpu.TestExecutionTraceXPU,test_execution_trace_env_enabled_with_pt2_xpu

ErrorLog

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/torchinductor_root/r3/cr3z25rxexxnkmt5ftijiorxcqsimwwb56y25efpcvhpvsaf4x4m.py'

Traceback (most recent call last):
  File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/profiler/test_execution_trace_xpu.py", line 508, in test_execution_trace_env_enabled_with_pt2
    fn(*inputs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 1278, in compile_wrapper
    raise e.remove_dynamo_frames() from None  # see TORCHDYNAMO_VERBOSE=1
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/_inductor/compile_fx.py", line 1311, in _compile_fx_inner
    raise InductorError(e, currentframe()).with_traceback(
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/_inductor/compile_fx.py", line 1303, in _compile_fx_inner
    mb_compiled_graph = fx_codegen_and_compile(
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/_inductor/compile_fx.py", line 2158, in fx_codegen_and_compile
    return scheme.codegen_and_compile(gm, example_inputs, inputs_to_check, graph_kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/_inductor/compile_fx.py", line 2073, in codegen_and_compile
    return CompiledFxGraph(
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/_inductor/output_code.py", line 604, in __init__
    with open(graph.cache_path) as f:
torch._inductor.exc.InductorError: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/torchinductor_root/r3/cr3z25rxexxnkmt5ftijiorxcqsimwwb56y25efpcvhpvsaf4x4m.py'

Set TORCHDYNAMO_VERBOSE=1 for the internal stack trace (please do this especially if you're reporting a bug to PyTorch). For even more developer context, set TORCH_LOGS="+dynamo"


To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_SLOW=1 python test/xpu/profiler/test_execution_trace_xpu.py TestExecutionTraceXPU.test_execution_trace_env_enabled_with_pt2_xpu

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Pytorch Version

Detected in : nightly #32733042537 / op_ut (2026-08-24)
latest good : unknown
current : unknown

Regression evidence

These cases passed in the previous healthy nightly for their category and fail now.

Category Run Date torch torch-xpu-ops
op_ut Last good #32642064357 (op_ut) 2026-08-23 unknown unknown
op_ut First seen bad #32733042537 (op_ut) 2026-08-24 unknown unknown

This is a bisect range, not a culprit commit.

Versions

Detail

collect_env output was not captured in this run's artifact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression with before/after version or commit signalskippedUsed for temp UT failure to parallel fixskipped_bmgTemporarily skipped on BMG

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions