You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2021/02/22 14:22:37 UTC

[ozone] branch master updated: HDDS-4850. Intermittent failure in ozonesecure due to unable to allocate block (#1948)

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new bf2c8a6  HDDS-4850. Intermittent failure in ozonesecure due to unable to allocate block (#1948)
bf2c8a6 is described below

commit bf2c8a65a469cd3a08bccea2cf801f2bb9bb3501
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Mon Feb 22 15:22:20 2021 +0100

    HDDS-4850. Intermittent failure in ozonesecure due to unable to allocate block (#1948)
---
 hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh         |  9 ++++-----
 .../dist/src/main/smoketest/admincli/replicationmanager.robot  | 10 +++++-----
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
index 387d81e..9150b24 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
@@ -51,16 +51,15 @@ done
 #admincli which creates STANDALONE pipeline
 execute_robot_test scm recon
 
-# test replication; must be run before admincli,
-# which stops replication manager
+execute_robot_test scm admincli
+execute_robot_test scm spnego
+
+# test replication
 docker-compose up -d --scale datanode=2
 execute_robot_test scm -v container:1 -v count:2 replication/wait.robot
 docker-compose up -d --scale datanode=3
 execute_robot_test scm -v container:1 -v count:3 replication/wait.robot
 
-execute_robot_test scm admincli
-execute_robot_test scm spnego
-
 stop_docker_env
 
 generate_report
diff --git a/hadoop-ozone/dist/src/main/smoketest/admincli/replicationmanager.robot b/hadoop-ozone/dist/src/main/smoketest/admincli/replicationmanager.robot
index cef294f..449d82e 100644
--- a/hadoop-ozone/dist/src/main/smoketest/admincli/replicationmanager.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/admincli/replicationmanager.robot
@@ -30,16 +30,16 @@ Check replicationmanager with explicit host
                         Should contain   ${output}   ReplicationManager
                         Should contain   ${output}   Running
 
-Start replicationmanager
-    ${output} =         Execute          ozone admin replicationmanager start
-                        Should contain   ${output}   Starting ReplicationManager
-                        Wait Until Keyword Succeeds    30sec    5sec    Execute          ozone admin replicationmanager status | grep -q 'is Running'
-
 Stop replicationmanager
     ${output} =         Execute          ozone admin replicationmanager stop
                         Should contain   ${output}   Stopping ReplicationManager
                         Wait Until Keyword Succeeds    30sec    5sec    Execute          ozone admin replicationmanager status | grep -q 'is Not Running'
 
+Start replicationmanager
+    ${output} =         Execute          ozone admin replicationmanager start
+                        Should contain   ${output}   Starting ReplicationManager
+                        Wait Until Keyword Succeeds    30sec    5sec    Execute          ozone admin replicationmanager status | grep -q 'is Running'
+
 Incomplete command
     ${output} =         Execute And Ignore Error     ozone admin replicationmanager
                         Should contain   ${output}   Incomplete command


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org