mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
Merge pull request #26314 from vishh/all-logs
Automatic merge from submit-queue Link kernel log files to have them be copied over as part of node e2e. Fixes #25993 cc @pwittrock
This commit is contained in:
@@ -101,9 +101,12 @@ var _ = BeforeSuite(func() {
|
||||
|
||||
// Tear down the kubelet on the node
|
||||
var _ = AfterSuite(func() {
|
||||
if e2es != nil && *startServices && *stopServices {
|
||||
glog.Infof("Stopping node services...")
|
||||
e2es.stop()
|
||||
if e2es != nil {
|
||||
e2es.getLogFiles()
|
||||
if *startServices && *stopServices {
|
||||
glog.Infof("Stopping node services...")
|
||||
e2es.stop()
|
||||
}
|
||||
}
|
||||
|
||||
glog.Infof("Tests Finished")
|
||||
@@ -118,6 +121,6 @@ func maskLocksmithdOnCoreos() {
|
||||
if output, err := exec.Command("sudo", "systemctl", "mask", "--now", "locksmithd").CombinedOutput(); err != nil {
|
||||
glog.Fatalf("Could not mask locksmithd: %v, output: %q", err, string(output))
|
||||
}
|
||||
glog.Infof("Locksmithd is masked successfully")
|
||||
}
|
||||
glog.Infof("Locksmithd is masked successfully")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user