Skip to content

Guard primitive array value-manager routing - #12114

Draft
simonrozsival wants to merge 2 commits into
mainfrom
dev/simonrozsival/fix-valuemanager-array-routing
Draft

Guard primitive array value-manager routing#12114
simonrozsival wants to merge 2 commits into
mainfrom
dev/simonrozsival/fix-valuemanager-array-routing

Validate list routing and reference ownership

a281eac
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-android failed Jul 15, 2026 in 2h 56m 15s

Build #11.0.0-preview.7.26365.1+pr.12114.azdo.1509865 had test failures

Details

Tests

  • Failed: 8 (0.10%)
  • Passed: 7,492 (92.85%)
  • Other: 569 (7.05%)
  • Total: 8,069

Annotations

Check failure on line 9684 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Build log #L9684

Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 9689 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Build log #L9689

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\_work\\1\\s\\bin\\TestRelease\\net10.0\\Xamarin.Android.Build.Tests.dll'
]

Check failure on line 343 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Build log #L343

Error: The process '/Users/runner/.dotnet//dotnet' failed with exit code 1

Check failure on line 348 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Build log #L348

Dotnet command failed with non-zero exit code on the following projects : [
  '/Users/runner/work/1/s/bin/TestRelease/MSBuildDeviceIntegration/net10.0/MSBuildDeviceIntegration.dll'
]

Check failure on line 1 in Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,NativeAOT)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,NativeAOT)

apkdiff regression test failed with exit code: 3.

== apkdiff output ==
Saving apk description to '/Users/cloudtest/vss/_work/1/a/TestRelease/07-15_09.37.27/BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc'
Size difference in bytes ([*1] apk1 only, [*2] apk2 only):
  +     322,160 lib/arm64-v8a/libUnnamedProject.so
  +         788 classes.dex
Summary:
  +           0 Other entries 0.00% (of 23,964)
  +         788 Dalvik executables 3.58% (of 22,016)
  +     322,160 Shared libraries 5.95% (of 5,411,456)
  +     110,592 Package size difference 4.84% (of 2,286,363)
Error: apkdiff: File 'lib/arm64-v8a/libUnnamedProject.so' has changed by 322,160 bytes (5.62 %). This exceeds the threshold of 5.00 %.
Error: apkdiff: PackageSize difference 4.84 % exceeds the threshold of 3.00 %. apk1 size: 2,286,363 bytes, apk2 size: 2,396,955 bytes.
Error: apkdiff: Size regression occured, 2 check(s) failed.

== .apkdesc diff (reference -> current) ==
  classes.dex
-     "Size": 22016
+     "Size": 22804   (+788 bytes)
  lib/arm64-v8a/libUnnamedProject.so
-     "Size": 5411456
+     "Size": 5733616   (+322,160 bytes)


== current 'BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc' (copy/paste to update the reference) ==
{
  "Comment": null,
  "Entries": {
    "AndroidManifest.xml": {
      "Size": 3124
    },
    "classes.dex": {
      "Size": 22804
    },
    "lib/arm64-v8a/libUnnamedProject.so": {
      "Size": 5733616
    },
    "res/drawable-hdpi-v4/icon.png": {
      "Size": 2178
    },
    "res/drawable-mdpi-v4/icon.png": {
      "Size": 1490
    },
    "res/drawable-xhdpi-v4/icon.png": {
      "Size": 3098
    },
    "res/drawable-xxhdpi-v4/icon.png": {
      "Size": 4674
    },
    "res/drawable-xxxhdpi-v4/icon.png": {
      "Size": 6832
    },
    "res/layout/main.xml": {
      "Size": 544
    },
    "res/xml/splits0.xml": {
      "Size": 120
    },
    "resources.arsc": {
      "Size": 1904
    }
  },
  "PackageSize": 2396955
}

If this change is intended, update the reference 'BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc' with the current '.apkdesc' above (or attached to this test), or run build-tools/scripts/UpdateApkSizeReference.sh.
Raw output
   at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

1)    at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

Check failure on line 1 in Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,CoreCLR)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,CoreCLR)

apkdiff regression test failed with exit code: 3.

== apkdiff output ==
Saving apk description to '/Users/cloudtest/vss/_work/1/a/TestRelease/07-15_09.44.30/BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc'
Size difference in bytes ([*1] apk1 only, [*2] apk2 only):
  +      91,384 lib/arm64-v8a/libassembly-store.so
  +       2,416 lib/arm64-v8a/libxamarin-app.so
  -      14,720 lib/arm64-v8a/libmonodroid.so
Summary:
  +           0 Other entries 0.00% (of 23,876)
  +           0 Dalvik executables 0.00% (of 402,852)
  +      79,080 Shared libraries 0.60% (of 13,171,232)
  +      86,016 Package size difference 1.19% (of 7,235,003)
Error: apkdiff: File 'lib/arm64-v8a/libxamarin-app.so' has changed by 2,416 bytes (10.19 %). This exceeds the threshold of 5.00 %.
Error: apkdiff: Size regression occured, 1 check(s) failed.

== .apkdesc diff (reference -> current) ==
  lib/arm64-v8a/libassembly-store.so
-     "Size": 2724872
+     "Size": 2816256   (+91,384 bytes)
  lib/arm64-v8a/libmonodroid.so
-     "Size": 1235528
+     "Size": 1220808   (-14,720 bytes)
  lib/arm64-v8a/libxamarin-app.so
-     "Size": 21288
+     "Size": 23704   (+2,416 bytes)


== current 'BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc' (copy/paste to update the reference) ==
{
  "Comment": null,
  "Entries": {
    "AndroidManifest.xml": {
      "Size": 3036
    },
    "classes.dex": {
      "Size": 402852
    },
    "lib/arm64-v8a/libassembly-store.so": {
      "Size": 2816256
    },
    "lib/arm64-v8a/libclrjit.so": {
      "Size": 2757816
    },
    "lib/arm64-v8a/libcoreclr.so": {
      "Size": 4837240
    },
    "lib/arm64-v8a/libmonodroid.so": {
      "Size": 1220808
    },
    "lib/arm64-v8a/libSystem.Globalization.Native.so": {
      "Size": 72112
    },
    "lib/arm64-v8a/libSystem.IO.Compression.Native.so": {
      "Size": 1258776
    },
    "lib/arm64-v8a/libSystem.Native.so": {
      "Size": 99664
    },
    "lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
      "Size": 163936
    },
    "lib/arm64-v8a/libxamarin-app.so": {
      "Size": 23704
    },
    "res/drawable-hdpi-v4/icon.png": {
      "Size": 2178
    },
    "res/drawable-mdpi-v4/icon.png": {
      "Size": 1490
    },
    "res/drawable-xhdpi-v4/icon.png": {
      "Size": 3098
    },
    "res/drawable-xxhdpi-v4/icon.png": {
      "Size": 4674
    },
    "res/drawable-xxxhdpi-v4/icon.png": {
      "Size": 6832
    },
    "res/layout/main.xml": {
      "Size": 544
    },
    "res/xml/splits0.xml": {
      "Size": 120
    },
    "resources.arsc": {
      "Size": 1904
    }
  },
  "PackageSize": 7321019
}

If this change is intended, update the reference 'BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc' with the current '.apkdesc' above (or attached to this test), or run build-tools/scripts/UpdateApkSizeReference.sh.
Raw output
   at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

1)    at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

Check failure on line 1 in Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,CoreCLR)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,CoreCLR)

apkdiff regression test failed with exit code: 3.

== apkdiff output ==
Saving apk description to 'D:\a\_work\1\a\TestRelease\07-15_09.41.20\BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc'
Size difference in bytes ([*1] apk1 only, [*2] apk2 only):
  +      91,376 lib/arm64-v8a/libassembly-store.so
  +       2,416 lib/arm64-v8a/libxamarin-app.so
  -      14,720 lib/arm64-v8a/libmonodroid.so
Summary:
  +           0 Other entries 0.00% (of 23,876)
  +           0 Dalvik executables 0.00% (of 402,852)
  +      79,072 Shared libraries 0.60% (of 13,171,232)
  +      86,016 Package size difference 1.19% (of 7,235,003)
Error: apkdiff: File 'lib/arm64-v8a/libxamarin-app.so' has changed by 2,416 bytes (10.19 %). This exceeds the threshold of 5.00 %.
Error: apkdiff: Size regression occured, 1 check(s) failed.

== .apkdesc diff (reference -> current) ==
  lib/arm64-v8a/libassembly-store.so
-     "Size": 2724872
+     "Size": 2816248   (+91,376 bytes)
  lib/arm64-v8a/libmonodroid.so
-     "Size": 1235528
+     "Size": 1220808   (-14,720 bytes)
  lib/arm64-v8a/libxamarin-app.so
-     "Size": 21288
+     "Size": 23704   (+2,416 bytes)


== current 'BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc' (copy/paste to update the reference) ==
{
  "Comment": null,
  "Entries": {
    "AndroidManifest.xml": {
      "Size": 3036
    },
    "classes.dex": {
      "Size": 402852
    },
    "lib/arm64-v8a/libassembly-store.so": {
      "Size": 2816248
    },
    "lib/arm64-v8a/libclrjit.so": {
      "Size": 2757816
    },
    "lib/arm64-v8a/libcoreclr.so": {
      "Size": 4837240
    },
    "lib/arm64-v8a/libmonodroid.so": {
      "Size": 1220808
    },
    "lib/arm64-v8a/libSystem.Globalization.Native.so": {
      "Size": 72112
    },
    "lib/arm64-v8a/libSystem.IO.Compression.Native.so": {
      "Size": 1258776
    },
    "lib/arm64-v8a/libSystem.Native.so": {
      "Size": 99664
    },
    "lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
      "Size": 163936
    },
    "lib/arm64-v8a/libxamarin-app.so": {
      "Size": 23704
    },
    "res/drawable-hdpi-v4/icon.png": {
      "Size": 2178
    },
    "res/drawable-mdpi-v4/icon.png": {
      "Size": 1490
    },
    "res/drawable-xhdpi-v4/icon.png": {
      "Size": 3098
    },
    "res/drawable-xxhdpi-v4/icon.png": {
      "Size": 4674
    },
    "res/drawable-xxxhdpi-v4/icon.png": {
      "Size": 6832
    },
    "res/layout/main.xml": {
      "Size": 544
    },
    "res/xml/splits0.xml": {
      "Size": 120
    },
    "resources.arsc": {
      "Size": 1904
    }
  },
  "PackageSize": 7321019
}

If this change is intended, update the reference 'BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc' with the current '.apkdesc' above (or attached to this test), or run build-tools/scripts/UpdateApkSizeReference.sh.
Raw output
   at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

1)    at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

Check failure on line 1 in Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,NativeAOT)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-android

Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(False,NativeAOT)

apkdiff regression test failed with exit code: 3.

== apkdiff output ==
Saving apk description to 'D:\a\_work\1\a\TestRelease\07-15_09.41.37\BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc'
Size difference in bytes ([*1] apk1 only, [*2] apk2 only):
  +     322,160 lib/arm64-v8a/libUnnamedProject.so
  +         788 classes.dex
Summary:
  +           0 Other entries 0.00% (of 23,964)
  +         788 Dalvik executables 3.58% (of 22,016)
  +     322,160 Shared libraries 5.95% (of 5,411,456)
  +     110,592 Package size difference 4.84% (of 2,286,363)
Error: apkdiff: File 'lib/arm64-v8a/libUnnamedProject.so' has changed by 322,160 bytes (5.62 %). This exceeds the threshold of 5.00 %.
Error: apkdiff: PackageSize difference 4.84 % exceeds the threshold of 3.00 %. apk1 size: 2,286,363 bytes, apk2 size: 2,396,955 bytes.
Error: apkdiff: Size regression occured, 2 check(s) failed.

== .apkdesc diff (reference -> current) ==
  classes.dex
-     "Size": 22016
+     "Size": 22804   (+788 bytes)
  lib/arm64-v8a/libUnnamedProject.so
-     "Size": 5411456
+     "Size": 5733616   (+322,160 bytes)


== current 'BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc' (copy/paste to update the reference) ==
{
  "Comment": null,
  "Entries": {
    "AndroidManifest.xml": {
      "Size": 3124
    },
    "classes.dex": {
      "Size": 22804
    },
    "lib/arm64-v8a/libUnnamedProject.so": {
      "Size": 5733616
    },
    "res/drawable-hdpi-v4/icon.png": {
      "Size": 2178
    },
    "res/drawable-mdpi-v4/icon.png": {
      "Size": 1490
    },
    "res/drawable-xhdpi-v4/icon.png": {
      "Size": 3098
    },
    "res/drawable-xxhdpi-v4/icon.png": {
      "Size": 4674
    },
    "res/drawable-xxxhdpi-v4/icon.png": {
      "Size": 6832
    },
    "res/layout/main.xml": {
      "Size": 544
    },
    "res/xml/splits0.xml": {
      "Size": 120
    },
    "resources.arsc": {
      "Size": 1904
    }
  },
  "PackageSize": 2396955
}

If this change is intended, update the reference 'BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc' with the current '.apkdesc' above (or attached to this test), or run build-tools/scripts/UpdateApkSizeReference.sh.
Raw output
   at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344

1)    at Xamarin.Android.Build.Tests.BuildTest2.BuildReleaseArm64(Boolean forms, AndroidRuntime runtime) in /Users/cloudtest/vss/_work/1/s/android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs:line 344