Repository navigation
Closed
Labels
Description
FAILURE after 18.659s: test/end-to-end/core.sh:74: executing 'docker pull centos/ruby-22-centos7:latest' expecting success: the command returned the wrong error code
Standard output from the command:
Trying to pull repository docker.io/centos/ruby-22-centos7 ...
latest: Pulling from docker.io/centos/ruby-22-centos7
a3ed95caeb02: Already exists
da71393503ec: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Pulling fs layer
0ae955058062: Pulling fs layer
96f18d0972cc: Pulling fs layer
fe0dcb307ca7: Pulling fs layer
49808d1fea6f: Pulling fs layer
eaa692e177a7: Pulling fs layer
9df7bf51dad8: Pulling fs layer
bfdc90607585: Pulling fs layer
fe0dcb307ca7: Waiting
49808d1fea6f: Waiting
eaa692e177a7: Waiting
9df7bf51dad8: Waiting
bfdc90607585: Waiting
0ae955058062: Verifying Checksum
0ae955058062: Download complete
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
fe0dcb307ca7: Verifying Checksum
fe0dcb307ca7: Download complete
a3ed95caeb02: Pull complete
a3ed95caeb02: Pull complete
eaa692e177a7: Verifying Checksum
eaa692e177a7: Download complete
9df7bf51dad8: Verifying Checksum
9df7bf51dad8: Download complete
bfdc90607585: Verifying Checksum
bfdc90607585: Download complete
49808d1fea6f: Verifying Checksum
49808d1fea6f: Download complete
0ae955058062: Pull complete
0ae955058062: Pull complete
96f18d0972cc: Verifying Checksum
96f18d0972cc: Download complete
96f18d0972cc: Pull complete
96f18d0972cc: Pull complete
fe0dcb307ca7: Pull complete
fe0dcb307ca7: Pull complete
49808d1fea6f: Download complete
eaa692e177a7: Download complete
9df7bf51dad8: Download complete
bfdc90607585: Download complete
failed to register layer: ApplyLayer open /dev/mapper/docker-202:2-117588014-6b4a98e0d8608315d4875e5e207b1a4eaacc430535adce611956cdd54155584d: no such file or directory stdout: {"layerSize":0}
stderr:
Standard error from the command:
failed to register layer: ApplyLayer open /dev/mapper/docker-202:2-117588014-6b4a98e0d8608315d4875e5e207b1a4eaacc430535adce611956cdd54155584d: no such file or directory stdout: {"layerSize":0}
stderr:
[ERROR] PID 32141: hack/cmd_util.sh:230: `return "${return_code}"` exited with status 1.
[ERROR] Command with variables substituted is:
[ERROR] return 1
[INFO] Stack Trace:
[INFO] 1: hack/cmd_util.sh:230: `return "${return_code}"`
[INFO] 2: test/end-to-end/core.sh:74: os::cmd::expect_success
[INFO] Exiting with code 1.
Activity
soltysh commentedon Jun 29, 2016
Similarly in #9597:
mrunalp commentedon Jun 30, 2016
@rhvgoyal could you take a look?
liggitt commentedon Jul 7, 2016
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/2950/:
bparees commentedon Jul 14, 2016
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/3315/console
smarterclayton commentedon Aug 3, 2016
Saw this again
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/4623/consoleFull
smarterclayton commentedon Aug 3, 2016
@rhvgoyal saw this again on the latest RH Docker 1.10 - can you take a look?
mrunalp commentedon Aug 3, 2016
@rhvgoyal is on PTO. @shishir-a412ed could probably take a look.
shishir-a412ed commentedon Aug 3, 2016
@soltysh
a)
docker versionb)
docker infoc)
vgsd)
lvsShishir
shishir-a412ed commentedon Aug 3, 2016
@smarterclayton I have a Red Hat Enterprise Linux (RHEL) VM and I tried in on that. I was able to successfully pull down this image
docker.io/centos/ruby-22-centos7.I am running docker on loopback devices. Here is the output of
docker versionanddocker info.docker version:
docker info:
I also tried this on upstream docker 1.12 on a Fedora 23, works fine for me.
Shishir
smarterclayton commentedon Aug 3, 2016
This is a race condition that occurs a few times out of every hundred or
thousand pulls. So it's more subtle than "just broken" and either needs
debugging added to docker (so that when it happens we can figure out why)
or an assessment of the code in question to why it would race.
This is RHEL with the latest Docker 1.10 packages.
On Wed, Aug 3, 2016 at 1:50 PM, Shishir [email protected] wrote:
3 remaining items
mfojtik commentedon Aug 29, 2016
@mrunalp is this fixed?
rhvgoyal commentedon Aug 29, 2016
We have fixed one devicemapper race which happens when deferred removal is scheduled and cancelled before device could go away. In those cases also, device node is not present one gets error messages like open of device failed. Not sure if this error will be fixed by that or not.
projectatomic/docker#188
mfojtik commentedon Oct 12, 2016
@rhvgoyal @mrunalp do we have the fixed docker in Jenkins? I can still see this happening...
mrunalp commentedon Nov 17, 2016
@mfojtik Is this still happening? cc: @rhvgoyal
imcleod commentedon Nov 18, 2016
How about we whip up a standalone pull stress tester to try to reproduce this outside of OpenShift?
mrunalp commentedon Nov 18, 2016
@imcleod SGTM. @rhvgoyal @runcom WDYT?
runcom commentedon Nov 18, 2016
sgtm as well 👍
rhvgoyal commentedon Nov 21, 2016
So ApplyLayer Fails and complains about associated device not being present. I am wondering if image is still present or not (underlying layer on this this diff layer is being applied on).
rhvgoyal commentedon Nov 21, 2016
Have people noticed this problem in 1.10.3? In 1.10.3, we had fixed couple of races.
rhvgoyal commentedon Nov 21, 2016
This ApplyLayer failure message seems to be coming from
applyLayerHandler()inpkg/chrootarchive/diff_unix.goThis in turn calls
docker-applyLayerwithdestargument which is supposed to be a directory on top of which layer has to be applied.But somebody is trying to open the device
/dev/mapper/<foo>and that is not making much sense. That must have happened in Get() call before calling applyLayerHandler().