Skip to content

.travis:fix up PodCIDRSuite failure on Arm64#12504

Merged
qmonnet merged 1 commit intocilium:masterfrom
Jianlin-lv:pr-fix-podcidr-issue
Jul 17, 2020
Merged

.travis:fix up PodCIDRSuite failure on Arm64#12504
qmonnet merged 1 commit intocilium:masterfrom
Jianlin-lv:pr-fix-podcidr-issue

Conversation

@Jianlin-lv
Copy link
Copy Markdown
Contributor

Add mutex to protect the situation that invoke
c.Assert before ciliumNodesToK8s be deleted.

Signed-off-by: Jianlin Lv Jianlin.Lv@arm.com

Fixes: #12306

@Jianlin-lv Jianlin-lv requested a review from a team July 12, 2020 00:54
@maintainer-s-little-helper maintainer-s-little-helper Bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 12, 2020
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 12, 2020

Coverage Status

Coverage increased (+0.004%) to 36.965% when pulling f6454b8 on Jianlin-lv:pr-fix-podcidr-issue into 8c95392 on cilium:master.

Copy link
Copy Markdown
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

Is it the mutex that fixes this issue or the move into the select statement?

I think that previously, if there was a timeout for the 5s but the nodes got into the right state, it should (1) perform this check and (2) pass, although it prints an error via c.Error(). Now this check is not performed in the timeout case.

Add mutex to protect the situation that invoke
c.Assert before ciliumNodesToK8s be deleted.

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
@Jianlin-lv Jianlin-lv force-pushed the pr-fix-podcidr-issue branch from 8328e98 to f6454b8 Compare July 14, 2020 01:46
@Jianlin-lv
Copy link
Copy Markdown
Contributor Author

Is it the mutex that fixes this issue or the move into the select statement?

I think that previously, if there was a timeout for the 5s but the nodes got into the right state, it should (1) perform this check and (2) pass, although it prints an error via c.Error(). Now this check is not performed in the timeout case.

Mutex fixes this issue.
Updated this patch based on your comments.

@qmonnet qmonnet added the release-note/misc This PR makes changes that have no direct user impact. label Jul 15, 2020
@maintainer-s-little-helper maintainer-s-little-helper Bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 15, 2020
@qmonnet qmonnet requested a review from joestringer July 15, 2020 13:38
@qmonnet qmonnet added the ci/flake This is a known failure that occurs in the tree. Please investigate me! label Jul 15, 2020
@qmonnet qmonnet merged commit 0d8dba7 into cilium:master Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/flake This is a known failure that occurs in the tree. Please investigate me! release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Travis failed on arm64: PodCIDRSuite.TestNewNodesPodCIDRManager: Unified diff:

5 participants