++ 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: df9cbf8e-f82a-4388-a969-96297dba43ce 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: 0 packages loaded currently loading: tensorflow/python/util/protobuf Loading: 888 packages loaded currently loading: tensorflow/lite/testing Analyzing: 3778 targets (889 packages loaded) Analyzing: 3778 targets (889 packages loaded, 0 targets configured) Analyzing: 3778 targets (1048 packages loaded, 26229 targets configured) Analyzing: 3778 targets (1054 packages loaded, 43278 targets configured) Analyzing: 3778 targets (1058 packages loaded, 44612 targets configured) Analyzing: 3778 targets (1058 packages loaded, 44612 targets configured) Analyzing: 3778 targets (1059 packages loaded, 48519 targets configured) Analyzing: 3778 targets (1059 packages loaded, 48519 targets configured) INFO: Analyzed 3778 targets (1069 packages loaded, 48989 targets configured). INFO: Found 3778 test targets... [0 / 11] [Prepa] BazelWorkspaceStatusAction stable-status.txt [11,041 / 16,131] Compiling tools/cpp/runfiles/runfiles.cc; 2s local, remote-cache ... (111 actions, 110 running) [11,620 / 16,131] Compiling src/benchmark.cc; 7s local, remote-cache ... (111 actions, 110 running) [11,649 / 16,131] Compiling googletest/src/gtest.cc; 12s local, remote-cache ... (111 actions, 110 running) [11,775 / 16,131] Compiling googletest/src/gtest.cc; 19s local, remote-cache ... (111 actions, 110 running) [11,873 / 16,131] Compiling tensorflow/compiler/xla/service/cpu/runtime_single_threaded_matmul.cc; 26s local, remote-cache ... (111 actions, 110 running) [11,912 / 16,131] Compiling tensorflow/compiler/xla/service/cpu/runtime_single_threaded_matmul.cc; 35s local, remote-cache ... (111 actions, 110 running) [12,322 / 16,131] Compiling tensorflow/compiler/xla/service/cpu/runtime_single_threaded_matmul.cc; 46s local, remote-cache ... (112 actions running) [13,303 / 16,131] Compiling tensorflow/compiler/xla/service/cpu/runtime_single_threaded_matmul.cc; 57s local, remote-cache ... (111 actions, 110 running) [13,468 / 16,131] Compiling tensorflow/compiler/xla/service/cpu/runtime_single_threaded_matmul.cc; 71s local, remote-cache ... (112 actions running) [13,677 / 16,131] Compiling tensorflow/compiler/xla/service/cpu/runtime_single_threaded_matmul.cc; 86s local, remote-cache ... (112 actions running) [13,719 / 16,131] Compiling tensorflow/core/kernels/training_ops.cc; 86s local, remote-cache ... (112 actions running) [13,754 / 16,131] Compiling tensorflow/core/kernels/training_ops.cc; 107s local, remote-cache ... (112 actions running) [13,838 / 16,131] Compiling tensorflow/core/kernels/training_ops.cc; 130s local, remote-cache ... (112 actions running) [13,909 / 16,131] Compiling tensorflow/core/kernels/training_ops.cc; 157s local, remote-cache ... (112 actions running) [14,008 / 16,131] Compiling tensorflow/core/kernels/training_ops.cc; 188s local, remote-cache ... (112 actions running) [14,066 / 16,131] Compiling tensorflow/core/kernels/pad_op.cc; 148s local, remote-cache ... (112 actions running) [14,147 / 16,131] Compiling tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc; 157s local, remote-cache ... (112 actions running) [14,265 / 16,131] Compiling tensorflow/core/kernels/linalg/matrix_square_root_op.cc; 166s local, remote-cache ... (112 actions running) [15,065 / 16,131] Compiling tensorflow/core/kernels/linalg/matrix_square_root_op.cc; 220s local, remote-cache ... (112 actions running) [15,430 / 16,131] Compiling tensorflow/core/kernels/linalg/matrix_square_root_op.cc; 282s local, remote-cache ... (112 actions running) [15,517 / 16,131] Compiling tensorflow/core/kernels/cwise_op_select.cc; 308s local, remote-cache ... (112 actions running) [30,307 / 30,556] Compiling tensorflow/core/kernels/matmul_op_real.cc; 312s local, remote-cache ... (111 actions, 110 running) [30,834 / 31,024] Compiling tensorflow/core/kernels/matmul_op_real.cc; 407s local, remote-cache ... (112 actions running) [31,377 / 31,497] Compiling mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp; 199s local, remote-cache ... (112 actions running) [32,210 / 32,340] Compiling tensorflow/compiler/xla/mlir_hlo/mhlo/IR/hlo_ops.cc; 128s local, remote-cache ... (112 actions running) [32,822 / 32,978] Compiling llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp; 33s local, remote-cache ... (112 actions running) [34,102 / 34,382] Compiling tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc; 79s local, remote-cache ... (112 actions running) [35,227 / 35,781] Compiling tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc; 188s local, remote-cache ... (112 actions running) [36,403 / 36,628] Compiling tensorflow/compiler/mlir/lite/ir/tfl_ops.cc; 240s local, remote-cache ... (112 actions running) [39,359 / 39,467] 24 / 3778 tests; Compiling tensorflow/compiler/xla/service/cpu/runtime_matmul.cc; 252s local, remote-cache ... (91 actions running) [43,089 / 43,163] 258 / 3778 tests; Linking tensorflow/compiler/mlir/lite/tf_tfl_translate; 180s local, remote-cache ... (112 actions running) [46,591 / 46,686] 543 / 3778 tests; Compiling tensorflow/core/kernels/conv_ops_test.cc; 199s local, remote-cache ... (99 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)); | ^ [51,127 / 51,214] 1293 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/nn_ops:xent_op_d9m_test_cpu; 115s local ... (81 actions running) [55,371 / 55,466] 1930 / 3778 tests, 2 failed; Testing //tensorflow/python/kernel_tests/nn_ops:conv2d_backprop_filter_grad_test_cpu (shard 1 of 2); 33s local ... (86 actions running) [60,447 / 60,537] 3122 / 3778 tests, 5 failed; Compiling tensorflow/compiler/xla/service/cpu/runtime_matmul.cc; 352s local, remote-cache ... (86 actions running) FAIL: //tensorflow/python/data/experimental/kernel_tests/service:local_workers_test (shard 19 of 24) (see /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/python/data/experimental/kernel_tests/service/local_workers_test/shard_19_of_24/test_attempts/attempt_1.log) FLAKY: //tensorflow/python/data/experimental/kernel_tests/service:local_workers_test (Summary) /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/python/data/experimental/kernel_tests/service/local_workers_test/shard_19_of_24/test_attempts/attempt_1.log INFO: From Testing //tensorflow/python/data/experimental/kernel_tests/service:local_workers_test (shard 19 of 24): INFO: Elapsed time: 4427.591s, Critical Path: 716.67s INFO: 39547 processes: 18043 internal, 21504 local. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully