Repository navigation
Closed
Labels
area/infrastructurearea/testskind/test-flakeCategorizes issue or PR as related to test flakes.priority/P0
Description
Something is going wrong in our extended conformance tests and it looks like no pods ever get deployed. See:
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3765/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3760/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3755/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3754/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3751/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3742/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3741/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3738/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3737/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3728/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3666/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3663/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3651/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3643/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3623/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3614/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3611/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3605/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3602/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3598/
- https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/3593/
Might be a Docker daemon issue.
@smarterclayton @deads2k @liggitt @ncdc @rhatdan @runcom @bparees @pweil- @danmcp
Metadata
Metadata
Assignees
Labels
area/infrastructurearea/testskind/test-flakeCategorizes issue or PR as related to test flakes.priority/P0
Activity
runcom commentedon Jul 20, 2016
Is this running docker 1.10.3?
runcom commentedon Jul 20, 2016
Today @ncdc found a patch to be backported to prevent a race which caused the daemon to panic (I'm not saying this is the issue here but if docker is casing this somehow that can be an issue)
stevekuznetsov commentedon Jul 20, 2016
@runcom
runcom commentedon Jul 20, 2016
We could build docker from the latest patches we have (which didn't make the release) in docker rhel branch and test everything again. Is this doable? /cc @lsm5
runcom commentedon Jul 20, 2016
Steve do you have docker logs about those failures?
stevekuznetsov commentedon Jul 20, 2016
For a while the
dockerextrarepo on the OpenShift mirror list wasn't getting updated with 1.10.3 builds that did end up in RHEL -- @tdawson would know about the state of this today.No.
ncdc commentedon Jul 20, 2016
@stevekuznetsov if we aren't currently doing it, it would be nice if we could get journalctl output for docker.
stevekuznetsov commentedon Jul 20, 2016
@ncdc currently the jobs were being killed by Jenkins and the post-build download step wasn't occurring for artifacts. If the test script correctly fails and cleanup occurs, we log the last fifteen minutes from
journalctlfor the Docker daemon and the artifacts can be found atopenshift/test-extended/core/logs/docker.logex. hereI've reconfigured the Jenkins master to not abort the jobs, so instead, the host Vagrant connection should terminate running processes after 4h or the instances on AWS will be reaped in a similar time frame. However, I'm not certain that the termination will result in the
journalctllogs being dumped, although it will net us all the other artifacts that existed at the time of termination. We'd need someone to implement a logging mechanism by which we can grab stuff even if something times out and the job gets killed without running cleanup correctly to get logs always. I don't have the bandwidth to do that.stevekuznetsov commentedon Jul 20, 2016
@ncdc @runcom another possible strategy to harvest logs would be to
sshinto the EC2 instances running the failing tests while they're failing but not yet timed out. For instance, this job right now looks to be such a candidate. Candidates can be identified by looking at the job trend and looking for live jobs that have been running for two hours or more.ncdc commentedon Jul 20, 2016
Should be fixed by projectatomic/docker@a3eb7ca.
I have confirmed that docker-1.10.3-46.el7.3.x86_64, which looks like it corresponds to commit a46c31af70ca8d15521e312ad9ef7085cfe2fd3f, does not contain the fix referenced above.
ncdc commentedon Jul 20, 2016
So a new build of 1.10.3 should fix this
runcom commentedon Jul 20, 2016
@ncdc great
smarterclayton commentedon Jul 21, 2016
Conformance should be running a health check on the apiservers periodically
and bailing out if they go down. Waiting 300s each test is ridiculous.
On Wed, Jul 20, 2016 at 5:33 PM, Antonio Murdaca [email protected]
wrote:
ncdc commentedon Jul 21, 2016
According to @stevekuznetsov the test isn't origin containerized, so the apiserver stays up in this case even if docker goes down.
lsm5 commentedon Jul 29, 2016
The updated docker will be released in 7.2.6
stevekuznetsov commentedon Jul 29, 2016
@lsm5 @runcom do we know which patch on
docker-1.10.3has this fix?smarterclayton commentedon Jul 30, 2016
runcom commentedon Aug 1, 2016
@stevekuznetsov projectatomic/docker@a3eb7ca
stevekuznetsov commentedon Aug 1, 2016
@runcom sorry, by patch I meant the patch number in the resultant
docker-1.10.3-XXRPM name. AFAIK @tdawson is mirroring Docker builds, not building himself, so unless it's simple to determine which commit is in which patch we need the patch number to mirrorncdc commentedon Aug 1, 2016
@stevekuznetsov the mirror has been updated to docker-1.10.3-46.el7.10, which contains the fixes we need.
stevekuznetsov commentedon Aug 2, 2016
Ok. Let's keep an eye out and open this if we see any more failures.