Closed
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 6 workflow(s) with 6 failures and 6 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_dict_keys_match
- 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 "/var/lib/jenkins/workspace/test/dynamo/test_guard_serialization.py", line 1077, in test_dict_keys_match
ref, loaded = self._test_serialization("DICT_KEYS_MATCH", fn, x)
File "/var/lib/jenkins/workspace/test/dynamo/test_guard_serialization.py", line 341, in _test_serialization
transform_code_object(self._frame_state.f_code, transform)
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/bytecode_transformation.py", line 1423, in transform_code_object
transformations(instructions, code_options)
File "/var/lib/jenkins/workspace/test/dynamo/test_guard_serialization.py", line 319, in transform
tracer.run()
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 3508, in run
super().run()
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 1345, in run
while self.step():
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 1253, in step
self.dispatch_table[inst.opcode](self, inst)
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 869, in wrapper
speculation.fail_and_restart_analysis()
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 220, in fail_and_restart_analysis
raise exc.SpeculationRestartAnalysis(restart_reason=restart_reason)
torch._dynamo.exc.SpeculationRestartAnalysis
Test file path: dynamo/test_guard_serialization.py
cc @clee2000 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames