Skip to content

DISABLED test_profile_memory (__main__.CppThreadTest) #132331

@clee2000

Description

@clee2000

Platforms: linux

Segfaults
https://github.com/pytorch/pytorch/actions/runs/10178882881/job/28166069969
https://github.com/pytorch/pytorch/actions/runs/10185896985/job/28177719366


platform linux -- Python 3.10.14, pytest-7.3.2, pluggy-1.5.0 -- /opt/conda/envs/py_3.10/bin/python
cachedir: .pytest_cache
hypothesis profile 'pytorch_ci' -> database=None, max_examples=50, derandomize=True, suppress_health_check=[HealthCheck.too_slow]
rootdir: /var/lib/jenkins/workspace
configfile: pytest.ini
plugins: hypothesis-5.35.1, cpp-2.3.0, flakefinder-1.1.0, rerunfailures-14.0, xdist-3.3.1, xdoctest-1.1.0
collecting ... collected 3 items / 2 deselected / 1 selected
stepcurrent: skipping 0 already run items. Running only test/profiler/test_cpp_thread.py::CppThreadTest::test_profile_memory
Running 1 items in this shard

profiler/test_cpp_thread.py::CppThreadTest::test_profile_memory ERROR: External init callback must run in same thread as registerClient (-2125281536 != 1214378624)
start_cpp_threads called
starting thread 0
start_cpp_threads called
starting thread 0
starting thread 1
starting thread 2
starting thread 3
starting thread 4
starting thread 5
starting thread 6
starting thread 7
starting thread 8
starting thread 9
starting thread 10
starting thread 11
starting thread 12
starting thread 13
starting thread 14
starting thread 15
starting thread 16
starting thread 17
starting thread 18
starting thread 19
[W731 21:14:09.296543040 record_function.cpp:253] Requested callback is not found
[W731 21:14:09.296601184 observer.cpp:150] Warning: ProfilerStateBase already has a registered callback. Removing to avoid leaked callback. (function operator())
[W731 21:14:09.296608587 record_function.cpp:253] Requested callback is not found
[W731 21:14:09.296664661 record_function.cpp:253] Requested callback is not found
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/_pytest/main.py", line 323 in _main
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/_pytest/main.py", line 269 in wrap_session
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/_pytest/config/__init__.py", line 166 in main
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1216 in run_tests
  File "/var/lib/jenkins/workspace/test/profiler/test_cpp_thread.py", line 219 in <module>

Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg.lapack_lite, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special (total: 21)
Got exit code -11 (SIGSEGV)

Metadata

Metadata

Assignees

No one assigned

    Labels

    skippedDenotes a (flaky) test currently skipped in CI.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions