-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Drop support for guest Linux 4.14 #4804
Conversation
f5986a1
to
5a3698d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4804 +/- ##
=======================================
Coverage 84.32% 84.32%
=======================================
Files 249 249
Lines 27512 27512
=======================================
+ Hits 23199 23200 +1
+ Misses 4313 4312 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8d8c5a9
to
b7b0083
Compare
Closes #4778 |
66529e0
to
2c91159
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since #4801 got merged, this now needs
diff --git a/resources/guest_configs/patches/0003-enable-ftrace.patch b/resources/guest_configs/patches/0003-enable-ftrace.patch
index ddc44888d..9c64d8bb3 100644
--- a/resources/guest_configs/patches/0003-enable-ftrace.patch
+++ b/resources/guest_configs/patches/0003-enable-ftrace.patch
@@ -1,26 +1,3 @@
-diff --git a/resources/guest_configs/microvm-kernel-ci-aarch64-4.14.config b/resources/guest_configs/microvm-kernel-ci-aarch64-4.14.config
-index 694058ca9..bf06466ab 100644
---- a/resources/guest_configs/microvm-kernel-ci-aarch64-4.14.config
-+++ b/resources/guest_configs/microvm-kernel-ci-aarch64-4.14.config
-@@ -2482,7 +2482,17 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
- CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
- CONFIG_HAVE_C_RECORDMCOUNT=y
- CONFIG_TRACING_SUPPORT=y
--# CONFIG_FTRACE is not set
-+CONFIG_FTRACE=y
-+CONFIG_FUNCTION_TRACER=y
-+CONFIG_FUNCTION_GRAPH_TRACER=y
-+CONFIG_IRQSOFF_TRACER=y
-+CONFIG_PREEMPT_TRACER=y
-+CONFIG_SCHED_TRACER=y
-+CONFIG_STACK_TRACER=y
-+CONFIG_BLK_DEV_IO_TRACE=y
-+CONFIG_FUNCTION_PROFILER=y
-+CONFIG_FTRACE_MCOUNT_RECORD=y
-+CONFIG_FTRACE_SYSCALLS=y
- # CONFIG_DMA_API_DEBUG is not set
- # CONFIG_KUNIT is not set
-
diff --git a/resources/guest_configs/microvm-kernel-ci-aarch64-5.10.config b/resources/guest_configs/microvm-kernel-ci-aarch64-5.10.config
index ac44904c1..2a6f2310f 100644
--- a/resources/guest_configs/microvm-kernel-ci-aarch64-5.10.config
@@ -66,30 +43,7 @@ index 26b87a658..f0f765298 100644
+CONFIG_FTRACE_SYSCALLS=y
# CONFIG_SAMPLES is not set
# CONFIG_STRICT_DEVMEM is not set
-
-diff --git a/resources/guest_configs/microvm-kernel-ci-x86_64-4.14.config b/resources/guest_configs/microvm-kernel-ci-x86_64-4.14.config
-index ee6df5ffc..3ab74b395 100644
---- a/resources/guest_configs/microvm-kernel-ci-x86_64-4.14.config
-+++ b/resources/guest_configs/microvm-kernel-ci-x86_64-4.14.config
-@@ -2694,7 +2694,17 @@ CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
- CONFIG_HAVE_FENTRY=y
- CONFIG_HAVE_C_RECORDMCOUNT=y
- CONFIG_TRACING_SUPPORT=y
--# CONFIG_FTRACE is not set
-+CONFIG_FTRACE=y
-+CONFIG_FUNCTION_TRACER=y
-+CONFIG_FUNCTION_GRAPH_TRACER=y
-+CONFIG_IRQSOFF_TRACER=y
-+CONFIG_PREEMPT_TRACER=y
-+CONFIG_SCHED_TRACER=y
-+CONFIG_STACK_TRACER=y
-+CONFIG_BLK_DEV_IO_TRACE=y
-+CONFIG_FUNCTION_PROFILER=y
-+CONFIG_FTRACE_MCOUNT_RECORD=y
-+CONFIG_FTRACE_SYSCALLS=y
- # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
- # CONFIG_DMA_API_DEBUG is not set
- # CONFIG_KUNIT is not set
+
diff --git a/resources/guest_configs/microvm-kernel-ci-x86_64-5.10-no-acpi.config b/resources/guest_configs/microvm-kernel-ci-x86_64-5.10-no-acpi.config
index b87fb3e44..fc45dda19 100644
--- a/resources/guest_configs/microvm-kernel-ci-x86_64-5.10-no-acpi.config
I think
Removing these tests as we don't emit metrics from them and they are still using kernel 4.14. There is no point on preserving these tests as we have now track boot time in test_boottime.py Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Remove support for generating kernel 4.14 and tests. Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
This should help in cases where it truncates the output. E AssertionError: assert {'aes', 'asim...simdrdm', ...} [...] E Extra items in the left set: E 'fp' E 'asimdhp' E 'sha2' E 'ssbs' E 'asimd' E 'crc32'... E E ...Full output truncated (47 lines hidden), use '-vv' to show Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
94ef042
to
8c348f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the changes Pablo!
Changes
Drop support for Linux guest 4.14
Reason
Linux guest support was deprecated in v1.9, remove support here.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
PR.
CHANGELOG.md
.TODO
s link to an issue.contribution quality standards.
rust-vmm
.