Skip to content

[testing] fix TestBuildUserNamespaceValidateCapabilitiesAreV2 failures#41936

Merged
cpuguy83 merged 2 commits intomoby:masterfrom
thaJeztah:fix_image_reference
Feb 16, 2021
Merged

[testing] fix TestBuildUserNamespaceValidateCapabilitiesAreV2 failures#41936
cpuguy83 merged 2 commits intomoby:masterfrom
thaJeztah:fix_image_reference

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Jan 26, 2021

relates to #41925 (comment)
relates to #41927 (comment)

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah

This comment has been minimized.

@thaJeztah thaJeztah marked this pull request as ready for review January 29, 2021 17:48
@thaJeztah thaJeztah changed the title [testing] debugging TestBuildUserNamespaceValidateCapabilitiesAreV2 failures [testing] fix TestBuildUserNamespaceValidateCapabilitiesAreV2 failures Feb 2, 2021
@thaJeztah
Copy link
Member Author

@cpuguy83 @tonistiigi @AkihiroSuda ptal

@thaJeztah thaJeztah added this to the 21.xx milestone Feb 4, 2021
This currently doesn't make a difference, because load.FrozenImagesLinux()
currently loads all frozen images, not just the specified one, but in case
that is fixed/implemented at some point.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Comment on lines 72 to 73
Copy link
Member Author

Choose a reason for hiding this comment

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

After discussing with @tonistiigi @tiborvass - updated this to use jsonmessage to detect errors (instead of checking for "Successfully built"

Possibly there's other tests that have this same issue (so something to look into in a follow-up)

Check if the `docker build` completed successfully before continuing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Contributor

@chris-crone chris-crone left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
Copy link
Member Author

arm failure doesn't look related; some issue with Jenkins and ec2?


[2021-02-15T17:18:22.585Z] ok  	github.com/docker/docker/daemon/graphdriver/copy	0.687s	coverage: 56.2% of statements
[2021-02-15T17:18:24.655Z] Cannot contact EC2 (managed-agents) - ubuntu-1604-overlay2-arm64v8 (i-0945b656c9be429e7): hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel

@thaJeztah
Copy link
Member Author

@cpuguy83 @tonistiigi @tiborvass ptal

@thaJeztah
Copy link
Member Author

jay; all green now (Jenkins was having some issues)

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@cpuguy83 cpuguy83 merged commit 3d96682 into moby:master Feb 16, 2021
@thaJeztah thaJeztah deleted the fix_image_reference branch February 16, 2021 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants