See https://ci.linaro.org/job/ldcg-python-manylinux-tensorflow-onednn-nightly/50/display/redirect
Changes:
------------------------------------------ [...truncated 33.16 KB...] TASK [tensorflow : Use rolling bazel release instead of last_downstream_green] *** Friday 13 May 2022 03:09:28 +0000 (0:00:00.474) 0:12:54.336 ************ ok: [localhost]
TASK [tensorflow : Create linklibs shell script] ******************************* Friday 13 May 2022 03:09:29 +0000 (0:00:00.461) 0:12:54.797 ************ changed: [localhost]
TASK [tensorflow : create readme file about unit tests] ************************ Friday 13 May 2022 03:09:29 +0000 (0:00:00.463) 0:12:55.261 ************ changed: [localhost]
TASK [tensorflow : add to the copied files] ************************************ Friday 13 May 2022 03:09:30 +0000 (0:00:00.473) 0:12:55.734 ************ changed: [localhost]
TASK [tensorflow : add to the long_description in setup.py] ******************** Friday 13 May 2022 03:09:30 +0000 (0:00:00.265) 0:12:55.999 ************ changed: [localhost]
TASK [tensorflow : Get python site-packages location] ************************** Friday 13 May 2022 03:09:30 +0000 (0:00:00.469) 0:12:56.469 ************ changed: [localhost]
TASK [tensorflow : Configure default TensorFlow settings] ********************** Friday 13 May 2022 03:09:31 +0000 (0:00:00.626) 0:12:57.095 ************ changed: [localhost]
TASK [tensorflow : Set Python bin path] **************************************** Friday 13 May 2022 03:09:32 +0000 (0:00:00.566) 0:12:57.662 ************ changed: [localhost]
TASK [tensorflow : build TensorFlow-oneDNN-ACL git for cp37-cp37m] ************* Friday 13 May 2022 03:09:32 +0000 (0:00:00.570) 0:12:58.232 ************ fatal: [localhost]: FAILED! => changed=true cmd: |- set -xe; source /tmp/workspace/venv-cp37-cp37m/bin/activate; source ./linklibs.sh; bazel clean --expunge; bazel build --config=nonccl --config=mkl_aarch64 --copt="-fopenmp" --linkopt="-lgomp" --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3" \ //tensorflow/tools/pip_package:build_pip_package --verbose_failures; mkdir tensorflow-pkg; bazel-bin/tensorflow/tools/pip_package/build_pip_package --cpu --project_name tensorflow_aarch64 ./tensorflow-pkg delta: '0:02:16.227481' end: '2022-05-13 03:11:49.061848' msg: non-zero return code rc: 1 start: '2022-05-13 03:09:32.834367' stderr: |- + source /tmp/workspace/venv-cp37-cp37m/bin/activate ++ deactivate nondestructive ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/workspace/venv-cp37-cp37m ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++ PATH=/tmp/workspace/venv-cp37-cp37m/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' 'x(venv-cp37-cp37m) ' '!=' x ']' ++ PS1='(venv-cp37-cp37m) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + source ./linklibs.sh + bazel clean --expunge 2022/05/13 03:09:33 Downloading https://releases.bazel.build/5.1.1/release/bazel-5.1.1-linux-arm64... Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'clean' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'clean' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: Inherited 'build' options: --define framework_shared_object=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=true INFO: Reading rc options for 'clean' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.tf_configure.bazelrc: Inherited 'build' options: --action_env PYTHON_BIN_PATH=/tmp/workspace/venv-cp37-cp37m/bin/python3 --action_env PYTHON_LIB_PATH=/tmp/workspace/venv-cp37-cp37m/lib/python3.7/site-packages --python_path=/tmp/workspace/venv-cp37-cp37m/bin/python3 INFO: Reading rc options for 'clean' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: Inherited 'build' options: --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/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/common,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: Found applicable config definition build:short_logs in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:linux in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes INFO: Found applicable config definition build:dynamic_kernels in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes. + bazel build --config=nonccl --config=mkl_aarch64 --copt=-fopenmp --linkopt=-lgomp --copt=-mtune=generic --copt=-march=armv8-a --copt=-O3 //tensorflow/tools/pip_package:build_pip_package --verbose_failures Starting local Bazel server and connecting to it... INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: 'build' options: --define framework_shared_object=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=true INFO: Reading rc options for 'build' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.tf_configure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=/tmp/workspace/venv-cp37-cp37m/bin/python3 --action_env PYTHON_LIB_PATH=/tmp/workspace/venv-cp37-cp37m/lib/python3.7/site-packages --python_path=/tmp/workspace/venv-cp37-cp37m/bin/python3 INFO: Reading rc options for 'build' from /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: 'build' options: --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/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/common,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: Found applicable config definition build:short_logs in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:nonccl in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --define=no_nccl_support=true INFO: Found applicable config definition build:mkl_aarch64 in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --define=build_with_mkl_aarch64=true --define=build_with_openmp=true -c opt INFO: Found applicable config definition build:linux in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes INFO: Found applicable config definition build:dynamic_kernels in file /tmp/workspace/tensorflow-oneDNN-ACL-git/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/r... failed: class java.io.FileNotFoundException GET returned 404 Not Found Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded INFO: Repository llvm-raw instantiated at: /tmp/workspace/tensorflow-oneDNN-ACL-git/WORKSPACE:11:14: in <toplevel> /tmp/workspace/tensorflow-oneDNN-ACL-git/tensorflow/workspace3.bzl:41:9: in workspace /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/llvm/workspace.bzl:10:20: in repo /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/repo.bzl:128:21: in tf_http_archive Repository rule _tf_http_archive defined at: /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/repo.bzl:81:35: in <toplevel> INFO: Repository 'llvm-raw' used the following cache hits instead of downloading the corresponding file. * Hash 'c0528bf8509549be01f9f82c4c7fa3e0618cfbfc4ae08d1f6cdc1a8773925318' for https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-pr... If the definition of 'llvm-raw' was updated, verify that the hashes were also updated. ERROR: An error occurred during the fetch of repository 'llvm-raw': Traceback (most recent call last): File "/tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/repo.bzl", line 75, column 30, in _tf_http_archive_impl ctx.patch(patch_file, strip = 1) Error in patch: Error applying patch /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/llvm/macos_build_fix.patch: Incorrect Chunk: the chunk content doesn't match the target **Original Position**: 82
**Original Content**: # TODO: We should split out host vs. target here. llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:windows": native_arch_defines("X86", "x86_64-pc-win32"), "@bazel_tools//src/conditions:darwin_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"),
**Revised Content**: # TODO: We should split out host vs. target here. llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:windows": native_arch_defines("X86", "x86_64-pc-win32"), "//llvm:macos_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"), ERROR: /tmp/workspace/tensorflow-oneDNN-ACL-git/WORKSPACE:11:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last): File "/tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/repo.bzl", line 75, column 30, in _tf_http_archive_impl ctx.patch(patch_file, strip = 1) Error in patch: Error applying patch /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/llvm/macos_build_fix.patch: Incorrect Chunk: the chunk content doesn't match the target **Original Position**: 82
**Original Content**: # TODO: We should split out host vs. target here. llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:windows": native_arch_defines("X86", "x86_64-pc-win32"), "@bazel_tools//src/conditions:darwin_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"),
**Revised Content**: # TODO: We should split out host vs. target here. llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:windows": native_arch_defines("X86", "x86_64-pc-win32"), "//llvm:macos_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"), ERROR: no such package '@llvm-raw//utils/bazel': Error applying patch /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/llvm/macos_build_fix.patch: Incorrect Chunk: the chunk content doesn't match the target **Original Position**: 82
**Original Content**: # TODO: We should split out host vs. target here. llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:windows": native_arch_defines("X86", "x86_64-pc-win32"), "@bazel_tools//src/conditions:darwin_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"),
**Revised Content**: # TODO: We should split out host vs. target here. llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:windows": native_arch_defines("X86", "x86_64-pc-win32"), "//llvm:macos_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"), INFO: Elapsed time: 108.558s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded) stderr_lines: <omitted> stdout: '' stdout_lines: <omitted>
PLAY RECAP ********************************************************************* localhost : ok=51 changed=31 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0
Friday 13 May 2022 03:11:49 +0000 (0:02:16.537) 0:15:14.769 ************ =============================================================================== python : build wheels of Python package h5py~=3.6.0 ------------------- 266.79s python : build wheels of Python package Keras_Applications ------------ 264.83s tensorflow : build TensorFlow-oneDNN-ACL git for cp37-cp37m ----------- 136.54s install bazel build requirements --------------------------------------- 48.34s tensorflow : populate cp37-cp37m virtualenv ---------------------------- 33.80s python : install numpy build requirements ------------------------------ 33.35s fetch tensorflow-oneDNN-ACL from git ----------------------------------- 21.94s python : install h5py build requirements ------------------------------- 18.56s python : create cp37-cp37m virtualenv ---------------------------------- 12.11s install tensorflow build requirements ---------------------------------- 10.46s python : build wheels of Python package scipy --------------------------- 7.83s python : install scipy-1.7.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python package --- 7.47s python : build wheels of Python package grpcio -------------------------- 4.82s tensorflow : remove TensorFlow-oneDNN-ACL git sources from previous build --- 4.69s Gathering Facts --------------------------------------------------------- 4.59s python : build wheels of Python package Keras_Preprocessing ------------- 4.43s python : build wheels of Python package numpy>=1.20 --------------------- 4.35s python : enable EPEL ---------------------------------------------------- 3.66s bazel : fetch Bazelisk v1.11.0 binary from Github ----------------------- 3.32s python : install h5py-3.6.0-cp37-cp37m-linux_aarch64.whl Python package --- 2.94s Build step 'Execute shell' marked build as failure