Skip to content

type index is only constexpr if typeid is#32161

Closed
smessmer wants to merge 2 commits intogh/smessmer/160/basefrom
gh/smessmer/160/head
Closed

type index is only constexpr if typeid is#32161
smessmer wants to merge 2 commits intogh/smessmer/160/basefrom
gh/smessmer/160/head

Conversation

@smessmer
Copy link
Contributor

@smessmer smessmer commented Jan 14, 2020

Stack from ghstack:

Differential Revision: D19389125

smessmer added a commit that referenced this pull request Jan 14, 2020
Differential Revision: [D19389125](https://our.internmc.facebook.com/intern/diff/D19389125/)

ghstack-source-id: 96638789
Pull Request resolved: #32161
@kostmo
Copy link
Member

kostmo commented Jan 16, 2020

💊 CircleCI build failures summary and remediations

As of commit eed9b59:

  • 1/15 broken upstream at merge base d2fdf14 since Jan 08

    Please rebase on the viable/strict branch (expand for instructions)

    Since your merge base is older than viable/strict, run these commands:

    git fetch origin viable/strict
    git rebase viable/strict
    

    Check out the recency history of this "viable master" tracking branch.

  • 14/15 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 do not appear to be due to upstream breakage:

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_build (1/14)

Step: "Build" (full log | pattern match details)

Automatic merge failed; fix conflicts and then commit the result.
CONFLICT (add/add): Merge conflict in .circleci/docker/build.sh 
Auto-merging .circleci/docker/build.sh 
CONFLICT (add/add): Merge conflict in .circleci/config.yml 
Auto-merging .circleci/config.yml 
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/pytorch_build_definitions.py 
Auto-merging .circleci/cimodel/data/pytorch_build_definitions.py 
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/pytorch_build_data.py 
Auto-merging .circleci/cimodel/data/pytorch_build_data.py 
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/caffe2_build_definitions.py 
Auto-merging .circleci/cimodel/data/caffe2_build_definitions.py 
Automatic merge failed; fix conflicts and then commit the result. 

See CircleCI build caffe2_onnx_py2_gcc5_ubuntu16_04_build (2/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:18:51 /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:115:46: error: template argument 1 is invalid
Jan 16 01:18:51 /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:115:46: error: no matching function for call to 'get_fully_qualified_type_name()' 
Jan 16 01:18:51          get_fully_qualified_type_name<Dummy>().find("Dummy") 
Jan 16 01:18:51                                               ^ 
Jan 16 01:18:51 In file included from /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:2:0: 
Jan 16 01:18:51 /var/lib/jenkins/workspace/c10/util/TypeIndex.h:134:43: note: candidate: template<class T> c10::string_view c10::util::get_fully_qualified_type_name() 
Jan 16 01:18:51  inline C10_TYPENAME_CONSTEXPR string_view get_fully_qualified_type_name() noexcept { 
Jan 16 01:18:51                                            ^ 
Jan 16 01:18:51 /var/lib/jenkins/workspace/c10/util/TypeIndex.h:134:43: note:   template argument deduction/substitution failed: 
Jan 16 01:18:51 In file included from /var/lib/jenkins/workspace/third_party/googletest/googletest/include/gtest/gtest.h:382:0, 
Jan 16 01:18:51                  from /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:3: 
Jan 16 01:18:51 /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:115:46: error: template argument 1 is invalid 
Jan 16 01:18:51          get_fully_qualified_type_name<Dummy>().find("Dummy") 
Jan 16 01:18:51                                               ^ 
Jan 16 01:18:51 c10/test/CMakeFiles/c10_TypeIndex_test.dir/build.make:62: recipe for target 'c10/test/CMakeFiles/c10_TypeIndex_test.dir/util/TypeIndex_test.cpp.o' failed 
Jan 16 01:18:51 make[2]: *** [c10/test/CMakeFiles/c10_TypeIndex_test.dir/util/TypeIndex_test.cpp.o] Error 1 
Jan 16 01:18:51 CMakeFiles/Makefile2:2437: recipe for target 'c10/test/CMakeFiles/c10_TypeIndex_test.dir/all' failed 
Jan 16 01:18:51 make[1]: *** [c10/test/CMakeFiles/c10_TypeIndex_test.dir/all] Error 2 
Jan 16 01:18:51 make[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:18:52 [ 40%] Generating src/x86_64-fma/blas/s8gemm.py.o 
Jan 16 01:18:52 [ 40%] Generating src/x86_64-fma/blas/c8gemm.py.o 
Jan 16 01:18:53 [ 40%] Generating src/x86_64-fma/blas/s4c6gemm.py.o 

See CircleCI build caffe2_onnx_py3_6_clang7_ubuntu16_04_build (3/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:19:09 typeid_test.cpp:(.text.startup+0x34): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()'
Jan 16 01:19:04 Scanning dependencies of target c10_either_test 
Jan 16 01:19:04 [ 41%] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o 
Jan 16 01:19:05 [ 41%] Linking CXX executable ../../bin/c10_either_test 
Jan 16 01:19:05 [ 41%] Generating src/x86_64-fma/blas/sdotxf.py.o 
Jan 16 01:19:05 [ 41%] Built target c10_either_test 
Jan 16 01:19:05 Scanning dependencies of target c10_typeid_test 
Jan 16 01:19:05 [ 41%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
Jan 16 01:19:06 [ 41%] Generating src/x86_64-fma/blas/shdotxf.py.o 
Jan 16 01:19:09 [ 41%] Linking CXX executable ../../bin/c10_typeid_test 
Jan 16 01:19:09 CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `_GLOBAL__sub_I_typeid_test.cpp': 
Jan 16 01:19:09 typeid_test.cpp:(.text.startup+0x34): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:19:09 clang: error: linker command failed with exit code 1 (use -v to see invocation) 
Jan 16 01:19:09 c10/test/CMakeFiles/c10_typeid_test.dir/build.make:101: recipe for target 'bin/c10_typeid_test' failed 
Jan 16 01:19:09 make[2]: *** [bin/c10_typeid_test] Error 1 
Jan 16 01:19:09 CMakeFiles/Makefile2:2717: recipe for target 'c10/test/CMakeFiles/c10_typeid_test.dir/all' failed 
Jan 16 01:19:09 make[1]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2 
Jan 16 01:19:09 make[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:19:10 Scanning dependencies of target nnpack 
Jan 16 01:19:10 [ 41%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/init.c.o 
Jan 16 01:19:10 [ 41%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-inference.c.o 
Jan 16 01:19:11 [ 41%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-inference.c.o 

See CircleCI build pytorch_xla_linux_xenial_py3_6_clang7_build (4/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:19:19 RuntimeError: Failed to apply patch: /var/lib/jenkins/workspace/xla/torch_patches/X10-clip_grad.diff
Jan 16 01:19:19 + XDIR=/var/lib/jenkins/workspace/xla/scripts/.. 
Jan 16 01:19:19 + PTDIR=/var/lib/jenkins/workspace/xla/scripts/../.. 
Jan 16 01:19:19 + python /var/lib/jenkins/workspace/xla/scripts/cond_patch.py /var/lib/jenkins/workspace/xla/scripts/../torch_patches /var/lib/jenkins/workspace/xla/scripts/../.. 
Jan 16 01:19:19 1 out of 1 hunk FAILED 
Jan 16 01:19:19 Applying patch file: /var/lib/jenkins/workspace/xla/torch_patches/X10-clip_grad.diff 
Jan 16 01:19:19 Traceback (most recent call last): 
Jan 16 01:19:19   File "/var/lib/jenkins/workspace/xla/scripts/cond_patch.py", line 67, in <module> 
Jan 16 01:19:19     patch_repo(args) 
Jan 16 01:19:19   File "/var/lib/jenkins/workspace/xla/scripts/cond_patch.py", line 49, in patch_repo 
Jan 16 01:19:19     raise RuntimeError('Failed to apply patch: {}'.format(ppath)) 
Jan 16 01:19:19 RuntimeError: Failed to apply patch: /var/lib/jenkins/workspace/xla/torch_patches/X10-clip_grad.diff 
Jan 16 01:19:19 + cleanup 
Jan 16 01:19:19 + retcode=1 
Jan 16 01:19:19 + set +x 
Jan 16 01:19:19 =================== sccache compilation log =================== 
Jan 16 01:19:19 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Jan 16 01:19:19 Compile requests                 1 
Jan 16 01:19:19 Compile requests executed        0 
Jan 16 01:19:19 Cache hits                       0 
Jan 16 01:19:19 Cache misses                     0 
Jan 16 01:19:19 Cache timeouts                   0 

See CircleCI build pytorch_linux_xenial_py2_7_9_build (5/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:19:31 /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:115:46: error: template argument 1 is invalid
Jan 16 01:19:31 /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:115:46: error: no matching function for call to 'get_fully_qualified_type_name<<expression error> >()' 
Jan 16 01:19:31          get_fully_qualified_type_name<Dummy>().find("Dummy") 
Jan 16 01:19:31                                               ^ 
Jan 16 01:19:31 In file included from /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:2:0: 
Jan 16 01:19:31 /var/lib/jenkins/workspace/c10/util/TypeIndex.h:134:43: note: candidate: template<class T> c10::string_view c10::util::get_fully_qualified_type_name() 
Jan 16 01:19:31  inline C10_TYPENAME_CONSTEXPR string_view get_fully_qualified_type_name() noexcept { 
Jan 16 01:19:31                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Jan 16 01:19:31 /var/lib/jenkins/workspace/c10/util/TypeIndex.h:134:43: note:   template argument deduction/substitution failed: 
Jan 16 01:19:31 In file included from /var/lib/jenkins/workspace/third_party/googletest/googletest/include/gtest/gtest.h:382:0, 
Jan 16 01:19:31                  from /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:3: 
Jan 16 01:19:31 /var/lib/jenkins/workspace/c10/test/util/TypeIndex_test.cpp:115:46: error: template argument 1 is invalid 
Jan 16 01:19:31          get_fully_qualified_type_name<Dummy>().find("Dummy") 
Jan 16 01:19:31                                               ^ 
Jan 16 01:19:31 c10/test/CMakeFiles/c10_TypeIndex_test.dir/build.make:62: recipe for target 'c10/test/CMakeFiles/c10_TypeIndex_test.dir/util/TypeIndex_test.cpp.o' failed 
Jan 16 01:19:31 make[2]: *** [c10/test/CMakeFiles/c10_TypeIndex_test.dir/util/TypeIndex_test.cpp.o] Error 1 
Jan 16 01:19:31 make[1]: *** [c10/test/CMakeFiles/c10_TypeIndex_test.dir/all] Error 2 
Jan 16 01:19:31 make[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:19:31 CMakeFiles/Makefile2:2238: recipe for target 'c10/test/CMakeFiles/c10_TypeIndex_test.dir/all' failed 
Jan 16 01:19:31 [ 41%] Linking CXX executable ../../bin/c10_InlineStreamGuard_test 
Jan 16 01:19:31 [ 41%] Built target c10_InlineStreamGuard_test 
Jan 16 01:19:40 [ 41%] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o 

See CircleCI build binary_linux_libtorch_2_7m_cpu_devtoolset7_shared-with-deps_build (6/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:18:36 typeid_test.cpp:(.text.startup+0x40): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()'
Jan 16 01:18:35 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o 
Jan 16 01:18:35 [ 42%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o 
Jan 16 01:18:35 [ 42%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o 
Jan 16 01:18:35 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o 
Jan 16 01:18:35 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o 
Jan 16 01:18:35 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o 
Jan 16 01:18:36 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o 
Jan 16 01:18:36 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8vadd/sse2.c.o 
Jan 16 01:18:36 [ 42%] Linking CXX executable ../../bin/c10_typeid_test 
Jan 16 01:18:36 CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `_GLOBAL__sub_I_typeid_test.cpp': 
Jan 16 01:18:36 typeid_test.cpp:(.text.startup+0x40): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:18:36 collect2: error: ld returned 1 exit status 
Jan 16 01:18:36 gmake[2]: *** [bin/c10_typeid_test] Error 1 
Jan 16 01:18:36 gmake[1]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2 
Jan 16 01:18:36 gmake[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:18:36 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8clamp/sse2.c.o 
Jan 16 01:18:36 [ 42%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o 
Jan 16 01:18:36 [ 42%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o 
Jan 16 01:18:36 [ 43%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o 
Jan 16 01:18:36 [ 43%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o 
Jan 16 01:18:36 [ 43%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/sub16-sse2.c.o 

See CircleCI build binary_linux_manywheel_2_7mu_cpu_devtoolset7_build (7/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:18:32 typeid_test.cpp:(.text.startup+0x40): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()'
Jan 16 01:18:32 [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o 
Jan 16 01:18:32 Writing torch/csrc/autograd/generated/VariableTypeEverything.cpp 
Jan 16 01:18:32 Writing torch/csrc/autograd/generated/RegistrationDeclarations.h 
Jan 16 01:18:32 Writing torch/csrc/autograd/generated/Functions.h 
Jan 16 01:18:32 Writing torch/csrc/autograd/generated/Functions.cpp 
Jan 16 01:18:32 [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_2x3.cpp.o 
Jan 16 01:18:32 Writing torch/csrc/autograd/generated/variable_factories.h 
Jan 16 01:18:32 [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3.cpp.o 
Jan 16 01:18:32 [ 35%] Linking CXX executable ../../bin/c10_typeid_test 
Jan 16 01:18:32 CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `_GLOBAL__sub_I_typeid_test.cpp': 
Jan 16 01:18:32 typeid_test.cpp:(.text.startup+0x40): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:18:32 collect2: error: ld returned 1 exit status 
Jan 16 01:18:32 gmake[2]: *** [bin/c10_typeid_test] Error 1 
Jan 16 01:18:32 gmake[1]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2 
Jan 16 01:18:32 gmake[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:18:32 [ 35%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3_kernel.cpp.o 
Jan 16 01:18:32 [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o 
Jan 16 01:18:33 [ 35%] Linking CXX executable ../../bin/c10_string_view_test 
Jan 16 01:18:33 [ 35%] Built target c10_string_view_test 
Jan 16 01:18:33 [ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o 
Jan 16 01:18:33 [ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_u8s8s32x_wino_convolution.cpp.o 

See CircleCI build pytorch_linux_xenial_py3_clang5_asan_build (8/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:20:01 /var/lib/jenkins/workspace/c10/test/util/typeid_test.cpp:(.text.startup+0x151): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()'
Jan 16 01:20:01 Scanning dependencies of target c10_either_test 
Jan 16 01:20:01 [ 39%] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o 
Jan 16 01:20:01 clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] 
Jan 16 01:20:01 [ 39%] Linking CXX static library ../../../lib/libprotoc.a 
Jan 16 01:20:01 [ 39%] Built target libprotoc 
Jan 16 01:20:01 Scanning dependencies of target c10_typeid_test 
Jan 16 01:20:01 [ 39%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
Jan 16 01:20:01 [ 39%] Linking CXX executable ../../bin/c10_typeid_test 
Jan 16 01:20:01 [ 39%] Linking CXX executable ../../bin/c10_either_test 
Jan 16 01:20:01 CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `_GLOBAL__sub_I_typeid_test.cpp': 
Jan 16 01:20:01 /var/lib/jenkins/workspace/c10/test/util/typeid_test.cpp:(.text.startup+0x151): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:20:01 clang: error: linker command failed with exit code 1 (use -v to see invocation) 
Jan 16 01:20:01 c10/test/CMakeFiles/c10_typeid_test.dir/build.make:99: recipe for target 'bin/c10_typeid_test' failed 
Jan 16 01:20:01 make[2]: *** [bin/c10_typeid_test] Error 1 
Jan 16 01:20:01 make[1]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2 
Jan 16 01:20:01 make[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:20:01 CMakeFiles/Makefile2:2403: recipe for target 'c10/test/CMakeFiles/c10_typeid_test.dir/all' failed 
Jan 16 01:20:02 [ 39%] Built target c10_either_test 
Jan 16 01:20:05 [ 39%] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o 
Jan 16 01:20:07 [ 39%] Generating src/x86_64-fma/blas/s8gemm.py.o 
Jan 16 01:20:07 [ 39%] Generating src/x86_64-fma/blas/c8gemm.py.o 

See CircleCI build binary_linux_libtorch_2_7m_cpu_gcc5_4_cxx11-abi_shared-with-deps_build (9/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:20:12 FAILED: bin/c10_typeid_test
Jan 16 01:20:12 [746/3014] Building CXX object c10/test/CMakeFiles/c10_StreamGuard_test.dir/core/StreamGuard_test.cpp.o 
Jan 16 01:20:12 [747/3014] Linking CXX executable bin/c10_StreamGuard_test 
Jan 16 01:20:12 [748/3014] Building CXX object c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o 
Jan 16 01:20:12 [749/3014] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o 
Jan 16 01:20:12 [750/3014] Linking CXX executable bin/c10_registry_test 
Jan 16 01:20:12 [751/3014] Linking CXX executable bin/c10_tempfile_test 
Jan 16 01:20:12 [752/3014] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
Jan 16 01:20:12 [753/3014] Building CXX object c10/test/CMakeFiles/c10_LeftRight_test.dir/util/LeftRight_test.cpp.o 
Jan 16 01:20:12 [754/3014] Building CXX object c10/test/CMakeFiles/c10_ConstexprCrc_test.dir/util/ConstexprCrc_test.cpp.o 
Jan 16 01:20:12 [755/3014] Linking CXX executable bin/c10_typeid_test 
Jan 16 01:20:12 FAILED: bin/c10_typeid_test  
esult -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -O3  -rdynamic c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o  -o bin/c10_typeid_test  -Wl,-rpath,/pytorch/build/lib: lib/libc10.so lib/libgmock.a lib/libgtest.a lib/libgtest_main.a lib/libgtest.a -lpthread && : 
Jan 16 01:20:12 c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `__static_initialization_and_destruction_0(int, int) [clone .constprop.95]': 
Jan 16 01:20:12 typeid_test.cpp:(.text.startup+0x69): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:20:12 collect2: error: ld returned 1 exit status 
Jan 16 01:20:12 [756/3014] Linking CXX executable bin/c10_ConstexprCrc_test 
Jan 16 01:20:12 [757/3014] Linking CXX executable bin/c10_LeftRight_test 
Jan 16 01:20:12 [758/3014] Building CXX object c10/test/CMakeFiles/c10_C++17_test.dir/util/C++17_test.cpp.o 
Jan 16 01:20:13 [759/3014] Building CXX object c10/test/CMakeFiles/c10_TensorTypeSet_test.dir/core/TensorTypeSet_test.cpp.o 
Jan 16 01:20:13 [760/3014] Building CXX object c10/test/CMakeFiles/c10_string_view_test.dir/util/string_view_test.cpp.o 
Jan 16 01:20:13 [761/3014] Building CXX object c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.o 

See CircleCI build pytorch_linux_xenial_cuda9_cudnn7_py3_build (10/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:22:31 typeid_test.cpp:(.text.startup+0x69): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()'
Jan 16 01:22:29 [ 34%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o 
Jan 16 01:22:30 [ 34%] Linking CXX static library ../../../lib/libbenchmark_main.a 
Jan 16 01:22:30 [ 34%] Built target benchmark_main 
Jan 16 01:22:30 Scanning dependencies of target fbgemm 
Jan 16 01:22:30 [ 34%] Linking CXX static library ../../lib/libfbgemm.a 
Jan 16 01:22:30 [ 34%] Built target fbgemm 
Jan 16 01:22:30 Scanning dependencies of target c10_typeid_test 
Jan 16 01:22:30 [ 34%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
Jan 16 01:22:30 [ 34%] Linking CXX executable ../../bin/c10_typeid_test 
Jan 16 01:22:31 CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `__static_initialization_and_destruction_0(int, int) [clone .constprop.95]': 
Jan 16 01:22:31 typeid_test.cpp:(.text.startup+0x69): undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:22:31 collect2: error: ld returned 1 exit status 
Jan 16 01:22:31 make[2]: *** [bin/c10_typeid_test] Error 1 
Jan 16 01:22:31 c10/test/CMakeFiles/c10_typeid_test.dir/build.make:88: recipe for target 'bin/c10_typeid_test' failed 
Jan 16 01:22:31 CMakeFiles/Makefile2:2218: recipe for target 'c10/test/CMakeFiles/c10_typeid_test.dir/all' failed 
Jan 16 01:22:31 make[1]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2 
Jan 16 01:22:31 make[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:22:31 Compiling  all_reduce.cu                       > /var/lib/jenkins/workspace/build/nccl/obj/collectives/device/all_reduce_prod_i64.o 
Jan 16 01:22:34 [ 34%] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o 
Jan 16 01:22:35 [ 34%] Generating src/x86_64-fma/blas/s8gemm.py.o 
Jan 16 01:22:35 Compiling  all_reduce.cu                       > /var/lib/jenkins/workspace/build/nccl/obj/collectives/device/all_reduce_prod_u64.o 

See CircleCI build pytorch_libtorch_linux_xenial_cuda9_cudnn7_py3_build (11/14)

Step: "Build" (full log | pattern match details)

Jan 16 01:22:46 /var/lib/jenkins/workspace/c10/util/TypeIndex.h:165: undefined reference to `c10::util::detail::CompilerClashChecker::singleton()'
Jan 16 01:22:45 make[2]: Entering directory '/var/lib/jenkins/cpp-build/caffe2/build' 
Jan 16 01:22:45 [ 26%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
ing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -Werror -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -g -fno-omit-frame-pointer -O0 -fPIE   -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DHAVE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std=gnu++14 -o CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o -c /var/lib/jenkins/workspace/c10/test/util/typeid_test.cpp 
Jan 16 01:22:45 nvcc warning : '--device-debug (-G)' overrides '--generate-line-info (-lineinfo)' 
Jan 16 01:22:45 ptxas warning : Conflicting options --device-debug and --generate-line-info specified, ignoring --generate-line-info option 
Jan 16 01:22:45 Compiling  all_reduce.cu                       > /var/lib/jenkins/cpp-build/caffe2/build/nccl/obj/collectives/device/all_reduce_prod_u64.o 
Jan 16 01:22:46 [ 26%] Linking CXX executable ../../bin/c10_typeid_test 
Jan 16 01:22:46 cd /var/lib/jenkins/cpp-build/caffe2/build/c10/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/c10_typeid_test.dir/link.txt --verbose=1 
e-cast -fdiagnostics-color=always -Werror -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -g -fno-omit-frame-pointer -O0   -rdynamic  -Wl,-rpath  -Wl,/usr/lib/openmpi/lib  -Wl,--enable-new-dtags CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o  -o ../../bin/c10_typeid_test ../../lib/libc10.so ../../lib/libgmockd.a ../../lib/libgtestd.a ../../lib/libgtest_maind.a ../../lib/libgtestd.a -lpthread -Wl,-rpath,/var/lib/jenkins/cpp-build/caffe2/build/lib:  
Jan 16 01:22:46 CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o: In function `c10::util::detail::CompilerClashChecker::RunOnBootup::RunOnBootup()': 
Jan 16 01:22:46 /var/lib/jenkins/workspace/c10/util/TypeIndex.h:165: undefined reference to `c10::util::detail::CompilerClashChecker::singleton()' 
Jan 16 01:22:46 collect2: error: ld returned 1 exit status 
Jan 16 01:22:46 make[2]: *** [bin/c10_typeid_test] Error 1 
Jan 16 01:22:46 c10/test/CMakeFiles/c10_typeid_test.dir/build.make:99: recipe for target 'bin/c10_typeid_test' failed 
Jan 16 01:22:46 make[2]: Leaving directory '/var/lib/jenkins/cpp-build/caffe2/build' 
Jan 16 01:22:46 make[1]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2 
Jan 16 01:22:46 make[1]: *** Waiting for unfinished jobs.... 
Jan 16 01:22:46 CMakeFiles/Makefile2:2619: recipe for target 'c10/test/CMakeFiles/c10_typeid_test.dir/all' failed 
Jan 16 01:22:51 nvcc warning : '--device-debug (-G)' overrides '--generate-line-info (-lineinfo)' 
Jan 16 01:22:51 ptxas warning : Conflicting options --device-debug and --generate-line-info specified, ignoring --generate-line-info option 
Jan 16 01:22:51 Compiling  all_reduce.cu                       > /var/lib/jenkins/cpp-build/caffe2/build/nccl/obj/collectives/device/all_reduce_prod_f16.o 

See CircleCI build pytorch_windows_build (12/14)

Step: "Build" (full log | pattern match details)

..\c10\test\util\TypeIndex_test.cpp(113): error C2512: 'testing::AssertionResult': no appropriate default constructor available
..\c10\test\util\TypeIndex_test.cpp(109): error C2672: 'c10::util::get_fully_qualified_type_name': no matching overloaded function found
..\c10\test\util\TypeIndex_test.cpp(109): error C2974: 'c10::util::get_fully_qualified_type_name': invalid template argument for 'T', type expected
..\c10/util/TypeIndex.h(134): note: see declaration of 'c10::util::get_fully_qualified_type_name'
..\c10\test\util\TypeIndex_test.cpp(109): error C2228: left of '.find' must have class/struct/union
..\c10\test\util\TypeIndex_test.cpp(113): error C2065: 'Dummy': undeclared identifier
..\c10\test\util\TypeIndex_test.cpp(116): error C2672: 'c10::util::get_fully_qualified_type_name': no matching overloaded function found
..\c10\test\util\TypeIndex_test.cpp(116): error C2974: 'c10::util::get_fully_qualified_type_name': invalid template argument for 'T', type expected
..\c10/util/TypeIndex.h(134): note: see declaration of 'c10::util::get_fully_qualified_type_name'
..\c10\test\util\TypeIndex_test.cpp(116): error C2228: left of '.find' must have class/struct/union
..\c10\test\util\TypeIndex_test.cpp(116): error C2660: 'testing::internal::CmpHelperNE': function does not take 3 arguments
..\c10\test\util\TypeIndex_test.cpp(113): error C2512: 'testing::AssertionResult': no appropriate default constructor available
..\cmake\..\third_party\googletest\googletest\include\gtest/gtest.h(281): note: see declaration of 'testing::AssertionResult'
Microsoft (R) C/C++ Optimizing Compiler Version 19.11.25548.2 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

ocator.cpp.obj c10\cuda\CMakeFiles\c10_cuda.dir\impl\CUDAGuardImpl.cpp.obj c10\cuda\CMakeFiles\c10_cuda.dir\impl\CUDATest.cpp.obj  /out:bin\c10_cuda.dll /implib:LIB\c10_cuda.lib /pdb:bin\c10_cuda.pdb /dll /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /INCREMENTAL:NO  "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64\cudart_static.lib"  LIB\c10.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ." 
Microsoft (R) Incremental Linker Version 14.11.25548.2 
Copyright (C) Microsoft Corporation.  All rights reserved. 
 
   Creating library LIB\c10_cuda.lib and object LIB\c10_cuda.exp 
OWS /GR  /w /EHa /MP /bigobj /MD /O2 /Ob2 /DNDEBUG /w /EHa /MP /bigobj   /MP /wd4018 /wd4065 /wd4146 /wd4244 /wd4251 /wd4267 /wd4305 /wd4307 /wd4309 /wd4334 /wd4355 /wd4506 /wd4800 /wd4996 /bigobj /showIncludes /Fothird_party\protobuf\cmake\CMakeFiles\libprotobuf-lite.dir\__\src\google\protobuf\io\zero_copy_stream_impl_lite.cc.obj /Fdthird_party\protobuf\cmake\CMakeFiles\libprotobuf-lite.dir\libprotobuf-lite.pdb /FS -c ..\third_party\protobuf\src\google\protobuf\io\zero_copy_stream_impl_lite.cc 

See CircleCI build pytorch_macos_10_13_py3_build (13/14)

Step: "Build" (full log | pattern match details)

Jan 15 17:33:15 FAILED: bin/c10_typeid_test
Jan 15 17:33:14 [726/2987] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o 
Jan 15 17:33:14 [727/2987] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o 
Jan 15 17:33:14 [728/2987] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o 
Jan 15 17:33:14 [729/2987] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o 
Jan 15 17:33:14 [730/2987] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o 
Jan 15 17:33:14 [731/2987] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o 
Jan 15 17:33:15 [732/2987] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o 
Jan 15 17:33:15 [733/2987] Linking CXX shared library lib/libc10.dylib 
Jan 15 17:33:15 [734/2987] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
Jan 15 17:33:15 [735/2987] Linking CXX executable bin/c10_typeid_test 
Jan 15 17:33:15 FAILED: bin/c10_typeid_test  
no-missing-braces -Wno-c++14-extensions -Wno-constexpr-not-const -O3  -isysroot /Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -rdynamic c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o  -o bin/c10_typeid_test  -Wl,-rpath,/Users/distiller/project/build/lib lib/libc10.dylib lib/libgmock.a lib/libgtest.a lib/libgtest_main.a lib/libgtest.a && : 
Jan 15 17:33:15 Undefined symbols for architecture x86_64: 
Jan 15 17:33:15   "c10::util::detail::CompilerClashChecker::singleton()", referenced from: 
Jan 15 17:33:15       __GLOBAL__sub_I_typeid_test.cpp in typeid_test.cpp.o 
Jan 15 17:33:15 ld: symbol(s) not found for architecture x86_64 
Jan 15 17:33:15 clang: error: linker command failed with exit code 1 (use -v to see invocation) 
Jan 15 17:33:15 [736/2987] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o 
Jan 15 17:33:15 ninja: build stopped: subcommand failed. 
Jan 15 17:33:15 Traceback (most recent call last): 
Jan 15 17:33:15   File "setup.py", line 737, in <module> 

See CircleCI build pytorch_macos_10_13_cuda10_0_cudnn7_py3_build (14/14)

Step: "Build" (full log | pattern match details)

Jan 15 18:42:25 FAILED: bin/c10_typeid_test
Jan 15 18:42:24 [727/2987] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o 
Jan 15 18:42:24 [728/2987] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o 
Jan 15 18:42:25 [729/2987] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o 
Jan 15 18:42:25 [730/2987] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o 
Jan 15 18:42:25 [731/2987] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o 
Jan 15 18:42:25 [732/2987] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o 
Jan 15 18:42:25 [733/2987] Linking CXX shared library lib/libc10.dylib 
Jan 15 18:42:25 [734/2987] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o 
Jan 15 18:42:25 [735/2987] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o 
Jan 15 18:42:25 [736/2987] Linking CXX executable bin/c10_typeid_test 
Jan 15 18:42:25 FAILED: bin/c10_typeid_test  
no-missing-braces -Wno-c++14-extensions -Wno-constexpr-not-const -O3  -isysroot /Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -rdynamic c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o  -o bin/c10_typeid_test  -Wl,-rpath,/Users/distiller/project/build/lib lib/libc10.dylib lib/libgmock.a lib/libgtest.a lib/libgtest_main.a lib/libgtest.a && : 
Jan 15 18:42:25 Undefined symbols for architecture x86_64: 
Jan 15 18:42:25   "c10::util::detail::CompilerClashChecker::singleton()", referenced from: 
Jan 15 18:42:25       __GLOBAL__sub_I_typeid_test.cpp in typeid_test.cpp.o 
Jan 15 18:42:25 ld: symbol(s) not found for architecture x86_64 
Jan 15 18:42:25 clang: error: linker command failed with exit code 1 (use -v to see invocation) 
Jan 15 18:42:25 [737/2987] Linking CXX executable bin/c10_tempfile_test 
Jan 15 18:42:25 ninja: build stopped: subcommand failed. 
Jan 15 18:42:25 Traceback (most recent call last): 
Jan 15 18:42:25   File "setup.py", line 737, in <module> 

🚧 1 upstream failure recognized by patterns:

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


This comment was automatically generated by Dr. CI (expand for details).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 6 times.

@pytorchbot
Copy link
Collaborator

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.
Stale pull requests will automatically be closed 30 days after being marked Stale

@github-actions github-actions bot closed this May 12, 2022
@facebook-github-bot facebook-github-bot deleted the gh/smessmer/160/head branch June 11, 2022 14:19
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.

4 participants