runtime icon indicating copy to clipboard operation
runtime copied to clipboard

IntPtrGetHashCode test failing

Open ramarag opened this issue 10 years ago • 4 comments

EGIN EXECUTION "E:\git\coreclr\tests..\bin\tests\Windows_NT.x64.Debug\Tests\Core_Root\corerun.exe" IntPtrGetHashCode.exe
Beginning test case IntPtr.GetHashCode() at 3/7/2016 5:15:53 PM Random seed: 20010415; set environment variable CORECLR_SEED to this value to repro

[Positive] ERROR!!!-002: expect IntPtr.GetHashCode() equals the address

Ending test case at 3/7/2016 5:15:54 PM FAIL Expected: 100 Actual: 0 END EXECUTION - FAILED FAILED Test Harness Exitcode is : 1

@vcsjones can you take a look? I beleive this was originally introduced in https://github.com/dotnet/coreclr/pull/3511/files and https://github.com/dotnet/coreclr/pull/3538

ramarag avatar Mar 08 '16 01:03 ramarag

The CI report can be seen here: http://dotnet-ci.cloudapp.net/job/dotnet_coreclr/job/x64_release_windows_nt_pri1_prtest/1/testReport/CoreMangLib/cti_system_intptr_IntPtrGetHashCode_IntPtrGetHashCode/_cti_system_intptr_IntPtrGetHashCode_IntPtrGetHashCode_cmd/

ramarag avatar Mar 08 '16 01:03 ramarag

This was brought up on the PR as well, https://github.com/dotnet/coreclr/pull/3511. Thanks for making an issue.

vcsjones avatar Mar 08 '16 01:03 vcsjones

@ramarag I do not see the failure for the UIntPtr case that you included in the issue. It appears to be passing in CI, or am I looking in the wrong place? http://dotnet-ci.cloudapp.net/job/dotnet_coreclr/job/x64_release_windows_nt_pri1_prtest/1/testReport/CoreMangLib/cti_system_uintptr_UIntPtrGetHashCode_UIntPtrGetHashCode/

vcsjones avatar Mar 08 '16 01:03 vcsjones

my bad, my local test build was out of date only IntPtr version is problematic

ramarag avatar Mar 08 '16 01:03 ramarag