Skip to content

devmapper driver flake #9548

Closed
Closed

Description

@bparees
failed to register layer: devicemapper: Error running deviceResume dm_task_run failed
F0624 14:23:42.011832       1 helpers.go:107] error: build error: failed to register layer: devicemapper: Error running deviceResume dm_task_run failed
error: The build extended-test-build-no-outputname-moynj-m22ea/test-docker-1 status is "Failed"

as seen in:
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/2563/consoleFull

Not sure what component label to use for this, @danmcp.

Activity

  1. added
    kind/test-flake
    on Jun 24, 2016
  2. jwhonce commented on Jun 27, 2016

    @jwhonce
    Contributor

    @rhvgoyal Do you have any insight here?

  3. rhvgoyal commented on Jun 27, 2016

    @rhvgoyal

    We have a known race in suspend/resume path and this can trigger when deferred device removal is enabled.

    Shishir has queued up a patch for that upstream. This error message has similar signature and I suspect that patch might fix it.

    moby/moby#23497

  4. rhvgoyal commented on Jun 27, 2016

    @rhvgoyal
  5. added
    vendor-update
    on Jun 27, 2016
  6. shishir-a412ed commented on Jun 27, 2016

    @shishir-a412ed

    @jwhonce I agree this looks like the race condition issue.
    moby/moby#23418

    A fix is already proposed upstream and internally (projectatomic/docker)

    Upstream: moby/moby#23497
    Projectatomic/docker: projectatomic/docker#171

  7. jwhonce commented on Jun 30, 2016

    @jwhonce
    Contributor

    The current plan is to get a build by @runcom for testing projectatomic/docker#171 (comment)

  8. runcom commented on Jun 30, 2016

    @runcom
    Member

    @jwhonce is that for RHEL? if it is @lsm5 might give you that because I don't have any RHEL build machine (I never had, fedora only)

  9. smarterclayton commented on Jul 22, 2016

    @smarterclayton
    Contributor

    Do we have a plan to get a fix tested?

  10. jwhonce commented on Jul 25, 2016

    @jwhonce
    Contributor

    @bparees Which OS and Docker version are the jenkins tests using?

  11. bparees commented on Jul 25, 2016

    @bparees
    ContributorAuthor

    @jwhonce

    $ cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 7.2 (Maipo)
    
    $ uname -a
    Linux ip-172-18-10-184.ec2.internal 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
    
    $ docker version
    Client:
     Version:         1.10.3
     API version:     1.22
     Package version: docker-common-1.10.3-46.el7.3.x86_64
     Go version:      go1.6.2
     Git commit:      969e2ce-unsupported
     Built:           Tue Jul  5 17:10:57 2016
     OS/Arch:         linux/amd64
    
    Server:
     Version:         1.10.3
     API version:     1.22
     Package version: docker-common-1.10.3-46.el7.3.x86_64
     Go version:      go1.6.2
     Git commit:      969e2ce-unsupported
     Built:           Tue Jul  5 17:10:57 2016
     OS/Arch:         linux/amd64
    
  12. jwhonce commented on Jul 27, 2016

    @jwhonce
    Contributor

    @shishir-a412ed @rhvgoyal Looking at the git logs @shishir-a412ed 's patch should be included in the version of docker being run here. Any other ideas?

  13. bparees commented on Aug 1, 2016

    @bparees
    ContributorAuthor

    @jwhonce @shishir-a412ed @rhvgoyal is this another form of the same bug?

    F0730 11:25:29.985953       1 helpers.go:108] error: build error: open /dev/mapper/docker-202:2-50512749-36414ad9688ecd4e76f41c686c014523ab0f06bdc075ed2e3381c5b58ed858ce: no such file or directory
    

    as seen here:
    https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/4391/consoleFull

  14. shishir-a412ed commented on Aug 1, 2016

    @shishir-a412ed

    @bparees Which docker operation is throwing this error ? docker build ?
    Is this also on docker 1.10.3 on Red Hat Enterprise Linux Server release 7.2 (Maipo) ?

    Do you have some steps which I can use to reproduce this error ?

    Shishir

  15. bparees commented on Aug 1, 2016

    @bparees
    ContributorAuthor

    @shishir-a412ed it's the same infrastructure, yes. it occurred during a docker build operation as you can see from the logs i linked, it's just a standard docker build operation against a dockerfile. Looks like it was performing a COPY operation at the time.

  16. mdshuai commented on Aug 2, 2016

    @mdshuai

    When test this error in our env, "Error response from daemon: devicemapper: Error running deviceCreate (createSnapDevice) dm_task_run failed"
    https://bugzilla.redhat.com/show_bug.cgi?id=1362131

  17. bparees commented on Sep 2, 2016

    @bparees
    ContributorAuthor

    @jwhonce
    The FCM in jenkins, which matches on:
    .Error running deviceResume dm_task_run failed.
    and
    .Driver devicemapper failed to remove root filesystem.

    shows it last occurred on 9/2/16:
    #10708 (comment)

  18. runcom commented on Sep 2, 2016

    @runcom
    Member

    @jwhonce @bparees we added a backport to 1.12.1 and 1.10.3 (Fedora and RHEL) which I think addresses this flake (and race):

    1.12: projectatomic/docker@4ad9a64
    1.10.3: projectatomic/docker@a612434

    I built just this morning both versions in Fedora FWIW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/containerskind/test-flakepriority/P2vendor-update

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions