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

[NativeAOT] add sample that runs successfully #9636

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Prepare java.interop before emulator tests

b559b8d
Select commit
Loading
Failed to load commit list.
Open

[NativeAOT] add sample that runs successfully #9636

Prepare java.interop before emulator tests
b559b8d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Xamarin.Android-PR failed Dec 21, 2024 in 3h 14m 17s

Build #9.0.30-ci.main.24620.1+pr.9636.azdo.10742460 had test failures

Details

Tests

  • Failed: 2 (0.03%)
  • Passed: 6,820 (99.03%)
  • Other: 65 (0.94%)
  • Total: 6,887

Annotations

Check failure on line 33 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L33

Bash exited with code '56'.

Check failure on line 42 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L42

Bash exited with code '56'.

Check failure on line 5583 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L5583

PowerShell exited with code '1'.

Check failure on line 33 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L33

Bash exited with code '56'.

Check failure on line 1 in Possible Crash / Release

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Possible Crash / Release

Error processing `/Users/runner/work/1/s/bin/TestRelease/net9.0-android/TestResult-Mono.Android.NET_Tests.xml`.  Check the build log for execution errors.
File contents:
---`adb logcat`---
--------- beginning of main
12-20 21:44:52.581  4880  4880 I AlarmClock: AlarmInitReceiver android.intent.action.LOCKED_BOOT_COMPLETED
12-20 21:44:52.594  4880  4908 I AlarmClock: Fixing alarm instances
12-20 21:44:52.646  4794  4794 I InputAttributes: InputType.TYPE_NULL is specified
12-20 21:44:52.667  4718  4718 D TelephonyProvider: subIdString = 1 subId = 1
12-20 21:44:52.697  4880  4908 V AlarmClock: AlarmInitReceiver finished
12-20 21:44:52.700  4472  4472 W KeyguardUpdateMonitor: invalid subId in handleServiceStateChange()
12-20 21:44:52.700  4472  4472 D KeyguardUpdateMonitor: handleSimStateChange(subId=-1, slotId=0, state=READY)
12-20 21:44:52.700  4472  4472 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()
12-20 21:44:52.700  4472  4472 W KeyguardUpdateMonitor: invalid subId in handleServiceStateChange()
12-20 21:44:52.700  4472  4472 V KeyguardUpdateMonitor: onSubscriptionInfoChanged()
12-20 21:44:52.900  4472  4472 I Choreographer: Skipped 108 frames!  The application may be doing too much work on its main thread.
--------- beginning of system
12-20 21:44:52.794  1582  2201 I chatty  : uid=0(root) Binder:1582_5 expire 4 lines
12-20 21:44:52.868  1582  2201 D vold    : Waiting for FUSE to spin up...
12-20 21:44:52.909  4332  4349 W Looper  : Drained
12-20 21:44:52.911  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.911  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.911  4332  4357 I system_server: Using smaps_rollup for pss collection
12-20 21:44:52.912  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.912  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.912  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.912  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.912  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.912  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.912  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.912  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.912  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.912  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.913  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.913  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.913  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.913  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.913  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.913  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.913  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.913  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.913  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.913  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.913  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.913  4332  4350 W Looper  : Drained
12-20 21:44:52.913  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.914  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.914  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.914  4332  4357 E memtrack: Couldn't load memtrack module
12-20 21:44:52.914  4332  4357 W android.os.Debug: failed to get memory consumption info: -1
12-20 21:44:52.914  4332  4357 E memtrack: Couldn't l
Raw output
System.IO.FileNotFoundException: Could not find file '/Users/runner/work/1/s/bin/TestRelease/net9.0-android/TestResult-Mono.Android.NET_Tests.xml'.
File name: '/Users/runner/work/1/s/bin/TestRelease/net9.0-android/TestResult-Mono.Android.NET_Tests.xml'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy)
   at System.Xml.XmlTextReaderImpl.FinishInitUriString()
   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at Xamarin.Android.Tools.BootstrapTasks.RenameTestCases.FixupTestResultFile(String source, String dest, String testNameSuffix) in /Users/runner/work/1/s/build-tools/Xamarin.Android.Tools.BootstrapTasks/Xamarin.Android.Tools.BootstrapTasks/RenameTestCases.cs:line 85
   at Xamarin.Android.Tools.BootstrapTasks.RenameTestCases.Execute() in /Users/runner/work/1/s/build-tools/Xamarin.Android.Tools.BootstrapTasks/Xamarin.Android.Tools.BootstrapTasks/RenameTestCases.cs:line 41

Check failure on line 1 in Xamarin.Android.Build.Tests.InstallAndRunTests.NativeAOTSample

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Xamarin.Android.Build.Tests.InstallAndRunTests.NativeAOTSample

  `dotnet build -t:Run` should succeed
  Expected: True
  But was:  False
Raw output
   at Xamarin.Android.Build.Tests.InstallAndRunTests.NativeAOTSample() in /Users/builder/azdo/_work/4/s/xamarin-android/tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs:line 1289

1)    at Xamarin.Android.Build.Tests.InstallAndRunTests.NativeAOTSample() in /Users/builder/azdo/_work/4/s/xamarin-android/tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs:line 1289