You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extended.[k8s.io] Probing container should *not* be restarted with a /healthz http liveness probe [Conformance] #12072
• Failure [138.845 seconds]
[k8s.io] Probing container
/data/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/framework/framework.go:793
should *not* be restarted with a /healthz http liveness probe [Conformance] [It]
/data/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/common/container_probe.go:233
Nov 29 23:16:31.438: pod e2e-tests-container-probe-dk0xc/liveness-http - expected number of restarts: 0, found restarts: 1
/data/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/common/container_probe.go:373
I have been trying to reproduce this locally but without luck. The main idea of this test is to check that a good container won't restart. Looking at the code and the history of this issue, following are my observations.
We are bringing up a nginx container and trying to check if <container_IP:80> is available.
This makes the test indeterministic and therefore flaky.
Since the goal this test is to check that a good container won't restart based on liveness probe, would it make sense to add a liveness command that checks for the existence of a particular directory or something else instead of a HTTP GET.
@stevekuznetsov - I created an upstream issue yesterday. I think it would be better to delete this test. I did not get any feedback on it yet but I will create a PR and see if the upstream is ok with it.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
Activity
derekwaynecarr commentedon Dec 1, 2016
Same as kubernetes/kubernetes#28084
smarterclayton commentedon Feb 13, 2017
I disabled this on origin_gce to due to flaking
0xmichalis commentedon Mar 28, 2017
https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/211/consoleFull#-169259343956c60d7be4b02b88ae8c268b
gabemontero commentedon Mar 30, 2017
It got noted again in upstream via kubernetes/kubernetes#30714
Saw it on our end again in #13577
bparees commentedon Jul 13, 2017
https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3104/
bparees commentedon Jul 13, 2017
the upstream issue referenced has been closed since march, but there was no resolution other than "we haven't seen it in a while"
0xmichalis commentedon Jul 20, 2017
Still an issue
https://ci.openshift.redhat.com/jenkins/view/All/job/merge_pull_request_origin/1319/
bparees commentedon Aug 31, 2017
https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_install_update/5216/
bparees commentedon Aug 31, 2017
referenced issue above has been closed so i am raising the priority of this issue.
6 remaining items
sjenning commentedon Jan 22, 2018
@ravisantoshgudimetla PTAL
ravisantoshgudimetla commentedon Jan 26, 2018
I have been trying to reproduce this locally but without luck. The main idea of this test is to check that a good container won't restart. Looking at the code and the history of this issue, following are my observations.
For example, the latest one failed with dial tcp
10.128.1.69:80: getsockopt: no route to host. This could be related to network setup as well.Since the goal this test is to check that a good container won't restart based on liveness probe, would it make sense to add a liveness command that checks for the existence of a particular directory or something else instead of a HTTP GET.
stevekuznetsov commentedon Feb 1, 2018
@ravisantoshgudimetla do you feel like you can deliver the change to the liveness probe to move away from HTTP?
ravisantoshgudimetla commentedon Feb 1, 2018
Flaked again-https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_gce/15413/console
@stevekuznetsov - I created an upstream issue yesterday. I think it would be better to delete this test. I did not get any feedback on it yet but I will create a PR and see if the upstream is ok with it.
Merge pull request #59218 from ravisantoshgudimetla/flake-59150
openshift-bot commentedon May 2, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
openshift-bot commentedon Jun 2, 2018
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle rotten
/remove-lifecycle stale
openshift-bot commentedon Jul 2, 2018
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen.Mark the issue as fresh by commenting
/remove-lifecycle rotten.Exclude this issue from closing again by commenting
/lifecycle frozen./close
Merge pull request kubernetes#59218 from ravisantoshgudimetla/flake-5…