Skip to content

System.Net.Ping.Functional.Tests: fail: Non-success instrumentation exit code: 1, expected: 0 #64925

@sbomer

Description

@sbomer

This is failing in rolling builds on:

  • net7.0-Android-Release-arm-Mono_Release-Windows.10.Amd64.Android.Open
  • net7.0-Android-Release-arm64-Mono_Release-Windows.10.Amd64.Android.Open.

build

Like #64920, the helix log isn't helpful, but the exit code is different so I suspect it is a separate issue.

[02:20:16] info: Running instrumentation class net.dot.MonoRunner took 9.8968052 seconds
[02:20:16] dbug: Exit code: 0
                 Standard Output:
                 INSTRUMENTATION_RESULT: return-code=1
                 INSTRUMENTATION_RESULT: test-results-path=/data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml
                 INSTRUMENTATION_CODE: 1
                 
                 
[02:20:16] info: Found XML result file: '/data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml'(key: test-results-path)
[02:20:16] info: Attempting to pull contents of /data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml to C:\h\w\9419085D\w\A0F70909\uploads
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 pull /data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml "C:\\h\\w\\9419085D\\t\\cctbgsfh.qis"'
[02:20:16] info: Failed to pull file. Device is running Android API 30, trying fallback to pull /data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 shell run-as net.dot.System.Net.Ping.Functional.Tests ls /data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml'
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 shell rm -rf /data/local/tmp/testResults.xml'
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 shell touch /data/local/tmp/testResults.xml'
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 shell run-as net.dot.System.Net.Ping.Functional.Tests cp /data/user/0/net.dot.System.Net.Ping.Functional.Tests/cache/testResults.xml /data/local/tmp/testResults.xml'
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 pull /data/local/tmp/testResults.xml "C:\\h\\w\\9419085D\\t\\cctbgsfh.qis"'
[02:20:16] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 shell rm -f /data/local/tmp/testResults.xml'
[02:20:16] dbug: Copied 1 files to C:\h\w\9419085D\w\A0F70909\uploads.
[02:20:16] info: Instrumentation finished normally with exit code 1
[02:20:19] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 logcat -d '
[02:20:19] info: Wrote current ADB log to C:\h\w\9419085D\w\A0F70909\uploads\adb-logcat-net.dot.System.Net.Ping.Functional.Tests-net.dot.MonoRunner.log
[02:20:19] fail: Non-success instrumentation exit code: 1, expected: 0
[02:20:19] info: Attempting to remove apk 'net.dot.System.Net.Ping.Functional.Tests': 
[02:20:19] dbug: Executing command: 'C:\h\w\9419085D\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22101.2\runtimes\any\native\adb\windows\adb.exe -s 09241JEC235940 uninstall net.dot.System.Net.Ping.Functional.Tests'
[02:20:20] info: Successfully uninstalled net.dot.System.Net.Ping.Functional.Tests.
[02:20:20] dbug: Saving diagnostics data to 'C:\h\w\9419085D\w\A0F70909\e/diagnostics.json'
XHarness exit code: 1 (TESTS_FAILED)

cc @fanyang-mono @steveisok

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions