Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
alshabib
2014-10-21 21:36:47 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
e8641634f2038338514301076767b96b56bb6105
e8641634
2 parents
a43aa252
756fb29d
Merge branch 'master' of
ssh://gerrit.onlab.us:29418/onos-next
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
tools/test/bin/onos-check-logs
tools/test/bin/onos-install
tools/test/bin/onos-log
tools/test/bin/onos-check-logs
View file @
e864163
...
...
@@ -7,7 +7,10 @@
.
$ONOS_ROOT
/tools/build/envDefaults
remote
=
$ONOS_USER
@
${
1
:-
$OCI
}
instance
=
$2
LOG
=
$ONOS_INSTALL_DIR
/log/karaf.log
[
-n
"
$instance
"
]
&&
\
LOG
=
$ONOS_INSTALL_DIR
/
$KARAF_DIST
/instances/
$instance
/data/log/karaf.log
||
\
LOG
=
$ONOS_INSTALL_DIR
/log/karaf.log
ssh
$remote
"egrep 'ERROR|Exception'
$LOG
"
...
...
tools/test/bin/onos-install
View file @
e864163
...
...
@@ -39,8 +39,9 @@ ssh $remote "
[ -z "
$nostart
" ] && sudo cp
$ONOS_INSTALL_DIR
/debian/onos.conf /etc/init/onos.conf
echo 'export ONOS_OPTS=debug' >
$ONOS_INSTALL_DIR
/options
# Remove any previous ON.Lab bits from ~/.m2 repo
# Remove any previous ON.Lab bits from ~/.m2 repo
and re-stage it.
rm -fr ~/.m2/repository/org/onlab
cp -r
$ONOS_INSTALL_DIR
/
$KARAF_DIST
/system/org/onlab ~/.m2/repository/org/onlab
# Drop log level for the console
echo "
log4j.logger.org.apache.sshd
=
WARN
"
\
...
...
tools/test/bin/onos-log
View file @
e864163
...
...
@@ -7,8 +7,11 @@
.
$ONOS_ROOT
/tools/build/envDefaults
remote
=
$ONOS_USER
@
${
1
:-
$OCI
}
instance
=
$2
LOG
=
$ONOS_INSTALL_DIR
/log/karaf.log
[
-n
"
$instance
"
]
&&
\
LOG
=
$ONOS_INSTALL_DIR
/
$KARAF_DIST
/instances/
$instance
/data/log/karaf.log
||
\
LOG
=
$ONOS_INSTALL_DIR
/log/karaf.log
trap
"ssh
$remote
'ps -ef | grep
\"
tail -n 512
\"
| grep -v grep | cut -c10-15 | xargs kill'"
EXIT
...
...
Please
register
or
login
to post a comment