Bug 1406319
| Summary: | S2I build randomly got stuck at "Waiting for container to stop ..." | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> | ||||||
| Component: | Build | Assignee: | Jim Minter <jminter> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Wang Haoran <haowang> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 3.4.0 | CC: | aos-bugs, bparees, mifiedle, vlaad | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-12-21 14:19:16 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Gan Huang
2016-12-20 09:20:00 UTC
Created attachment 1233873 [details]
Stack trace from hung build.
Had loglevel 0 - let me know if you want another dump with a higher loglevel.
Created attachment 1233889 [details]
Stack trace with loglevel=9
The launched assemble container was still waiting on stdin to tar to close. This looks like it has been addressed more recently by: https://github.com/openshift/source-to-image/commit/eb59ecae86beedb5547c7da87bc184f78e9b8271 Jim, assigning to you, since it looks like you fixed it. Your change would need to be backported to the 3.4 stream. Hi Mike, could you confirm your statement "Seeing this in SVT environments starting with 3.4.0.37". Do you mean 3.4.0.36 was OK? I'm concerned this might be a Docker issue - has any Docker RPM version changed? Docker versions seem to be changing quickly in the 1.12.x stream. This environment is currently 1.12.4-3 which was new late last week. The docker 1.12.4-3/OCP 3.4.0.37 combo is the first test bed I hit the issue in. I have not tried to bisect. I think I've seen a docker container stdin hang elsewhere with source-to-image, also with docker-1.12.4-3.el7.x86_64. This does not seem to occur for me (for instance) on docker-1.12.2-5.el7.x86_64. What was the previous docker version you were using? Do you get the same behaviour that you've reported if you use the same OCP version but with docker-1.12.2-5.el7.x86_64? I'm testing docker-1.12.5-4 right now. It does not seem to have the issue referenced in the description (https://bugzilla.redhat.com/show_bug.cgi?id=1405306) which was forcing us to disable selinux to run builds. Will update with results. Ditto - the issue I've seen, which I think is likely to be the same as this, has not occurred for me on docker-1.12.5-4.el7.x86_64. I am also unable to reproduce on 1.12.5-4.el7.x86_64 This was probably https://github.com/docker/docker/issues/29421, https://github.com/projectatomic/docker/commit/e9e3ab6b6a718118a5928e726ab1297f0b8ef5cd. >= 1.12.5-1.el7.x86_64 contains the required patch. Test against docker-1.12.5-7.el7.x86_64. Can't reproduce it in 10 S2I builds. *** This bug has been marked as a duplicate of bug 1405306 *** |