Skip to content

Test failure: ProcessStart_UseShellExecute_OnUnix_SuccessWhenProgramInstalled(isFolder: False) #29375

Closed
dotnet/corefx
#37294

Description

@wtgodbe

The test is failing on Linux with:

Assert.Equal() Failure
↓ (pos 0)
Expected: xdg-open
Actual: sh
↑ (pos 0)

There are a few related failures, such as ProcessStart_OpenFileOnLinux_UsesSpecifiedProgramUsingArgumentList(programToOpenWith: \"vi\"). These appear to have been introduced by dotnet/corefx@8b515ad#diff-c2151a182d9032ef4525c69b3569d024 & dotnet/corefx@4214b09#diff-c2151a182d9032ef4525c69b3569d024. The first change is in release/3.0, so we're seeing the failures in preview5 as well.

CC @stephentoub @tmds

Activity

  1. danmoseley commented on Apr 25, 2019

    @danmoseley
    Contributor

    This should be fixed by dotnet/corefx#37144.

  2. wtgodbe commented on Apr 25, 2019

    @wtgodbe
    MemberAuthor

    @danmosemsft that PR actually reintroduced these test failures. The timeline goes:

    dotnet/corefx#36913 - caused the intial set of failures (this is the current state in release/3.0)
    dotnet/corefx#37113 - reverted the previous change, fixed the test failures
    dotnet/corefx#37144 - reintroduced the test failures

  3. danmoseley commented on Apr 25, 2019

    @danmoseley
    Contributor

    Oh... @tmds

  4. wtgodbe commented on Apr 25, 2019

    @wtgodbe
    MemberAuthor

    These are outerloop tests, which is why we missed them in CI. You can see the failures from this PR: dotnet/corefx#37197

  5. tmds commented on Apr 26, 2019

    @tmds
    Member

    I need to investigate further, but on first sight, these may be things we need to update in the tests:

    • LongProcessNamesAreSupported is failing on Alpine. The test itself may be incompatible with Alpine. busybox figures out what the process should do based on the name, and the test is renaming to something busybox doesn't know.
    • ProcessStart_UseShellExecute_OnUnix_SuccessWhenProgramInstalled is failing on a number of distros but not on all. It may have to do with the way xdg-open works.
  6. stephentoub commented on Apr 29, 2019

    @stephentoub
    Member

    I'm disabling this test temporarily, as it's causing all outerloop linux runs to fail.

  7. stephentoub commented on May 2, 2019

    @stephentoub
    Member

    I'm also disabling ProcessTests.LongProcessNamesAreSupported against this issue.

  8. stephentoub commented on May 2, 2019

    @stephentoub
    Member

    And ProcessTests.ProcessStart_OpenFileOnLinux_UsesSpecifiedProgramUsingArgumentList

  9. tmds commented on May 2, 2019

    @tmds
    Member
  10. transferred this issue fromdotnet/corefxon Feb 1, 2020
  11. added this to the 3.0 milestone on Feb 1, 2020
  12. ghost locked as resolved and limited conversation to collaborators on Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-System.Diagnostics.Processdisabled-testtest-run-core

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions