This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 2b29efd0d18f17212f3d99f3111abd4a195e3479
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 15:59:05 2015 +0200
Don't attach tmux to console
Makes the output less confusing, at least when attaching to the
session for debugging purposes.
Change-Id: I347a1e77913b1319c6401f76d564b9c9f9ec6569
---
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index 0aa22bf..bc36ff0 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -37,4 +37,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; new -ds benchmark-hos [...]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch remove_hackingisms
in repository toolchain/semiautobench.
discards 72b93b9 Move early IP report to first script
discards 169dfbd Remove hacking session isms
discards 2f37336 Don't attach tmux to console
new 2b29efd Don't attach tmux to console
new da5d621 Remove hacking session isms
new bebd78a Move early IP report to first script
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (72b93b9)
\
N -- N -- N refs/heads/remove_hackingisms (bebd78a)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 72b93b910ee6e46ecab6ce54126adc4555e7b756
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 12:33:16 2015 +0200
Move early IP report to first script
This is even earlier, and de-pollutes the main script a little.
Change-Id: I6dd6276190cad4af1c17b1c1ec78ed0627133bc0
---
bench-session-debian.yaml | 3 +--
invoke_session_debian | 22 ++++++++--------------
setup_session_debian | 5 +++++
3 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index 2430a6f..97d744f 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -6,7 +6,6 @@ metadata:
params:
PUB_KEY: None
- GATEWAY: 10.0.0.1
ABE_BRANCH: benchmarking
BENCHMARK: fakebench
TOOLCHAIN: https://releases.linaro.org/14.11/components/toolchain/binaries/arm [...]
@@ -37,4 +36,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index 6e5df43..2c05826 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -16,29 +16,22 @@ function exitfunc {
trap exitfunc EXIT
-# Hack for now until lava-test-shell is smart enough to know it's dispatcher ip
-gateway=$1
-abe_branch="$2"
+abe_branch="$1"
#these parameters used by Benchmark.job
-export benchmark="${3:?Must set a benchmark}"
-export toolchain="${4:?Must set a toolchain}"
-if test x"$5" = xNone; then
+export benchmark="${2:?Must set a benchmark}"
+export toolchain="${3:?Must set a toolchain}"
+if test x"$4" = xNone; then
export run_flags=
else
- export run_flags="$5"
+ export run_flags="$4"
fi
-if test x"$6" = xNone; then
+if test x"$5" = xNone; then
export compiler_flags=
else
- export compiler_flags="$6"
+ export compiler_flags="$5"
fi
-# Obtain target IP and Hostname
-ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
-hostname=$(cat /etc/hostname)
-echo "IP address for early debugging: ${ip_addr}"
-
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -80,6 +73,7 @@ fi
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
+ip_addr="$(lava-network query `lava-group | grep '[[:blank:]]\+host$' | awk '{prin [...]
#Request agent just before we need it
#This would be two keys in one agent if we wanted one for source, one for job
diff --git a/setup_session_debian b/setup_session_debian
index 4352d2d..ac6c2b5 100755
--- a/setup_session_debian
+++ b/setup_session_debian
@@ -12,3 +12,8 @@ echo "Public Key Installed: $1"
/etc/init.d/ssh restart
echo "sshd re-started"
+
+echo "Hostname for early debugging: $(cat /etc/hostname)"
+echo "IP address for early debugging: $(hostname -I)"
+
+
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 169dfbd19084f7bdf89caaaa91f0ffa1db1dc816
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Fri Jul 24 15:44:53 2015 +0200
Remove hacking session isms
We keep the bit that computes the IP address, even though
lava-network will tell us the same thing later - this is for
debugging of early problems.
Change-Id: I753801fcc4c051401d0aabb218bb7fd02d33324f
---
invoke_session_debian | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian
index 90ce64f..6e5df43 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -1,5 +1,4 @@
#!/bin/bash
-# Usage ./invoke_session <gateway>
set -u
set -o pipefail
@@ -34,17 +33,11 @@ if test x"$6" = xNone; then
else
export compiler_flags="$6"
fi
-echo "Target's Gateway: $gateway"
-
-if ! grep 'invoke_session' /etc/rc.local
-then
- sed -i '/bin/a invoke_session &' /etc/rc.local
-fi
# Obtain target IP and Hostname
ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
hostname=$(cat /etc/hostname)
-echo ${ip_addr}
+echo "IP address for early debugging: ${ip_addr}"
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -84,11 +77,6 @@ if ! ssh -o NoHostAuthenticationForLocalhost=yes localhost true; then
exit 1
fi
-echo ""
-mkdir -p /run
-mkdir -p /run/hacking
-echo $$ > /run/hacking/hacking.pid
-
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch remove_hackingisms
in repository toolchain/semiautobench.
discards 063e5c3 Move early IP report to first script
discards ba7f087 Remove hacking session isms
new 2f37336 Don't attach tmux to console
new 169dfbd Remove hacking session isms
new 72b93b9 Move early IP report to first script
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (063e5c3)
\
N -- N -- N refs/heads/remove_hackingisms (72b93b9)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 2f3733677727ab649876a3965483899fa26f54cb
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 15:59:05 2015 +0200
Don't attach tmux to console
Makes the output less confusing, at least when attaching to the
session for debugging purposes.
Change-Id: I347a1e77913b1319c6401f76d564b9c9f9ec6569
---
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index 0aa22bf..2430a6f 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -37,4 +37,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 063e5c34572675411dea84d7f388635e075831e3
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 12:33:16 2015 +0200
Move early IP report to first script
This is even earlier, and de-pollutes the main script a little.
Change-Id: I6dd6276190cad4af1c17b1c1ec78ed0627133bc0
---
bench-session-debian.yaml | 3 +--
invoke_session_debian | 22 ++++++++--------------
setup_session_debian | 5 +++++
3 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index 0aa22bf..72c8eb0 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -6,7 +6,6 @@ metadata:
params:
PUB_KEY: None
- GATEWAY: 10.0.0.1
ABE_BRANCH: benchmarking
BENCHMARK: fakebench
TOOLCHAIN: https://releases.linaro.org/14.11/components/toolchain/binaries/arm [...]
@@ -37,4 +36,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index 6e5df43..2c05826 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -16,29 +16,22 @@ function exitfunc {
trap exitfunc EXIT
-# Hack for now until lava-test-shell is smart enough to know it's dispatcher ip
-gateway=$1
-abe_branch="$2"
+abe_branch="$1"
#these parameters used by Benchmark.job
-export benchmark="${3:?Must set a benchmark}"
-export toolchain="${4:?Must set a toolchain}"
-if test x"$5" = xNone; then
+export benchmark="${2:?Must set a benchmark}"
+export toolchain="${3:?Must set a toolchain}"
+if test x"$4" = xNone; then
export run_flags=
else
- export run_flags="$5"
+ export run_flags="$4"
fi
-if test x"$6" = xNone; then
+if test x"$5" = xNone; then
export compiler_flags=
else
- export compiler_flags="$6"
+ export compiler_flags="$5"
fi
-# Obtain target IP and Hostname
-ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
-hostname=$(cat /etc/hostname)
-echo "IP address for early debugging: ${ip_addr}"
-
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -80,6 +73,7 @@ fi
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
+ip_addr="$(lava-network query `lava-group | grep '[[:blank:]]\+host$' | awk '{prin [...]
#Request agent just before we need it
#This would be two keys in one agent if we wanted one for source, one for job
diff --git a/setup_session_debian b/setup_session_debian
index 4352d2d..ac6c2b5 100755
--- a/setup_session_debian
+++ b/setup_session_debian
@@ -12,3 +12,8 @@ echo "Public Key Installed: $1"
/etc/init.d/ssh restart
echo "sshd re-started"
+
+echo "Hostname for early debugging: $(cat /etc/hostname)"
+echo "IP address for early debugging: $(hostname -I)"
+
+
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit ba7f087f993a12a22af2b2a0b572780c9c9db4d0
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Fri Jul 24 15:44:53 2015 +0200
Remove hacking session isms
We keep the bit that computes the IP address, even though
lava-network will tell us the same thing later - this is for
debugging of early problems.
Change-Id: I753801fcc4c051401d0aabb218bb7fd02d33324f
---
invoke_session_debian | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian
index 90ce64f..6e5df43 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -1,5 +1,4 @@
#!/bin/bash
-# Usage ./invoke_session <gateway>
set -u
set -o pipefail
@@ -34,17 +33,11 @@ if test x"$6" = xNone; then
else
export compiler_flags="$6"
fi
-echo "Target's Gateway: $gateway"
-
-if ! grep 'invoke_session' /etc/rc.local
-then
- sed -i '/bin/a invoke_session &' /etc/rc.local
-fi
# Obtain target IP and Hostname
ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
hostname=$(cat /etc/hostname)
-echo ${ip_addr}
+echo "IP address for early debugging: ${ip_addr}"
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -84,11 +77,6 @@ if ! ssh -o NoHostAuthenticationForLocalhost=yes localhost true; then
exit 1
fi
-echo ""
-mkdir -p /run
-mkdir -p /run/hacking
-echo $$ > /run/hacking/hacking.pid
-
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch remove_hackingisms
in repository toolchain/semiautobench.
discards dd258b8 Move early IP report to first script
discards ff530fe Remove hacking session isms
discards 538f51e Create debug mode
new 6624e56 Create debug mode
new ba7f087 Remove hacking session isms
new 063e5c3 Move early IP report to first script
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (dd258b8)
\
N -- N -- N refs/heads/remove_hackingisms (063e5c3)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.