dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.47k stars 4.76k forks source link

[Mono][Android][Test] CORE_ROOT was not set for the test #54908

Open fanyang-mono opened 3 years ago

fanyang-mono commented 3 years ago

Failed tests list:

Full log

      06-21 22:49:48.376  9695  9712 I DOTNET  : MonoRunner initialize,, entryPointLibName=CscBench.dll
      06-21 22:49:48.376  9695  9712 D DOTNET  : file_path: /data/user/0/net.dot.JIT_Performance/files/runtimeconfig.bin
      06-21 22:49:48.379  9695  9712 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.488  9695  9712 D DOTNET  : assembly_preload_hook: CscBench.dll (null) /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.489  9695  9712 D DOTNET  : Executable: CscBench.dll
      06-21 22:49:48.489  9695  9712 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.489  9695  9712 D DOTNET  : assembly_preload_hook: xunit.performance.core  /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.503  9695  9712 D DOTNET  : ((null) warning) Can't find custom attr constructor image: /data/data/net.dot.JIT_Performance/files/CscBench.dll mtoken: 0x0a000004 due to: Could not load file or assembly 'xunit.performance.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=67066efe964d3b03' or one of its dependencies.
      06-21 22:49:48.503  9695  9712 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.517  9695  9712 D DOTNET  : assembly_preload_hook: System.Runtime.InteropServices  /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.521  9695  9712 D DOTNET  : assembly_preload_hook: System.Threading  /data/user/0/net.dot.JIT_Performance/files
      06-21 22:49:48.632  9695  9712 I DOTNET  : This test requires CORE_ROOT to be set
      06-21 22:49:48.633  9695  9712 D DOTNET  : Exit code: -1.
      06-21 22:49:48.704  9695  9712 I DOTNET  : MonoRunner finished, return-code=-1
      06-21 22:49:48.706  1793  1808 I ActivityManager: Force stopping net.dot.JIT_Performance appid=10170 user=0: finished inst
      06-21 22:49:48.706  1793  1808 I ActivityManager: Killing 9695:net.dot.JIT_Performance/u0a170 (adj 0): stop net.dot.JIT_Performance
      06-21 22:49:48.715  1793  1810 W Looper  : Slow delivery took 2017ms android.fg h=com.android.server.AppStateTracker$MyHandler c=null m=12
      06-21 22:49:48.716  1793  1810 W Looper  : Drained
      06-21 22:49:48.720  1793  9671 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-21 22:49:48.720  1793  9671 W Binder  : java.lang.Throwable
      06-21 22:49:48.720  1793  9671 W Binder  :    at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-21 22:49:48.720  1793  9671 W Binder  :    at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-21 22:49:48.720  1793  9671 W Binder  :    at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-21 22:49:48.721  9684  9684 D AndroidRuntime: Shutting down VM
ghost commented 3 years ago

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.

Issue Details
Failed tests list: - JIT/Performance/CodeQuality/Roslyn/CscBench/CscBench.sh [Full log](https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-54516-merge-486ed47802b44cd5a6/JIT/console.de38ff03.log?sv=2019-07-07&se=2021-07-11T21%3A42%3A12Z&sr=c&sp=rl&sig=bNVwODgwBmw9vhsZfWcoh08Yt4ZA4ne2wpc0el0XP%2FM%3D) ``` 06-21 22:49:48.376 9695 9712 I DOTNET : MonoRunner initialize,, entryPointLibName=CscBench.dll 06-21 22:49:48.376 9695 9712 D DOTNET : file_path: /data/user/0/net.dot.JIT_Performance/files/runtimeconfig.bin 06-21 22:49:48.379 9695 9712 D DOTNET : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.488 9695 9712 D DOTNET : assembly_preload_hook: CscBench.dll (null) /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.489 9695 9712 D DOTNET : Executable: CscBench.dll 06-21 22:49:48.489 9695 9712 D DOTNET : assembly_preload_hook: System.Runtime /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.489 9695 9712 D DOTNET : assembly_preload_hook: xunit.performance.core /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.503 9695 9712 D DOTNET : ((null) warning) Can't find custom attr constructor image: /data/data/net.dot.JIT_Performance/files/CscBench.dll mtoken: 0x0a000004 due to: Could not load file or assembly 'xunit.performance.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=67066efe964d3b03' or one of its dependencies. 06-21 22:49:48.503 9695 9712 D DOTNET : assembly_preload_hook: System.Console /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.517 9695 9712 D DOTNET : assembly_preload_hook: System.Runtime.InteropServices /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.521 9695 9712 D DOTNET : assembly_preload_hook: System.Threading /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.632 9695 9712 I DOTNET : This test requires CORE_ROOT to be set 06-21 22:49:48.633 9695 9712 D DOTNET : Exit code: -1. 06-21 22:49:48.704 9695 9712 I DOTNET : MonoRunner finished, return-code=-1 06-21 22:49:48.706 1793 1808 I ActivityManager: Force stopping net.dot.JIT_Performance appid=10170 user=0: finished inst 06-21 22:49:48.706 1793 1808 I ActivityManager: Killing 9695:net.dot.JIT_Performance/u0a170 (adj 0): stop net.dot.JIT_Performance 06-21 22:49:48.715 1793 1810 W Looper : Slow delivery took 2017ms android.fg h=com.android.server.AppStateTracker$MyHandler c=null m=12 06-21 22:49:48.716 1793 1810 W Looper : Drained 06-21 22:49:48.720 1793 9671 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY 06-21 22:49:48.720 1793 9671 W Binder : java.lang.Throwable 06-21 22:49:48.720 1793 9671 W Binder : at android.os.BinderProxy.transact(BinderProxy.java:480) 06-21 22:49:48.720 1793 9671 W Binder : at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205) 06-21 22:49:48.720 1793 9671 W Binder : at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86) 06-21 22:49:48.721 9684 9684 D AndroidRuntime: Shutting down VM ```
Author: fanyang-mono
Assignees: fanyang-mono
Labels: `area-Infrastructure`, `os-android`
Milestone: 7.0.0
steveisok commented 2 years ago

@fanyang-mono Is this still an issue?

ghost commented 2 years ago

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

Issue Details
Failed tests list: - JIT/Performance/CodeQuality/Roslyn/CscBench/CscBench.sh [Full log](https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-54516-merge-486ed47802b44cd5a6/JIT/console.de38ff03.log?sv=2019-07-07&se=2021-07-11T21%3A42%3A12Z&sr=c&sp=rl&sig=bNVwODgwBmw9vhsZfWcoh08Yt4ZA4ne2wpc0el0XP%2FM%3D) ``` 06-21 22:49:48.376 9695 9712 I DOTNET : MonoRunner initialize,, entryPointLibName=CscBench.dll 06-21 22:49:48.376 9695 9712 D DOTNET : file_path: /data/user/0/net.dot.JIT_Performance/files/runtimeconfig.bin 06-21 22:49:48.379 9695 9712 D DOTNET : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.488 9695 9712 D DOTNET : assembly_preload_hook: CscBench.dll (null) /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.489 9695 9712 D DOTNET : Executable: CscBench.dll 06-21 22:49:48.489 9695 9712 D DOTNET : assembly_preload_hook: System.Runtime /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.489 9695 9712 D DOTNET : assembly_preload_hook: xunit.performance.core /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.503 9695 9712 D DOTNET : ((null) warning) Can't find custom attr constructor image: /data/data/net.dot.JIT_Performance/files/CscBench.dll mtoken: 0x0a000004 due to: Could not load file or assembly 'xunit.performance.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=67066efe964d3b03' or one of its dependencies. 06-21 22:49:48.503 9695 9712 D DOTNET : assembly_preload_hook: System.Console /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.517 9695 9712 D DOTNET : assembly_preload_hook: System.Runtime.InteropServices /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.521 9695 9712 D DOTNET : assembly_preload_hook: System.Threading /data/user/0/net.dot.JIT_Performance/files 06-21 22:49:48.632 9695 9712 I DOTNET : This test requires CORE_ROOT to be set 06-21 22:49:48.633 9695 9712 D DOTNET : Exit code: -1. 06-21 22:49:48.704 9695 9712 I DOTNET : MonoRunner finished, return-code=-1 06-21 22:49:48.706 1793 1808 I ActivityManager: Force stopping net.dot.JIT_Performance appid=10170 user=0: finished inst 06-21 22:49:48.706 1793 1808 I ActivityManager: Killing 9695:net.dot.JIT_Performance/u0a170 (adj 0): stop net.dot.JIT_Performance 06-21 22:49:48.715 1793 1810 W Looper : Slow delivery took 2017ms android.fg h=com.android.server.AppStateTracker$MyHandler c=null m=12 06-21 22:49:48.716 1793 1810 W Looper : Drained 06-21 22:49:48.720 1793 9671 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY 06-21 22:49:48.720 1793 9671 W Binder : java.lang.Throwable 06-21 22:49:48.720 1793 9671 W Binder : at android.os.BinderProxy.transact(BinderProxy.java:480) 06-21 22:49:48.720 1793 9671 W Binder : at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205) 06-21 22:49:48.720 1793 9671 W Binder : at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86) 06-21 22:49:48.721 9684 9684 D AndroidRuntime: Shutting down VM ```
Author: fanyang-mono
Assignees: fanyang-mono
Labels: `os-android`, `area-Infrastructure-mono`
Milestone: 7.0.0
fanyang-mono commented 2 years ago

Moving to 8.0.0

fanyang-mono commented 1 year ago

Moving to 9.0.0