Skip to content

check for duplicate nspath possibilities#6806

Merged
dmcgowan merged 1 commit intocontainerd:mainfrom
mikebrow:netns-hardening
Apr 14, 2022
Merged

check for duplicate nspath possibilities#6806
dmcgowan merged 1 commit intocontainerd:mainfrom
mikebrow:netns-hardening

Conversation

@mikebrow
Copy link
Copy Markdown
Member

@mikebrow mikebrow commented Apr 14, 2022

Seeing a flake in k8s e2e summary test that should not happen where network stats do not exist as reported by cadvisor. While debugging ran into docs indicating rand.Reader.Read may return < n bytes, may return 0 with no err. .. Per suggestion from @fuweid moved to rand.Read()... While in here should not hurt to check if the "random" generated namespace already exists, because in use or because did not get torn down. If the later and still exists should do further investigation for tearing it down.

https://github.com/kubernetes/kubernetes/issues/109082

Signed-off-by: Mike Brown brownwm@us.ibm.com

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Apr 14, 2022

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Apr 14, 2022

Build succeeded.

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Apr 14, 2022

Build succeeded.

Copy link
Copy Markdown
Member

@samuelkarp samuelkarp left a comment

Choose a reason for hiding this comment

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

LGTM

@dmcgowan dmcgowan merged commit 98260e1 into containerd:main Apr 14, 2022
@mikebrow mikebrow added cherry-picked/1.5.x PR commits are cherry-picked into release/1.5 branch cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch and removed cherry-pick/1.5.x labels Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/1.5.x PR commits are cherry-picked into release/1.5 branch cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants