You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was created to describe the reason of failure of two corefx tests built for riscv64 architecture and executed in QEMU environment on x64 architecture:
System.Diagnostics.Tests.ProcessTests.TestMaxWorkingSet()
System.Diagnostics.Tests.ProcessTests.TestMinWorkingSet()
These two corefx tests fail because on QEMU the file /proc/pid/stat
contains incorrect values.
See issue dotnet#105686 for details.
System.Diagnostics.Tests.ProcessTests.TestMaxWorkingSet()
System.Diagnostics.Tests.ProcessTests.TestMinWorkingSet()
These two corefx tests fail because on QEMU the file /proc/pid/stat
contains incorrect values.
See issue #105686 for details.
This issue was created to describe the reason of failure of two corefx tests built for
riscv64
architecture and executed inQEMU
environment onx64
architecture:On QEMU the method:
private static bool Interop.TryReadFile(string path, [NotNullWhen(true)] out string? contents)
defined in:
/runtime/src/libraries/Common/src/Interop/Linux/procfs/Interop.ProcFsStat.TryReadStatusFile.cs
for the path parameter equal to "/proc/pid/stat", where pid is the process id executed under QEMU emulation, returns string like that:
360312 (dotnet) 0 109490 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 274903147680 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
The 25th value in the string is "Current soft limit in bytes on the rss of the process" and equals to zero.
The tests expect value to be greater than zero:
The string read by
Interop.TryReadFile()
method on riscv64 VisionFive2 board is:and on x64 architecture is:
and 25th value is
18446744073709551615
for VF2 board and18446744073709551615
for x64 architecture.The text was updated successfully, but these errors were encountered: