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/integration/amzn-2023: Add integration tests for AL2023 #1421

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

puranjaymohan
Copy link
Contributor

This commit adds tests for Amazon Linux 2023. All patches apply and integration tests pass.

This commit adds tests for Amazon Linux 2023. All patches apply and
integration tests pass.

Signed-off-by: Puranjay Mohan <[email protected]>
@joe-lawrence
Copy link
Contributor

@puranjaymohan : thanks for adding these! A quick question: do the tests run out of the box with make integration or does the user need to pass any environment variables or other setup?

@puranjaymohan
Copy link
Contributor Author

@joe-lawrence They run directly:

[root@ip-172-31-14-234 kpatch]# uname -a
Linux ip-172-31-14-234.eu-west-1.compute.internal 6.1.112-122.189.amzn2023.aarch64 #1 SMP Tue Oct  8 17:01:34 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

[root@ip-172-31-14-234 kpatch]# make integration
make -C kpatch-build
make[1]: Entering directory '/home/ec2-user/kpatch/kpatch-build'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ec2-user/kpatch/kpatch-build'
make -C kpatch
make[1]: Entering directory '/home/ec2-user/kpatch/kpatch'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ec2-user/kpatch/kpatch'
make -C kmod
make[1]: Entering directory '/home/ec2-user/kpatch/kmod'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ec2-user/kpatch/kmod'
make -C test/integration quick
make[1]: Entering directory '/home/ec2-user/kpatch/test/integration'
rm -f *.ko *.log COMBINED.patch
./kpatch-test --kpatch-build-opts="" -d "amzn"-"2023" --quick
build: symvers-disagreement-FAIL
build: warn-detect-FAIL
combine: skipping amzn-2023/symvers-disagreement-FAIL.patch
combine: skipping amzn-2023/warn-detect-FAIL.patch
build: combined module
load test: combined module
SUCCESS
make[1]: Leaving directory '/home/ec2-user/kpatch/test/integration'

@joe-lawrence joe-lawrence merged commit 891c6b0 into dynup:master Nov 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants