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

Add automated tests #6

Merged
merged 6 commits into from
Apr 8, 2024
Merged

Add automated tests #6

merged 6 commits into from
Apr 8, 2024

Conversation

gsingh93
Copy link
Member

@gsingh93 gsingh93 commented Apr 7, 2024

Tests with 12 different kernels on every push/PR. Depends on https://github.com/gsingh93/linux-exploit-dev-env and https://github.com/gsingh93/linux-exploit-dev-env-art-kt.

  • arm64 tests are failing because ubuntu-22.04 uses an older version of QEMU
  • linux 5.10 tests are failing due to an upstream kernel bug, will be fixed in the next stable kernel release
  • android13-5.10 and android14-5.15 tests are failing, and I'm not sure why. Need to investigate more

@gsingh93 gsingh93 force-pushed the dev branch 11 times, most recently from 8d8cb4a to fe093ef Compare April 8, 2024 08:02
@gsingh93
Copy link
Member Author

gsingh93 commented Apr 8, 2024

Tests now use prebuilt qemu-8.2.2 which fixed the arm64 tests. android x86 tests also needed this patch: gsingh93/linux-exploit-dev-env@88a208a

That just leaves the arm64 android13-5.10 that's failing. The default value of SCTLR_EL1 has EPAN enabled when I check it locally, but for some reason it's not set when running this kernel in the Github workflow, so the msr test is failing. Need to debug more to understand why.

@gsingh93
Copy link
Member Author

gsingh93 commented Apr 8, 2024

Locally I had been testing with android13-5.10. Turns out for some reason, EPAN is not enabled in android13-5.10-lts. After using a different value for SCTLR_EL1 when testing this kernel version, all tests pass (except ones failing due to upstream kernel bugs).

@gsingh93 gsingh93 merged commit 13d3bf7 into main Apr 8, 2024
22 of 26 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.

1 participant