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

[tests][Android] Executing assembly location mismatch /data/data/ and /data/user/ #62729

Closed
mdh1418 opened this issue Dec 13, 2021 · 2 comments
Closed

Comments

@mdh1418
Copy link
Member

mdh1418 commented Dec 13, 2021

After enabling diagnostics_tracing in #60879, it was found that the location of the executing assembly on Android differs from expectation.

Unhandled Exception:
System.Exception: CommandLine must match current process. Expected: /system/bin/app_process64 /data/data/net.dot.tracing_eventpipe/files/processinfo.dll, Received: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files (original: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files)
   at Tracing.Tests.Common.Utils.Assert(Boolean predicate, String message)
   at Tracing.Tests.ProcessInfoValidation.ProcessInfoValidation.Main(String[] args)
UnhandledException: System.Exception CommandLine must match current process. Expected: /system/bin/app_process64 /data/data/net.dot.tracing_eventpipe/files/processinfo.dll, Received: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files (original: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files)    at Tracing.Tests.Common.Utils.Assert(Boolean predicate, String message)
   at Tracing.Tests.ProcessInfoValidation.ProcessInfoValidation.Main(String[] args)
@ghost
Copy link

ghost commented Dec 13, 2021

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

Issue Details

After enabling diagnostics_tracing in #60879, it was found that the location of the executing assembly on Android differs from expectation.

Unhandled Exception:
System.Exception: CommandLine must match current process. Expected: /system/bin/app_process64 /data/data/net.dot.tracing_eventpipe/files/processinfo.dll, Received: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files (original: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files)
   at Tracing.Tests.Common.Utils.Assert(Boolean predicate, String message)
   at Tracing.Tests.ProcessInfoValidation.ProcessInfoValidation.Main(String[] args)
UnhandledException: System.Exception CommandLine must match current process. Expected: /system/bin/app_process64 /data/data/net.dot.tracing_eventpipe/files/processinfo.dll, Received: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files (original: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files)    at Tracing.Tests.Common.Utils.Assert(Boolean predicate, String message)
   at Tracing.Tests.ProcessInfoValidation.ProcessInfoValidation.Main(String[] args)
Author: mdh1418
Assignees: -
Labels:

os-android, area-Tracing-mono

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Dec 13, 2021
@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Dec 13, 2021
@steveisok steveisok added this to the 7.0.0 milestone Dec 13, 2021
@ghost
Copy link

ghost commented Dec 13, 2021

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

Issue Details

After enabling diagnostics_tracing in #60879, it was found that the location of the executing assembly on Android differs from expectation.

Unhandled Exception:
System.Exception: CommandLine must match current process. Expected: /system/bin/app_process64 /data/data/net.dot.tracing_eventpipe/files/processinfo.dll, Received: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files (original: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files)
   at Tracing.Tests.Common.Utils.Assert(Boolean predicate, String message)
   at Tracing.Tests.ProcessInfoValidation.ProcessInfoValidation.Main(String[] args)
UnhandledException: System.Exception CommandLine must match current process. Expected: /system/bin/app_process64 /data/data/net.dot.tracing_eventpipe/files/processinfo.dll, Received: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files (original: /system/bin/app_process64 /data/user/0/net.dot.tracing_eventpipe/files)    at Tracing.Tests.Common.Utils.Assert(Boolean predicate, String message)
   at Tracing.Tests.ProcessInfoValidation.ProcessInfoValidation.Main(String[] args)
Author: mdh1418
Assignees: -
Labels:

os-android, area-Infrastructure-mono, area-Tracing-mono

Milestone: 7.0.0

@ghost ghost locked as resolved and limited conversation to collaborators Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants