See https://ci.linaro.org/job/ldcg-python-manylinux-tensorflow-nightly/338/display/redirect
Changes:
------------------------------------------ [...truncated 6.91 KB...] Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: ansible noarch 2.9.27-1.el7 centos-ansible-29 17 M Installing for dependencies: PyYAML aarch64 3.10-11.el7 base 146 k libyaml aarch64 0.1.4-11.el7 base 48 k python-babel noarch 0.9.6-8.el7 base 1.4 M python-backports aarch64 1.0-8.el7 base 5.3 k python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k python-cffi aarch64 1.6.0-5.el7 base 215 k python-enum34 noarch 1.0.4-1.el7 base 52 k python-idna noarch 2.4-1.el7 base 94 k python-ipaddress noarch 1.0.16-2.el7 base 34 k python-jinja2 noarch 2.7.2-4.el7 base 519 k python-markupsafe aarch64 0.11-10.el7 base 25 k python-paramiko noarch 2.1.1-9.el7 base 269 k python-ply noarch 3.4-11.el7 base 123 k python-pycparser noarch 2.14-1.el7 base 104 k python-setuptools noarch 0.9.8-7.el7 base 397 k python-six noarch 1.9.0-2.el7 base 29 k python2-cryptography aarch64 1.7.2-2.el7 base 480 k python2-pyasn1 noarch 0.1.9-7.el7 base 100 k sshpass aarch64 1.06-2.el7 extras 21 k
Transaction Summary ================================================================================ Install 1 Package (+19 Dependent packages)
Total download size: 21 M Installed size: 122 M Downloading packages: warning: /var/cache/yum/aarch64/7/centos-ansible-29/packages/ansible-2.9.27-1.el7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 6e8b7e8a: NOKEY Public key for ansible-2.9.27-1.el7.noarch.rpm is not installed -------------------------------------------------------------------------------- Total 9.7 MB/s | 21 MB 00:02 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-ConfigManagement Importing GPG key 0x6E8B7E8A: Userid : "CentOS Config Management SIG (https://wiki.centos.org/SpecialInterestGroup/ConfigManagementSIG) security@centos.org" Fingerprint: c75a fb57 d5c0 f238 cb15 bec8 1ae1 10fa 6e8b 7e8a Package : centos-release-configmanagement-1-1.el7.centos.noarch (@extras) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-ConfigManagement Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python-six-1.9.0-2.el7.noarch 1/20 Installing : python2-pyasn1-0.1.9-7.el7.noarch 2/20 Installing : python-ipaddress-1.0.16-2.el7.noarch 3/20 Installing : python-markupsafe-0.11-10.el7.aarch64 4/20 Installing : python-idna-2.4-1.el7.noarch 5/20 Installing : python-enum34-1.0.4-1.el7.noarch 6/20 Installing : python-backports-1.0-8.el7.aarch64 7/20 Installing : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 8/20 Installing : python-setuptools-0.9.8-7.el7.noarch 9/20 Installing : python-babel-0.9.6-8.el7.noarch 10/20 Installing : python-jinja2-2.7.2-4.el7.noarch 11/20 Installing : python-ply-3.4-11.el7.noarch 12/20 Installing : python-pycparser-2.14-1.el7.noarch 13/20 Installing : python-cffi-1.6.0-5.el7.aarch64 14/20 Installing : python2-cryptography-1.7.2-2.el7.aarch64 15/20 Installing : python-paramiko-2.1.1-9.el7.noarch 16/20 Installing : libyaml-0.1.4-11.el7.aarch64 17/20 Installing : PyYAML-3.10-11.el7.aarch64 18/20 Installing : sshpass-1.06-2.el7.aarch64 19/20 Installing : ansible-2.9.27-1.el7.noarch 20/20 Verifying : sshpass-1.06-2.el7.aarch64 1/20 Verifying : libyaml-0.1.4-11.el7.aarch64 2/20 Verifying : python-ply-3.4-11.el7.noarch 3/20 Verifying : PyYAML-3.10-11.el7.aarch64 4/20 Verifying : ansible-2.9.27-1.el7.noarch 5/20 Verifying : python-paramiko-2.1.1-9.el7.noarch 6/20 Verifying : python-babel-0.9.6-8.el7.noarch 7/20 Verifying : python2-cryptography-1.7.2-2.el7.aarch64 8/20 Verifying : python-backports-1.0-8.el7.aarch64 9/20 Verifying : python-ipaddress-1.0.16-2.el7.noarch 10/20 Verifying : python-enum34-1.0.4-1.el7.noarch 11/20 Verifying : python-jinja2-2.7.2-4.el7.noarch 12/20 Verifying : python2-pyasn1-0.1.9-7.el7.noarch 13/20 Verifying : python-cffi-1.6.0-5.el7.aarch64 14/20 Verifying : python-pycparser-2.14-1.el7.noarch 15/20 Verifying : python-six-1.9.0-2.el7.noarch 16/20 Verifying : python-setuptools-0.9.8-7.el7.noarch 17/20 Verifying : python-idna-2.4-1.el7.noarch 18/20 Verifying : python-markupsafe-0.11-10.el7.aarch64 19/20 Verifying : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 20/20
Installed: ansible.noarch 0:2.9.27-1.el7
Dependency Installed: PyYAML.aarch64 0:3.10-11.el7 libyaml.aarch64 0:0.1.4-11.el7 python-babel.noarch 0:0.9.6-8.el7 python-backports.aarch64 0:1.0-8.el7 python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 python-cffi.aarch64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 python-idna.noarch 0:2.4-1.el7 python-ipaddress.noarch 0:1.0.16-2.el7 python-jinja2.noarch 0:2.7.2-4.el7 python-markupsafe.aarch64 0:0.11-10.el7 python-paramiko.noarch 0:2.1.1-9.el7 python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 python-setuptools.noarch 0:0.9.8-7.el7 python-six.noarch 0:1.9.0-2.el7 python2-cryptography.aarch64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7 sshpass.aarch64 0:1.06-2.el7
Complete! + cd /tmp/workspace + rm -rf wheels '*.whl' 'cache*' venv-cp310-cp310 venv-cp37-cp37m venv-cp38-cp38 venv-cp39-cp39 + cd configs/ldcg-python-manylinux-tensorflow/ansible + ansible-playbook playbooks/build-tf.yml [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] ********************************************************* Monday 11 April 2022 18:10:37 +0000 (0:00:00.074) 0:00:00.074 ********** ok: [localhost]
TASK [initialize job] ********************************************************** Monday 11 April 2022 18:10:42 +0000 (0:00:04.596) 0:00:04.670 **********
TASK [install TensorFlow build dependencies] *********************************** Monday 11 April 2022 18:10:42 +0000 (0:00:00.235) 0:00:04.906 **********
TASK [install tensorflow build requirements] *********************************** Monday 11 April 2022 18:10:42 +0000 (0:00:00.058) 0:00:04.965 ********** changed: [localhost]
TASK [install build dependencies for Python wheels] **************************** Monday 11 April 2022 18:10:50 +0000 (0:00:08.095) 0:00:13.060 **********
TASK [python : enable EPEL] **************************************************** Monday 11 April 2022 18:10:50 +0000 (0:00:00.067) 0:00:13.127 ********** changed: [localhost]
TASK [python : install h5py build requirements] ******************************** Monday 11 April 2022 18:10:54 +0000 (0:00:03.363) 0:00:16.491 ********** changed: [localhost]
TASK [python : install numpy build requirements] ******************************* Monday 11 April 2022 18:11:08 +0000 (0:00:14.036) 0:00:30.527 ********** changed: [localhost]
TASK [ldcg_manylinux_tensorflow : create directory to build wheels] ************ Monday 11 April 2022 18:11:35 +0000 (0:00:26.659) 0:00:57.186 ********** changed: [localhost]
TASK [go through each TensorFlow version] ************************************** Monday 11 April 2022 18:11:35 +0000 (0:00:00.472) 0:00:57.659 ********** skipping: [localhost] => (item={u'key': u'2.8', u'value': {u'unit_tests_filter_flags': u'-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64', u'grpcio_version': u'>= 1.37.0, < 2.0', u'tensorflow_version': u'2.8.0', u'gast_version': u'==0.4.0', u'unit_tests_exclude': [u'//tensorflow/lite/...', u'//tensorflow/core/ir/...', u'//tensorflow/python/tools/...', u'//tensorflow/compiler/mlir/lite/tests:const-fold.mlir.test', u'//tensorflow/compiler/mlir/lite/tests:prepare-tf.mlir.test', u'//tensorflow/compiler/mlir/tensorflow:dump_graph_test', u'//tensorflow/core/common_runtime:direct_session_test', u'//tensorflow/core/common_runtime:direct_session_with_debug_test', u'//tensorflow/core/kernels:quantized_bias_add_op_test', u'//tensorflow/core/kernels:quantize_op_test', u'//tensorflow/core/kernels:requantize_op_test', u'//tensorflow/python/data/experimental/kernel_tests/service:fault_tolerance_test', u'//tensorflow/python/eager:function_test', u'//tensorflow/python/kernel_tests/linalg:linear_operator_circulant_test', u'//tensorflow/python/kernel_tests/linalg:self_adjoint_eig_op_test', u'//tensorflow/python/ops/ragged:ragged_dispatch_test', u'//tensorflow/python:quantized_ops_test', u'//tensorflow/tools/graph_transforms:transforms_test'], u'numpy_version': u'>=1.20', u'flatbuffers_version': u'>= 1.12, < 3.0', u'run_unit_tests': True, u'absl_version': u'>=1.0.0', u'h5py_version': u'~=3.6.0', u'bazel_version': u'bazelisk', u'python_versions': [u'cp37-cp37m', u'cp38-cp38', u'cp39-cp39', u'cp310-cp310'], u'scipy_version': u'~=1.7.3', u'python_install_packages': [u'packaging', u'portpicker', u'keras', u'tensorboard', u'tensorflow-estimator']}}) skipping: [localhost] => (item={u'key': u'1.15', u'value': {u'unit_tests_filter_flags': u'', u'grpcio_version': u'~=1.32.0', u'tensorflow_version': u'1.15.5', u'gast_version': u'==0.2.2', u'unit_tests_exclude': u'', u'numpy_version': u'~=1.18.0', u'flatbuffers_version': u'~=1.12.0', u'run_unit_tests': False, u'absl_version': u'~=0.10', u'h5py_version': u'==2.10', u'bazel_version': u'0.29.1', u'python_versions': [u'cp36-cp36m', u'cp37-cp37m'], u'scipy_version': u'~=1.5.4', u'python_install_packages': [u'keras', u'tensorboard', u'tensorflow-estimator']}}) skipping: [localhost] => (item={u'key': u'2.7', u'value': {u'unit_tests_filter_flags': u'-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only', u'grpcio_version': u'~=1.37.0', u'tensorflow_version': u'2.7.1', u'gast_version': u'==0.4.0', u'unit_tests_exclude': [u'//tensorflow/java/...', u'//tensorflow/lite/...', u'//tensorflow/compiler/xla/python/...', u'//tensorflow/compiler/xla/service/cpu/...', u'//tensorflow/compiler/xla/tests/...', u'//tensorflow/core/ir/...', u'//tensorflow/python/tools/...', u'//tensorflow/compiler/mlir/lite/tests:const-fold.mlir.test', u'//tensorflow/core/kernels:quantized_bias_add_op_test', u'//tensorflow/core/kernels:requantize_op_test', u'//tensorflow/core/kernels:sparse_matmul_op_test', u'//tensorflow/python/data/experimental/kernel_tests/service:fault_tolerance_test', u'//tensorflow/python/debug/cli:debugger_cli_common_test', u'//tensorflow/python/debug/examples/v2:examples_v2_test', u'//tensorflow/python/eager:function_test', u'//tensorflow/python/keras/mixed_precision:model_test', u'//tensorflow/python/keras/preprocessing:image_test', u'//tensorflow/python/kernel_tests:init_ops_test', u'//tensorflow/python/kernel_tests/linalg:linear_operator_circulant_test', u'//tensorflow/python/kernel_tests:self_adjoint_eig_op_test', u'//tensorflow/python/kernel_tests:sparse_matmul_op_test', u'//tensorflow/python/lib/io:file_io_test', u'//tensorflow/python/ops/ragged:ragged_dispatch_test', u'//tensorflow/python/ops/ragged:ragged_print_op_test', u'//tensorflow/python/profiler/integration_test:profiler_api_test', u'//tensorflow/python/profiler:profiler_v2_test', u'//tensorflow/python/util:dispatch_test', u'//tensorflow/python/util:traceback_utils_test', u'//tensorflow/tools/api/tests:api_compatibility_test', u'//tensorflow/tools/docs:tf_doctest', u'//tensorflow/tools/graph_transforms:transforms_test'], u'numpy_version': u'~=1.19.5', u'flatbuffers_version': u'>= 1.12, < 3.0', u'run_unit_tests': True, u'absl_version': u'~=0.10', u'h5py_version': u'~=3.1.0', u'bazel_version': u'bazelisk', u'python_versions': [u'cp37-cp37m', u'cp38-cp38', u'cp39-cp39'], u'scipy_version': u'~=1.5.4', u'python_install_packages': [u'portpicker', u'keras', u'tensorboard', u'tensorflow-estimator']}}) skipping: [localhost] => (item={u'key': u'2.6', u'value': {u'unit_tests_filter_flags': u'', u'grpcio_version': u'~=1.37.0', u'tensorflow_version': u'2.6.3', u'gast_version': u'==0.4.0', u'unit_tests_exclude': u'', u'numpy_version': u'~=1.19.2', u'flatbuffers_version': u'~=1.12.0', u'run_unit_tests': False, u'absl_version': u'~=0.10', u'h5py_version': u'~=3.1.0', u'bazel_version': u'bazelisk', u'python_versions': [u'cp36-cp36m', u'cp37-cp37m', u'cp38-cp38', u'cp39-cp39'], u'scipy_version': u'~=1.5.4', u'python_install_packages': [u'keras', u'tensorboard', u'tensorflow-estimator']}}) skipping: [localhost] => (item={u'key': u'2.5', u'value': {u'unit_tests_filter_flags': u'', u'grpcio_version': u'~=1.34.0', u'tensorflow_version': u'2.5.3', u'gast_version': u'==0.4.0', u'unit_tests_exclude': u'', u'numpy_version': u'~=1.19.2', u'flatbuffers_version': u'~=1.12.0', u'run_unit_tests': False, u'absl_version': u'~=0.10', u'h5py_version': u'~=3.1.0', u'bazel_version': u'bazelisk', u'python_versions': [u'cp36-cp36m', u'cp37-cp37m', u'cp38-cp38', u'cp39-cp39'], u'scipy_version': u'~=1.5.4', u'python_install_packages': [u'keras', u'tensorboard', u'tensorflow-estimator']}}) skipping: [localhost] => (item={u'key': u'2.4', u'value': {u'unit_tests_filter_flags': u'', u'grpcio_version': u'~=1.32.0', u'tensorflow_version': u'2.4.4', u'gast_version': u'==0.3.3', u'unit_tests_exclude': u'', u'numpy_version': u'~=1.19.2', u'flatbuffers_version': u'~=1.12.0', u'run_unit_tests': False, u'absl_version': u'~=0.10', u'h5py_version': u'~=2.10', u'bazel_version': u'bazelisk', u'python_versions': [u'cp36-cp36m', u'cp37-cp37m', u'cp38-cp38', u'cp39-cp39'], u'scipy_version': u'~=1.5.4', u'python_install_packages': [u'keras', u'tensorboard', u'tensorflow-estimator']}})
TASK [tensorflow : set TensorFlow and other package versions] ****************** Monday 11 April 2022 18:11:35 +0000 (0:00:00.202) 0:00:57.862 ********** ok: [localhost]
TASK [build Bazel] ************************************************************* Monday 11 April 2022 18:11:35 +0000 (0:00:00.082) 0:00:57.945 **********
TASK [install bazel build requirements] **************************************** Monday 11 April 2022 18:11:35 +0000 (0:00:00.227) 0:00:58.172 ********** changed: [localhost]
TASK [fetch bazel bazelisk source] ********************************************* Monday 11 April 2022 18:12:17 +0000 (0:00:41.457) 0:01:39.630 ********** skipping: [localhost]
TASK [create directory to build bazel bazelisk] ******************************** Monday 11 April 2022 18:12:17 +0000 (0:00:00.038) 0:01:39.668 ********** skipping: [localhost]
TASK [unpack bazel bazelisk source] ******************************************** Monday 11 April 2022 18:12:17 +0000 (0:00:00.037) 0:01:39.706 ********** skipping: [localhost]
TASK [build bazel bazelisk] **************************************************** Monday 11 April 2022 18:12:17 +0000 (0:00:00.037) 0:01:39.744 ********** skipping: [localhost]
TASK [install bazel bazelisk] ************************************************** Monday 11 April 2022 18:12:17 +0000 (0:00:00.038) 0:01:39.783 ********** skipping: [localhost]
TASK [bazel : fetch Bazelisk v1.11.0 binary from Github] *********************** Monday 11 April 2022 18:12:17 +0000 (0:00:00.037) 0:01:39.821 ********** fatal: [localhost]: FAILED! => msg: |- The conditional check 'bazel_version = "bazelisk"' failed. The error was: template error while templating string: expected token 'end of statement block', got '='. String: {% if bazel_version = "bazelisk" %} True {% else %} False {% endif %}
The error appears to be in '/tmp/workspace/configs/ldcg-python-manylinux-tensorflow/ansible/roles/bazel/tasks/fetch-binary.yml': line 1, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: fetch Bazelisk {{ bazelisk_version }} binary from Github ^ here We could be wrong, but this one looks like it might be an issue with missing quotes. Always quote template expression brackets when they start a value. For instance:
with_items: - {{ foo }}
Should be written as:
with_items: - "{{ foo }}"
PLAY RECAP ********************************************************************* localhost : ok=8 changed=6 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0
Monday 11 April 2022 18:12:17 +0000 (0:00:00.025) 0:01:39.846 ********** =============================================================================== install bazel build requirements --------------------------------------- 41.46s python : install numpy build requirements ------------------------------ 26.66s python : install h5py build requirements ------------------------------- 14.04s install tensorflow build requirements ----------------------------------- 8.10s Gathering Facts --------------------------------------------------------- 4.60s python : enable EPEL ---------------------------------------------------- 3.36s ldcg_manylinux_tensorflow : create directory to build wheels ------------ 0.47s initialize job ---------------------------------------------------------- 0.24s build Bazel ------------------------------------------------------------- 0.23s go through each TensorFlow version -------------------------------------- 0.20s tensorflow : set TensorFlow and other package versions ------------------ 0.08s install build dependencies for Python wheels ---------------------------- 0.07s install TensorFlow build dependencies ----------------------------------- 0.06s build bazel bazelisk ---------------------------------------------------- 0.04s fetch bazel bazelisk source --------------------------------------------- 0.04s unpack bazel bazelisk source -------------------------------------------- 0.04s install bazel bazelisk -------------------------------------------------- 0.04s create directory to build bazel bazelisk -------------------------------- 0.04s bazel : fetch Bazelisk v1.11.0 binary from Github ----------------------- 0.03s Build step 'Execute shell' marked build as failure