Skip to content

Test failure: MonoTests.System.Configuration.ConfigurationManagerTest/OpenExeConfiguration1_UserLevel_PerUserRoamingAndLocal #19875

Closed

Description

Opened on behalf of @JiayiLi1

The test MonoTests.System.Configuration.ConfigurationManagerTest/OpenExeConfiguration1_UserLevel_PerUserRoamingAndLocal has failed.

System.ArgumentException : The path is not of a legal form.

    Stack Trace:

       at System.IO.Path.GetFullPath(String path)
   at System.IO.FileInfo.Init(String fileName)
   at MonoTests.System.Configuration.ConfigurationManagerTest.OpenExeConfiguration1_UserLevel_PerUserRoamingAndLocal()

Build : Master - 20170111.01 (Core Tests)
Failing configurations:

  • Debian.82.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • Ubuntu.1604.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • Centos.71.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • Fedora.23.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • Ubuntu.1610.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • Ubuntu.1404.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • Redhat.72.Amd64
    • AnyCPU-Release
    • AnyCPU-Debug
  • OSX.1011.Amd64
    • AnyCPU-Debug

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20170111.01/workItem/System.Configuration.Tests/analysis/xunit/MonoTests.System.Configuration.ConfigurationManagerTest~2FOpenExeConfiguration1_UserLevel_PerUserRoamingAndLocal

Activity

  1. danmoseley commented on Jan 11, 2017

    @danmoseley
    Contributor
  2. KristinXie1 commented on Feb 4, 2017

    @KristinXie1

    This issue is repro on build 20170203.02, detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20170203.02/workItem/System.Configuration.ConfigurationManager.Tests/analysis/xunit/MonoTests.System.Configuration.ConfigurationManagerTest~2FOpenExeConfiguration1_UserLevel_PerUserRoamingAndLocal

    Message:

    System.ArgumentException : The path is not of a legal form.
    

    Stack Trace:

    at System.IO.Path.GetFullPath(String path)
       at System.IO.FileInfo.Init(String fileName)
       at MonoTests.System.Configuration.ConfigurationManagerTest.OpenExeConfiguration1_UserLevel_PerUserRoamingAndLocal() in /root/corefx/src/System.Configuration.ConfigurationManager/tests/Mono/ConfigurationManagerTest.cs:line 73
    
  3. KristinXie1 commented on Mar 3, 2017

    @KristinXie1

    Failed again on build 20170302.02

  4. KristinXie1 commented on Mar 20, 2017

    @KristinXie1

    This issue is repro on build 20170318.01

  5. danmoseley commented on Mar 28, 2017

    @danmoseley
    Contributor

    This exception message means that the config.FilePath is empty, or whitespace.

                SysConfig config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
                FileInfo fi = new FileInfo(config.FilePath);

    How that can be I cannot tell fro mreading the code - it is complicated. Needs debugging, or else more logging.

  6. KristinXie1 commented on Apr 5, 2017

    @KristinXie1

    Failed again on build 20170405.01

  7. danmoseley commented on May 5, 2017

    @danmoseley
    Contributor

    We don't believe this is concerning compat issue for 2.0

  8. KristinXie1 commented on May 15, 2017

    @KristinXie1

    This issue doesn't occur on Core Tests in recent builds, so remove the label "test-run-core" first.

  9. 6 remaining items

  10. dotnet-policy-service commented on Jan 7, 2025

    @dotnet-policy-service
    Contributor

    Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

    This process is part of our issue cleanup automation.

  11. added
    backlog-cleanup-candidate
    on Jan 7, 2025
  12. dotnet-policy-service commented on Jan 21, 2025

    @dotnet-policy-service
    Contributor

    This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

  13. removed this from the Future milestone on Jan 21, 2025
  14. locked and limited conversation to collaborators on Feb 20, 2025
  15. removed
    backlog-cleanup-candidate
    on Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions