Skip to content

chore: update DeviceTests to net8 #3505

chore: update DeviceTests to net8

chore: update DeviceTests to net8 #3505

Triggered via pull request April 11, 2024 14:15
Status Failure
Total duration 12m 46s
Billable time 11m
Artifacts 3

device-tests-android.yml

on: pull_request
Matrix: android
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
Run Android API-31 Test
The process '/usr/bin/sh' failed with exit code 1
Run Android API-27 Test
The process '/usr/bin/sh' failed with exit code 1
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, actions/setup-dotnet@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: test/MauiTestUtils/DeviceTests.Runners/VisualRunner/Converters/RunStatusToColorConverter.cs#L11
Nullability of reference types in type of parameter 'value' of 'object RunStatusToColorConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build: test/MauiTestUtils/DeviceTests.Runners/VisualRunner/Converters/RunStatusToColorConverter.cs#L11
Nullability of reference types in type of parameter 'parameter' of 'object RunStatusToColorConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build: test/MauiTestUtils/DeviceTests.Runners/VisualRunner/Converters/RunStatusToColorConverter.cs#L27
Nullability of reference types in type of parameter 'value' of 'object RunStatusToColorConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build: test/MauiTestUtils/DeviceTests.Runners/VisualRunner/Converters/RunStatusToColorConverter.cs#L27
Nullability of reference types in type of parameter 'parameter' of 'object RunStatusToColorConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build: test/MauiTestUtils/DeviceTests.Runners/HeadlessRunner/Android/MauiTestInstrumentation.cs#L63
'MauiApplication.Services' is obsolete: 'Use the IPlatformApplication.Current.Services instead.'
build: test/MauiTestUtils/DeviceTests.Runners/TestServices.cs#L18
'MauiApplication.Services' is obsolete: 'Use the IPlatformApplication.Current.Services instead.'
build: test/MauiTestUtils/DeviceTests/AssertionExtensions.Android.cs#L46
Possible null reference argument for parameter 'format' in 'bool Bitmap.Compress(CompressFormat format, int quality, Stream stream)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7367
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7457
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7603
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SpanFrameMetricsCollector.SpanFrameMetricsCollector (Sentry.JavaSdk.Android.Core.SentryAndroidOptions, io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.

Artifacts

Produced during runtime
Name Size
device-test-android Expired
20.8 MB
device-test-android-27-results Expired
236 KB
device-test-android-31-results Expired
425 KB