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.
The following commit(s) were added to refs/heads/inserted_src by this push: new 89604ec Wait for an agent, not source 89604ec is described below
commit 89604ecd52be7a89fe7712dfd8016705d40a6f5b Author: Bernard Ogden bernie.ogden@linaro.org Date: Wed Jul 22 14:37:20 2015 +0200
Wait for an agent, not source
For now, assume that agent-to-get-source & agent-to-access-targets are the same. Sufficient for prototyping with fakebench, which doesn't need an agent-to-get-source.
Change-Id: Ic926c23cfe650255d619648d4607aaa0206d7e29 --- invoke_session_debian | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 2c93c2c..d4b13b5 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -78,8 +78,9 @@ if ! ssh -i ~/data/onetime -o StrictHostKeyChecking=no localhost [...] exit 1 fi
-echo "*** WAITING FOR SOURCE: ${ip_addr}" -#while ! test -e /tmp/benchsrc_ready; do inotifywait -e create /tmp; done +#This would be two agents if we wanted one for source, one for job +echo "*** WAITING FOR AGENT: ${ip_addr}" +while ! ssh-add -l &> /dev/null; do inotifywait -e create /tmp; done echo "" mkdir -p /run mkdir -p /run/hacking