Skip to content

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 <pjy@amazon.com>
@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
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