[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.
- [taler-grid5k] 84/141: set envfile in netdelay service, (continued)
- [taler-grid5k] 84/141: set envfile in netdelay service, gnunet, 2021/11/18
- [taler-grid5k] 92/141: update loki config, gnunet, 2021/11/18
- [taler-grid5k] 131/141: fix image, gnunet, 2021/11/18
- [taler-grid5k] 81/141: build from source working with dist, gnunet, 2021/11/18
- [taler-grid5k] 136/141: fix account, gnunet, 2021/11/18
- [taler-grid5k] 116/141: add dnsmasq as stub resolver, tshark, update scripts, gnunet, 2021/11/18
- [taler-grid5k] 95/141: add merchant from source, gnunet, 2021/11/18
- [taler-grid5k] 106/141: update scripts and docker build image, gnunet, 2021/11/18
- [taler-grid5k] 99/141: add docker to build g5k image, gnunet, 2021/11/18
- [taler-grid5k] 139/141: remove sanitizer, gnunet, 2021/11/18
- [taler-grid5k] 86/141: update scripts,
gnunet <=
- [taler-grid5k] 104/141: update scripts and docker build, gnunet, 2021/11/18
- [taler-grid5k] 93/141: image build back to apt, gnunet, 2021/11/18
- [taler-grid5k] 75/141: add benchmark run for wallet, gnunet, 2021/11/18
- [taler-grid5k] 98/141: add missing package for merchant build, gnunet, 2021/11/18
- [taler-grid5k] 94/141: add merchant configuration, gnunet, 2021/11/18
- [taler-grid5k] 135/141: remove sanitizer again, gnunet, 2021/11/18
- [taler-grid5k] 83/141: update image - set install path to /usr instead of /usr/local, gnunet, 2021/11/18
- [taler-grid5k] 105/141: more wallet hosts, gnunet, 2021/11/18
- [taler-grid5k] 88/141: use wallet as a service, gnunet, 2021/11/18
- [taler-grid5k] 107/141: fix image config, gnunet, 2021/11/18