Skip to content

Conversation

@janeyx99
Copy link
Contributor

Fixes #56396

@janeyx99 janeyx99 requested a review from a team as a code owner April 11, 2022 18:39
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 11, 2022

🔗 Helpful links

💊 CI failures summary and remediations

As of commit bf06e8d (more details on the Dr. CI page):


  • 23/23 failures introduced in this PR

🕵️ 23 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages

See GitHub Actions build pull / linux-xenial-py3.7-clang7-asan / test (default, 2, 3, linux.2xlarge) (1/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:09:40.7847714Z FAIL [0.094s]: test_bottleneck_cpu_only (__main__.TestBottleneck)
2022-04-11T19:09:24.1794451Z   test_random_seed (__main__.TestDataLoaderUtils) ... ok (0.310s)
2022-04-11T19:09:24.1825293Z   test_single_drop (__main__.TestDataLoaderUtils) ... ok (0.003s)
2022-04-11T19:09:24.1846078Z   test_single_keep (__main__.TestDataLoaderUtils) ... ok (0.002s)
2022-04-11T19:09:24.1890860Z   test_external_module_register (__main__.TestExtensionUtils) ... ok (0.004s)
2022-04-11T19:09:24.1896955Z   test_import_hipify (__main__.TestHipify) ... ok (0.001s)
2022-04-11T19:09:24.1923130Z   test_check_onnx_broadcast (__main__.TestONNXUtils) ... ok (0.003s)
2022-04-11T19:09:24.1934158Z   test_prepare_onnx_paddings (__main__.TestONNXUtils) ... ok (0.001s)
2022-04-11T19:09:40.7846451Z   test_load_standalone (__main__.TestStandaloneCPPJIT) ... ok (16.591s)
2022-04-11T19:09:40.7846912Z 
2022-04-11T19:09:40.7847287Z ======================================================================
2022-04-11T19:09:40.7847714Z FAIL [0.094s]: test_bottleneck_cpu_only (__main__.TestBottleneck)
2022-04-11T19:09:40.7848446Z ----------------------------------------------------------------------
2022-04-11T19:09:40.7851121Z Traceback (most recent call last):
2022-04-11T19:09:40.7851559Z   File "/var/lib/jenkins/workspace/test/test_utils.py", line 491, in test_bottleneck_cpu_only
2022-04-11T19:09:40.7852116Z     self.assertEqual(rc, 0, msg='Run failed with\n{}'.format(err))
2022-04-11T19:09:40.7852576Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2193, in assertEqual
2022-04-11T19:09:40.7852936Z     msg=msg,
2022-04-11T19:09:40.7853319Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1084, in assert_equal
2022-04-11T19:09:40.7853686Z     raise error_metas[0].to_error()
2022-04-11T19:09:40.7853895Z AssertionError: Run failed with
2022-04-11T19:09:40.7854122Z Traceback (most recent call last):

See GitHub Actions build pull / linux-xenial-py3.7-clang7-asan / test (default, 3, 3, linux.2xlarge) (2/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:10:49.2164477Z RuntimeError: test_cpp_extensions_aot_no_ninja failed!
2022-04-11T19:10:49.2059799Z   File "/var/lib/jenkins/workspace/torch/__init__.py", line 28, in <module>
2022-04-11T19:10:49.2060251Z     from .torch_version import __version__ as __version__
2022-04-11T19:10:49.2060802Z   File "/var/lib/jenkins/workspace/torch/torch_version.py", line 2, in <module>
2022-04-11T19:10:49.2061370Z     from .version import __version__ as internal_version
2022-04-11T19:10:49.2062113Z ModuleNotFoundError: No module named 'torch.version'
2022-04-11T19:10:49.2155817Z Traceback (most recent call last):
2022-04-11T19:10:49.2156120Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T19:10:49.2160171Z     main()
2022-04-11T19:10:49.2160441Z   File "test/run_test.py", line 1034, in main
2022-04-11T19:10:49.2164006Z     raise RuntimeError(err_message)
2022-04-11T19:10:49.2164477Z RuntimeError: test_cpp_extensions_aot_no_ninja failed!
2022-04-11T19:10:49.6744603Z + cleanup
2022-04-11T19:10:49.6744952Z + retcode=1
2022-04-11T19:10:49.6745248Z + set +x
2022-04-11T19:10:49.6791848Z ##[error]Process completed with exit code 1.
2022-04-11T19:10:49.6888768Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T19:10:49.6889042Z with:
2022-04-11T19:10:49.6889458Z   github-token: ***
2022-04-11T19:10:49.6889638Z env:
2022-04-11T19:10:49.6889804Z   IN_CI: 1
2022-04-11T19:10:49.6889958Z   IS_GHA: 1

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (noarch, 1, 1, linux.2xlarge) (3/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:59:31.6165519Z E ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:59:31.6162087Z Hint: make sure your test modules/packages have valid Python names.
2022-04-11T18:59:31.6162458Z Traceback:
2022-04-11T18:59:31.6162883Z /opt/conda/lib/python3.7/importlib/__init__.py:127: in import_module
2022-04-11T18:59:31.6163295Z     return _bootstrap._gcd_import(name[level:], package, level)
2022-04-11T18:59:31.6163998Z test/distributions/test_constraints.py:5: in <module>
2022-04-11T18:59:31.6164310Z     import torch
2022-04-11T18:59:31.6164500Z torch/__init__.py:28: in <module>
2022-04-11T18:59:31.6164716Z     from .torch_version import __version__ as __version__
2022-04-11T18:59:31.6164954Z torch/torch_version.py:2: in <module>
2022-04-11T18:59:31.6165193Z     from .version import __version__ as internal_version
2022-04-11T18:59:31.6165519Z E   ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:59:31.6165793Z =========================== short test summary info ============================
2022-04-11T18:59:31.6166044Z ERROR test/distributions/test_constraints.py
2022-04-11T18:59:31.6166292Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T18:59:31.6166650Z �[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.10s�[0m�[31m ===============================�[0m
2022-04-11T18:59:31.6408217Z Traceback (most recent call last):
2022-04-11T18:59:31.6408693Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T18:59:31.6410975Z     main()
2022-04-11T18:59:31.6411336Z   File "test/run_test.py", line 1034, in main
2022-04-11T18:59:31.6413223Z     raise RuntimeError(err_message)
2022-04-11T18:59:31.6413894Z RuntimeError: distributions/test_constraints failed!

See GitHub Actions build pull / linux-xenial-py3.7-gcc5.4 / test (default, 1, 2, linux.2xlarge) (4/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:59:49.7780911Z RuntimeError: test_cpp_extensions_aot_no_ninja failed!
2022-04-11T18:59:49.7710431Z   File "/var/lib/jenkins/workspace/torch/__init__.py", line 28, in <module>
2022-04-11T18:59:49.7710711Z     from .torch_version import __version__ as __version__
2022-04-11T18:59:49.7710991Z   File "/var/lib/jenkins/workspace/torch/torch_version.py", line 2, in <module>
2022-04-11T18:59:49.7711270Z     from .version import __version__ as internal_version
2022-04-11T18:59:49.7711645Z ModuleNotFoundError: No module named 'torch.version'
2022-04-11T18:59:49.7763138Z Traceback (most recent call last):
2022-04-11T18:59:49.7763372Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T18:59:49.7778539Z     main()
2022-04-11T18:59:49.7778801Z   File "test/run_test.py", line 1034, in main
2022-04-11T18:59:49.7780616Z     raise RuntimeError(err_message)
2022-04-11T18:59:49.7780911Z RuntimeError: test_cpp_extensions_aot_no_ninja failed!
2022-04-11T18:59:50.0106732Z + cleanup
2022-04-11T18:59:50.0106983Z + retcode=1
2022-04-11T18:59:50.0107207Z + set +x
2022-04-11T18:59:50.0150461Z ##[error]Process completed with exit code 1.
2022-04-11T18:59:50.0271897Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T18:59:50.0272157Z with:
2022-04-11T18:59:50.0272568Z   github-token: ***
2022-04-11T18:59:50.0272740Z env:
2022-04-11T18:59:50.0272881Z   IN_CI: 1
2022-04-11T18:59:50.0273042Z   IS_GHA: 1

See GitHub Actions build pull / linux-bionic-cuda11.3-py3.7-clang9 / build (5/23)

Step: "Calculate docker image" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:41:49.8473904Z ERROR: Something h... isn't available for the merge-base of your branch
2022-04-11T18:41:49.8427159Z ++ git merge-base HEAD 91d134093e956cfd96da9ca123a8a567d89cee4f
2022-04-11T18:41:49.8443231Z + MERGE_BASE=8fe43d76d54e3d8a4297a9cda99d2f52378137a1
2022-04-11T18:41:49.8443703Z + git rev-parse 8fe43d76d54e3d8a4297a9cda99d2f52378137a1:.circleci/docker
2022-04-11T18:41:49.8456620Z b0a888fe39b5e7f3543e198ce8875507d832dae0
2022-04-11T18:41:49.8460118Z ++ git rev-parse 8fe43d76d54e3d8a4297a9cda99d2f52378137a1:.circleci/docker
2022-04-11T18:41:49.8471480Z + PREVIOUS_DOCKER_TAG=b0a888fe39b5e7f3543e198ce8875507d832dae0
2022-04-11T18:41:49.8472277Z + [[ b0a888fe39b5e7f3543e198ce8875507d832dae0 = \b\0\a\8\8\8\f\e\3\9\b\5\e\7\f\3\5\4\3\e\1\9\8\c\e\8\8\7\5\5\0\7\d\8\3\2\d\a\e\0 ]]
2022-04-11T18:41:49.8472897Z + echo 'ERROR: Something has gone wrong and the previous image isn'\''t available for the merge-base of your branch'
2022-04-11T18:41:49.8473330Z + echo '       contact the PyTorch team to restore the original images'
2022-04-11T18:41:49.8473559Z + exit 1
2022-04-11T18:41:49.8473904Z ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch
2022-04-11T18:41:49.8474231Z        contact the PyTorch team to restore the original images
2022-04-11T18:41:49.8484376Z ##[error]Process completed with exit code 1.
2022-04-11T18:41:49.8741379Z Prepare all required actions
2022-04-11T18:41:49.8760853Z ##[group]Run ./.github/actions/teardown-linux
2022-04-11T18:41:49.8761064Z with:
2022-04-11T18:41:49.8761203Z env:
2022-04-11T18:41:49.8761358Z   IN_CI: 1
2022-04-11T18:41:49.8761520Z   IS_GHA: 1
2022-04-11T18:41:49.8761671Z ##[endgroup]
2022-04-11T18:41:49.8785135Z ##[group]Run .github/scripts/wait_for_ssh_to_drain.sh

See GitHub Actions build pull / win-vs2019-cpu-py3 / test (default, 1, 2, windows.4xlarge) (6/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:43:43.2599107Z FAIL [0.526s]: testApiUsage (__main__.LoggingTest)
2022-04-11T19:43:43.0977377Z This test verifies that api usage logging is not triggered via static ... FAIL (0.083s)
2022-04-11T19:43:43.0982677Z   testApiUsage (__main__.LoggingTest)
2022-04-11T19:43:43.1790818Z     testApiUsage failed - num_retries_left: 2
2022-04-11T19:43:43.1791347Z This test verifies that api usage logging is not triggered via static ... FAIL (0.078s)
2022-04-11T19:43:43.1796408Z   testApiUsage (__main__.LoggingTest)
2022-04-11T19:43:43.2597431Z     testApiUsage failed - num_retries_left: 1
2022-04-11T19:43:43.2597777Z This test verifies that api usage logging is not triggered via static ... FAIL (0.084s)
2022-04-11T19:43:43.2598182Z     testApiUsage failed - num_retries_left: 0
2022-04-11T19:43:43.2598774Z 
2022-04-11T19:43:43.2598879Z ======================================================================
2022-04-11T19:43:43.2599107Z FAIL [0.526s]: testApiUsage (__main__.LoggingTest)
2022-04-11T19:43:43.2599377Z This test verifies that api usage logging is not triggered via static
2022-04-11T19:43:43.2599678Z ----------------------------------------------------------------------
2022-04-11T19:43:43.2599939Z Traceback (most recent call last):
2022-04-11T19:43:43.2607171Z   File "C:\actions-runner\_work\pytorch\pytorch\test/test_logging.py", line 15, in testApiUsage
2022-04-11T19:43:43.2607584Z     self.assertRegex(s, "PYTORCH_API_USAGE.*import")
2022-04-11T19:43:43.2608385Z AssertionError: Regex didn't match: 'PYTORCH_API_USAGE.*import' not found in 'Traceback (most recent call last):\r\n  File "<string>", line 1, in <module>\r\n  File "C:\\actions-runner\\_work\\pytorch\\pytorch\\torch\\__init__.py", line 28, in <module>\r\n    from .torch_version import __version__ as __version__\r\n  File "C:\\actions-runner\\_work\\pytorch\\pytorch\\torch\\torch_version.py", line 2, in <module>\r\n    from .version import __version__ as internal_version\r\nModuleNotFoundError: No module named \'torch.version\'\r\n'
2022-04-11T19:43:43.2609053Z 
2022-04-11T19:43:43.2656107Z ----------------------------------------------------------------------
2022-04-11T19:43:43.2656377Z Ran 4 tests in 0.766s
2022-04-11T19:43:43.2656492Z 

See GitHub Actions build pull / linux-xenial-py3.7-gcc7 / test (default, 1, 2, linux.2xlarge) (7/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:04:09.5862321Z FAIL [0.244s]: tes...t_tasks (__main__.TestFunctionalAutogradBenchmark)
2022-04-11T19:04:09.5414986Z     test_fast_tasks failed - num_retries_left: 2
2022-04-11T19:04:09.5606779Z   test_fast_tasks (__main__.TestFunctionalAutogradBenchmark) ... python3: can't open file '../benchmarks/functional_autograd_benchmark/functional_autograd_benchmark.py': [Errno 2] No such file or directory
2022-04-11T19:04:09.5630662Z FAIL (0.021s)
2022-04-11T19:04:09.5630959Z     test_fast_tasks failed - num_retries_left: 1
2022-04-11T19:04:09.5826709Z   test_fast_tasks (__main__.TestFunctionalAutogradBenchmark) ... python3: can't open file '../benchmarks/functional_autograd_benchmark/functional_autograd_benchmark.py': [Errno 2] No such file or directory
2022-04-11T19:04:09.5848960Z FAIL (0.022s)
2022-04-11T19:04:09.5849221Z     test_fast_tasks failed - num_retries_left: 0
2022-04-11T19:04:09.5861225Z   test_slow_tasks (__main__.TestFunctionalAutogradBenchmark) ... skip: test is slow; run with PYTORCH_TEST_WITH_SLOW to enable test (0.001s)
2022-04-11T19:04:09.5861849Z 
2022-04-11T19:04:09.5861984Z ======================================================================
2022-04-11T19:04:09.5862321Z FAIL [0.244s]: test_fast_tasks (__main__.TestFunctionalAutogradBenchmark)
2022-04-11T19:04:09.5862813Z ----------------------------------------------------------------------
2022-04-11T19:04:09.5863276Z Traceback (most recent call last):
2022-04-11T19:04:09.5863766Z   File "/var/lib/jenkins/workspace/test/test_functional_autograd_benchmark.py", line 48, in test_fast_tasks
2022-04-11T19:04:09.5864058Z     self._test_runner(task)
2022-04-11T19:04:09.5864384Z   File "/var/lib/jenkins/workspace/test/test_functional_autograd_benchmark.py", line 35, in _test_runner
2022-04-11T19:04:09.5864675Z     self.assertTrue(res.returncode == 0)
2022-04-11T19:04:09.5864894Z AssertionError: False is not true
2022-04-11T19:04:09.5865020Z 
2022-04-11T19:04:09.5865206Z ----------------------------------------------------------------------
2022-04-11T19:04:09.5865443Z Ran 5 tests in 0.311s

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7 / test (default, 1, 2, linux.4xlarge.nvidia.gpu) (8/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T20:12:43.0599703Z RuntimeError: test_jit failed!
2022-04-11T20:12:42.3505795Z Generated XML report: test-reports/python-unittest/test.test_jit/TEST-jit.test_with.TestWith-20220411200937.xml
2022-04-11T20:12:42.3515941Z Generated XML report: test-reports/python-unittest/test.test_jit/TEST-jit.test_data_parallel.TestDataParallel-20220411200937.xml
2022-04-11T20:12:42.3533830Z Generated XML report: test-reports/python-unittest/test.test_jit/TEST-jit.test_legacy_upgraders.TestLegacyUpgraders-20220411200937.xml
2022-04-11T20:12:42.3546187Z Generated XML report: test-reports/python-unittest/test.test_jit/TEST-jit.test_optimize_for_mobile_preserve_debug_info.TestOptimizeForMobilePreserveDebugInfo-20220411200937.xml
2022-04-11T20:12:42.3572406Z Generated XML report: test-reports/python-unittest/test.test_jit/TEST-jit.test_save_load.TestSaveLoadFlatbuffer-20220411200937.xml
2022-04-11T20:12:43.0593231Z Traceback (most recent call last):
2022-04-11T20:12:43.0593617Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T20:12:43.0596514Z     main()
2022-04-11T20:12:43.0596819Z   File "test/run_test.py", line 1034, in main
2022-04-11T20:12:43.0599389Z     raise RuntimeError(err_message)
2022-04-11T20:12:43.0599703Z RuntimeError: test_jit failed!
2022-04-11T20:12:43.5536725Z + cleanup
2022-04-11T20:12:43.5537014Z + retcode=1
2022-04-11T20:12:43.5537225Z + set +x
2022-04-11T20:12:43.5600080Z ##[error]Process completed with exit code 1.
2022-04-11T20:12:43.5656801Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T20:12:43.5657164Z with:
2022-04-11T20:12:43.5657718Z   github-token: ***
2022-04-11T20:12:43.5657962Z env:
2022-04-11T20:12:43.5658158Z   IN_CI: 1
2022-04-11T20:12:43.5658379Z   IS_GHA: 1

See GitHub Actions build pull / win-vs2019-cpu-py3 / test (default, 2, 2, windows.4xlarge) (9/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:33:47.4606491Z FAIL [0.093s]: test_bottleneck_cpu_only (__main__.TestBottleneck)
2022-04-11T19:33:33.0832245Z   test_random_seed (__main__.TestDataLoaderUtils) ... ok (3.173s)
2022-04-11T19:33:33.0846959Z   test_single_drop (__main__.TestDataLoaderUtils) ... ok (0.016s)
2022-04-11T19:33:33.0859517Z   test_single_keep (__main__.TestDataLoaderUtils) ... ok (0.000s)
2022-04-11T19:33:33.0994006Z   test_external_module_register (__main__.TestExtensionUtils) ... ok (0.016s)
2022-04-11T19:33:33.1002220Z   test_import_hipify (__main__.TestHipify) ... ok (0.000s)
2022-04-11T19:33:33.1028507Z   test_check_onnx_broadcast (__main__.TestONNXUtils) ... ok (0.000s)
2022-04-11T19:33:33.1040232Z   test_prepare_onnx_paddings (__main__.TestONNXUtils) ... ok (0.000s)
2022-04-11T19:33:47.4605562Z   test_load_standalone (__main__.TestStandaloneCPPJIT) ... ok (14.350s)
2022-04-11T19:33:47.4605789Z 
2022-04-11T19:33:47.4606185Z ======================================================================
2022-04-11T19:33:47.4606491Z FAIL [0.093s]: test_bottleneck_cpu_only (__main__.TestBottleneck)
2022-04-11T19:33:47.4606804Z ----------------------------------------------------------------------
2022-04-11T19:33:47.4607096Z Traceback (most recent call last):
2022-04-11T19:33:47.4618800Z   File "C:\actions-runner\_work\pytorch\pytorch\test/test_utils.py", line 491, in test_bottleneck_cpu_only
2022-04-11T19:33:47.4619261Z     self.assertEqual(rc, 0, msg='Run failed with\n{}'.format(err))
2022-04-11T19:33:47.4619691Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_internal\common_utils.py", line 2160, in assertEqual
2022-04-11T19:33:47.4620012Z     assert_equal(
2022-04-11T19:33:47.4620363Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_comparison.py", line 1084, in assert_equal
2022-04-11T19:33:47.4620717Z     raise error_metas[0].to_error()
2022-04-11T19:33:47.4620917Z AssertionError: Run failed with
2022-04-11T19:33:47.4621128Z Traceback (most recent call last):

See GitHub Actions build pull / linux-bionic-rocm5.0-py3.7 / test (default, 1, 2, linux.rocm.gpu) (10/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T20:02:15.7035723Z FAIL [0.121s]: test_thread_shutdown (__main__.TestAutograd)
2022-04-11T20:02:15.5154349Z   test_dataparallel_saved_tensors_hooks (__main__.TestMultithreadAutograd) ... ok (0.003s)
2022-04-11T20:02:15.6142769Z   test_fork_join_in_middle (__main__.TestMultithreadAutograd) ... ok (0.099s)
2022-04-11T20:02:15.6149356Z   test_multithread_saved_tensors_hooks (__main__.TestMultithreadAutograd) ... ok (0.001s)
2022-04-11T20:02:15.6179179Z   test_multithreaded_exception_propagation (__main__.TestMultithreadAutograd) ... ok (0.003s)
2022-04-11T20:02:15.6209115Z   test_preserve_backtrace (__main__.TestMultithreadAutograd) ... ok (0.003s)
2022-04-11T20:02:15.6767144Z   test_python_thread_in_middle (__main__.TestMultithreadAutograd) ... ok (0.056s)
2022-04-11T20:02:15.6870461Z   test_simple_backward (__main__.TestMultithreadAutograd) ... ok (0.010s)
2022-04-11T20:02:15.7033841Z   test_simple_backward_same_input (__main__.TestMultithreadAutograd) ... ok (0.016s)
2022-04-11T20:02:15.7034581Z 
2022-04-11T20:02:15.7034906Z ======================================================================
2022-04-11T20:02:15.7035723Z FAIL [0.121s]: test_thread_shutdown (__main__.TestAutograd)
2022-04-11T20:02:15.7037162Z ----------------------------------------------------------------------
2022-04-11T20:02:15.7038620Z Traceback (most recent call last):
2022-04-11T20:02:15.7039604Z   File "/var/lib/jenkins/pytorch/test/test_autograd.py", line 4331, in test_thread_shutdown
2022-04-11T20:02:15.7040770Z     self.assertRegex(s, "PYTORCH_API_USAGE torch.autograd.thread_shutdown")
2022-04-11T20:02:15.7044545Z AssertionError: Regex didn't match: 'PYTORCH_API_USAGE torch.autograd.thread_shutdown' not found in 'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\n  File "/var/lib/jenkins/pytorch/torch/__init__.py", line 28, in <module>\n    from .torch_version import __version__ as __version__\n  File "/var/lib/jenkins/pytorch/torch/torch_version.py", line 2, in <module>\n    from .version import __version__ as internal_version\nModuleNotFoundError: No module named \'torch.version\'\n'
2022-04-11T20:02:15.7046276Z 
2022-04-11T20:02:15.7046866Z ----------------------------------------------------------------------
2022-04-11T20:02:15.7047579Z Ran 481 tests in 31.790s
2022-04-11T20:02:15.7047929Z 
2022-04-11T20:02:15.7048272Z FAILED (failures=1, skipped=8, expected failures=30)

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7 / test (distributed, 1, 1, linux.8xlarge.nvidia.gpu) (11/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:09:46.6646890Z E ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T19:09:46.6637862Z Hint: make sure your test modules/packages have valid Python names.
2022-04-11T19:09:46.6638353Z Traceback:
2022-04-11T19:09:46.6638669Z /opt/conda/lib/python3.7/importlib/__init__.py:127: in import_module
2022-04-11T19:09:46.6639036Z     return _bootstrap._gcd_import(name[level:], package, level)
2022-04-11T19:09:46.6639409Z test/distributed/elastic/events/lib_test.py:16: in <module>
2022-04-11T19:09:46.6639783Z     from torch.distributed.elastic.events import (
2022-04-11T19:09:46.6645360Z torch/__init__.py:28: in <module>
2022-04-11T19:09:46.6645722Z     from .torch_version import __version__ as __version__
2022-04-11T19:09:46.6646051Z torch/torch_version.py:2: in <module>
2022-04-11T19:09:46.6646389Z     from .version import __version__ as internal_version
2022-04-11T19:09:46.6646890Z E   ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T19:09:46.6647269Z =========================== short test summary info ============================
2022-04-11T19:09:46.6647616Z ERROR test/distributed/elastic/events/lib_test.py
2022-04-11T19:09:46.6648137Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T19:09:46.6648643Z �[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.10s�[0m�[31m ===============================�[0m
2022-04-11T19:09:46.6907367Z Traceback (most recent call last):
2022-04-11T19:09:46.6907704Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T19:09:46.6912425Z     main()
2022-04-11T19:09:46.6912925Z   File "test/run_test.py", line 1034, in main
2022-04-11T19:09:46.6915549Z     raise RuntimeError(err_message)
2022-04-11T19:09:46.6916129Z RuntimeError: distributed/elastic/events/lib_test failed!

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (default, 2, 2, linux.2xlarge) (12/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:15:18.4626012Z RuntimeError: test_dataloader failed!
2022-04-11T19:15:18.2574400Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestSetAffinity-20220411191411.xml
2022-04-11T19:15:18.2579748Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestTensorDataset-20220411191411.xml
2022-04-11T19:15:18.2583567Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestCustomPinFn-20220411191411.xml
2022-04-11T19:15:18.2587457Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestDataLoader2_EventLoop-20220411191411.xml
2022-04-11T19:15:18.2599333Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestStringDataLoader-20220411191411.xml
2022-04-11T19:15:18.4620244Z Traceback (most recent call last):
2022-04-11T19:15:18.4620518Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T19:15:18.4623976Z     main()
2022-04-11T19:15:18.4624432Z   File "test/run_test.py", line 1034, in main
2022-04-11T19:15:18.4625583Z     raise RuntimeError(err_message)
2022-04-11T19:15:18.4626012Z RuntimeError: test_dataloader failed!
2022-04-11T19:15:18.7371341Z 
2022-04-11T19:15:18.7371607Z real	20m14.138s
2022-04-11T19:15:18.7371983Z user	49m5.840s
2022-04-11T19:15:18.7372315Z sys	2m22.754s
2022-04-11T19:15:18.7372526Z + cleanup
2022-04-11T19:15:18.7372698Z + retcode=1
2022-04-11T19:15:18.7372868Z + set +x
2022-04-11T19:15:18.7417780Z ##[error]Process completed with exit code 1.
2022-04-11T19:15:18.7542903Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T19:15:18.7543154Z with:

See GitHub Actions build pull / linux-xenial-py3.7-gcc5.4 / test (jit_legacy, 1, 1, linux.2xlarge) (13/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:54:39.7987321Z RuntimeError: test_jit_legacy failed!
2022-04-11T18:54:39.4873759Z Generated XML report: test-reports/python-unittest/test.test_jit_legacy/TEST-jit.test_warn.TestWarn-20220411185255.xml
2022-04-11T18:54:39.4880296Z Generated XML report: test-reports/python-unittest/test.test_jit_legacy/TEST-jit.test_with.TestWith-20220411185255.xml
2022-04-11T18:54:39.4886774Z Generated XML report: test-reports/python-unittest/test.test_jit_legacy/TEST-jit.test_data_parallel.TestDataParallel-20220411185255.xml
2022-04-11T18:54:39.4898470Z Generated XML report: test-reports/python-unittest/test.test_jit_legacy/TEST-jit.test_legacy_upgraders.TestLegacyUpgraders-20220411185255.xml
2022-04-11T18:54:39.4907983Z Generated XML report: test-reports/python-unittest/test.test_jit_legacy/TEST-jit.test_save_load.TestSaveLoadFlatbuffer-20220411185255.xml
2022-04-11T18:54:39.7981721Z Traceback (most recent call last):
2022-04-11T18:54:39.7982191Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T18:54:39.7985208Z     main()
2022-04-11T18:54:39.7985454Z   File "test/run_test.py", line 1034, in main
2022-04-11T18:54:39.7987094Z     raise RuntimeError(err_message)
2022-04-11T18:54:39.7987321Z RuntimeError: test_jit_legacy failed!
2022-04-11T18:54:40.0292271Z + cleanup
2022-04-11T18:54:40.0292554Z + retcode=1
2022-04-11T18:54:40.0292711Z + set +x
2022-04-11T18:54:40.0331884Z ##[error]Process completed with exit code 1.
2022-04-11T18:54:40.0375646Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T18:54:40.0375895Z with:
2022-04-11T18:54:40.0376291Z   github-token: ***
2022-04-11T18:54:40.0376464Z env:
2022-04-11T18:54:40.0376617Z   IN_CI: 1
2022-04-11T18:54:40.0376765Z   IS_GHA: 1

See GitHub Actions build pull / linux-xenial-py3.7-gcc5.4 / test (default, 2, 2, linux.2xlarge) (14/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:53:55.7291364Z E ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:53:55.7288669Z Hint: make sure your test modules/packages have valid Python names.
2022-04-11T18:53:55.7288958Z Traceback:
2022-04-11T18:53:55.7289217Z /opt/conda/lib/python3.7/importlib/__init__.py:127: in import_module
2022-04-11T18:53:55.7289610Z     return _bootstrap._gcd_import(name[level:], package, level)
2022-04-11T18:53:55.7289890Z test/distributions/test_constraints.py:5: in <module>
2022-04-11T18:53:55.7290101Z     import torch
2022-04-11T18:53:55.7290294Z torch/__init__.py:28: in <module>
2022-04-11T18:53:55.7290539Z     from .torch_version import __version__ as __version__
2022-04-11T18:53:55.7290768Z torch/torch_version.py:2: in <module>
2022-04-11T18:53:55.7291015Z     from .version import __version__ as internal_version
2022-04-11T18:53:55.7291364Z E   ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:53:55.7291641Z =========================== short test summary info ============================
2022-04-11T18:53:55.7291901Z ERROR test/distributions/test_constraints.py
2022-04-11T18:53:55.7292171Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T18:53:55.7292549Z �[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.08s�[0m�[31m ===============================�[0m
2022-04-11T18:53:55.7561658Z Traceback (most recent call last):
2022-04-11T18:53:55.7562117Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T18:53:55.7563932Z     main()
2022-04-11T18:53:55.7564192Z   File "test/run_test.py", line 1034, in main
2022-04-11T18:53:55.7566560Z     raise RuntimeError(err_message)
2022-04-11T18:53:55.7566827Z RuntimeError: distributions/test_constraints failed!

See GitHub Actions build pull / win-vs2019-cuda11.3-py3 / test (default, 1, 2, windows.8xlarge.nvidia.gpu) (15/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T21:50:04.3083612Z RuntimeError: test_jit failed!
2022-04-11T21:50:02.7896280Z Generated XML report: test-reports\python-unittest\test.test_jit\TEST-jit.test_legacy_upgraders.TestLegacyUpgraders-20220411214646.xml
2022-04-11T21:50:02.7896945Z Generated XML report: test-reports\python-unittest\test.test_jit\TEST-jit.test_backend_nnapi.TestNnapiBackend-20220411214646.xml
2022-04-11T21:50:02.7897581Z Generated XML report: test-reports\python-unittest\test.test_jit\TEST-jit.test_save_load.TestSaveLoadFlatbuffer-20220411214646.xml
2022-04-11T21:50:02.7898224Z Generated XML report: test-reports\python-unittest\test.test_jit\TEST-jit.test_torchbind.TestTorchbind-20220411214646.xml
2022-04-11T21:50:03.7261769Z Could not load symbol cublasGetSmCountTarget from cublas64_11.dll. Error code 127
2022-04-11T21:50:04.3080178Z Traceback (most recent call last):
2022-04-11T21:50:04.3080754Z   File "run_test.py", line 1056, in <module>
2022-04-11T21:50:04.3081217Z     main()
2022-04-11T21:50:04.3083013Z   File "run_test.py", line 1034, in main
2022-04-11T21:50:04.3083350Z     raise RuntimeError(err_message)
2022-04-11T21:50:04.3083612Z RuntimeError: test_jit failed!
2022-04-11T21:50:04.7459031Z 
2022-04-11T21:50:04.7460055Z (base) C:\actions-runner\_work\pytorch\pytorch\test>if ERRORLEVEL 1 goto fail 
2022-04-11T21:50:04.7463010Z 
2022-04-11T21:50:04.7463448Z (base) C:\actions-runner\_work\pytorch\pytorch\test>exit /b 1 
2022-04-11T21:50:04.7496742Z + cleanup
2022-04-11T21:50:04.7497153Z + retcode=1
2022-04-11T21:50:04.7497487Z + set +x
2022-04-11T21:50:04.7546191Z ##[error]Process completed with exit code 1.
2022-04-11T21:50:04.8107169Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T21:50:04.8107542Z with:

See GitHub Actions build pull / linux-xenial-py3.7-clang7-asan / test (default, 1, 3, linux.2xlarge) (16/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:56:43.6184020Z SUMMARY: Undefined.../jenkins/workspace/aten/src/ATen/Utils.cpp:20:3 in
2022-04-11T18:56:43.5683659Z     #10 0x561073640c81 in run_mod /home/builder/tkoch/workspace/python_1648536129212/work/Python/pythonrun.c:1037
2022-04-11T18:56:43.5684244Z     #11 0x56107364bc69 in PyRun_StringFlags /home/builder/tkoch/workspace/python_1648536129212/work/Python/pythonrun.c:961
2022-04-11T18:56:43.5685188Z     #12 0x56107364bccb in PyRun_SimpleStringFlags /home/builder/tkoch/workspace/python_1648536129212/work/Python/pythonrun.c:455
2022-04-11T18:56:43.5686984Z     #13 0x56107364bdc8 in pymain_run_command /home/builder/tkoch/workspace/python_1648536129212/work/Modules/main.c:420
2022-04-11T18:56:43.5687489Z     #14 0x56107364bdc8 in pymain_run_python /home/builder/tkoch/workspace/python_1648536129212/work/Modules/main.c:2907
2022-04-11T18:56:43.5687849Z     #15 0x56107364bdc8 in pymain_main /home/builder/tkoch/workspace/python_1648536129212/work/Modules/main.c:3460
2022-04-11T18:56:43.5688175Z     #16 0x56107364c18b in _Py_UnixMain /home/builder/tkoch/workspace/python_1648536129212/work/Modules/main.c:3495
2022-04-11T18:56:43.6182684Z     #17 0x7fbf5bc3e83f in __libc_start_main /build/glibc-S7Ft5T/glibc-2.23/csu/../csu/libc-start.c:291
2022-04-11T18:56:43.6183235Z     #18 0x5610735f1039 in _start (/opt/conda/bin/python3.7+0x1d8039)
2022-04-11T18:56:43.6183493Z 
2022-04-11T18:56:43.6184020Z SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /var/lib/jenkins/workspace/aten/src/ATen/Utils.cpp:20:3 in 
2022-04-11T18:56:43.6377298Z + retcode=1
2022-04-11T18:56:43.6377588Z + set -e
2022-04-11T18:56:43.6377748Z + return 1
2022-04-11T18:56:43.6380833Z + [[ linux-xenial-py3.7-clang7-asan-default == *-NO_AVX-* ]]
2022-04-11T18:56:43.6381198Z + [[ default == \n\o\g\p\u\_\N\O\_\A\V\X ]]
2022-04-11T18:56:43.6381577Z + [[ linux-xenial-py3.7-clang7-asan-default == *-NO_AVX2-* ]]
2022-04-11T18:56:43.6381834Z + [[ default == \n\o\g\p\u\_\N\O\_\A\V\X\2 ]]
2022-04-11T18:56:43.6382221Z + [[ linux-xenial-py3.7-clang7-asan-default == *-NO_AVX512-* ]]
2022-04-11T18:56:43.6382493Z + [[ default == \n\o\g\p\u\_\N\O\_\A\V\X\5\1\2 ]]
2022-04-11T18:56:43.6384879Z + [[ linux-xenial-py3.7-clang7-asan-default == *tbb* ]]

See GitHub Actions build pull / win-vs2019-cuda11.3-py3 / test (default, 2, 2, windows.8xlarge.nvidia.gpu) (17/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T21:10:44.9299869Z RuntimeError: test_cpp_extensions_jit failed!
2022-04-11T21:10:44.2616163Z 
2022-04-11T21:10:44.2616316Z FAILED (errors=1, skipped=3, expected failures=3)
2022-04-11T21:10:44.2616689Z 
2022-04-11T21:10:44.2616802Z Generating XML reports...
2022-04-11T21:10:44.2617254Z Generated XML report: test-reports\dist-gloo\test.test_cpp_extensions_jit\TEST-TestCppExtensionJIT-20220411210225.xml
2022-04-11T21:10:44.9295659Z Traceback (most recent call last):
2022-04-11T21:10:44.9296347Z   File "run_test.py", line 1056, in <module>
2022-04-11T21:10:44.9298590Z     main()
2022-04-11T21:10:44.9299122Z   File "run_test.py", line 1034, in main
2022-04-11T21:10:44.9299555Z     raise RuntimeError(err_message)
2022-04-11T21:10:44.9299869Z RuntimeError: test_cpp_extensions_jit failed!
2022-04-11T21:10:45.3121148Z 
2022-04-11T21:10:45.3121929Z (base) C:\actions-runner\_work\pytorch\pytorch\test>popd
2022-04-11T21:10:45.3129193Z 
2022-04-11T21:10:45.3129702Z (base) C:\actions-runner\_work\pytorch\pytorch>if ERRORLEVEL 1 exit /b 1 
2022-04-11T21:10:45.3164525Z + cleanup
2022-04-11T21:10:45.3165010Z + retcode=1
2022-04-11T21:10:45.3165510Z + set +x
2022-04-11T21:10:45.3213257Z ##[error]Process completed with exit code 1.
2022-04-11T21:10:45.3581622Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T21:10:45.3581993Z with:

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (default, 1, 2, linux.2xlarge) (18/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:58:19.1287749Z RuntimeError: test_deploy failed!
2022-04-11T18:58:19.1035398Z E   ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:58:19.1035660Z =========================== short test summary info ============================
2022-04-11T18:58:19.1035885Z ERROR test/test_deploy.py
2022-04-11T18:58:19.1036126Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T18:58:19.1036501Z �[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.07s�[0m�[31m ===============================�[0m
2022-04-11T18:58:19.1282559Z Traceback (most recent call last):
2022-04-11T18:58:19.1282840Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T18:58:19.1285315Z     main()
2022-04-11T18:58:19.1285543Z   File "test/run_test.py", line 1034, in main
2022-04-11T18:58:19.1287487Z     raise RuntimeError(err_message)
2022-04-11T18:58:19.1287749Z RuntimeError: test_deploy failed!
2022-04-11T18:58:19.3440544Z 
2022-04-11T18:58:19.3440873Z real	3m25.486s
2022-04-11T18:58:19.3441180Z user	3m40.740s
2022-04-11T18:58:19.3441486Z sys	0m5.787s
2022-04-11T18:58:19.3441802Z + cleanup
2022-04-11T18:58:19.3442067Z + retcode=1
2022-04-11T18:58:19.3442349Z + set +x
2022-04-11T18:58:19.3484610Z ##[error]Process completed with exit code 1.
2022-04-11T18:58:19.3560433Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T18:58:19.3560688Z with:

See GitHub Actions build pull / win-vs2019-cuda11.3-py3 / test (force_on_cpu, 1, 1, windows.4xlarge) (19/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:32:47.5277382Z E ModuleNotFoundError: No module named 'torch.version'
2022-04-11T19:32:47.5274218Z Hint: make sure your test modules/packages have valid Python names.
2022-04-11T19:32:47.5274483Z Traceback:
2022-04-11T19:32:47.5274734Z C:\Jenkins\Miniconda3\lib\importlib\__init__.py:127: in import_module
2022-04-11T19:32:47.5275082Z     return _bootstrap._gcd_import(name[level:], package, level)
2022-04-11T19:32:47.5275597Z test\distributed\elastic\events\lib_test.py:16: in <module>
2022-04-11T19:32:47.5275926Z     from torch.distributed.elastic.events import (
2022-04-11T19:32:47.5276173Z torch\__init__.py:28: in <module>
2022-04-11T19:32:47.5276448Z     from .torch_version import __version__ as __version__
2022-04-11T19:32:47.5276728Z torch\torch_version.py:2: in <module>
2022-04-11T19:32:47.5277060Z     from .version import __version__ as internal_version
2022-04-11T19:32:47.5277382Z E   ModuleNotFoundError: No module named 'torch.version'
2022-04-11T19:32:47.5277693Z =========================== short test summary info ===========================
2022-04-11T19:32:47.5277947Z ERROR test/distributed/elastic/events/lib_test.py
2022-04-11T19:32:47.5278249Z !!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T19:32:47.5278542Z ============================== 1 error in 0.18s ===============================
2022-04-11T19:32:47.5720008Z Traceback (most recent call last):
2022-04-11T19:32:47.5728221Z   File "run_test.py", line 1056, in <module>
2022-04-11T19:32:47.5728583Z     main()
2022-04-11T19:32:47.5728855Z   File "run_test.py", line 1034, in main
2022-04-11T19:32:47.5729098Z     raise RuntimeError(err_message)
2022-04-11T19:32:47.5729404Z RuntimeError: distributed/elastic/events/lib_test failed!

See GitHub Actions build pull / linux-xenial-py3.7-gcc5.4 / test (distributed, 1, 1, linux.2xlarge) (20/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T18:53:24.0881869Z E ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:53:24.0878449Z Hint: make sure your test modules/packages have valid Python names.
2022-04-11T18:53:24.0878773Z Traceback:
2022-04-11T18:53:24.0879228Z /opt/conda/lib/python3.7/importlib/__init__.py:127: in import_module
2022-04-11T18:53:24.0879606Z     return _bootstrap._gcd_import(name[level:], package, level)
2022-04-11T18:53:24.0879904Z test/distributed/elastic/events/lib_test.py:16: in <module>
2022-04-11T18:53:24.0880291Z     from torch.distributed.elastic.events import (
2022-04-11T18:53:24.0880603Z torch/__init__.py:28: in <module>
2022-04-11T18:53:24.0880849Z     from .torch_version import __version__ as __version__
2022-04-11T18:53:24.0881136Z torch/torch_version.py:2: in <module>
2022-04-11T18:53:24.0881454Z     from .version import __version__ as internal_version
2022-04-11T18:53:24.0881869Z E   ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T18:53:24.0882155Z =========================== short test summary info ============================
2022-04-11T18:53:24.0882465Z ERROR test/distributed/elastic/events/lib_test.py
2022-04-11T18:53:24.0882791Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T18:53:24.0883214Z �[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.07s�[0m�[31m ===============================�[0m
2022-04-11T18:53:24.1162607Z Traceback (most recent call last):
2022-04-11T18:53:24.1163135Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T18:53:24.1165840Z     main()
2022-04-11T18:53:24.1166220Z   File "test/run_test.py", line 1034, in main
2022-04-11T18:53:24.1168319Z     raise RuntimeError(err_message)
2022-04-11T18:53:24.1168825Z RuntimeError: distributed/elastic/events/lib_test failed!

See GitHub Actions build pull / linux-xenial-py3.7-gcc7 / test (default, 2, 2, linux.2xlarge) (21/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:07:05.6638001Z FAIL [0.055s]: test_filtering_env_var (__main__.TestFrameworkUtils)
2022-04-11T19:07:05.6343606Z   test_isclose_nan_equality_shortcut_cpu_float16 (__main__.TestTestingCPU) ... ok (0.001s)
2022-04-11T19:07:05.6353644Z   test_isclose_nan_equality_shortcut_cpu_float32 (__main__.TestTestingCPU) ... ok (0.001s)
2022-04-11T19:07:05.6363386Z   test_isclose_nan_equality_shortcut_cpu_float64 (__main__.TestTestingCPU) ... ok (0.001s)
2022-04-11T19:07:05.6372987Z   test_make_tensor_complex32_cpu (__main__.TestTestingCPU) ... ok (0.001s)
2022-04-11T19:07:05.6426076Z   test_make_tensor_cpu_bool (__main__.TestTestingCPU) ... ok (0.005s)
2022-04-11T19:07:05.6499425Z   test_make_tensor_cpu_complex64 (__main__.TestTestingCPU) ... ok (0.007s)
2022-04-11T19:07:05.6572132Z   test_make_tensor_cpu_float32 (__main__.TestTestingCPU) ... ok (0.007s)
2022-04-11T19:07:05.6636934Z   test_make_tensor_cpu_int64 (__main__.TestTestingCPU) ... ok (0.006s)
2022-04-11T19:07:05.6637157Z 
2022-04-11T19:07:05.6637265Z ======================================================================
2022-04-11T19:07:05.6638001Z FAIL [0.055s]: test_filtering_env_var (__main__.TestFrameworkUtils)
2022-04-11T19:07:05.6638584Z ----------------------------------------------------------------------
2022-04-11T19:07:05.6638938Z Traceback (most recent call last):
2022-04-11T19:07:05.6639454Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 861, in wrapper
2022-04-11T19:07:05.6639812Z     fn(*args, **kwargs)
2022-04-11T19:07:05.6640153Z   File "/var/lib/jenkins/workspace/test/test_testing.py", line 459, in test_filtering_env_var
2022-04-11T19:07:05.6640632Z     self.assertIn(f'Ran {test_bases_count} test', stderr.decode('ascii'))
2022-04-11T19:07:05.6642071Z AssertionError: 'Ran 1 test' not found in 'Traceback (most recent call last):\n  File "<string>", line 3, in <module>\n  File "/var/lib/jenkins/workspace/torch/__init__.py", line 28, in <module>\n    from .torch_version import __version__ as __version__\n  File "/var/lib/jenkins/workspace/torch/torch_version.py", line 2, in <module>\n    from .version import __version__ as internal_version\nModuleNotFoundError: No module named \'torch.version\'\n'
2022-04-11T19:07:05.6642820Z 
2022-04-11T19:07:05.6643087Z ----------------------------------------------------------------------
2022-04-11T19:07:05.6643399Z Ran 152 tests in 1.011s

See GitHub Actions build pull / linux-bionic-rocm5.0-py3.7 / test (default, 2, 2, linux.rocm.gpu) (22/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T19:44:33.5055024Z E ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T19:44:33.5045042Z Hint: make sure your test modules/packages have valid Python names.
2022-04-11T19:44:33.5045831Z Traceback:
2022-04-11T19:44:33.5046898Z /opt/conda/lib/python3.7/importlib/__init__.py:127: in import_module
2022-04-11T19:44:33.5048405Z     return _bootstrap._gcd_import(name[level:], package, level)
2022-04-11T19:44:33.5049655Z test/distributions/test_constraints.py:5: in <module>
2022-04-11T19:44:33.5050638Z     import torch
2022-04-11T19:44:33.5051317Z torch/__init__.py:28: in <module>
2022-04-11T19:44:33.5052103Z     from .torch_version import __version__ as __version__
2022-04-11T19:44:33.5052927Z torch/torch_version.py:2: in <module>
2022-04-11T19:44:33.5053769Z     from .version import __version__ as internal_version
2022-04-11T19:44:33.5055024Z E   ModuleNotFoundError: No module named 'torch.version'�[0m
2022-04-11T19:44:33.5055947Z =========================== short test summary info ============================
2022-04-11T19:44:33.5056796Z ERROR test/distributions/test_constraints.py
2022-04-11T19:44:33.5057696Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2022-04-11T19:44:33.5058954Z �[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.10s�[0m�[31m ===============================�[0m
2022-04-11T19:44:33.5315982Z Traceback (most recent call last):
2022-04-11T19:44:33.5317148Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T19:44:33.5317850Z     main()
2022-04-11T19:44:33.5318491Z   File "test/run_test.py", line 1034, in main
2022-04-11T19:44:33.5319479Z     raise RuntimeError(err_message)
2022-04-11T19:44:33.5320327Z RuntimeError: distributions/test_constraints failed!

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7 / test (default, 2, 2, linux.4xlarge.nvidia.gpu) (23/23)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-04-11T20:22:48.5494986Z RuntimeError: test_dataloader failed!
2022-04-11T20:22:48.2951245Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestNamedTupleDataLoader-20220411202108.xml
2022-04-11T20:22:48.2954555Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestSetAffinity-20220411202108.xml
2022-04-11T20:22:48.2957801Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestStringDataLoader-20220411202108.xml
2022-04-11T20:22:48.2965283Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestTensorDataset-20220411202108.xml
2022-04-11T20:22:48.2970412Z Generated XML report: test-reports/python-unittest/test.test_dataloader/TEST-TestDataLoader2_EventLoop-20220411202108.xml
2022-04-11T20:22:48.5488192Z Traceback (most recent call last):
2022-04-11T20:22:48.5488638Z   File "test/run_test.py", line 1056, in <module>
2022-04-11T20:22:48.5491468Z     main()
2022-04-11T20:22:48.5491862Z   File "test/run_test.py", line 1034, in main
2022-04-11T20:22:48.5494552Z     raise RuntimeError(err_message)
2022-04-11T20:22:48.5494986Z RuntimeError: test_dataloader failed!
2022-04-11T20:22:48.9977361Z + cleanup
2022-04-11T20:22:48.9977851Z + retcode=1
2022-04-11T20:22:48.9978326Z + set +x
2022-04-11T20:22:49.0034202Z ##[error]Process completed with exit code 1.
2022-04-11T20:22:49.0088754Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-04-11T20:22:49.0089117Z with:
2022-04-11T20:22:49.0089666Z   github-token: ***
2022-04-11T20:22:49.0089929Z env:
2022-04-11T20:22:49.0090147Z   IN_CI: 1
2022-04-11T20:22:49.0090348Z   IS_GHA: 1

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

pytorchmergebot pushed a commit that referenced this pull request Apr 12, 2022
Mitigates #56396

The true fix would be #75608 but there are many issues to debug and this is a good step forward to at least clarify.
Pull Request resolved: #75620
Approved by: https://github.com/kit1980, https://github.com/seemethere, https://github.com/malfet
facebook-github-bot pushed a commit that referenced this pull request Apr 13, 2022
Summary:
Mitigates #56396

The true fix would be #75608 but there are many issues to debug and this is a good step forward to at least clarify.

Pull Request resolved: #75620
Approved by: https://github.com/kit1980, https://github.com/seemethere, https://github.com/malfet

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/8d3e3ebc583eb3a4ca230fa41f06d8ef5d453d63

Reviewed By: mehtanirav

Differential Revision: D35582767

Pulled By: janeyx99

fbshipit-source-id: fbc433ee064b0bb02adb8673cf99573e910f9850
@janeyx99
Copy link
Contributor Author

janeyx99 commented May 2, 2022

Closing, documented errors instead in COTNRIBUTING.md

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2022

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Jul 1, 2022
@github-actions github-actions bot closed this Jul 31, 2022
# Can't call `python -m unittest test_*` here because it doesn't run code
# in `if __name__ == '__main__': `. So call `python test_*.py` instead.
argv = [test_module + ".py"] + unittest_args
argv = [test_directory + "/" + test_module + ".py"] + unittest_args
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to use os.path.join(test_directory, test_module + ".py") here... Or may be an f-string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests in CI are run from the test/ directory

3 participants