See https://ci.linaro.org/job/ldcg-python-manylinux-tensorflow-onednn-nightly/129/display/redirect
Changes:
------------------------------------------ [...truncated 44.33 KB...]
TASK [tensorflow : use nightly package requirements] *************************** Wednesday 27 July 2022 03:59:31 +0000 (0:00:00.057) 2:02:57.629 ******** changed: [localhost]
TASK [tensorflow : Use rolling bazel release instead of last_downstream_green] *** Wednesday 27 July 2022 03:59:32 +0000 (0:00:00.309) 2:02:57.939 ******** ok: [localhost]
TASK [tensorflow : Create linklibs shell script] ******************************* Wednesday 27 July 2022 03:59:32 +0000 (0:00:00.301) 2:02:58.240 ******** changed: [localhost]
TASK [tensorflow : create readme file about unit tests] ************************ Wednesday 27 July 2022 03:59:33 +0000 (0:00:00.536) 2:02:58.777 ******** changed: [localhost]
TASK [tensorflow : add to the copied files] ************************************ Wednesday 27 July 2022 03:59:33 +0000 (0:00:00.540) 2:02:59.317 ******** changed: [localhost]
TASK [tensorflow : add to the long_description in setup.py] ******************** Wednesday 27 July 2022 03:59:33 +0000 (0:00:00.310) 2:02:59.627 ******** changed: [localhost]
TASK [tensorflow : Get python site-packages location] ************************** Wednesday 27 July 2022 03:59:34 +0000 (0:00:00.306) 2:02:59.933 ******** changed: [localhost]
TASK [tensorflow : Configure default TensorFlow settings] ********************** Wednesday 27 July 2022 03:59:34 +0000 (0:00:00.666) 2:03:00.600 ******** changed: [localhost]
TASK [tensorflow : Set Python bin path] **************************************** Wednesday 27 July 2022 03:59:35 +0000 (0:00:00.642) 2:03:01.242 ******** changed: [localhost]
TASK [tensorflow : build TensorFlow-oneDNN-ACL git for cp38-cp38] ************** Wednesday 27 July 2022 03:59:36 +0000 (0:00:00.645) 2:03:01.888 ******** fatal: [localhost]: FAILED! => changed=true cmd: |- set -xe; source /tmp/workspace/venv-cp38-cp38/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:04:05.478514' end: '2022-07-27 04:03:41.890620' msg: non-zero return code rc: 1 start: '2022-07-27 03:59:36.412106' stderr: |- + source /tmp/workspace/venv-cp38-cp38/bin/activate ++ deactivate nondestructive ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/workspace/venv-cp38-cp38 ++ 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-cp38-cp38/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-cp38-cp38) ' '!=' x ']' ++ PS1='(venv-cp38-cp38) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + source ./linklibs.sh + bazel clean --expunge 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=false 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-cp38-cp38/bin/python3 --action_env PYTHON_LIB_PATH=/tmp/workspace/venv-cp38-cp38/lib/python3.8/site-packages --python_path=/tmp/workspace/venv-cp38-cp38/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/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/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++17 --host_cxxopt=-std=c++17 --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=false 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-cp38-cp38/bin/python3 --action_env PYTHON_LIB_PATH=/tmp/workspace/venv-cp38-cp38/lib/python3.8/site-packages --python_path=/tmp/workspace/venv-cp38-cp38/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/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/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 --define=build_with_acl=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++17 --host_cxxopt=-std=c++17 --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 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:136:21: in tf_http_archive Repository rule _tf_http_archive defined at: /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/repo.bzl:89:35: in <toplevel> WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-pr... failed: class java.io.FileNotFoundException GET returned 404 Not Found 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 83, 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/posix_memalign.patch: Incorrect Chunk: the chunk content doesn't match the target **Original Position**: 127
**Original Content**: extern "C" void *_mlir_aligned_alloc(uint64_t alignment, uint64_t size) { #ifdef _WIN32 return _aligned_malloc(size, alignment); #else return aligned_alloc(alignment, size); #endif
**Revised Content**: extern "C" void *_mlir_aligned_alloc(uint64_t alignment, uint64_t size) { #ifdef _WIN32 return _aligned_malloc(size, alignment); #elif defined(__APPLE__) // aligned_alloc was added in MacOS 10.15. Fall back to posix_memalign to also // support older versions. void *result = nullptr; (void)::posix_memalign(&result, alignment, size); return result; #else return aligned_alloc(alignment, size); #endif 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 83, 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/posix_memalign.patch: Incorrect Chunk: the chunk content doesn't match the target **Original Position**: 127
**Original Content**: extern "C" void *_mlir_aligned_alloc(uint64_t alignment, uint64_t size) { #ifdef _WIN32 return _aligned_malloc(size, alignment); #else return aligned_alloc(alignment, size); #endif
**Revised Content**: extern "C" void *_mlir_aligned_alloc(uint64_t alignment, uint64_t size) { #ifdef _WIN32 return _aligned_malloc(size, alignment); #elif defined(__APPLE__) // aligned_alloc was added in MacOS 10.15. Fall back to posix_memalign to also // support older versions. void *result = nullptr; (void)::posix_memalign(&result, alignment, size); return result; #else return aligned_alloc(alignment, size); #endif ERROR: no such package '@llvm-raw//utils/bazel': Error applying patch /tmp/workspace/tensorflow-oneDNN-ACL-git/third_party/llvm/posix_memalign.patch: Incorrect Chunk: the chunk content doesn't match the target **Original Position**: 127
**Original Content**: extern "C" void *_mlir_aligned_alloc(uint64_t alignment, uint64_t size) { #ifdef _WIN32 return _aligned_malloc(size, alignment); #else return aligned_alloc(alignment, size); #endif
**Revised Content**: extern "C" void *_mlir_aligned_alloc(uint64_t alignment, uint64_t size) { #ifdef _WIN32 return _aligned_malloc(size, alignment); #elif defined(__APPLE__) // aligned_alloc was added in MacOS 10.15. Fall back to posix_memalign to also // support older versions. void *result = nullptr; (void)::posix_memalign(&result, alignment, size); return result; #else return aligned_alloc(alignment, size); #endif INFO: Elapsed time: 44.951s 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=104 changed=60 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0
Wednesday 27 July 2022 04:03:41 +0000 (0:04:05.825) 2:07:07.713 ******** =============================================================================== tensorflow : Run unit tests on TensorFlow-oneDNN-ACL git for cp37-cp37m 3666.92s tensorflow : build TensorFlow-oneDNN-ACL git for cp37-cp37m ---------- 2225.77s python : build wheels of Python package h5py~=3.6.0 ------------------- 255.28s python : build wheels of Python package Keras_Applications ------------ 254.68s tensorflow : build TensorFlow-oneDNN-ACL git for cp38-cp38 ------------ 245.83s install bazel build requirements --------------------------------------- 48.16s tensorflow : populate cp37-cp37m virtualenv ---------------------------- 40.79s tensorflow : populate cp38-cp38 virtualenv ----------------------------- 39.79s tensorflow : install Python package ------------------------------------ 34.26s python : install numpy build requirements ------------------------------ 32.50s fetch tensorflow-oneDNN-ACL from git ----------------------------------- 24.55s fetch tensorflow-oneDNN-ACL from git ----------------------------------- 23.13s stop bazel server ------------------------------------------------------ 21.38s python : install h5py build requirements ------------------------------- 19.98s python : create cp38-cp38 virtualenv ----------------------------------- 15.07s python : install scipy-1.7.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python package -- 14.37s python : build wheels of Python package scipy -------------------------- 10.11s install tensorflow build requirements ----------------------------------- 7.62s python : build wheels of Python package grpcio -------------------------- 5.93s tensorflow : remove TensorFlow-oneDNN-ACL git sources from previous build --- 4.93s Build step 'Execute shell' marked build as failure