Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

[17.07] Fix error handling with not-exist errors on remove #143

Merged
merged 1 commit into from
Aug 4, 2017

Conversation

cpuguy83
Copy link
Contributor

Cherry-pick moby/moby#33960

Specifically, none of the graphdrivers are supposed to return a
not-exist type of error on remove (or at least that's how they are
currently handled).

Found that AUFS still had one case where a not-exist error could escape,
when checking if the directory is mounted we call a `Statfs` on the
path.

This fixes AUFS to not return an error in this case, but also
double-checks at the daemon level on layer remove that the error is not
a `not-exist` type of error.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit d42dbdd)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 changed the title Fix error handling with not-exist errors on remove [17.07] Fix error handling with not-exist errors on remove Jul 26, 2017
@andrewhsu andrewhsu added this to the 17.07.0 milestone Jul 26, 2017
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

tiborvass pushed a commit to tiborvass/docker-ce that referenced this pull request Jul 31, 2017
Remove deprecated -e/--email flag from docker login
Upstream-commit: a0066a150be45ede09fb9fa2ac92952e2d52fe19
Component: cli
@thaJeztah
Copy link
Member

ping @tiborvass @andrewhsu PTAL

@seemethere
Copy link
Contributor

Test failures are consistent to what we know has been failing:

FOR: https://jenkins.dockerproject.org/job/docker-ce-pr/42/consoleText
Passed (thought would fail):

Failed (should fail)
DockerSuite.TestRmiContainerImageNotFound
DockerSuite.TestRmiImageIDForceWithRunningContainersAndMultipleTags
DockerSuite.TestRunAttachDetachFromInvalidFlag
DockerSuite.TestRunWithNanoCPUs
DockerSuite.TestUpdateWithNanoCPUs
DockerSwarmSuite.TestServiceLogs
DockerSwarmSuite.TestSwarmNetworkPluginV2
DockerSwarmSuite.TestSwarmServicePsMultipleServiceIDs

Checked with: https://gist.github.com/seemethere/6128cb2391cd43b65b0ff4880af427e5

Copy link
Contributor

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrewhsu andrewhsu merged commit 9be51c7 into docker:17.07 Aug 4, 2017
@cpuguy83 cpuguy83 deleted the cherry-pick-33960-17.07 branch August 4, 2017 23:17
docker-jenkins pushed a commit that referenced this pull request Aug 17, 2018
docker-jenkins pushed a commit that referenced this pull request Feb 21, 2019
…_on_rhel

[18.09 backport] Skip kernel-memory tests on RHEL/CentOS daemons
Upstream-commit: 6b0ba3745d073717887ead912c3c7dea4c99fc45
Component: engine
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Feb 3, 2020
[17.07] Fix error handling with not-exist errors on remove
akrasnov-drv pushed a commit to drivenets/docker-ce that referenced this pull request Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants