++ 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: 32bd64c9-e6c6-4a4f-ba8a-07fced23a9cf 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 currently loading: tensorflow/python/kernel_tests/proto 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, 28582 targets configured) Analyzing: 3778 targets (605 packages loaded, 28746 targets configured) Analyzing: 3778 targets (605 packages loaded, 29915 targets configured) Analyzing: 3778 targets (606 packages loaded, 33822 targets configured) Analyzing: 3778 targets (606 packages loaded, 33822 targets configured) INFO: Analyzed 3778 targets (616 packages loaded, 34292 targets configured). INFO: Found 3778 test targets... [0 / 11] [Prepa] BazelWorkspaceStatusAction stable-status.txt [14,312 / 15,763] [Prepa] Compiling tensorflow/core/kernels/cast_op_impl_int32.cc ... (40 actions, 0 running) [26,359 / 26,495] 1 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 0s local, remote-cache ... (5 actions, 2 running) [38,973 / 39,042] 32 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 5s local, remote-cache ... (56 actions, 35 running) [39,448 / 39,514] 159 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 11s local, remote-cache ... (54 actions, 52 running) [40,530 / 40,620] 228 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 18s local, remote-cache ... (61 actions, 58 running) [40,766 / 40,846] 255 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 26s local, remote-cache ... (63 actions running) [41,072 / 41,144] 275 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 36s local, remote-cache ... (62 actions, 61 running) [41,341 / 41,417] 300 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 46s local, remote-cache ... (62 actions, 61 running) [41,613 / 41,684] 321 / 3778 tests; Compiling tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc; 59s local, remote-cache ... (61 actions, 58 running) [41,802 / 41,867] 341 / 3778 tests; Testing //tensorflow/python/kernel_tests/nn_ops:ctc_loss_op_test_cpu; 54s local ... (58 actions, 57 running) [41,975 / 42,038] 367 / 3778 tests; Testing //tensorflow/python/eager:forwardprop_test_cpu (shard 4 of 5); 49s local ... (57 actions running) [42,095 / 42,155] 387 / 3778 tests; Testing //tensorflow/python/eager:forwardprop_test_cpu (shard 4 of 5); 67s local ... (56 actions, 55 running) [42,716 / 42,814] 437 / 3778 tests; Testing //tensorflow/python/eager:forwardprop_test_cpu (shard 4 of 5); 89s local ... (56 actions running) [43,481 / 43,537] 500 / 3778 tests; Testing //tensorflow/python/distribute:multi_process_runner_test_cpu [89s (2 actions)] ... (56 actions, 54 running) [45,943 / 46,000] 641 / 3778 tests; Testing //tensorflow/python/distribute:multi_process_runner_test_cpu (shard 5 of 12); 118s local ... (56 actions, 55 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)); | ^ [47,459 / 47,524] 853 / 3778 tests, 1 failed; Testing //tensorflow/python/distribute:multi_process_runner_test_cpu (shard 5 of 12); 151s local ... (56 actions running) [48,570 / 48,631] 1046 / 3778 tests, 1 failed; Testing //tensorflow/python/distribute:multi_process_runner_test_cpu (shard 5 of 12); 189s local ... (56 actions, 55 running) [49,304 / 49,409] 1181 / 3778 tests, 1 failed; Testing //tensorflow/compiler/tests:matrix_diag_ops_test_cpu_mlir_bridge_test [39s (2 actions)] ... (57 actions running) [50,113 / 50,169] 1367 / 3778 tests, 2 failed; Testing //tensorflow/compiler/tests:special_math_test_cpu (shard 2 of 5); 63s local ... (56 actions running) [50,876 / 50,934] 1504 / 3778 tests, 2 failed; Testing //tensorflow/python/ops/ragged:ragged_getitem_test [33s (4 actions)] ... (56 actions running) [51,499 / 51,557] 1593 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/linalg:linalg_grad_test_cpu (shard 18 of 20); 94s local ... (57 actions running) [52,370 / 52,473] 1748 / 3778 tests, 2 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 82s local ... (56 actions running) [53,841 / 53,899] 1928 / 3778 tests, 2 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 170s local ... (55 actions, 54 running) [55,563 / 55,620] 2324 / 3778 tests, 3 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 272s local ... (56 actions, 55 running) [56,756 / 56,822] 2552 / 3778 tests, 3 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 388s local ... (57 actions, 56 running) [57,474 / 57,542] 2704 / 3778 tests, 3 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 521s local ... (56 actions running) [60,407 / 60,464] 3204 / 3778 tests, 4 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 675s local ... (56 actions, 53 running) [62,405 / 62,461] 3543 / 3778 tests, 5 failed; Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8); 852s local ... (56 actions running) FLAKY: //tensorflow/python/distribute/failure_handling:failure_handler_test (Summary) /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/python/distribute/failure_handling/failure_handler_test/shard_8_of_8/test_attempts/attempt_1.log INFO: From Testing //tensorflow/python/distribute/failure_handling:failure_handler_test (shard 8 of 8): INFO: Elapsed time: 1526.545s, Critical Path: 934.77s INFO: 39531 processes: 14761 disk cache hit, 18037 internal, 6733 local. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully