[test] Fix TestBuildApiDockerFileRemote#26720
Merged
thaJeztah merged 1 commit intoSep 20, 2016
Merged
Conversation
Contributor
|
LGTM |
1 similar comment
Member
|
LGTM |
Member
Author
|
Strange error in windowsRS1?? |
TestBuildApiDockerFileRemote has been consistently failing (EPERM) on the host with moby#26618, which prohibits /sys/firmware from being accessed using apparmor. Signed-off-by: Akihiro Suda <[email protected]>
AkihiroSuda
force-pushed
the
fix-TestBuildApiDockerFileRemote
branch
from
September 20, 2016 14:15
cea7a41 to
f453261
Compare
Member
Author
|
updated PR, hope CI passes.. |
Member
Author
|
failure in |
Contributor
|
Thanks @AkihiroSuda! |
Member
|
still LGTM ping @jhowardmsft for the difference between busybox on Windows and on Linux |
Member
|
Merging, as the test that's fixed here passed on win2lin as well (and failure is unrelated, as @AkihiroSuda mentioned); |
liusdu
pushed a commit
to liusdu/moby
that referenced
this pull request
Oct 30, 2017
Fix flaky test: TestBuildApiDockerFileRemote TestBuildApiDockerFileRemote has been consistently failing (EPERM) on the host with moby#26618, which prohibits /sys/firmware from being accessed using apparmor. Cherry-pick from moby#26720 fix issue moby#183 Issues info: Issue ID: 183 Title: flaky test: TestBuildApiDockerFileRemote Issue url: moby#183 See merge request docker/docker!294
This was referenced Aug 22, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
TestBuildApiDockerFileRemotehas been consistently failing (EPERM) on the host with #26618, which prohibits /sys/firmware from being accessed using apparmor.https://github.com/docker/docker/blob/8a46c18dd4e4f8091b9e02ef5b476e8b8aa77c47/integration-cli/docker_api_build_test.go#L19
Replaces #26689
- How I did it
Add
-xdevtofind.- How to verify it
Make sure the latest apparmor profile is installed to the host:
Then execute the test
$ TESTFLAGS='-check.f TestBuildApiDockerFileRemote' make test-integration-cli- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Akihiro Suda [email protected]