This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src in repository toolchain/semiautobench.
commit 1ffd9223b5755f7dd291d223cfb6d1efb04742c6 Author: Bernard Ogden bernie.ogden@linaro.org Date: Fri Jul 24 15:43:44 2015 +0200
Remove debugging printfs
Change-Id: Ic64aeb988eb7d7975fc6b407f9fb9b8c05d573bd --- invoke_session_debian | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 2138c33..025d8d4 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -5,7 +5,7 @@ set -o pipefail
error=1
-trap "rm -rf ~/*; sleep infinity; exit ${error}" EXIT +trap "rm -rf ~/*; exit ${error}" EXIT
# Hack for now until lava-test-shell is smart enough to know it's dispatcher ip gateway=$1 @@ -26,8 +26,6 @@ else fi echo "Target's Gateway: $gateway"
-env - if ! grep 'invoke_session' /etc/rc.local then sed -i '/bin/a invoke_session &' /etc/rc.local @@ -84,8 +82,6 @@ echo $$ > /run/hacking/hacking.pid #Generate config file for each target in multinode job lava-network broadcast eth0 lava-network collect eth0 -echo WAITED > /dev/console -cat /tmp/lava_multi_node_cache.txt
#Request agent just before we need it #This would be two keys in one agent if we wanted one for source, one for job @@ -100,11 +96,9 @@ sed -i "s#^\(${benchmark}[[:blank:]]\+\).*#\1 ssh://localho [...]
target_names=() for lava_name in `lava-group | grep -v '[[:blank:]]*host$' | awk '{print $1}'`; do - echo "NAME ${lava_name}" > /dev/console target_ip="$(lava-network query ${lava_name} ipv4)" if test $? -ne 0; then echo "Failed to find IP for ${lava_name}"; exit 1; fi if test -z "${target_ip}"; then echo "Failed to find IP for ${lava_name}"; exit 1; fi - echo "IP ${target_ip}"
#Check that target is accessible, add it to our known_hosts, #add our one-time key to it's authorized_keys @@ -115,7 +109,6 @@ for lava_name in `lava-group | grep -v '[[:blank:]]*host$' | aw [...]
target_base="$(echo ${lava_name} | sed 's/[[:digit:]]*$//')" #TODO: HACK if test $? -ne 0; then echo "Failed to find target type from ${lava_name}"; exit 1; fi - echo "TYPE ${target_base}" sed "s/^ip=.*/ip=${target_ip}/" "${ABE_DIR}/config/boards/bench/${target_base}.c [...] if test $? -ne 0; then echo "Failed to generate config file for target ${lava_na [...] cp "${ABE_DIR}/config/boards/bench/${target_base}.services" "${ABE_DIR}/config/b [...]