Skip to content

Test failure: Interop/PInvoke/SetLastError/SetLastErrorTest/SetLastErrorTest.sh #70296

Closed

Description

@BruceForstall

linux-x64, GCStress=0xC

https://dev.azure.com/dnceng/public/_build/results?buildId=1794742&view=ms.vss-test-web.build-test-results-tab&runId=47932734&resultId=101704&paneView=debug

+ cat /datadisks/disk1/work/B33E09CF/w/ABCE0985/u/SetStressModes_gcstress0xc.sh
#!/usr/bin/env bash
export COMPlus_TieredCompilation=0
export COMPlus_DbgEnableMiniDump=1
export COMPlus_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
export COMPlus_GCStress=0xC
...
  Starting:    Interop.PInvoke.XUnitWrapper (parallel test collections = on, max threads = 2)
    Interop/PInvoke/SetLastError/SetLastErrorTest/SetLastErrorTest.sh [FAIL]
      
      Return code:      1
      Raw output file:      /datadisks/disk1/work/B33E09CF/w/ABCE0985/uploads/Reports/Interop.PInvoke/SetLastError/SetLastErrorTest/SetLastErrorTest.output.txt
      Raw output:
      BEGIN EXECUTION
      /datadisks/disk1/work/B33E09CF/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false SetLastErrorTest.dll ''
      Test Failure: Xunit.Sdk.EqualException: Assert.Equal() Failure
      Expected: 1
      Actual:   42424
         at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 96
         at SetLastErrorTest.Main(String[] args)
      Expected: 100
      Actual: 101
      END EXECUTION - FAILED
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=/datadisks/disk1/work/B33E09CF/p
      > /datadisks/disk1/work/B33E09CF/w/ABCE0985/e/Interop/PInvoke/SetLastError/SetLastErrorTest/SetLastErrorTest.sh
      Expected: True
      Actual:   False
      Stack Trace:
           at Interop_PInvoke._SetLastError_SetLastErrorTest_SetLastErrorTest_._SetLastError_SetLastErrorTest_SetLastErrorTest_sh()
      Output:
        
        Return code:      1
        Raw output file:      /datadisks/disk1/work/B33E09CF/w/ABCE0985/uploads/Reports/Interop.PInvoke/SetLastError/SetLastErrorTest/SetLastErrorTest.output.txt
        Raw output:
        BEGIN EXECUTION
        /datadisks/disk1/work/B33E09CF/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false SetLastErrorTest.dll ''
        Test Failure: Xunit.Sdk.EqualException: Assert.Equal() Failure
        Expected: 1
        Actual:   42424
           at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 96
           at SetLastErrorTest.Main(String[] args)
        Expected: 100
        Actual: 101
        END EXECUTION - FAILED
        Test Harness Exitcode is : 1
        To run the test:
        > set CORE_ROOT=/datadisks/disk1/work/B33E09CF/p
        > /datadisks/disk1/work/B33E09CF/w/ABCE0985/e/Interop/PInvoke/SetLastError/SetLastErrorTest/SetLastErrorTest.sh

Activity

  1. ghost added
    untriaged
    on Jun 6, 2022
  2. jkoritzinsky commented on Jun 6, 2022

    @jkoritzinsky
    Member

    Looks like somewhere is trashing the last error now in GCStress.

  3. added
    blocking-clean-ci-optional
    on Jun 7, 2022
  4. removed
    untriaged
    on Jun 9, 2022
  5. added this to the Future milestone on Jun 9, 2022
  6. BruceForstall commented on Jun 20, 2022

    @BruceForstall
    ContributorAuthor

    @AaronRobinsonMSFT I don't think it's appropriate to push this to "Future" milestone when it is causing outerloop job failures.

  7. AaronRobinsonMSFT commented on Jun 20, 2022

    @AaronRobinsonMSFT
    Member
  8. ghost added
    in-pr
    on Jul 15, 2022
  9. ghost removed
    in-pr
    on Jul 16, 2022
  10. ghost locked as resolved and limited conversation to collaborators on Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GCStressarch-x64area-Interop-coreclrblocking-clean-ci-optionalos-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions