Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d904f740
Commit
d904f740
authored
Nov 03, 2009
by
Leigh B. Stoller
Browse files
More debugging; dump vtop file to log on failure.
parent
49d1e106
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
d904f740
...
...
@@ -1059,6 +1059,14 @@ sub GetTicketAuxAux($$$$$$$$)
$
slice_experiment
->
RemovePhysicalState
();
$
slice_experiment
->
RestorePhysicalState
();
}
#
Dump
the
vtop
.
if
(-
e
"$pid-$eid.vtop"
)
{
print
STDERR
"----------------------------------------------
\n
"
;
print
STDERR
"------------------ Vtop File -----------------
\n
"
;
my
$
log
=
`
cat
$
pid
-$
eid
.
vtop
`;
print
STDERR
$
log
.
"
\n
"
;
print
STDERR
"----------------------------------------------
\n
"
;
}
#
#
Lets
dump
the
error
log
too
,
so
it
ends
up
in
the
email
.
#
Have
to
figure
out
a
better
approach
for
this
.
...
...
@@ -1754,6 +1762,14 @@ sub SliverWorkAux($$$$$$$)
system
(
"$MAPPER -d -v -u -m 3 $pid $eid"
);
if
($?)
{
print
STDERR
"Mapper failed!
\n
"
;
#
Dump
the
vtop
.
if
(-
e
"$pid-$eid.vtop"
)
{
print
STDERR
"----------------------------------------------
\n
"
;
print
STDERR
"------------------ Vtop File -----------------
\n
"
;
my
$
log
=
`
cat
$
pid
-$
eid
.
vtop
`;
print
STDERR
$
log
.
"
\n
"
;
print
STDERR
"----------------------------------------------
\n
"
;
}
#
#
Lets
dump
the
error
log
too
,
so
it
ends
up
in
the
email
.
#
Have
to
figure
out
a
better
approach
for
this
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment