@@ -51,7 +51,7 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
51
51
}
52
52
instance , err = gce .CreateInstance (
53
53
gce.Instance {
54
- Name : "npd-metrics-" + * image + "-" + uuid .NewUUID ().String ()[:8 ],
54
+ Name : "npd-metrics-" + uuid .NewUUID ().String ()[:8 ],
55
55
Zone : * zone ,
56
56
Project : * project ,
57
57
SshKey : * sshKey ,
@@ -130,6 +130,7 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
130
130
})
131
131
132
132
ginkgo .It ("NPD should update problem_counter{reason:Ext4Error} and problem_gauge{type:ReadonlyFilesystem}" , func () {
133
+ ginkgo .Skip ("Writing to /sys/fs/ext4/sda1/trigger_fs_error breaks SSH: https://github.com/kubernetes/node-problem-detector/issues/970" )
133
134
time .Sleep (5 * time .Second )
134
135
assertMetricValueAtLeast (instance ,
135
136
"problem_counter" , map [string ]string {"reason" : "Ext4Error" },
@@ -140,6 +141,7 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
140
141
})
141
142
142
143
ginkgo .It ("NPD should remain healthy" , func () {
144
+ ginkgo .Skip ("Writing to /sys/fs/ext4/sda1/trigger_fs_error breaks SSH: https://github.com/kubernetes/node-problem-detector/issues/970" )
143
145
npdStates := instance .RunCommandOrFail ("sudo systemctl show node-problem-detector -p ActiveState -p SubState" )
144
146
Expect (npdStates .Stdout ).To (ContainSubstring ("ActiveState=active" ), "NPD is no longer active: %v" , npdStates )
145
147
Expect (npdStates .Stdout ).To (ContainSubstring ("SubState=running" ), "NPD is no longer running: %v" , npdStates )
0 commit comments