Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Use NFS by default in test VMs #13983

Merged
merged 1 commit into from
Nov 27, 2020
Merged

Conversation

pchaigno
Copy link
Member

@pchaigno pchaigno commented Nov 11, 2020

The new K8sVerifier test compiles some Cilium binaries inside the VM, which can lead to interrupted system call errors. Using NFS should fix it by speeding up the filesystem accesses.

This pull request switches the test VMs to use NFS by default, thereby enabling NFS in our CI.

@pchaigno pchaigno added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Nov 11, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Nov 11, 2020
@pchaigno pchaigno closed this Nov 25, 2020
@pchaigno pchaigno reopened this Nov 25, 2020
@pchaigno pchaigno closed this Nov 25, 2020
@pchaigno pchaigno reopened this Nov 25, 2020
@pchaigno pchaigno marked this pull request as ready for review November 25, 2020 17:38
@pchaigno pchaigno requested a review from a team as a code owner November 25, 2020 17:38
@pchaigno pchaigno requested a review from nebril November 25, 2020 17:38
@pchaigno pchaigno changed the title test: Use NFS in Jenkins CI test: Use NFS by default in test VMs Nov 25, 2020
@nebril
Copy link
Member

nebril commented Nov 25, 2020

test-runtime

Copy link
Member

@fristonio fristonio left a comment

Choose a reason for hiding this comment

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

LGTM 🎉 🚀

@pchaigno
Copy link
Member Author

Note: I've disabled NFS for the Runtime test VM because it leads to permission errors. I will try to debug and re-enable later.

The new K8sVerifier test compiles some Cilium binaries inside the VM,
which can lead to 'interrupted system call' errors. Using NFS should fix
it by speeding up the filesystem accesses.

This commit switches the test VMs to use NFS by default, thereby
enabling NFS in our CI.

NFS remains disabled in the CI's Runtime tests because it leads to
permission errors [1].

1 - https://jenkins.cilium.io/job/Cilium-PR-Runtime-4.9/2739/consoleFull
Signed-off-by: Paul Chaignon <paul@cilium.io>
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.1 Nov 26, 2020
@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 Nov 26, 2020
@errordeveloper errordeveloper merged commit acb2daa into master Nov 27, 2020
@errordeveloper errordeveloper deleted the pr/pchaigno/nfs-in-ci branch November 27, 2020 10:15
@aanm aanm mentioned this pull request Nov 30, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.1 Nov 30, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.1 Nov 30, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.1 Dec 2, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.1 Dec 2, 2020
@aanm aanm mentioned this pull request Dec 4, 2020
@pchaigno
Copy link
Member Author

Backporting this to v1.8 as we will otherwise likely hit interrupted system call errors in the K8sVerifier test (already hitting those when running it locally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.9.1
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

7 participants