Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05987a8

Browse files
committed
[Linaro:ARM_CI] Fix permissions for running nonpip tests
Now that nonpip tests are being run, need to apply thesame permissions fixes as used in the pip tests.
1 parent23724d2 commit05987a8

File tree

2 files changed

+15
-20
lines changed

2 files changed

+15
-20
lines changed

‎tensorflow/tools/ci_build/build_scripts/ARM_SKIP_TESTS_EXTENDED.sh‎

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,8 @@ set -x
1818
source tensorflow/tools/ci_build/build_scripts/ARM_SKIP_TESTS.sh
1919

2020
ARM_SKIP_TESTS="${ARM_SKIP_TESTS}\
21-
-//tensorflow/compiler/mlir/lite/tests:const-fold.mlir.test\
22-
-//tensorflow/compiler/mlir/tensorflow/tests/...\
2321
-//tensorflow/compiler/mlir/tfr/examples/mnist:mnist_ops_test\
24-
-//tensorflow/compiler/tests:conv2d_test_cpu\
25-
-//tensorflow/compiler/tests:conv2d_test_cpu_mlir_bridge_test\
26-
-//tensorflow/compiler/tests:depthwise_conv_op_test_cpu\
27-
-//tensorflow/compiler/tests:depthwise_conv_op_test_cpu_mlir_bridge_test\
28-
-//tensorflow/compiler/tests:jit_test_cpu\
29-
-//tensorflow/compiler/xla/service/cpu/tests:cpu_eigen_dot_operation_test\
30-
-//tensorflow/compiler/xla/tests:conv_depthwise_backprop_filter_test_cpu\
31-
-//tensorflow/compiler/xla/tests:convolution_dimension_numbers_test_cpu\
32-
-//tensorflow/compiler/xla/tests:convolution_test_cpu\
33-
-//tensorflow/compiler/xla/tests:convolution_variants_test_cpu\
34-
-//tensorflow/core/distributed_runtime/integration_test:c_api_session_coordination_test_cpu\
35-
-//tensorflow/core/grappler/optimizers:arithmetic_optimizer_test_cpu\
3622
-//tensorflow/core/grappler/optimizers:auto_mixed_precision_test_cpu\
37-
-//tensorflow/core/grappler/optimizers:constant_folding_test\
3823
-//tensorflow/core/grappler/optimizers:remapper_test_cpu\
39-
-//tensorflow/core/profiler/rpc/client:remote_profiler_session_manager_test\
4024
-//tensorflow/python/kernel_tests/nn_ops:conv_ops_3d_test_cpu\
41-
-//tensorflow/python/kernel_tests/nn_ops:conv2d_backprop_filter_grad_test_cpu\
42-
-//tensorflow/python/tools:aot_compiled_test"
25+
"

‎tensorflow/tools/ci_build/rel/ubuntu/cpu_arm64_nonpip.sh‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ set -x
1919

2020
source tensorflow/tools/ci_build/release/common.sh
2121

22+
sudo mkdir /tmpfs
23+
sudo chown${CI_BUILD_USER}:${CI_BUILD_GROUP} /tmpfs
24+
sudo mkdir /tensorflow
25+
sudo chown${CI_BUILD_USER}:${CI_BUILD_GROUP} /tensorflow
26+
sudo chown -R${CI_BUILD_USER}:${CI_BUILD_GROUP} /usr/local/lib/python*
27+
sudo chown -R${CI_BUILD_USER}:${CI_BUILD_GROUP} /usr/local/bin
28+
sudo chown -R${CI_BUILD_USER}:${CI_BUILD_GROUP} /usr/lib/python3/dist-packages
29+
2230
# Update bazel
2331
install_bazelisk
2432

@@ -66,9 +74,13 @@ export TF_BUILD_FLAGS="--config=mkl_aarch64_threadpool --copt=-flax-vector-conve
6674
export TF_TEST_FLAGS="${TF_BUILD_FLAGS}\
6775
--test_env=TF_ENABLE_ONEDNN_OPTS=1 --test_env=TF2_BEHAVIOR=1 --define=tf_api_version=2\
6876
--test_lang_filters=py --flaky_test_attempts=3 --test_size_filters=small,medium\
69-
--test_output=errors --verbose_failures=true --test_keep_going"
77+
--test_output=errors --verbose_failures=true --test_keep_going --notest_verbose_timeout_warnings"
7078
export TF_TEST_TARGETS="${DEFAULT_BAZEL_TARGETS}${ARM_SKIP_TESTS}"
71-
export TF_FILTER_TAGS="-no_oss,-oss_serial,-v1only,-benchmark-test,-no_aarch64,-gpu,-tpu,-requires-gpu"
79+
export TF_FILTER_TAGS="-no_oss,-oss_excluded,-oss_serial,-v1only,-benchmark-test,-no_aarch64,-gpu,-tpu,-no_oss_py38,-no_oss_py39,-no_oss_py310"
80+
81+
sudo sed -i'/^build --profile/d' /usertools/aarch64.bazelrc
82+
sudo sed -i'\@^build.*=\"/usr/local/bin/python3\"$@d' /usertools/aarch64.bazelrc
83+
sed -i'$ aimport /usertools/aarch64.bazelrc' .bazelrc
7284

7385
bazeltest${TF_TEST_FLAGS} \
7486
--repo_env=PYTHON_BIN_PATH="$(which python)" \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp