From 2a2b47c8e605e535ad18f12413fe9bd58bbdd382 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 18 Oct 2024 08:55:37 -0500 Subject: [PATCH 1/2] [tests] use x86_64 API 23 image on nightly pipeline Context: https://github.com/dotnet/runtime/issues/106025 Context: https://discord.com/channels/732297728826277939/732297837953679412/1296764055654240317 `Mono.Android-Tests` on API 23 crash on launch with: 09-17 14:41:32.839 2758 2758 I monodroid-assembly: Failed to load shared library '/data/app/Mono.Android.NET_Tests-1/split_config.x86.apk!/lib/x86/libSystem.Native.so'. dlopen failed: cannot find "libc.so" from verneed[1] in DT_NEEDED list for "/data/app/Mono.Android.NET_Tests-1/split_config.x86.apk" But this same library appears to be correct, and loads on all of: * x86 API 21 * x86_64 API 23 * x86 API 24 This leads us to believe there is some kind of bug with loading native libraries on the API 23 x86 emulator image. For now, let's just target x86_64 on API 23 for the time being. --- build-tools/automation/azure-pipelines-nightly.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/automation/azure-pipelines-nightly.yaml b/build-tools/automation/azure-pipelines-nightly.yaml index 4f5ce4c33ac..2bce030b89c 100644 --- a/build-tools/automation/azure-pipelines-nightly.yaml +++ b/build-tools/automation/azure-pipelines-nightly.yaml @@ -89,7 +89,7 @@ stages: avdType: default Android23-x86: avdApiLevel: 23 - avdAbi: x86 + avdAbi: x86_64 avdType: default Android24-x86: avdApiLevel: 24 From 8ae7d83b9a8f5e2ef0d6b52820fa20f428b99bd7 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 18 Oct 2024 11:47:10 -0500 Subject: [PATCH 2/2] Fix matrix name --- build-tools/automation/azure-pipelines-nightly.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/automation/azure-pipelines-nightly.yaml b/build-tools/automation/azure-pipelines-nightly.yaml index 2bce030b89c..c09886ca432 100644 --- a/build-tools/automation/azure-pipelines-nightly.yaml +++ b/build-tools/automation/azure-pipelines-nightly.yaml @@ -87,7 +87,7 @@ stages: avdApiLevel: 21 avdAbi: x86 avdType: default - Android23-x86: + Android23-x86_64: avdApiLevel: 23 avdAbi: x86_64 avdType: default