Skip to content

Revert "Switch default memory format of to (and similar) operators to Preserve"#31226

Closed
VitalyFedyunin wants to merge 2 commits intogh/VitalyFedyunin/101/basefrom
gh/VitalyFedyunin/101/head
Closed

Revert "Switch default memory format of to (and similar) operators to Preserve"#31226
VitalyFedyunin wants to merge 2 commits intogh/VitalyFedyunin/101/basefrom
gh/VitalyFedyunin/101/head

Conversation

@VitalyFedyunin
Copy link
Contributor

@VitalyFedyunin VitalyFedyunin commented Dec 13, 2019

Stack from ghstack:

This reverts commit 2f10e19.

… Preserve"

This reverts commit 2f10e19.

[ghstack-poisoned]
…r) operators to Preserve""

This reverts commit 2f10e19.

[ghstack-poisoned]
@kostmo
Copy link
Member

kostmo commented Dec 13, 2019

CircleCI build failures summary

As of commit 1b11446:

  • 1/18 broken upstream at merge base 56de885 (see grid view)
    • You may want to rebase on the viable/strict branch (see its recency history):
      • Since your merge base is older than viable/strict, run these commands:
        git fetch viable/strict
        git rebase viable/strict
        
  • 17/18 failures introduced in this PR

Detailed failure analysis

One may explore the probable reasons each build failed interactively on the Dr. CI website.

14 new failures recognized by patterns

The following build failures don't appear to be due to upstream breakage:

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_ge_config_legacy_test (1/14)

Step: "Test" (details)

Dec 13 03:06:10 Ran 2295 tests in 120.343s 
Dec 13 03:06:10  
Dec 13 03:06:10 FAILED (errors=2, skipped=58, expected failures=1) 
Dec 13 03:06:10  
Dec 13 03:06:10 Generating XML reports... 
Dec 13 03:06:10 Traceback (most recent call last): 
Dec 13 03:06:10   File "test/run_test.py", line 456, in <module> 
Dec 13 03:06:10     main() 
Dec 13 03:06:10   File "test/run_test.py", line 449, in main 
Dec 13 03:06:10     raise RuntimeError(message) 
Dec 13 03:06:10 RuntimeError: test_jit_legacy failed! 
Dec 13 03:06:10 + cleanup 
Dec 13 03:06:10 + retcode=1 
Dec 13 03:06:10 + set +x 
Dec 13 03:06:10 =================== sccache compilation log =================== 
Dec 13 03:06:10 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 03:06:10 Compile requests               304 
Dec 13 03:06:10 Compile requests executed        0 
Dec 13 03:06:10 Cache hits                       0 
Dec 13 03:06:10 Cache misses                     0 
Dec 13 03:06:10 Cache timeouts                   0 

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_ge_config_simple_test (2/14)

Step: "Test" (details)

Dec 13 03:06:28 Ran 2295 tests in 90.913s 
Dec 13 03:06:28  
Dec 13 03:06:28 FAILED (errors=2, skipped=76, expected failures=1) 
Dec 13 03:06:28  
Dec 13 03:06:28 Generating XML reports... 
Dec 13 03:06:28 Traceback (most recent call last): 
Dec 13 03:06:28   File "test/run_test.py", line 456, in <module> 
Dec 13 03:06:28     main() 
Dec 13 03:06:28   File "test/run_test.py", line 449, in main 
Dec 13 03:06:28     raise RuntimeError(message) 
Dec 13 03:06:28 RuntimeError: test_jit_simple failed! 
Dec 13 03:06:28 + cleanup 
Dec 13 03:06:28 + retcode=1 
Dec 13 03:06:28 + set +x 
Dec 13 03:06:28 =================== sccache compilation log =================== 
Dec 13 03:06:28 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 03:06:28 Compile requests                56 
Dec 13 03:06:28 Compile requests executed        0 
Dec 13 03:06:28 Cache hits                       0 
Dec 13 03:06:28 Cache misses                     0 
Dec 13 03:06:28 Cache timeouts                   0 

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_test (3/14)

Step: "Test" (details)

Dec 13 03:14:08 Ran 1473 tests in 467.535s 
Dec 13 03:14:08  
Dec 13 03:14:08 FAILED (errors=2, skipped=681, expected failures=2) 
Dec 13 03:14:08  
Dec 13 03:14:08 Generating XML reports... 
Dec 13 03:14:08 Traceback (most recent call last): 
Dec 13 03:14:08   File "test/run_test.py", line 456, in <module> 
Dec 13 03:14:08     main() 
Dec 13 03:14:08   File "test/run_test.py", line 449, in main 
Dec 13 03:14:08     raise RuntimeError(message) 
Dec 13 03:14:08 RuntimeError: test_nn failed! 
Dec 13 03:14:08 + cleanup 
Dec 13 03:14:08 + retcode=1 
Dec 13 03:14:08 + set +x 
Dec 13 03:14:08 =================== sccache compilation log =================== 
Dec 13 03:14:08 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 03:14:08 Compile requests                  7 
Dec 13 03:14:08 Compile requests executed         6 
Dec 13 03:14:08 Cache hits                        0 
Dec 13 03:14:08 Cache misses                      6 
Dec 13 03:14:08 Cache timeouts                    0 

See CircleCI build caffe2_onnx_py2_gcc5_ubuntu16_04_test (4/14)

Step: "Test" (details)

Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_empty_like PASSED       [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_empty_like_opset7 PASSED [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_equal PASSED            [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_erf PASSED              [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_exp PASSED              [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_expand PASSED           [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_flatten PASSED          [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_flatten2D PASSED        [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_fmod PASSED             [  2%] 
Dec 13 03:24:46 test/onnx/test_operators.py::TestOperators::test_frobenius_norm PASSED   [  2%] 
re dumped) pytest "${args[@]}" -k 'not (TestOperators and test_full_like) and not (TestOperators and test_zeros_like) and not (TestOperators and test_ones_like) and not (TestModels and test_vgg16) and not (TestModels and test_vgg16_bn) and not (TestModels and test_vgg19) and not (TestModels and test_vgg19_bn)' --ignore "$top_dir/test/onnx/test_pytorch_onnx_onnxruntime.py" --ignore "$top_dir/test/onnx/test_custom_ops.py" --ignore "$top_dir/test/onnx/test_models_onnxruntime.py" "${test_paths[@]}" 

See CircleCI build caffe2_onnx_py3_6_clang7_ubuntu16_04_test (5/14)

Step: "Test" (details)

Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 237 in _main 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 193 in wrap_session 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 230 in pytest_cmdline_main 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187 in _multicall 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 86 in <lambda> 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 92 in _hookexec 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ 
Dec 13 03:26:16   File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 90 in main 
Dec 13 03:26:16   File "/usr/local/bin/pytest", line 11 in <module> 
re dumped) pytest "${args[@]}" -k 'not (TestOperators and test_full_like) and not (TestOperators and test_zeros_like) and not (TestOperators and test_ones_like) and not (TestModels and test_vgg16) and not (TestModels and test_vgg16_bn) and not (TestModels and test_vgg19) and not (TestModels and test_vgg19_bn)' --ignore "$top_dir/test/onnx/test_pytorch_onnx_onnxruntime.py" --ignore "$top_dir/test/onnx/test_custom_ops.py" --ignore "$top_dir/test/onnx/test_models_onnxruntime.py" "${test_paths[@]}" 

See CircleCI build pytorch_linux_xenial_py2_7_9_test (6/14)

Step: "Test" (details)

Dec 13 03:37:18 Ran 1473 tests in 465.703s 
Dec 13 03:37:18  
Dec 13 03:37:18 FAILED (errors=2, skipped=699, expected failures=3) 
Dec 13 03:37:18  
Dec 13 03:37:18 Generating XML reports... 
Dec 13 03:37:18 Traceback (most recent call last): 
Dec 13 03:37:18   File "test/run_test.py", line 456, in <module> 
Dec 13 03:37:18     main() 
Dec 13 03:37:18   File "test/run_test.py", line 449, in main 
Dec 13 03:37:18     raise RuntimeError(message) 
Dec 13 03:37:18 RuntimeError: test_nn failed! 
Dec 13 03:37:18 + cleanup 
Dec 13 03:37:18 + retcode=1 
Dec 13 03:37:18 + set +x 
Dec 13 03:37:18 =================== sccache compilation log =================== 
Dec 13 03:37:18 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 03:37:18 Compile requests                 10 
Dec 13 03:37:18 Compile requests executed         8 
Dec 13 03:37:18 Cache hits                        2 
Dec 13 03:37:18 Cache misses                      6 
Dec 13 03:37:18 Cache timeouts                    0 

See CircleCI build pytorch_xla_linux_xenial_py3_6_clang7_test (7/14)

Step: "Test" (details)

Dec 13 03:36:38 +++ eval 'extract_trap_cmd ' 
Dec 13 03:36:38 ++++ extract_trap_cmd 
Dec 13 03:36:38 ++++ printf '%s\n' '' 
Dec 13 03:36:38 +++ printf '%s\n' cleanup 
Dec 13 03:36:38 ++ trap -- ' 
Dec 13 03:36:38 cleanup' EXIT 
Dec 13 03:36:38 ++ which sccache 
Dec 13 03:36:38 ++ sccache --stop-server 
Dec 13 03:36:38 Stopping sccache server... 
Dec 13 03:36:38 error: couldn't connect to server 
Dec 13 03:36:38 caused by: Connection refused (os error 111) 
Dec 13 03:36:38 ++ true 
Dec 13 03:36:38 ++ rm /var/lib/jenkins/sccache_error.log 
Dec 13 03:36:39 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log 
Dec 13 03:36:39 ++ SCCACHE_IDLE_TIMEOUT=1200 
Dec 13 03:36:39 ++ RUST_LOG=sccache::server=error 
Dec 13 03:36:39 ++ sccache --start-server 
Dec 13 03:36:39 Starting sccache server... 
Dec 13 03:36:39 ++ sccache --zero-stats 
Dec 13 03:36:39 Compile requests                 0 
Dec 13 03:36:39 Compile requests executed        0 

See CircleCI build pytorch_macos_10_13_py3_test (8/14)

Step: "Test" (details)

Dec 12 20:26:14 Ran 2292 tests in 133.208s 
Dec 12 20:26:14  
Dec 12 20:26:14 FAILED (errors=2, skipped=63, expected failures=1) 
Dec 12 20:26:14  
Dec 12 20:26:14 Generating XML reports... 
Dec 12 20:26:15 Traceback (most recent call last): 
Dec 12 20:26:15   File "test/run_test.py", line 456, in <module> 
Dec 12 20:26:15     main() 
Dec 12 20:26:15   File "test/run_test.py", line 449, in main 
Dec 12 20:26:15     raise RuntimeError(message) 
Dec 12 20:26:15 RuntimeError: test_jit failed! 
Dec 12 20:26:15 + cleanup 
Dec 12 20:26:15 + retcode=1 
Dec 12 20:26:15 + set +x 

See CircleCI build pytorch_linux_xenial_py3_clang5_asan_test (9/14)

Step: "Test" (details)

Dec 13 04:26:25 Ran 1473 tests in 1943.973s 
Dec 13 04:26:25  
Dec 13 04:26:25 FAILED (errors=2, skipped=681, expected failures=2) 
Dec 13 04:26:25  
Dec 13 04:26:25 Generating XML reports... 
Dec 13 04:26:26 Traceback (most recent call last): 
Dec 13 04:26:26   File "test/run_test.py", line 456, in <module> 
Dec 13 04:26:26     main() 
Dec 13 04:26:26   File "test/run_test.py", line 449, in main 
Dec 13 04:26:26     raise RuntimeError(message) 
Dec 13 04:26:26 RuntimeError: test_nn failed! 
Dec 13 04:26:26 + cleanup 
Dec 13 04:26:26 + retcode=1 
Dec 13 04:26:26 + set +x 
Dec 13 04:26:26 =================== sccache compilation log =================== 
Dec 13 04:26:26 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 04:26:26 Compile requests                 0 
Dec 13 04:26:26 Compile requests executed        0 
Dec 13 04:26:26 Cache hits                       0 
Dec 13 04:26:26 Cache misses                     0 
Dec 13 04:26:26 Cache timeouts                   0 

See CircleCI build pytorch_linux_xenial_cuda9_cudnn7_py3_multigpu_test (10/14)

Step: "Test" (details)

Dec 13 04:41:21 [       OK ] ParallelTest.DataParallelUsesAllAvailableCUDADevices_CUDA (0 ms) 
Dec 13 04:41:21 [ RUN      ] ParallelTest.DataParallelNumericalEquivalence_MultiCUDA 
Dec 13 04:41:24 [       OK ] ParallelTest.DataParallelNumericalEquivalence_MultiCUDA (3285 ms) 
Dec 13 04:41:24 [----------] 9 tests from ParallelTest (7470 ms total) 
Dec 13 04:41:24  
Dec 13 04:41:24 [----------] Global test environment tear-down 
Dec 13 04:41:24 [==========] 786 tests from 32 test cases ran. (78814 ms total) 
Dec 13 04:41:24 [  PASSED  ] 784 tests. 
Dec 13 04:41:24 [  FAILED  ] 2 tests, listed below: 
Dec 13 04:41:24 [  FAILED  ] IntegrationTest.MNIST_CUDA 
Dec 13 04:41:24 [  FAILED  ] IntegrationTest.MNISTBatchNorm_CUDA 
Dec 13 04:41:24  
Dec 13 04:41:24  2 FAILED TESTS 
Dec 13 04:41:26 + cleanup 
Dec 13 04:41:26 + retcode=1 
Dec 13 04:41:26 + set +x 
Dec 13 04:41:26 =================== sccache compilation log =================== 
Dec 13 04:41:26 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 04:41:26 Compile requests                 0 
Dec 13 04:41:26 Compile requests executed        0 
Dec 13 04:41:26 Cache hits                       0 

See CircleCI build pytorch_linux_xenial_cuda9_cudnn7_py3_nogpu_test (11/14)

Step: "Test" (details)

Dec 13 04:51:59 Ran 1473 tests in 426.159s 
Dec 13 04:51:59  
Dec 13 04:51:59 FAILED (errors=2, skipped=681, expected failures=2) 
Dec 13 04:51:59  
Dec 13 04:51:59 Generating XML reports... 
Dec 13 04:51:59 Traceback (most recent call last): 
Dec 13 04:51:59   File "test/run_test.py", line 456, in <module> 
Dec 13 04:51:59     main() 
Dec 13 04:51:59   File "test/run_test.py", line 449, in main 
Dec 13 04:51:59     raise RuntimeError(message) 
Dec 13 04:51:59 RuntimeError: test_nn failed! 
Dec 13 04:51:59 + cleanup 
Dec 13 04:51:59 + retcode=1 
Dec 13 04:51:59 + set +x 
Dec 13 04:51:59 =================== sccache compilation log =================== 
Dec 13 04:51:59 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 04:51:59 Compile requests                  7 
Dec 13 04:51:59 Compile requests executed         6 
Dec 13 04:51:59 Cache hits                        0 
Dec 13 04:51:59 Cache misses                      6 
Dec 13 04:51:59 Cache timeouts                    0 

See CircleCI build pytorch_linux_xenial_cuda9_cudnn7_py3_NO_AVX_NO_AVX2_test (12/14)

Step: "Test" (details)

Dec 13 04:53:56 Ran 1566 tests in 606.711s 
Dec 13 04:53:56  
Dec 13 04:53:56 FAILED (failures=1, errors=15, skipped=59, expected failures=4) 
Dec 13 04:53:56  
Dec 13 04:53:56 Generating XML reports... 
Dec 13 04:53:56 Traceback (most recent call last): 
Dec 13 04:53:56   File "test/run_test.py", line 456, in <module> 
Dec 13 04:53:56     main() 
Dec 13 04:53:56   File "test/run_test.py", line 449, in main 
Dec 13 04:53:56     raise RuntimeError(message) 
Dec 13 04:53:56 RuntimeError: test_nn failed! 
Dec 13 04:53:57 + cleanup 
Dec 13 04:53:57 + retcode=1 
Dec 13 04:53:57 + set +x 
Dec 13 04:53:57 =================== sccache compilation log =================== 
Dec 13 04:53:57 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 04:53:57 Compile requests                32 
Dec 13 04:53:57 Compile requests executed       11 
Dec 13 04:53:57 Cache hits                       0 
Dec 13 04:53:57 Cache misses                    11 
Dec 13 04:53:57 Cache timeouts                   0 

See CircleCI build pytorch_linux_xenial_cuda9_cudnn7_py3_test (13/14)

Step: "Test" (details)

Dec 13 04:54:19 Ran 1566 tests in 620.628s 
Dec 13 04:54:19  
Dec 13 04:54:19 FAILED (failures=1, errors=15, skipped=59, expected failures=4) 
Dec 13 04:54:19  
Dec 13 04:54:19 Generating XML reports... 
Dec 13 04:54:19 Traceback (most recent call last): 
Dec 13 04:54:19   File "test/run_test.py", line 456, in <module> 
Dec 13 04:54:19     main() 
Dec 13 04:54:19   File "test/run_test.py", line 449, in main 
Dec 13 04:54:19     raise RuntimeError(message) 
Dec 13 04:54:19 RuntimeError: test_nn failed! 
Dec 13 04:54:20 + cleanup 
Dec 13 04:54:20 + retcode=1 
Dec 13 04:54:20 + set +x 
Dec 13 04:54:20 =================== sccache compilation log =================== 
Dec 13 04:54:20 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 04:54:20 Compile requests                32 
Dec 13 04:54:20 Compile requests executed       11 
Dec 13 04:54:20 Cache hits                       0 
Dec 13 04:54:20 Cache misses                    11 
Dec 13 04:54:20 Cache timeouts                   0 

See CircleCI build pytorch_linux_xenial_cuda9_cudnn7_py3_slow_test (14/14)

Step: "Test" (details)

Dec 13 05:10:03 [ RUN      ] JitTest.ModuleConversion_CUDA 
Dec 13 05:10:03 [       OK ] JitTest.ModuleConversion_CUDA (0 ms) 
Dec 13 05:10:03 [ RUN      ] JitTest.Interp_CUDA 
Dec 13 05:10:03 [       OK ] JitTest.Interp_CUDA (1 ms) 
Dec 13 05:10:03 [----------] 74 tests from JitTest (3805 ms total) 
Dec 13 05:10:03  
Dec 13 05:10:03 [----------] Global test environment tear-down 
Dec 13 05:10:03 [==========] 74 tests from 1 test case ran. (3805 ms total) 
Dec 13 05:10:03 [  PASSED  ] 73 tests. 
Dec 13 05:10:03 [  FAILED  ] 1 test, listed below: 
Dec 13 05:10:03 [  FAILED  ] JitTest.DCE 
Dec 13 05:10:03  
Dec 13 05:10:03  1 FAILED TEST 
Dec 13 05:10:04 + cleanup 
Dec 13 05:10:04 + retcode=1 
Dec 13 05:10:04 + set +x 
Dec 13 05:10:04 =================== sccache compilation log =================== 
Dec 13 05:10:04 ERROR:sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "/tmp/torch_extensions/test_compilation_error_formatting/main.cpp: In function \'int main()\':\n/tmp/torch_extensions/test_compilation_error_formatting/main.cpp:2:23: error: expected \';\' before \'}\' token\n int main() { return 0 }\n                       ^\n" } 
Dec 13 05:10:04  
Dec 13 05:10:04 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Dec 13 05:10:04 Compile requests                128 

1 upstream failure recognized by patterns:

These builds matched patterns, but were probably caused by upstream breakages:

3 failures not recognized by patterns:

Job Step Status
CircleCI caffe2_onnx_py2_gcc5_ubuntu16_04_build Build New in PR
CircleCI caffe2_onnx_py3_6_clang7_ubuntu16_04_build Build New in PR
CircleCI pytorch_linux_xenial_py3_6_gcc5_4_build Build New in PR

This comment was automatically generated by Dr. CI.
Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

This comment has been revised 8 times.

@facebook-github-bot facebook-github-bot deleted the gh/VitalyFedyunin/101/head branch January 27, 2020 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants