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.Device_Emulator.InvariantCultureOnlyMode.Test failed on Android #51016

Closed
mdh1418 opened this issue Apr 9, 2021 · 2 comments · Fixed by #56231
Closed

Android.Device_Emulator.InvariantCultureOnlyMode.Test failed on Android #51016

mdh1418 opened this issue Apr 9, 2021 · 2 comments · Fixed by #56231

Comments

@mdh1418
Copy link
Member

mdh1418 commented Apr 9, 2021

Android.Device_Emulator.InvariantCultureOnlyMode.Test fails on x64, x86, arm64

XHarness command issued: android test --instrumentation=net.dot.MonoRunner --package-name=net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test --app=/Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test.apk --output-directory=/Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/xharness-output --timeout=1800 --expected-exit-code 42
  info: Will attempt to run device on detected architecture: 'x86_64'
  info: Active Android device set to serial 'emulator-5554'
  info: Waiting for device to be available (max 5 minutes)
  info: Attempting to remove apk 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test':
  info: APK 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test' not on device.
  info: Attempting to install /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test.apk:
  info: Successfully installed /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test.apk.
  info: Killing all running processes for 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test':
  info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test
  info: Running instrumentation class net.dot.MonoRunner took 0.9526966 seconds
  info: Instrumentation finished normally with exit code 1
  info: Wrote current ADB log to /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/xharness-output/adb-logcat-net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test.log
  fail: Non-success instrumentation exit code: 1, expected: 42
  info: Attempting to remove apk 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test':
  info: Successfully uninstalled net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test.
  XHarness exit code: 71 (GENERAL_FAILURE)
  XHarness artifacts: /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/xharness-output
/Users/mdhwang/runtime_droid/eng/testing/tests.targets(117,5): error : One or more tests failed while running tests from 'Android.Device_Emulator.InvariantCultureOnlyMode.Test'. [/Users/mdhwang/runtime_droid/src/tests/FunctionalTests/Android/Device_Emulator/InvariantCultureOnlyMode/Android.Device_Emulator.InvariantCultureOnlyMode.Test.csproj]
@mdh1418 mdh1418 added this to the 6.0.0 milestone Apr 9, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Infrastructure-mono untriaged New issue has not been triaged by the area owner labels Apr 9, 2021
@ghost
Copy link

ghost commented Apr 9, 2021

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

Issue Details

Android.Device_Emulator.InvariantCultureOnlyMode.Test fails on x64, x86, arm64

XHarness command issued: android test --instrumentation=net.dot.MonoRunner --package-name=net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test --app=/Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test.apk --output-directory=/Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/xharness-output --timeout=1800 --expected-exit-code 42
  info: Will attempt to run device on detected architecture: 'x86_64'
  info: Active Android device set to serial 'emulator-5554'
  info: Waiting for device to be available (max 5 minutes)
  info: Attempting to remove apk 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test':
  info: APK 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test' not on device.
  info: Attempting to install /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test.apk:
  info: Successfully installed /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test.apk.
  info: Killing all running processes for 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test':
  info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test
  info: Running instrumentation class net.dot.MonoRunner took 0.9526966 seconds
  info: Instrumentation finished normally with exit code 1
  info: Wrote current ADB log to /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/xharness-output/adb-logcat-net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test.log
  fail: Non-success instrumentation exit code: 1, expected: 42
  info: Attempting to remove apk 'net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test':
  info: Successfully uninstalled net.dot.Android.Device_Emulator.InvariantCultureOnlyMode.Test.
  XHarness exit code: 71 (GENERAL_FAILURE)
  XHarness artifacts: /Users/mdhwang/runtime_droid/artifacts/bin/Android.Device_Emulator.InvariantCultureOnlyMode.Test/net6.0-Release/android-x64/AppBundle/xharness-output
/Users/mdhwang/runtime_droid/eng/testing/tests.targets(117,5): error : One or more tests failed while running tests from 'Android.Device_Emulator.InvariantCultureOnlyMode.Test'. [/Users/mdhwang/runtime_droid/src/tests/FunctionalTests/Android/Device_Emulator/InvariantCultureOnlyMode/Android.Device_Emulator.InvariantCultureOnlyMode.Test.csproj]
Author: mdh1418
Assignees: -
Labels:

area-Infrastructure-mono, os-android, untriaged

Milestone: 6.0.0

@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Jun 28, 2021
@steveisok
Copy link
Member

@mdh1418 Check to see if this is still an issue. I suspect it may have been environmental

steveisok pushed a commit to steveisok/runtime that referenced this issue Jul 23, 2021
The android test was not handling CultureNotFoundException and was crashing.

Fixes dotnet#51016
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 23, 2021
steveisok added a commit that referenced this issue Jul 23, 2021
The android test was not handling CultureNotFoundException and was crashing.

Fixes #51016
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 23, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants