Skip to content

Shorten dummy device name in linuxrouting tests#11555

Merged
joestringer merged 1 commit intomasterfrom
pr/christarazi/fix-broken-runtime-priv-tests
May 15, 2020
Merged

Shorten dummy device name in linuxrouting tests#11555
joestringer merged 1 commit intomasterfrom
pr/christarazi/fix-broken-runtime-priv-tests

Conversation

@christarazi
Copy link
Copy Markdown
Member

@christarazi christarazi commented May 15, 2020

Due to the refactor from #11452, the device name was renamed from
"enirouting-test" to "linuxrouting-test" which is 17 characters long,
exceeding the max device name size (IFNAMSIZ) of 16. 1

This commit renames the device name to be under 16 characters.

Fixes #11547
Fixes #11452

Note to backporters: this PR depends on #11452 being backported

@maintainer-s-little-helper
Copy link
Copy Markdown

Please set the appropriate release note label.

@christarazi
Copy link
Copy Markdown
Member Author

test-me-please

@christarazi christarazi added kind/bug/CI This is a bug in the testing code. needs-backport/1.7 release-note/misc This PR makes changes that have no direct user impact. labels May 15, 2020
@christarazi christarazi added the kind/regression This functionality worked fine before, but was broken in a newer release of Cilium. label May 15, 2020
Due to the refactor from #11452, the device name was renamed from
"enirouting-test" to "linuxrouting-test" which is 17 characters long,
exceeding the max device name size (`IFNAMSIZ`) of 16. [1]

This commit renames the device name to be under 16 characters.

Fixes #11547
Fixes #11452

[1]:
https://elixir.bootlin.com/linux/v5.6/source/include/uapi/linux/if.h#L33

Signed-off-by: Chris Tarazi <chris@isovalent.com>
@christarazi christarazi force-pushed the pr/christarazi/fix-broken-runtime-priv-tests branch from efc8905 to 522db25 Compare May 15, 2020 18:10
@christarazi
Copy link
Copy Markdown
Member Author

christarazi commented May 15, 2020

test-me-please

Edit: runtime tests failed on cleaning up KVStore, seems like a flake: https://jenkins.cilium.io/job/Cilium-PR-Runtime-4.9/187/

@christarazi christarazi marked this pull request as ready for review May 15, 2020 18:11
@christarazi christarazi requested a review from a team May 15, 2020 18:11
Copy link
Copy Markdown
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

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

TIL Netronome is 4 characters away from going out of business 😱

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.008%) to 37.009% when pulling 522db25 on pr/christarazi/fix-broken-runtime-priv-tests into 43a7bba on master.

@christarazi
Copy link
Copy Markdown
Member Author

retest-runtime

@joestringer
Copy link
Copy Markdown
Member

This only affects the runtime CI test, happy to merge with a pass on that CI check.

@joestringer joestringer merged commit 2141eca into master May 15, 2020
@joestringer joestringer deleted the pr/christarazi/fix-broken-runtime-priv-tests branch May 15, 2020 20:40
@maintainer-s-little-helper maintainer-s-little-helper Bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug/CI This is a bug in the testing code. kind/regression This functionality worked fine before, but was broken in a newer release of Cilium. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. 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: eni/routing privileged unit tests not working

7 participants