You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by el...@apache.org on 2019/11/28 08:41:27 UTC
[hadoop-ozone] branch debug-acceptance-timeout created (now 82fecbe)
This is an automated email from the ASF dual-hosted git repository.
elek pushed a change to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git.
at 82fecbe retrigger build
This branch includes the following new commits:
new e72357c debug-acceptace-timeout
new 50044a0 fix build dependency
new c2e02ae fix install script
new 2cc38b8 sudo with power
new c81c1f5 debug without tmate
new 6eabf49 add timeout
new cc2a29b try to fix tmate
new 8b01da5 debug secure execution
new 883dcfc more debug
new 315e06b retrigger build
new e13bfea retrigger build
new 972c5a2 retrigger build
new 775f82d retrigger build
new 82fecbe retrigger build
The 14 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 04/14: sudo with power
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 2cc38b870db2d3a1ab6f9faf95bf4f9b8bf63e50
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 18:04:10 2019 +0100
sudo with power
---
.github/workflows/tmate.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/tmate.sh b/.github/workflows/tmate.sh
index fbe9166..55b8d50 100755
--- a/.github/workflows/tmate.sh
+++ b/.github/workflows/tmate.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-apt-get -y install tmate
+sudo apt-get -y install tmate
tmate -S /tmp/tmate.sock new-session -d
tmate -S /tmp/tmate.sock wait tmate-ready
tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 01/14: debug-acceptace-timeout
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit e72357c5e33841298b3a7d1242b55b015f6d8bd6
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 14:24:25 2019 +0100
debug-acceptace-timeout
---
.github/workflows/post-commit.yml | 83 +--------------------------------------
.github/workflows/tmate.sh | 7 ++++
2 files changed, 9 insertions(+), 81 deletions(-)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 5097be4..0d0adf6 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -16,86 +16,6 @@ name: build-branch
on:
- push
jobs:
- build:
- name: compile
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@master
- - uses: ./.github/buildenv
- with:
- args: ./hadoop-ozone/dev-support/checks/build.sh
- rat:
- name: rat
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@master
- - uses: ./.github/buildenv
- with:
- args: ./hadoop-ozone/dev-support/checks/rat.sh
- - uses: actions/upload-artifact@master
- if: always()
- with:
- name: rat
- path: target/rat
- author:
- name: author
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@master
- - uses: ./.github/buildenv
- with:
- args: ./hadoop-ozone/dev-support/checks/author.sh
- - uses: actions/upload-artifact@master
- if: always()
- with:
- name: author
- path: target/author
- unit:
- name: unit
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@master
- - uses: ./.github/buildenv
- with:
- args: ./hadoop-ozone/dev-support/checks/unit.sh
- - uses: ./.github/buildenv
- if: github.repository == 'apache/hadoop-ozone'
- with:
- args: ./hadoop-ozone/dev-support/checks/sonar.sh
- env:
- SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - uses: actions/upload-artifact@master
- if: always()
- with:
- name: unit
- path: target/unit
- checkstyle:
- name: checkstyle
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@master
- - uses: ./.github/buildenv
- with:
- args: ./hadoop-ozone/dev-support/checks/checkstyle.sh
- - uses: actions/upload-artifact@master
- if: always()
- with:
- name: checkstyle
- path: target/checkstyle
- findbugs:
- name: findbugs
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@master
- - uses: ./.github/buildenv
- with:
- args: ./hadoop-ozone/dev-support/checks/findbugs.sh
- - uses: actions/upload-artifact@master
- if: always()
- with:
- name: findbugs
- path: target/findbugs
acceptance:
name: acceptance
runs-on: ubuntu-18.04
@@ -112,7 +32,8 @@ jobs:
args: ./hadoop-ozone/dev-support/checks/build.sh
- run: sudo pip install robotframework
- run: sudo chown runner -R .
- - run: cd ./hadoop-ozone/dist/target/ozone-*-SNAPSHOT/ && mkdir .aws && sudo chown 1000 .aws
+ - run: cd ./hadoop-ozone/dist/target/ozone-*-SNAPSHOT/ && mkdir .aws && sudo chown 1000 .aws
+ - run: ./.github/workflows/tmate.sh
- run: ./hadoop-ozone/dev-support/checks/acceptance.sh
- uses: actions/upload-artifact@master
if: always()
diff --git a/.github/workflows/tmate.sh b/.github/workflows/tmate.sh
new file mode 100755
index 0000000..da1149c
--- /dev/null
+++ b/.github/workflows/tmate.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+sudo apt-get install tmate
+tmate -S /tmp/tmate.sock new-session -d
+tmate -S /tmp/tmate.sock wait tmate-ready
+tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'
+tmate -S /tmp/tmate.sock display -p '#{tmate_web}'
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 05/14: debug without tmate
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit c81c1f5e22fbc773cb188e3ee5c28ee3ee0fd417
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 18:34:34 2019 +0100
debug without tmate
---
.github/workflows/post-commit.yml | 2 +-
hadoop-ozone/dev-support/checks/acceptance.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 988e8eb..b411bbd 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- - run: ./.github/workflows/tmate.sh
+# - run: ./.github/workflows/tmate.sh
- uses: ./.github/buildenv
with:
args: ./hadoop-ozone/dev-support/checks/build.sh
diff --git a/hadoop-ozone/dev-support/checks/acceptance.sh b/hadoop-ozone/dev-support/checks/acceptance.sh
index c3c1aa0..71481ca 100755
--- a/hadoop-ozone/dev-support/checks/acceptance.sh
+++ b/hadoop-ozone/dev-support/checks/acceptance.sh
@@ -15,7 +15,7 @@
# limitations under the License.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR/../../.." || exit 1
-
+set -x
REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/acceptance"}
mkdir -p "$REPORT_DIR"
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 11/14: retrigger build
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit e13bfea4599212066142b5ad84b2a9173b2a55cb
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 22:58:41 2019 +0100
retrigger build
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 06/14: add timeout
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 6eabf49e6725f5c18fffc260ec12d1bbc1bb10cf
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 19:56:37 2019 +0100
add timeout
---
.github/workflows/post-commit.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index b411bbd..1a65599 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -19,6 +19,7 @@ jobs:
acceptance:
name: acceptance
runs-on: ubuntu-18.04
+ timeout-minutes: 90
steps:
- uses: actions/checkout@master
# - run: ./.github/workflows/tmate.sh
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 13/14: retrigger build
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 775f82d7420ca2d75e13d4372a0cce1b21f3dbac
Author: Márton Elek <el...@apache.org>
AuthorDate: Thu Nov 28 08:36:11 2019 +0100
retrigger build
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 03/14: fix install script
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit c2e02aee58b72f81102f4c4e6a18bf5c20bbbc6b
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 15:45:01 2019 +0100
fix install script
---
.github/workflows/post-commit.yml | 2 +-
.github/workflows/tmate.sh | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 2b71142..988e8eb 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -21,13 +21,13 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
+ - run: ./.github/workflows/tmate.sh
- uses: ./.github/buildenv
with:
args: ./hadoop-ozone/dev-support/checks/build.sh
- run: sudo pip install robotframework
- run: sudo chown runner -R .
- run: cd ./hadoop-ozone/dist/target/ozone-*-SNAPSHOT/ && mkdir .aws && sudo chown 1000 .aws
- - run: ./.github/workflows/tmate.sh
- run: ./hadoop-ozone/dev-support/checks/acceptance.sh
- uses: actions/upload-artifact@master
if: always()
diff --git a/.github/workflows/tmate.sh b/.github/workflows/tmate.sh
index da1149c..fbe9166 100755
--- a/.github/workflows/tmate.sh
+++ b/.github/workflows/tmate.sh
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
-
-sudo apt-get install tmate
+apt-get -y install tmate
tmate -S /tmp/tmate.sock new-session -d
tmate -S /tmp/tmate.sock wait tmate-ready
tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 09/14: more debug
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 883dcfc701f62e8f1b35658d47589101dcdcca6c
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 21:05:28 2019 +0100
more debug
---
hadoop-ozone/dist/src/main/compose/testlib.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hadoop-ozone/dist/src/main/compose/testlib.sh b/hadoop-ozone/dist/src/main/compose/testlib.sh
index b20dca8..9311ed9 100755
--- a/hadoop-ozone/dist/src/main/compose/testlib.sh
+++ b/hadoop-ozone/dist/src/main/compose/testlib.sh
@@ -103,6 +103,7 @@ start_docker_env(){
## @param Name of the container in the docker-compose file
## @param robot test file or directory relative to the smoketest dir
execute_robot_test(){
+ set -x
CONTAINER="$1"
shift 1 #Remove first argument which was the container name
# shellcheck disable=SC2206
@@ -115,13 +116,15 @@ execute_robot_test(){
OUTPUT_NAME="$COMPOSE_ENV_NAME-$TEST_NAME-$CONTAINER"
OUTPUT_PATH="$RESULT_DIR_INSIDE/robot-$OUTPUT_NAME.xml"
docker-compose -f "$COMPOSE_FILE" exec -T "$CONTAINER" mkdir -p "$RESULT_DIR_INSIDE"
+
+ docker-compose -f "$COMPOSE_FILE" exec -T -e SECURITY_ENABLED="${SECURITY_ENABLED}" "$CONTAINER" ln -f -s /dev/stdout /tmp/out.txt
# shellcheck disable=SC2068
- docker-compose -f "$COMPOSE_FILE" exec -T -e SECURITY_ENABLED="${SECURITY_ENABLED}" "$CONTAINER" python -m robot ${ARGUMENTS[@]} --log NONE -N "$TEST_NAME" --report NONE "${OZONE_ROBOT_OPTS[@]}" --output "$OUTPUT_PATH" "$SMOKETEST_DIR_INSIDE/$TEST"
+ docker-compose -f "$COMPOSE_FILE" exec -T -e SECURITY_ENABLED="${SECURITY_ENABLED}" "$CONTAINER" python -m robot ${ARGUMENTS[@]} --log NONE -N "$TEST_NAME" --debugfile /tmp/out --report NONE "${OZONE_ROBOT_OPTS[@]}" --output "$OUTPUT_PATH" "$SMOKETEST_DIR_INSIDE/$TEST"
FULL_CONTAINER_NAME=$(docker-compose -f "$COMPOSE_FILE" ps | grep "_${CONTAINER}_" | head -n 1 | awk '{print $1}')
docker cp "$FULL_CONTAINER_NAME:$OUTPUT_PATH" "$RESULT_DIR/"
set -e
-
+ set +x
}
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 14/14: retrigger build
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 82fecbe7cb029741f7eac2356632b7490af2b58b
Author: Márton Elek <el...@apache.org>
AuthorDate: Thu Nov 28 09:41:15 2019 +0100
retrigger build
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 10/14: retrigger build
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 315e06b493a7fad571c4c0ba2df9b75795f8d4e6
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 22:58:26 2019 +0100
retrigger build
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 12/14: retrigger build
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 972c5a2456564b552e2d799e7ea70b1f844a459d
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 22:58:48 2019 +0100
retrigger build
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 08/14: debug secure execution
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 8b01da578a733c9da44348f587738343be76c42a
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 20:08:21 2019 +0100
debug secure execution
---
hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
index f328463..a925f36 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
@@ -14,7 +14,7 @@
# 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.
-
+set -x
COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export COMPOSE_DIR
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 02/14: fix build dependency
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 50044a0ab5c6f1d2188370b919923f30644b4d17
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 15:23:25 2019 +0100
fix build dependency
---
.github/workflows/post-commit.yml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 0d0adf6..2b71142 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -19,12 +19,6 @@ jobs:
acceptance:
name: acceptance
runs-on: ubuntu-18.04
- needs:
- - build
- - rat
- - checkstyle
- - unit
- - findbugs
steps:
- uses: actions/checkout@master
- uses: ./.github/buildenv
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org
[hadoop-ozone] 07/14: try to fix tmate
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit cc2a29be25d59ec7f86323fc75cac9cd0c1be981
Author: Márton Elek <el...@apache.org>
AuthorDate: Wed Nov 27 20:01:58 2019 +0100
try to fix tmate
---
.github/workflows/post-commit.yml | 2 +-
.github/workflows/tmate.sh | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 1a65599..16877de 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -22,7 +22,7 @@ jobs:
timeout-minutes: 90
steps:
- uses: actions/checkout@master
-# - run: ./.github/workflows/tmate.sh
+ - run: ./.github/workflows/tmate.sh
- uses: ./.github/buildenv
with:
args: ./hadoop-ozone/dev-support/checks/build.sh
diff --git a/.github/workflows/tmate.sh b/.github/workflows/tmate.sh
index 55b8d50..c10a557 100755
--- a/.github/workflows/tmate.sh
+++ b/.github/workflows/tmate.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
+set -ex
sudo apt-get -y install tmate
tmate -S /tmp/tmate.sock new-session -d
-tmate -S /tmp/tmate.sock wait tmate-ready
+sleep 2
tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'
tmate -S /tmp/tmate.sock display -p '#{tmate_web}'
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org