-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Closed
Closed
Copy link
Labels
module: flaky-testsProblem is a flaky test in CIProblem is a flaky test in CIoncall: distributedAdd this issue/PR to distributed oncall triage queueAdd this issue/PR to distributed oncall triage queueskippedDenotes a (flaky) test currently skipped in CI.Denotes a (flaky) test currently skipped in CI.
Description
Platforms: linux
This test was disabled because it is failing in CI. See recent examples and the most recent trunk workflow logs.
Over the past 3 hours, it has been determined flaky in 11 workflow(s) with 66 failures and 11 successes.
Debugging instructions (after clicking on the recent samples link):
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
- Click on the workflow logs linked above
- Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
- Grep for
test_ddp_device_mesh_initialization
- There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.
Sample error message
Traceback (most recent call last):
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 541, in wrapper
self._join_processes(fn)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 767, in _join_processes
self._check_return_codes(elapsed_time)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 816, in _check_return_codes
raise RuntimeError(error)
RuntimeError: Process 0 exited with error code 10 and exception:
Traceback (most recent call last):
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 664, in run_test
getattr(self, test_name)()
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 543, in wrapper
fn()
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2918, in wrapper
method(*args, **kwargs)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 184, in wrapper
return func(*args, **kwargs)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/distributed/distributed_test.py", line 10326, in test_ddp_device_mesh_initialization
self.assertEqual(ddp_model.device_mesh.get_group(mesh_dim=0), pg)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3824, in assertEqual
raise error_metas.pop()[0].to_error(
AssertionError: Object comparison failed: <torch.distributed.distributed_c10d.ProcessGroup object at 0x7f5f776f1e70> != <torch.distributed.distributed_c10d.ProcessGroup object at 0x7f5f78041170>
To execute this test, run the following from the base repo dir:
python test/distributed/test_distributed_spawn.py -k TestDistBackendWithSpawn.test_ddp_device_mesh_initialization
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
Process 1 exited with error code 10 and exception:
Traceback (most recent call last):
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 664, in run_test
getattr(self, test_name)()
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 543, in wrapper
fn()
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2918, in wrapper
method(*args, **kwargs)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 184, in wrapper
return func(*args, **kwargs)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/distributed/distributed_test.py", line 10326, in test_ddp_device_mesh_initialization
self.assertEqual(ddp_model.device_mesh.get_group(mesh_dim=0), pg)
File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3824, in assertEqual
raise error_metas.pop()[0].to_error(
AssertionError: Object comparison failed: <torch.distributed.distributed_c10d.ProcessGroup object at 0x7fa7a6af90b0> != <torch.distributed.distributed_c10d.ProcessGroup object at 0x7fa7a6abf470>
To execute this test, run the following from the base repo dir:
python test/distributed/test_distributed_spawn.py -k TestDistBackendWithSpawn.test_ddp_device_mesh_initialization
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
Test file path: distributed/test_distributed_spawn.py
cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @clee2000
Metadata
Metadata
Assignees
Labels
module: flaky-testsProblem is a flaky test in CIProblem is a flaky test in CIoncall: distributedAdd this issue/PR to distributed oncall triage queueAdd this issue/PR to distributed oncall triage queueskippedDenotes a (flaky) test currently skipped in CI.Denotes a (flaky) test currently skipped in CI.