++ DEFAULT_BAZEL_TARGETS='//tensorflow/... -//tensorflow/compiler/tf2tensorrt/... -//tensorflow/compiler/xrt/... -//tensorflow/core/tpu/... -//tensorflow/go/... -//tensorflow/java/... -//tensorflow/python/integration_testing/... -//tensorflow/tools/toolchains/...' + bazel --bazelrc=/usertools/aarch64.bazelrc test --config=sigbuild_local_cache --cache_test_results=no --test_timeout=500,900,-1,-1 --config=pycpp_filters --build_tests_only -- //tensorflow/... -//tensorflow/compiler/tf2tensorrt/... -//tensorflow/compiler/xrt/... -//tensorflow/core/tpu/... -//tensorflow/go/... -//tensorflow/java/... -//tensorflow/python/integration_testing/... -//tensorflow/tools/toolchains/... -//tensorflow/lite/... -//tensorflow/python/kernel_tests/proto:decode_proto_op_test -//tensorflow/python/util/protobuf:protobuf_compare_test -//tensorflow/tools/api/tests:api_compatibility_test Extracting Bazel installation... INFO: Invocation ID: 07956e52-a35b-46be-9bea-68b3391c41b5 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /tf/tensorflow/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'test' from /tf/tensorflow/.bazelrc: Inherited 'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils INFO: Reading rc options for 'test' from /usertools/aarch64.bazelrc: Inherited 'build' options: --action_env=CACHEBUSTER=20220325 --action_env PYTHON_BIN_PATH=/usr/local/bin/python3 --python_path=/usr/local/bin/python3 --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 --distinct_host_configuration=false --profile=/tf/pkg/profile.json.gz --crosstool_top=@ml2014_aarch64_config_aarch64//crosstool:toolchain --copt=-mtune=generic --copt=-march=armv8-a --copt=-O3 INFO: Reading rc options for 'test' from /usertools/aarch64.bazelrc: 'test' options: --crosstool_top=@ml2014_aarch64_config_aarch64//crosstool:toolchain --build_tests_only --keep_going --test_output=errors --verbose_failures=true --test_timeout=500,900,-1,-1 --test_summary=short INFO: Found applicable config definition build:short_logs in file /tf/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /tf/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:sigbuild_local_cache in file /usertools/aarch64.bazelrc: --disk_cache=/tf/cache INFO: Found applicable config definition test:pycpp_filters in file /usertools/aarch64.bazelrc: --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310 --build_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310 --test_lang_filters=cc,py --flaky_test_attempts=3 --test_size_filters=small,medium INFO: Found applicable config definition build:linux in file /tf/tensorflow/.bazelrc: --define=build_with_onednn_v2=true --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --copt=-Wswitch --copt=-Werror=switch --copt=-Wno-error=unused-but-set-variable --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --experimental_guard_against_concurrent_changes INFO: Found applicable config definition build:dynamic_kernels in file /tf/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 325 packages loaded currently loading: tensorflow/core/kernels ... (17 packages) Loading: 567 packages loaded currently loading: tensorflow/lite/testing Analyzing: 3778 targets (568 packages loaded) Analyzing: 3778 targets (568 packages loaded, 0 targets configured) Analyzing: 3778 targets (599 packages loaded, 20687 targets configured) Analyzing: 3778 targets (601 packages loaded, 28590 targets configured) Analyzing: 3778 targets (605 packages loaded, 29033 targets configured) Analyzing: 3778 targets (605 packages loaded, 29924 targets configured) Analyzing: 3778 targets (606 packages loaded, 33831 targets configured) Analyzing: 3778 targets (606 packages loaded, 33831 targets configured) INFO: Analyzed 3778 targets (616 packages loaded, 34301 targets configured). INFO: Found 3778 test targets... [0 / 11] [Prepa] BazelWorkspaceStatusAction stable-status.txt [13,314 / 17,226] Linking tensorflow/core/distributed_runtime/librpc_collective_executor_mgr.so; Downloading tensorflow/core/distributed_runtime/librpc_collective_executor_mgr.so, 256 KiB / 1018 KiB; 0s remote-cache ... (53 actions, 0 running) [20,272 / 20,724] [Prepa] Compiling tensorflow/compiler/mlir/tf2xla/api/v0/compile_mlir_util.cc ... (43 actions, 0 running) [36,244 / 36,483] Linking tensorflow/c/while_loop_test; 2s remote-cache ... (54 actions, 0 running) [38,554 / 38,617] 3 / 3778 tests; Testing //tensorflow/compiler/tests:tridiagonal_matmul_ops_test_cpu; 5s local ... (57 actions, 54 running) [38,594 / 38,654] 12 / 3778 tests; Testing //tensorflow/compiler/tests:tridiagonal_matmul_ops_test_cpu; 11s local ... (57 actions, 55 running) [39,472 / 39,531] 26 / 3778 tests; Compiling tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc; 19s local, remote-cache ... (56 actions running) ERROR: /tf/tensorflow/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/BUILD:57:11: Compiling tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc failed: (Exit 1): gcc failed: error executing command (cd /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow && \ exec env - \ CACHEBUSTER=20220325 \ PATH=/home/buildslave/.cache/bazelisk/downloads/bazelbuild/bazel-5.3.0-linux-arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ PWD=/proc/self/cwd \ PYTHON_BIN_PATH=/usr/local/bin/python3 \ TF2_BEHAVIOR=1 \ /dt10/usr/bin/gcc -MD -MF bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/_objs/MHLOTOSATransforms/legalize_mhlo.d '-frandom-seed=bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/_objs/MHLOTOSATransforms/legalize_mhlo.o' '-DLLVM_ON_UNIX=1' '-DHAVE_BACKTRACE=1' '-DBACKTRACE_HEADER=' '-DLTDL_SHLIB_EXT=".so"' '-DLLVM_PLUGIN_EXT=".so"' '-DLLVM_ENABLE_THREADS=1' '-DHAVE_DEREGISTER_FRAME=1' '-DHAVE_LIBPTHREAD=1' '-DHAVE_PTHREAD_GETNAME_NP=1' '-DHAVE_PTHREAD_H=1' '-DHAVE_PTHREAD_SETNAME_NP=1' '-DHAVE_REGISTER_FRAME=1' '-DHAVE_SETENV_R=1' '-DHAVE_STRERROR_R=1' '-DHAVE_SYSEXITS_H=1' '-DHAVE_UNISTD_H=1' -D_GNU_SOURCE '-DHAVE_LINK_H=1' '-DHAVE_MALLINFO=1' '-DHAVE_SBRK=1' '-DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1' '-DLLVM_NATIVE_ARCH="AArch64"' '-DLLVM_NATIVE_ASMPARSER=LLVMInitializeAArch64AsmParser' '-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeAArch64AsmPrinter' '-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeAArch64Disassembler' '-DLLVM_NATIVE_TARGET=LLVMInitializeAArch64Target' '-DLLVM_NATIVE_TARGETINFO=LLVMInitializeAArch64TargetInfo' '-DLLVM_NATIVE_TARGETMC=LLVMInitializeAArch64TargetMC' '-DLLVM_NATIVE_TARGETMCA=LLVMInitializeAArch64TargetMCA' '-DLLVM_HOST_TRIPLE="aarch64-unknown-linux-gnu"' '-DLLVM_DEFAULT_TARGET_TRIPLE="aarch64-unknown-linux-gnu"' '-DLLVM_VERSION_MAJOR=17' '-DLLVM_VERSION_MINOR=0' '-DLLVM_VERSION_PATCH=0' '-DLLVM_VERSION_STRING="17.0.0git"' -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS '-DBLAKE3_USE_NEON=0' -DBLAKE3_NO_AVX2 -DBLAKE3_NO_AVX512 -DBLAKE3_NO_SSE2 -DBLAKE3_NO_SSE41 -iquote . -iquote bazel-out/aarch64-opt/bin -iquote external/llvm-project -iquote bazel-out/aarch64-opt/bin/external/llvm-project -iquote external/llvm_terminfo -iquote bazel-out/aarch64-opt/bin/external/llvm_terminfo -iquote external/llvm_zlib -iquote bazel-out/aarch64-opt/bin/external/llvm_zlib -iquote external/stablehlo -iquote bazel-out/aarch64-opt/bin/external/stablehlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/_virtual_includes/MHLOTOSATransformsPassIncGen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/mlir_hlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/canonicalize_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/convert_op_folder -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinAttributeInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinAttributesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinDialectIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinLocationAttributesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinTypeInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BuiltinTypesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/CallOpInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/CastOpInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/FunctionInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/InferTypeOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/OpAsmInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/RegionKindInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SideEffectInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SymbolInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TensorEncodingIncGen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_ops_attrs_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_ops_common -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_ops_enums_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_ops_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_ops_pattern_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_ops_typedefs_inc_gen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithCanonicalizationIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithOpsInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/InferIntRangeInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/VectorInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ControlFlowInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LoopLikeInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/AsmParserTokenKinds -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/DialectUtilsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ViewLikeInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ComplexAttributesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ComplexBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ComplexOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ControlFlowOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/FuncIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LLVMDialectInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LLVMIntrinsicOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LLVMOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LLVMTypesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/CopyOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MemRefBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MemRefOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ShapedOpInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/DestinationStyleOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ValueBoundsOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/QuantOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/PDLOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/PDLTypesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/PDLInterpOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ConversionPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TransformsPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MLIRShapeCanonicalizationIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ShapeOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/AffineMemoryOpInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/AffineOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ParallelCombiningOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TensorOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TilingInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SparseTensorAttrDefsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SparseTensorOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SparseTensorTypesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/RuntimeVerifiableOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/base -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/base_attr_interfaces_inc_gen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/broadcast_utils -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/chlo_ops -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/chlo_attrs_inc_gen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/chlo_enums_inc_gen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/chlo_ops_inc_gen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/stablehlo_assembly_format -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/stablehlo_type_inference -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/mhlo_passes -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/chlo_legalize_to_hlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/chlo_legalize_to_hlo_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/map_chlo_to_hlo_op -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/AllocationOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BufferizableOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BufferizationBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BufferizationEnumsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BufferizationOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SCFDeviceMappingInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SCFIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/SCFPassIncGen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/hlo_legalize_to_stablehlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/map_stablehlo_to_hlo_op -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/stablehlo_ops -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/stablehlo_attrs_inc_gen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/stablehlo_enums_inc_gen -Ibazel-out/aarch64-opt/bin/external/stablehlo/_virtual_includes/stablehlo_ops_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/legalize_to_linalg_utils -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/map_mhlo_to_scalar_op -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MathBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MathOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MaskableOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MaskingOpInterfaceIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/VectorOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LinalgEnumsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LinalgInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LinalgOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LinalgStructuredOpsIncGen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/legalize_to_standard_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/lhlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/lhlo_ops_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/lhlo_ops_structs_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/lhlo_structured_interface -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/lhlo_structured_interface_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/lower_complex_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/map_hlo_to_lhlo_op -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/mhlo_pass_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/mhlo_rng_utils -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/mhlo_scatter_gather_utils -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/shape_component_analysis -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/stablehlo_legalize_to_hlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/thlo -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/gml_st -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/gml_st_ops_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/thlo_ops_inc_gen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/thlo_bufferizable_op_interface -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/type_conversion -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/BufferizationPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/FuncTransformsPassIncGen -Ibazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/_virtual_includes/unfuse_batch_norm -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/AffinePassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/DLTIBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/GPUBaseIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/GPUOpsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/LinalgPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/MemRefPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/NVGPUIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/NVGPUPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TensorPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/VectorEnumsIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/VectorPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/X86VectorIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/ShapeTransformsPassIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TosaDialectIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TosaInterfacesIncGen -Ibazel-out/aarch64-opt/bin/external/llvm-project/mlir/_virtual_includes/TosaPassIncGen -isystem tensorflow/compiler/xla/mlir_hlo/tosa/transforms -isystem bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms -isystem external/llvm-project/llvm/include -isystem bazel-out/aarch64-opt/bin/external/llvm-project/llvm/include -isystem external/llvm-project/mlir/include -isystem bazel-out/aarch64-opt/bin/external/llvm-project/mlir/include -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIE -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections -Wno-all -Wno-extra -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-array-bounds -Wunused-result '-Werror=unused-result' -Wswitch '-Werror=switch' '-Wno-error=unused-but-set-variable' -DAUTOLOAD_DYNAMIC_KERNELS '-mtune=generic' '-march=armv8-a' -O3 '-std=c++17' '--sysroot=/dt10' -c tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc -o bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/_objs/MHLOTOSATransforms/legalize_mhlo.o) # Configuration: 340eb9937b978f7201d5e96c7f9b85e8968ff509e1b1b16e764b01b4e253d0e4 # Execution platform: @local_execution_config_platform//:platform In file included from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc:33: bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc: In function 'mlir::Operation* onesLikePDLFn(mlir::PatternRewriter&, mlir::Operation*, mlir::Type)': bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc:21:36: error: 'cast' was not declared in this scope 21 | mlir::DenseElementsAttr::get(cast(type), outputValue)); | ^~~~ bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc:21:36: note: suggested alternatives: In file included from external/llvm-project/mlir/include/mlir/Support/LLVM.h:24, from external/llvm-project/mlir/include/mlir/IR/MLIRContext.h:12, from external/llvm-project/mlir/include/mlir/IR/DialectRegistry.h:16, from external/llvm-project/mlir/include/mlir/IR/Dialect.h:16, from external/llvm-project/mlir/include/mlir/IR/OpDefinition.h:22, from external/llvm-project/mlir/include/mlir/IR/Builders.h:12, from external/llvm-project/mlir/include/mlir/Dialect/Func/IR/FuncOps.h:12, from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/./passes.h:21, from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc:19: external/llvm-project/llvm/include/llvm/Support/Casting.h:583:37: note: 'llvm::cast' 583 | [[nodiscard]] inline decltype(auto) cast(std::unique_ptr &&Val) { | ^~~~ external/llvm-project/llvm/include/llvm/Support/Casting.h:565:37: note: 'llvm::cast' 565 | [[nodiscard]] inline decltype(auto) cast(const From &Val) { | ^~~~ In file included from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc:33: bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc:21:57: error: expected primary-expression before '>' token 21 | mlir::DenseElementsAttr::get(cast(type), outputValue)); | ^ In file included from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc:33: bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc: In function 'mlir::Operation* positiveFloatInfinityLikePDLFn(mlir::PatternRewriter&, mlir::Operation*, mlir::Type)': bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc:35:36: error: 'cast' was not declared in this scope 35 | mlir::DenseElementsAttr::get(cast(type), outputValue)); | ^~~~ bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc:35:36: note: suggested alternatives: In file included from external/llvm-project/mlir/include/mlir/Support/LLVM.h:24, from external/llvm-project/mlir/include/mlir/IR/MLIRContext.h:12, from external/llvm-project/mlir/include/mlir/IR/DialectRegistry.h:16, from external/llvm-project/mlir/include/mlir/IR/Dialect.h:16, from external/llvm-project/mlir/include/mlir/IR/OpDefinition.h:22, from external/llvm-project/mlir/include/mlir/IR/Builders.h:12, from external/llvm-project/mlir/include/mlir/Dialect/Func/IR/FuncOps.h:12, from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/./passes.h:21, from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc:19: external/llvm-project/llvm/include/llvm/Support/Casting.h:583:37: note: 'llvm::cast' 583 | [[nodiscard]] inline decltype(auto) cast(std::unique_ptr &&Val) { | ^~~~ external/llvm-project/llvm/include/llvm/Support/Casting.h:565:37: note: 'llvm::cast' 565 | [[nodiscard]] inline decltype(auto) cast(const From &Val) { | ^~~~ In file included from tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.cc:33: bazel-out/aarch64-opt/bin/tensorflow/compiler/xla/mlir_hlo/tosa/transforms/legalize_mhlo/legalize_mhlo.pdll.h.inc:35:57: error: expected primary-expression before '>' token 35 | mlir::DenseElementsAttr::get(cast(type), outputValue)); | ^ [39,774 / 39,830] 54 / 3778 tests, 2 failed; Testing //tensorflow/dtensor/python/tests:device_test_cpu; 28s local ... (56 actions, 54 running) [40,206 / 40,262] 74 / 3778 tests, 2 failed; Testing //tensorflow/dtensor/python/tests:device_test_cpu; 38s local ... (55 actions, 54 running) [41,640 / 41,714] 104 / 3778 tests, 2 failed; Testing //tensorflow/python/data/kernel_tests:io_test; 30s local ... (63 actions, 53 running) [42,188 / 42,265] 153 / 3778 tests, 2 failed; Testing //tensorflow/python/data/kernel_tests:io_test; 44s local ... (65 actions, 63 running) [43,022 / 43,080] 225 / 3778 tests, 2 failed; Testing //tensorflow/compiler/xla/pjrt:transpose_test; 37s local ... (60 actions, 58 running) [43,285 / 43,366] 285 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/linalg:linear_operator_block_diag_test_cpu [47s (5 actions)] ... (56 actions running) [43,369 / 43,431] 298 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/random:stateless_random_ops_test_cpu [50s (5 actions)] ... (56 actions, 55 running) [44,031 / 44,101] 361 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/random:stateless_random_ops_test_cpu [74s (5 actions)] ... (57 actions, 56 running) [44,662 / 44,727] 417 / 3778 tests, 2 failed; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 48s local, remote-cache ... (56 actions, 52 running) [45,607 / 45,671] 504 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/math_ops:tensordot_op_test_cpu [51s (5 actions)] ... (56 actions, 55 running) [46,147 / 46,206] 556 / 3778 tests, 2 failed; Testing //tensorflow/python/data/experimental/kernel_tests:parse_example_dataset_test [33s (2 actions)] ... (56 actions, 51 running) [47,447 / 47,525] 763 / 3778 tests, 2 failed; Testing //tensorflow/python/distribute:multi_process_runner_test_2gpu [51s (4 actions)] ... (56 actions, 55 running) [48,697 / 48,753] 939 / 3778 tests, 2 failed; Testing //tensorflow/python/distribute:multi_process_runner_test_2gpu (shard 5 of 12); 100s local ... (56 actions running) [49,989 / 50,053] 1127 / 3778 tests, 3 failed; Testing //tensorflow/python/distribute:multi_process_runner_test_2gpu (shard 5 of 12); 156s local ... (56 actions, 55 running) [50,888 / 50,951] 1236 / 3778 tests, 3 failed; Testing //tensorflow/python/distribute:multi_process_runner_test_2gpu (shard 5 of 12); 220s local ... (57 actions, 56 running) [51,620 / 51,705] 1343 / 3778 tests, 3 failed; Testing //tensorflow/python/autograph/tests:loop_basic_test; 49s local ... (56 actions, 55 running) [53,203 / 53,261] 1729 / 3778 tests, 4 failed; Testing //tensorflow/python/kernel_tests/nn_ops:bias_op_d9m_test_cpu (shard 1 of 2); 58s local ... (56 actions, 53 running) [55,242 / 55,314] 2094 / 3778 tests, 4 failed; Testing //tensorflow/python/kernel_tests/sparse_ops:sparse_xent_op_d9m_test_cpu; 79s local ... (56 actions running) [56,470 / 56,526] 2294 / 3778 tests, 5 failed; Testing //tensorflow/python/ops/ragged:ragged_dispatch_test; 142s local ... (56 actions running) [58,266 / 58,322] 2714 / 3778 tests, 5 failed; Testing //tensorflow/python/kernel_tests/linalg:matrix_triangular_solve_op_test_cpu (shard 1 of 3); 71s local ... (56 actions running) [59,686 / 59,742] 3001 / 3778 tests, 5 failed; Testing //tensorflow/python/kernel_tests/linalg:matrix_triangular_solve_op_test_cpu (shard 1 of 3); 221s local ... (57 actions running) [62,212 / 62,292] 3459 / 3778 tests, 5 failed; Testing //tensorflow/python/kernel_tests/linalg:matrix_triangular_solve_op_test_cpu (shard 1 of 3); 392s local ... (56 actions running) [63,466 / 63,469] 3775 / 3778 tests, 5 failed; Testing //tensorflow/python/kernel_tests/nn_ops:xent_op_d9m_test_cpu; 134s local ... (3 actions running) INFO: Elapsed time: 1652.844s, Critical Path: 556.72s INFO: 39547 processes: 13971 disk cache hit, 18044 internal, 7532 local. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully