See https://ci.linaro.org/job/ldcg-python-manylinux-tensorflow-nightly/1205/display/redirect
Changes:
------------------------------------------ [...truncated 1.57 MiB...] Stats over 12 runs: max = 28.4s, min = 8.2s, avg = 17.5s, dev = 6.4s //tensorflow/python/data/experimental/kernel_tests:group_by_reducer_test PASSED in 24.6s Stats over 12 runs: max = 24.6s, min = 7.1s, avg = 13.8s, dev = 5.6s //tensorflow/python/data/kernel_tests:choose_from_datasets_test PASSED in 18.7s Stats over 12 runs: max = 18.7s, min = 4.9s, avg = 8.4s, dev = 3.9s //tensorflow/python/data/kernel_tests:memory_cleanup_test_cpu PASSED in 13.9s Stats over 12 runs: max = 13.9s, min = 4.4s, avg = 6.9s, dev = 2.7s //tensorflow/python/distribute:moving_averages_test_2gpu PASSED in 28.0s Stats over 12 runs: max = 28.0s, min = 12.6s, avg = 16.2s, dev = 4.1s //tensorflow/python/distribute:moving_averages_test_cpu PASSED in 27.4s Stats over 12 runs: max = 27.4s, min = 13.9s, avg = 17.5s, dev = 3.5s //tensorflow/python/eager/polymorphic_function:polymorphic_function_test_cpu PASSED in 32.2s Stats over 15 runs: max = 32.2s, min = 12.6s, avg = 18.5s, dev = 4.4s //tensorflow/python/kernel_tests/linalg:linear_operator_low_rank_update_test_cpu PASSED in 146.9s Stats over 15 runs: max = 146.9s, min = 109.3s, avg = 127.4s, dev = 10.3s //tensorflow/python/kernel_tests/nn_ops:rnn_cell_test_cpu PASSED in 62.9s Stats over 15 runs: max = 62.9s, min = 8.3s, avg = 16.9s, dev = 14.2s //tensorflow/python/data/experimental/kernel_tests/service:dynamic_sharding_test PASSED in 16.9s Stats over 16 runs: max = 16.9s, min = 5.1s, avg = 10.6s, dev = 3.5s //tensorflow/python/data/kernel_tests:snapshot_test PASSED in 47.3s Stats over 16 runs: max = 47.3s, min = 12.6s, avg = 27.4s, dev = 9.9s //tensorflow/python/kernel_tests/control_flow:control_flow_ops_py_test_cpu PASSED in 28.0s Stats over 16 runs: max = 28.0s, min = 6.1s, avg = 10.8s, dev = 5.0s //tensorflow/python/kernel_tests/linalg:matrix_exponential_op_test PASSED in 10.7s Stats over 16 runs: max = 10.7s, min = 4.5s, avg = 6.4s, dev = 1.9s //tensorflow/python/kernel_tests/signal:dct_ops_test_cpu PASSED in 20.7s Stats over 16 runs: max = 20.7s, min = 8.4s, avg = 12.5s, dev = 3.3s //tensorflow/python/ops:image_ops_test_cpu PASSED in 26.3s Stats over 16 runs: max = 26.3s, min = 8.5s, avg = 16.1s, dev = 4.2s //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test PASSED in 81.1s Stats over 17 runs: max = 81.1s, min = 10.7s, avg = 35.5s, dev = 21.9s //tensorflow/python/data/kernel_tests:map_test PASSED in 54.9s Stats over 19 runs: max = 54.9s, min = 28.8s, avg = 38.8s, dev = 6.9s //tensorflow/compiler/tests:pooling_ops_3d_test_cpu PASSED in 11.2s Stats over 20 runs: max = 11.2s, min = 4.6s, avg = 5.4s, dev = 1.4s //tensorflow/compiler/tests:pooling_ops_3d_test_cpu_mlir_bridge_test PASSED in 11.1s Stats over 20 runs: max = 11.1s, min = 4.3s, avg = 5.0s, dev = 1.4s //tensorflow/compiler/tests:pooling_ops_test_cpu PASSED in 18.5s Stats over 20 runs: max = 18.5s, min = 3.6s, avg = 5.5s, dev = 3.2s //tensorflow/compiler/tests:pooling_ops_test_cpu_mlir_bridge_test PASSED in 12.2s Stats over 20 runs: max = 12.2s, min = 3.6s, avg = 5.2s, dev = 2.1s //tensorflow/compiler/tests:stochastic_cast_op_test_cpu PASSED in 14.3s Stats over 20 runs: max = 14.3s, min = 5.1s, avg = 6.0s, dev = 1.9s //tensorflow/dtensor/python/tests:rng_test_cpu PASSED in 16.7s Stats over 20 runs: max = 16.7s, min = 7.1s, avg = 8.7s, dev = 2.0s //tensorflow/python/autograph/tests:loop_control_flow_test PASSED in 26.4s Stats over 20 runs: max = 26.4s, min = 15.5s, avg = 18.5s, dev = 2.6s //tensorflow/python/kernel_tests:metrics_test PASSED in 53.6s Stats over 20 runs: max = 53.6s, min = 7.3s, avg = 22.6s, dev = 12.3s //tensorflow/python/kernel_tests/array_ops:matrix_band_part_op_test_cpu PASSED in 10.3s Stats over 20 runs: max = 10.3s, min = 4.3s, avg = 5.6s, dev = 1.4s //tensorflow/python/kernel_tests/data_structures:barrier_ops_test PASSED in 14.8s Stats over 20 runs: max = 14.8s, min = 4.3s, avg = 7.0s, dev = 3.1s //tensorflow/python/kernel_tests/linalg:eig_op_test PASSED in 49.5s Stats over 20 runs: max = 49.5s, min = 4.6s, avg = 15.8s, dev = 15.4s //tensorflow/python/kernel_tests/linalg:linalg_grad_test_cpu PASSED in 119.4s Stats over 20 runs: max = 119.4s, min = 28.7s, avg = 55.5s, dev = 21.3s //tensorflow/python/kernel_tests/linalg:norm_op_test_cpu PASSED in 13.2s Stats over 20 runs: max = 13.2s, min = 6.1s, avg = 7.8s, dev = 1.7s //tensorflow/python/kernel_tests/linalg:normalize_op_test_cpu PASSED in 19.6s Stats over 20 runs: max = 19.6s, min = 7.8s, avg = 12.5s, dev = 3.1s //tensorflow/python/kernel_tests/linalg:qr_op_test_cpu PASSED in 319.1s Stats over 20 runs: max = 319.1s, min = 43.5s, avg = 123.1s, dev = 78.0s //tensorflow/python/kernel_tests/linalg:self_adjoint_eig_op_test_cpu PASSED in 26.1s Stats over 20 runs: max = 26.1s, min = 5.2s, avg = 13.4s, dev = 7.7s //tensorflow/python/kernel_tests/math_ops:batch_matmul_op_test_cpu PASSED in 23.9s Stats over 20 runs: max = 23.9s, min = 7.6s, avg = 14.9s, dev = 5.7s //tensorflow/python/kernel_tests/math_ops:matmul_op_test_cpu PASSED in 25.1s Stats over 20 runs: max = 25.1s, min = 15.4s, avg = 19.1s, dev = 2.2s //tensorflow/python/kernel_tests/math_ops:tensordot_op_test_cpu PASSED in 65.4s Stats over 20 runs: max = 65.4s, min = 7.9s, avg = 32.0s, dev = 21.3s //tensorflow/python/kernel_tests/nn_ops:embedding_ops_test_cpu PASSED in 29.8s Stats over 20 runs: max = 29.8s, min = 12.6s, avg = 17.2s, dev = 4.1s //tensorflow/compiler/tests:unary_ops_test_cpu FAILED in 3 out of 22 in 17.0s Stats over 22 runs: max = 17.0s, min = 4.2s, avg = 8.6s, dev = 4.2s /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/tests/unary_ops_test_cpu/shard_18_of_20/test.log /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/tests/unary_ops_test_cpu/shard_18_of_20/test_attempts/attempt_1.log /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/tests/unary_ops_test_cpu/shard_18_of_20/test_attempts/attempt_2.log //tensorflow/compiler/tests:unary_ops_test_cpu_mlir_bridge_test FAILED in 3 out of 22 in 19.2s Stats over 22 runs: max = 19.2s, min = 3.7s, avg = 9.4s, dev = 5.0s /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/tests/unary_ops_test_cpu_mlir_bridge_test/shard_18_of_20/test.log /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/tests/unary_ops_test_cpu_mlir_bridge_test/shard_18_of_20/test_attempts/attempt_1.log /home/buildslave/.cache/bazel/_bazel_buildslave/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/tests/unary_ops_test_cpu_mlir_bridge_test/shard_18_of_20/test_attempts/attempt_2.log //tensorflow/python/data/kernel_tests:interleave_test PASSED in 41.4s Stats over 24 runs: max = 41.4s, min = 11.5s, avg = 23.7s, dev = 8.4s //tensorflow/python/data/kernel_tests:sample_from_datasets_test PASSED in 36.6s Stats over 24 runs: max = 36.6s, min = 5.3s, avg = 12.7s, dev = 8.1s //tensorflow/dtensor/python/tests:multi_device_spmd_test_cpu PASSED in 36.3s Stats over 25 runs: max = 36.3s, min = 26.3s, avg = 30.3s, dev = 2.5s //tensorflow/python/kernel_tests/nn_ops:conv_ops_3d_test_cpu PASSED in 23.1s Stats over 30 runs: max = 23.1s, min = 4.6s, avg = 9.9s, dev = 4.9s //tensorflow/python/data/experimental/kernel_tests/service:data_service_ops_test PASSED in 23.4s Stats over 32 runs: max = 23.4s, min = 5.0s, avg = 11.0s, dev = 5.1s //tensorflow/python/data/experimental/kernel_tests/service:worker_tags_test PASSED in 25.3s Stats over 32 runs: max = 25.3s, min = 4.3s, avg = 11.8s, dev = 5.3s //tensorflow/python/distribute:multi_process_runner_test_2gpu PASSED in 216.2s Stats over 35 runs: max = 216.2s, min = 5.5s, avg = 24.5s, dev = 37.0s //tensorflow/python/distribute:multi_process_runner_test_cpu PASSED in 220.9s Stats over 35 runs: max = 220.9s, min = 5.4s, avg = 24.6s, dev = 37.8s //tensorflow/core/kernels:stochastic_cast_op_test PASSED in 1.5s Stats over 48 runs: max = 1.5s, min = 0.4s, avg = 0.6s, dev = 0.2s //tensorflow/compiler/mlir/quantization/tensorflow/python:quantize_model_test PASSED in 78.8s Stats over 50 runs: max = 78.8s, min = 42.9s, avg = 58.5s, dev = 9.0s //tensorflow/compiler/tests:sort_ops_test_cpu PASSED in 16.7s Stats over 50 runs: max = 16.7s, min = 3.8s, avg = 9.9s, dev = 3.5s //tensorflow/compiler/tests:sort_ops_test_cpu_mlir_bridge_test PASSED in 16.4s Stats over 50 runs: max = 16.4s, min = 4.0s, avg = 9.5s, dev = 3.4s //tensorflow/python/kernel_tests/linalg:linear_operator_circulant_test_cpu PASSED in 69.1s Stats over 50 runs: max = 69.1s, min = 44.5s, avg = 53.9s, dev = 6.2s //tensorflow/python/kernel_tests/linalg/sparse:csr_sparse_matrix_dense_mat_mul_grad_test_cpu PASSED in 21.8s Stats over 50 runs: max = 21.8s, min = 5.6s, avg = 11.4s, dev = 3.9s //tensorflow/python/kernel_tests/linalg/sparse:csr_sparse_matrix_dense_mat_mul_onednn_grad_test PASSED in 20.5s Stats over 50 runs: max = 20.5s, min = 5.6s, avg = 11.4s, dev = 3.6s //tensorflow/python/kernel_tests/math_ops:cwise_ops_binary_test_cpu PASSED in 28.9s Stats over 50 runs: max = 28.9s, min = 8.4s, avg = 16.0s, dev = 5.6s //tensorflow/python/kernel_tests/math_ops:cwise_ops_test_cpu PASSED in 11.6s Stats over 50 runs: max = 11.6s, min = 3.9s, avg = 4.8s, dev = 1.3s
Executed 3085 out of 3087 tests: 3083 tests pass, 2 fail to build and 2 fail locally. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. stdout_lines: <omitted> ...ignoring
TASK [tensorflow_in_container : (Python 3.9) collect list of installed Python packages] *** Tuesday 18 June 2024 22:59:24 +0100 (2:15:05.506) 3:49:11.879 ********** changed: [localhost]
TASK [tensorflow_in_container : (Python 3.9) save list of installed Python packages] *** Tuesday 18 June 2024 22:59:26 +0100 (0:00:01.868) 3:49:13.747 ********** changed: [localhost]
TASK [tensorflow_in_container : (Python 3.9) save tests output to file] ******** Tuesday 18 June 2024 22:59:27 +0100 (0:00:00.695) 3:49:14.442 ********** changed: [localhost]
TASK [tensorflow_in_container : (Python 3.9) save tests stderr output to file] *** Tuesday 18 June 2024 22:59:28 +0100 (0:00:00.697) 3:49:15.139 ********** changed: [localhost]
TASK [tensorflow_in_container : (Python 3.9) Extract number of tests run] ****** Tuesday 18 June 2024 22:59:28 +0100 (0:00:00.704) 3:49:15.844 ********** ok: [localhost]
TASK [tensorflow_in_container : (Python 3.9) Show number of tests run] ********* Tuesday 18 June 2024 22:59:28 +0100 (0:00:00.081) 3:49:15.926 ********** ok: [localhost] => ut_tests_line: 'Executed 3085 out of 3087 tests: 3083 tests pass, 2 fail to build and 2 fail locally.'
TASK [tensorflow_in_container : (Python 3.9) Extract failed tests] ************* Tuesday 18 June 2024 22:59:28 +0100 (0:00:00.039) 3:49:15.965 ********** ok: [localhost]
TASK [tensorflow_in_container : (Python 3.9) Show which tests are flaky] ******* Tuesday 18 June 2024 22:59:29 +0100 (0:00:00.161) 3:49:16.126 ********** ok: [localhost] => tests_flaky: - //tensorflow/python/kernel_tests/linalg:matrix_triangular_solve_op_test_cpu FLAKY, failed in 1 out of 4 in 900.4s
TASK [tensorflow_in_container : (Python 3.9) Show which tests failed] ********** Tuesday 18 June 2024 22:59:29 +0100 (0:00:00.038) 3:49:16.165 ********** ok: [localhost] => tests_failed: - 'FAILED: //tensorflow/compiler/tests:unary_ops_test_cpu_mlir_bridge_test (Summary)' - 'FAILED: //tensorflow/compiler/tests:unary_ops_test_cpu (Summary)' - 'FAILED: Build did NOT complete successfully'
TASK [tensorflow_in_container : (Python 3.9) Convert wheel to manylinux2014 compatible one] *** Tuesday 18 June 2024 22:59:29 +0100 (0:00:00.038) 3:49:16.203 ********** fatal: [localhost]: FAILED! => changed=true rc: 1 stderr: |- + for wheel in /tf/pkg/*.whl + echo 'Checking and renaming /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-linux_aarch64.whl...' + python3 -m auditwheel repair --plat manylinux2014_aarch64 /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-linux_aarch64.whl --wheel-dir /tf/pkg + tee check.txt
real 2m30.267s user 2m14.570s sys 0m15.596s ++ grep --extended-regexp --only-matching '/tf/pkg/\S+.whl' check.txt + new_wheel=/tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl + [[ /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl != /\t\f/\p\k\g/\t\e\n\s\o\r\f\l\o\w_\a\a\r\c\h\6\4-\2.\1\8.\0-\c\p\3\9-\c\p\3\9-\l\i\n\u\x_\a\a\r\c\h\6\4.\w\h\l ]] + rm /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-linux_aarch64.whl + wheel=/tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl + TF_WHEEL=/tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl + bats /usertools/wheel_verification.bats --timing stderr_lines: <omitted> stdout: |- Checking and renaming /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-linux_aarch64.whl... INFO:auditwheel.main_repair:Repairing tensorflow_aarch64-2.18.0-cp39-cp39-linux_aarch64.whl INFO:auditwheel.wheeltools:Previous filename tags: linux_aarch64 INFO:auditwheel.wheeltools:New filename tags: manylinux_2_17_aarch64, manylinux2014_aarch64 INFO:auditwheel.wheeltools:Previous WHEEL info tags: cp39-cp39-linux_aarch64 INFO:auditwheel.wheeltools:New WHEEL info tags: cp39-cp39-manylinux_2_17_aarch64, cp39-cp39-manylinux2014_aarch64 INFO:auditwheel.main_repair: Fixed-up wheel written to /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1..5 ok 1 Wheel is manylinux2014 (manylinux_2_17) compliant in 68696ms # Size of /tf/pkg/tensorflow_aarch64-2.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl is 263 / 580 megabytes. ok 2 Wheel conforms to upstream size limitations in 19ms ok 3 Wheel is installable in 57389ms ok 4 TensorFlow is importable in 4073ms not ok 5 TensorFlow has Keras in 3756ms # (in test file /usertools/wheel_verification.bats, line 72) # `python3 -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'' failed # Traceback (most recent call last): # File "/tf/venv/lib/python3.9/site-packages/tensorflow/python/util/lazy_loader.py", line 147, in _initialize # import keras # pylint: disable=g-import-not-at-top # File "/tf/venv/lib/python3.9/site-packages/keras/__init__.py", line 23, in <module> # from keras.api import _tf_keras # ImportError: cannot import name '_tf_keras' from 'keras.api' (/tf/venv/lib/python3.9/site-packages/keras/api/__init__.py) # # During handling of the above exception, another exception occurred: # # Traceback (most recent call last): # File "<string>", line 1, in <module> # File "/tf/venv/lib/python3.9/site-packages/tensorflow/python/util/lazy_loader.py", line 181, in __getattr__ # self._initialize() # File "/tf/venv/lib/python3.9/site-packages/tensorflow/python/util/lazy_loader.py", line 161, in _initialize # raise ImportError( # pylint: disable=raise-missing-from # ImportError: Keras cannot be imported. Check that it is installed. stdout_lines: <omitted>
PLAY RECAP ********************************************************************* localhost : ok=39 changed=26 unreachable=0 failed=1 skipped=7 rescued=0 ignored=1
Tuesday 18 June 2024 23:04:17 +0100 (0:04:48.629) 3:54:04.833 ********** =============================================================================== tensorflow_in_container : (Python 3.9) run TensorFlow git tests ------ 8105.51s tensorflow_in_container : (Python 3.9) build TensorFlow git ---------- 4448.16s tensorflow_in_container : (Python 3.9) start build container --------- 1058.84s tensorflow_in_container : (Python 3.9) Convert wheel to manylinux2014 compatible one - 288.63s Cleanup after previous build ------------------------------------------- 93.14s tensorflow : Fetch TensorFlow from git --------------------------------- 22.83s tensorflow : Remove TensorFlow git sources from previous build ---------- 4.22s Gathering Facts --------------------------------------------------------- 1.95s tensorflow_in_container : (Python 3.9) collect list of installed Python packages for build --- 1.89s tensorflow_in_container : (Python 3.9) collect list of installed Python packages --- 1.87s tensorflow_in_container : (Python 3.9) build Python versioned container --- 1.58s Create cache dirs ------------------------------------------------------- 1.42s tensorflow_in_container : (Python 3.9) create buildslave bazel cache dir --- 1.21s tensorflow : Save git commit hash to file ------------------------------- 1.15s tensorflow_in_container : (Python 3.9) Copy built wheel ----------------- 1.07s tensorflow_in_container : (Python 3.9) cleanup Bazel install directory --- 0.89s tensorflow_in_container : (Python 3.9) create link for bazel cache ------ 0.84s tensorflow_in_container : (Python 3.9) create link for pip cache -------- 0.82s tensorflow_in_container : (Python 3.9) create link for bazelisk cache --- 0.82s tensorflow_in_container : (Python 3.9) save tests stderr output to file --- 0.70s Build step 'Execute shell' marked build as failure