Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3262b7fc
Commit
3262b7fc
authored
Aug 26, 2016
by
Dr. Stefan Schimanski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e: log wget output on CheckConnectivityToHost error
parent
83fa5dff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
util.go
test/e2e/framework/util.go
+12
-1
No files found.
test/e2e/framework/util.go
View file @
3262b7fc
...
@@ -4665,7 +4665,18 @@ func CheckConnectivityToHost(f *Framework, nodeName, podName, host string, timeo
...
@@ -4665,7 +4665,18 @@ func CheckConnectivityToHost(f *Framework, nodeName, podName, host string, timeo
return
err
return
err
}
}
defer
podClient
.
Delete
(
podName
,
nil
)
defer
podClient
.
Delete
(
podName
,
nil
)
return
WaitForPodSuccessInNamespace
(
f
.
Client
,
podName
,
contName
,
f
.
Namespace
.
Name
)
err
=
WaitForPodSuccessInNamespace
(
f
.
Client
,
podName
,
contName
,
f
.
Namespace
.
Name
)
if
err
!=
nil
{
logs
,
logErr
:=
GetPodLogs
(
f
.
Client
,
f
.
Namespace
.
Name
,
pod
.
Name
,
contName
)
if
logErr
!=
nil
{
Logf
(
"Warning: Failed to get logs from pod %q: %v"
,
pod
.
Name
,
logErr
)
}
else
{
Logf
(
"pod %s/%s
\"
wget
\"
logs:
\n
%s"
,
f
.
Namespace
.
Name
,
pod
.
Name
,
logs
)
}
}
return
err
}
}
// CoreDump SSHs to the master and all nodes and dumps their logs into dir.
// CoreDump SSHs to the master and all nodes and dumps their logs into dir.
...
...
Write
Preview
Markdown
is supported
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