8000 DISABLED test_nn_module (__main__.TestGuardSerialization) · Issue #153120 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
DISABLED test_nn_module (__main__.TestGuardSerialization) #153120
Open
@pytorch-bot

Description

@pytorch-bot

Platforms: asan, linux, mac, macos, rocm, slow

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 41 workflow(s) with 82 failures and 41 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:

  1. Click on the workflow logs linked above
  2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
  3. Grep for test_nn_module
  4. 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 640, in test_nn_module
    self._test_serialization("NN_MODULE", fn, m, x)
  File "/var/lib/jenkins/workspace/test/dynamo/test_guard_serialization.py", line 330, in _test_serialization
    transform_code_object(self._frame_state.f_code, transform)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/bytecode_transformation.py", line 1422, in transform_code_object
    transformations(instructions, code_options)
  File "/var/lib/jenkins/workspace/test/dynamo/test_guard_serialization.py", line 311, in transform
    check_fn_manager = CheckFunctionManager(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/guards.py", line 2712, in __init__
    filter_results = guard_filter_fn(
  File "/var/lib/jenkins/workspace/test/dynamo/test_guard_serialization.py", line 272, in guard_filter_fn
    self.assertTrue(any(ret))
  File "/opt/conda/envs/py_3.10/lib/python3.10/unittest/case.py", line 687, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true

To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_ASAN=1 PYTORCH_TEST_WITH_UBSAN=1 python test/dynamo/test_guard_serialization.py TestGuardSerialization.test_nn_module

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: dynamomodule: flaky-testsProblem is a flaky test in CIoncall: pt2skippedDenotes 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

      0