gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-grid5k] 86/141: update scripts


From: gnunet
Subject: [taler-grid5k] 86/141: update scripts
Date: Thu, 18 Nov 2021 14:50:27 +0100

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository grid5k.

commit 9d4daab115240bad8fb6b4f5552cc61315077dbc
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat Oct 30 12:07:42 2021 +0200

    update scripts
---
 experiment/scripts/ping.sh   |  3 ++-
 experiment/scripts/test1.sh  |  6 +++++-
 experiment/scripts/wallet.sh | 11 +++++++----
 notes.txt                    |  2 +-
 4 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/experiment/scripts/ping.sh b/experiment/scripts/ping.sh
index 2f9b5d1..973aaee 100755
--- a/experiment/scripts/ping.sh
+++ b/experiment/scripts/ping.sh
@@ -8,5 +8,6 @@ then
         --port 1515 \
         --server ${MONITOR_DOMAIN} \
          --tag taler-network \
-        "src=${TALER_HOST} dst=${1} ${DELAY}"
+        "src=${TALER_HOST} dst=${1} ${DELAY}" \
+        || true # Ignore errors (mostly because NXDOMAIN)
 fi
diff --git a/experiment/scripts/test1.sh b/experiment/scripts/test1.sh
index 6e29edc..606d288 100755
--- a/experiment/scripts/test1.sh
+++ b/experiment/scripts/test1.sh
@@ -1,6 +1,10 @@
 #!/bin/bash
 
-FAKE_PID=$1
+case $1 in
+   "*logging*")
+   echo "enable logging of wallet here"
+   ;;
+esac
 
 taler-wallet-cli \
     advanced bench1 \
diff --git a/experiment/scripts/wallet.sh b/experiment/scripts/wallet.sh
index 045b049..de10037 100755
--- a/experiment/scripts/wallet.sh
+++ b/experiment/scripts/wallet.sh
@@ -1,13 +1,16 @@
 #!/bin/bash
-set -eux
+
+NUM_PROCESSES=${NUM_WALLET_PROCESSES:-10}
 
 if [[ "$1" == "init" ]]; 
 then
   source ~/scripts/helpers.sh
   wait_for_keys "${PROXY_DOMAIN}"
   sleep 5
-fi
 
-NUM_PROCESSES=${NUM_WALLET_PROCESSES:-10}
+  # Start one process with logging enabled
+  let "NUM_PROCESSES-=1"
+  ~/scripts/test1.sh --with-logging &
+fi
 
-parallel --ungroup -j ${NUM_PROCESSES} ~/scripts/test1.sh ::: $(seq 
${NUM_PROCESSES})
+parallel -j ${NUM_PROCESSES} ~/scripts/test1.sh ::: $(seq ${NUM_PROCESSES})
diff --git a/notes.txt b/notes.txt
index b93f94c..927bfed 100644
--- a/notes.txt
+++ b/notes.txt
@@ -15,4 +15,4 @@
     response from an upstream server.<br />
     The proxy server could not handle the request<p>Reason: <strong>Error 
reading from remote server</strong></p></p>
 * SSH login from rpesc viewer not possible
-* SSH login often fails - must provide password for cert and user - or 
connection closed ...
+* SSH login often fails - must provide password for cert and user (user 
password is not the one I speciefied, neither the default for the root user of 
the image) - or connection closed ...

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]