This is an automated email from the ASF dual-hosted git repository. elek pushed a commit to branch acceptance-coverage in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 56a77752052da3418c625c83b315aebe971a50bf Author: Elek Márton <[email protected]> AuthorDate: Sat May 30 22:36:03 2020 +0200 fix checkout --- .github/workflows/post-commit.yml | 2 +- .../dist/src/main/compose/ozone-csi/test.sh | 33 ------------- .../src/main/compose/ozone-mr/hadoop31/test.sh | 45 ----------------- .../src/main/compose/ozone-mr/hadoop32/test.sh | 40 ---------------- .../dist/src/main/compose/ozone-om-ha-s3/test.sh | 36 -------------- .../dist/src/main/compose/ozone-topology/test.sh | 56 ---------------------- hadoop-ozone/dist/src/main/compose/ozone/test.sh | 14 ------ .../dist/src/main/compose/ozones3-haproxy/test.sh | 30 ------------ .../dist/src/main/compose/ozonesecure-mr/test.sh | 44 ----------------- .../src/main/compose/ozonesecure-om-ha/test.sh | 35 -------------- .../dist/src/main/compose/ozonesecure/test.sh | 46 ------------------ 11 files changed, 1 insertion(+), 380 deletions(-) diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml index e99a89e..eda2a2b 100644 --- a/.github/workflows/post-commit.yml +++ b/.github/workflows/post-commit.yml @@ -20,7 +20,7 @@ jobs: name: acceptance runs-on: ubuntu-18.04 steps: - - runs: | + - run: | sudo chmod 777 /mnt git clone --depth=1 https://github.com/${GITHUB_REPOSITORY}.git /mnt/ozone cd /mnt/ozone diff --git a/hadoop-ozone/dist/src/main/compose/ozone-csi/test.sh b/hadoop-ozone/dist/src/main/compose/ozone-csi/test.sh deleted file mode 100755 index 2a6e5f1..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozone-csi/test.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" -export COMPOSE_DIR - -export SECURITY_ENABLED=false -export OZONE_REPLICATION_FACTOR=3 - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -start_docker_env - -execute_robot_test csi csi.robot - -stop_docker_env - -generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozone-mr/hadoop31/test.sh b/hadoop-ozone/dist/src/main/compose/ozone-mr/hadoop31/test.sh deleted file mode 100755 index 362ff98..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozone-mr/hadoop31/test.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/.env" -source "$COMPOSE_DIR/../../testlib.sh" - -start_docker_env - -#rm is the container name (resource manager) and not the rm command -execute_command_in_container rm bash -c "if test -e /sbin/apk; then sudo -E apk add --update py-pip; sudo -E pip install robotframework; fi" - -execute_robot_test scm createmrenv.robot - -# reinitialize the directories to use -export OZONE_DIR=/opt/ozone -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../../testlib.sh" - -execute_robot_test rm ozonefs/hadoopo3fs.robot - -execute_robot_test rm -v "hadoop.version:${HADOOP_VERSION}" mapreduce.robot - -stop_docker_env - -generate_report - -cleanup_docker_images "${HADOOP_IMAGE}:${HADOOP_VERSION}" diff --git a/hadoop-ozone/dist/src/main/compose/ozone-mr/hadoop32/test.sh b/hadoop-ozone/dist/src/main/compose/ozone-mr/hadoop32/test.sh deleted file mode 100755 index b1910a5..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozone-mr/hadoop32/test.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../../testlib.sh" - -start_docker_env - -execute_robot_test scm createmrenv.robot - -# reinitialize the directories to use -export OZONE_DIR=/opt/ozone - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../../testlib.sh" - -execute_robot_test rm ozonefs/hadoopo3fs.robot - -execute_robot_test rm mapreduce.robot - -stop_docker_env - -generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozone-om-ha-s3/test.sh b/hadoop-ozone/dist/src/main/compose/ozone-om-ha-s3/test.sh deleted file mode 100644 index 719ad4c..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozone-om-ha-s3/test.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -export SECURITY_ENABLED=false -export OM_SERVICE_ID="id1" - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -start_docker_env - -execute_robot_test scm s3 - -execute_robot_test scm freon - -stop_docker_env - -generate_report - diff --git a/hadoop-ozone/dist/src/main/compose/ozone-topology/test.sh b/hadoop-ozone/dist/src/main/compose/ozone-topology/test.sh deleted file mode 100755 index d4efa4f..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozone-topology/test.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -start_docker_env 4 - -#Due to the limitation of the current auditparser test, it should be the -#first test in a clean cluster. - -#Disabling for now, audit parser tool during parse getting exception. -#execute_robot_test om auditparser - -execute_robot_test scm basic/basic.robot - -execute_robot_test scm topology/cli.robot - -# Ensure data can be read even when a full rack -# is stopped. -execute_robot_test scm topology/loaddata.robot - -stop_containers datanode_1 datanode_2 datanode_3 - -execute_robot_test scm topology/readdata.robot - -start_containers datanode_1 datanode_2 datanode_3 - -wait_for_port datanode_1 9858 60 -wait_for_port datanode_2 9858 60 -wait_for_port datanode_3 9858 60 - -stop_containers datanode_4 datanode_5 datanode_6 - -execute_robot_test scm topology/readdata.robot - -stop_docker_env - -generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozone/test.sh b/hadoop-ozone/dist/src/main/compose/ozone/test.sh index b77bd55..f48175d 100644 --- a/hadoop-ozone/dist/src/main/compose/ozone/test.sh +++ b/hadoop-ozone/dist/src/main/compose/ozone/test.sh @@ -34,20 +34,6 @@ start_docker_env execute_robot_test scm basic -execute_robot_test scm gdpr - -execute_robot_test scm ozonefs/ozonefs.robot - -execute_robot_test scm security/ozone-secure-token.robot - -execute_robot_test scm s3 - -execute_robot_test scm recon - -execute_robot_test scm om-ratis - -execute_robot_test scm freon - stop_docker_env generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh b/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh deleted file mode 100755 index f4bfcc3..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -start_docker_env - -execute_robot_test scm basic/basic.robot - -stop_docker_env - -generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh b/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh deleted file mode 100755 index cc6ebf0..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -export SECURITY_ENABLED=true - -start_docker_env - -execute_robot_test om kinit.robot - -execute_robot_test om createmrenv.robot - -# reinitialize the directories to use -export OZONE_DIR=/opt/ozone - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -execute_robot_test rm kinit-hadoop.robot - -execute_robot_test rm mapreduce.robot - -stop_docker_env - -generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure-om-ha/test.sh b/hadoop-ozone/dist/src/main/compose/ozonesecure-om-ha/test.sh deleted file mode 100755 index 8893ef6..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozonesecure-om-ha/test.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -export SECURITY_ENABLED=true -export OM_SERVICE_ID="id1" - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -start_docker_env - -execute_robot_test scm kinit.robot - -execute_robot_test scm freon - -stop_docker_env - -generate_report diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh deleted file mode 100755 index d1bdd0d..0000000 --- a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -export COMPOSE_DIR - -# shellcheck source=/dev/null -source "$COMPOSE_DIR/../testlib.sh" - -export SECURITY_ENABLED=true - -start_docker_env - -execute_robot_test scm kinit.robot - -execute_robot_test scm basic - -execute_robot_test scm security - -execute_robot_test scm ozonefs/ozonefs.robot - -execute_robot_test s3g s3 - -execute_robot_test scm admincli - -execute_robot_test scm recon - -execute_robot_test scm spnego - -stop_docker_env - -generate_report --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
