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

[Android][infra] Increase the Android test coverage across different OS versions #102555

Open
matouskozak opened this issue May 22, 2024 · 6 comments

Comments

@matouskozak
Copy link
Member

For .NET 9, we support Android API version of 21 and newer (https://github.com/dotnet/core/blob/main/release-notes/9.0/supported-os.md#android). Our CI infrastructure only test a fixed API version:

# Android
- ${{ if in(parameters.platform, 'android_x86', 'android_x64', 'linux_bionic_x64') }}:
- Ubuntu.2204.Amd64.Android.29.Open
- ${{ if in(parameters.platform, 'android_arm', 'android_arm64', 'linux_bionic_arm', 'linux_bionic_arm64') }}:
- Windows.11.Amd64.Android.Open

We should explore the possibility of having coverage over both older and newer Android API version for the Libraries tests.

TODO:

  • Identify which Libraries tests should be evaluated on different API versions (prone to breaking Android API changes)
  • Estimate cost of new CI infrastructure jobs for Android testing
  • Introduce new Android jobs covering older/newer OS versions
Copy link
Contributor

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label May 22, 2024
@matouskozak matouskozak added this to the 9.0.0 milestone May 22, 2024
Copy link
Contributor

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label May 22, 2024
@matouskozak
Copy link
Member Author

fyi: @vitek-karas @simonrozsival

@matouskozak matouskozak changed the title [Android] Increase the Android test coverage across different OS versions [Android][infra] Increase the Android test coverage across different OS versions May 22, 2024
@akoeplinger
Copy link
Member

We do have Helix queues for the newer API levels, it just never was worth the CI cost and pain of triaging flaky issues to keep them enabled all the time. We used a temporary PR (#64341) to trigger the "full" set from time to time, but nowadays having a separate pipeline probably makes more sense.

@matouskozak
Copy link
Member Author

matouskozak commented May 23, 2024

We do have Helix queues for the newer API levels, it just never was worth the CI cost and pain of triaging flaky issues to keep them enabled all the time. We used a temporary PR (#64341) to trigger the "full" set from time to time, but nowadays having a separate pipeline probably makes more sense.

I think a temporary PR might be a good idea as well. Our initial idea was to do ~weekly runs but as you mentioned it depends on the CI cost and flakiness of the issues. I think it also depends on how many really issues we can discover using this approach and perhaps just a selected set of Libraries test could be run if they are prone to breaking changes by Android OS bumps.

@akoeplinger
Copy link
Member

perhaps just a selected set of Libraries test could be run if they are prone to breaking changes by Android OS bumps.

IMO trying to guess which tests could be broken is kinda impossible, much easier to run everything. If you only run weekly it should be manageable to deal with the flaky issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants