Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.IO.FileSystem.Tests failing #31812

Closed
am11 opened this issue Feb 5, 2020 · 7 comments
Closed

System.IO.FileSystem.Tests failing #31812

am11 opened this issue Feb 5, 2020 · 7 comments
Labels
area-System.IO runtime-coreclr specific to the CoreCLR runtime
Milestone

Comments

@am11
Copy link
Member

am11 commented Feb 5, 2020

Windows: https://helix.dot.net/api/2019-06-17/jobs/157fb4a8-bef1-48f1-814a-e32b8cfae7fb/workitems/System.IO.FileSystem.Tests/console

System.IO.FileSystem.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -notrait category=nonnetcoreapptests -notrait category=nonwindowstests  
  Discovering: System.IO.FileSystem.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.IO.FileSystem.Tests (found 2962 of 3308 test cases)
  Starting:    System.IO.FileSystem.Tests (parallel test collections = on, max threads = 2)
    System.IO.Tests.DirectoryInfo_Create.RootPath_AppContainer [SKIP]
      Condition(s) not met: "IsInAppContainer"
    System.IO.Tests.DirectoryInfo_GetSetTimes.TimesIncludeMillisecondPart_HFS [SKIP]
      Condition(s) not met: "isHFS"
Fatal error. Internal CLR error. (0x80131506)
   at Xunit.DelegatingXmlCreationSink.CreateTestResultElement(Xunit.Abstractions.ITestResultMessage, System.String)
   at Xunit.DelegatingXmlCreationSink.HandleTestPassed(Xunit.MessageHandlerArgs`1<Xunit.Abstractions.ITestPassed>)
   at MessageSinkMessageExtensions.Dispatch[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Xunit.Abstractions.IMessageSinkMessage, System.Collections.Generic.HashSet`1<System.String>, Xunit.MessageHandler`1<System.__Canon>)
   at Xunit.DelegatingXmlCreationSink.OnMessageWithTypes(Xunit.Abstractions.IMessageSinkMessage, System.Collections.Generic.HashSet`1<System.String>)
   at Xunit.DelegatingLongRunningTestDetectionSink.OnMessageWithTypes(Xunit.Abstractions.IMessageSinkMessage, System.Collections.Generic.HashSet`1<System.String>)
   at Xunit.MessageSinkAdapter.OnMessageWithTypes(Xunit.Abstractions.IMessageSinkMessage, System.Collections.Generic.HashSet`1<System.String>)
   at Xunit.OptimizedRemoteMessageSink.OnMessage(Xunit.Abstractions.IMessageSinkMessage)
   at Xunit.Sdk.MessageBus.DispatchMessages()
   at Xunit.Sdk.MessageBus.ReporterWorker()
   at Xunit.Sdk.XunitWorkerThread+<>c.<QueueUserWorkItem>b__5_0(System.Object)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task+<>c.<.cctor>b__274_0(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
   at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread)
   at System.Threading.Tasks.ThreadPoolTaskScheduler+<>c.<.cctor>b__10_0(System.Object)
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart(System.Object)
----- end 04/02/2020 23:49:18,98 ----- exit code -1073741819 ----------------------------------------------------------

Linux: https://helix.dot.net/api/2019-06-17/jobs/8c37ad05-d0c1-4333-a79c-852bef842904/workitems/System.IO.FileSystem.Tests/console

  Starting:    System.IO.FileSystem.Tests (parallel test collections = on, max threads = 2)
    System.IO.Tests.DirectoryInfo_GetSetTimes.TimesIncludeMillisecondPart_HFS [SKIP]
      Condition(s) not met: "isHFS"
    System.IO.Tests.FileInfo_GetSetTimes.MoveToMillisecondPresent_HFS [SKIP]
      Condition(s) not met: "isHFS"
    System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_HFS [SKIP]
      Condition(s) not met: "isHFS"
    System.IO.Tests.FileInfo_GetSetTimes.CopyToMillisecondPresent_HFS [SKIP]
      Condition(s) not met: "isHFS"
    System.IO.Tests.FileInfo_GetSetTimes.TimesIncludeMillisecondPart_HFS [SKIP]
      Condition(s) not met: "isHFS"
    System.IO.Tests.DirectoryInfo_ToString.ParentToString_Framework [SKIP]
      Condition(s) not met: "IsNetFramework"
./RunTests.sh: line 161: 19073 Segmentation fault      (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.IO.FileSystem.Tests.runtimeconfig.json --depsfile System.IO.FileSystem.Tests.deps.json xunit.console.dll System.IO.FileSystem.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -notrait category=nonnetcoreapptests -notrait category=nonlinuxtests $RSP_FILE
~/work/AB080914/w/A6340942/e
----- end Wed Jan 29 19:04:53 UTC 2020 ----- exit code 139 ----------------------------------------------------------
exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.
Looking around for any Linux dump...
... found no dump in /home/helixbot/work/AB080914/w/A6340942/e
+ export _commandExitCode=139
+ /bin/sh /home/helixbot/work/AB080914/p/reporter/run.sh https://dev.azure.com/dnceng/ public 15907110 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im9PdmN6NU1fN3AtSGpJS2xGWHo5M3VfVjBabyJ9.eyJuYW1laWQiOiJlNDI4NWM4Yy0zZmQ1LTQyNjctOWIxYy00MjE5NWM0N2E1NTMiLCJzY3AiOiJMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBQaXBlbGluZUNhY2hlLlJlYWRXcml0ZVJvb3RBY2Nlc3MgUmVhZEFuZFB1Ymxpc2hUZXN0OjllZTZkNDc4LWQyODgtNDdmNy1hYWNjLWY2ZTZkMDgyYWU2ZCBSZ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-17/jobs/21d597b4-edd9-47e4-80fa-8a3d4c531c34/workitems/System.IO.FileSystem.Tests/console

/root/helix/work/workitem /root/helix/work/workitem
Failed to load (���, error: libtinfo.so.5: cannot open shared object file: No such file or directory
Failed to bind to CoreCLR at '/root/helix/work/correlation/shared/Microsoft.NETCore.App/5.0.0/'
Failed to create CoreCLR, HRESULT: 0x80008088
/root/helix/work/workitem
----- end Thu Jan 30 17:33:41 UTC 2020 ----- exit code 137 ----------------------------------------------------------
exit code 137 means SIGKILL Killed eg by kill
Looking around for any Linux dump...
... found no dump in /root/helix/work/workitem
+ export _commandExitCode=137
+ _commandExitCode=137
+ /bin/sh /root/helix/work/correlation/reporter/run.sh https://dev.azure.com/dnceng/ public 15940550 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im9PdmN6NU1fN3AtSGpJS2xGWHo5M3VfVjBabyJ9.eyJuYW1laWQiOiJlNDI4NWM4Yy0zZmQ1LTQyNjctOWIxYy00MjE5NWM0N2E1NTMiLCJzY3AiOiJMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBQaXBlbGluZUNhY2hlLlJlYWRXcml0ZVJvb3RBY2Nlc3MgUmVhZEFuZFB1Ymxpc2hUZXN0OjllZTZkNDc4LWQyODgtNDdmNy1hYWNjLWY2ZTZkMDgyYWU2ZCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTo5ZWU2ZDQ3OC1kMjg4LTQ3ZjctYWFjYy1mNmU2ZDA4MmFlNmQvZG90bmV0L3J1bnRpbWUvNjg2OkJ1aWxkL0J1aWxkLzUwMTk4MSIsImF1aSI6IjU0ZWJhODE2LThlZTktNDMyNS1iOWM1LTdmM2MxMDlkZTFjZiIsInNpZCI6IjhhMmU4NGYzLThlZWEtNDRmZC1hMmMxLTAwODAxMGQxZDU5MCIsIkJ1aWxkSWQiOiI5ZWU2ZDQ3OC1kMjg4LTQ3ZjctYWFjYy1mNmU2ZDA4MmFlNmQ7NTAxOTgxIiwib3JjaGlkIjoiZWE4NTdmZDgtNzk0Yy00ODBmLThhMDItN2YyOGM1YTllOGExLmxpYnJhcmllc190ZXN0X3J1bl9yZWxlYXNlX21vbm9fbGludXhfeDY0X2RlYnVnLl9fZGVmYXVsdCIsImlzcyI6ImFwcC52c3Rva2VuLnZpc3VhbHN0dWRpby5jb20iLCJhdWQiOiJhcHAudnN0b2tlbi52aXN1YWxzdHVkaW8uY29tfHZzbzpiNTVkZTRlZC00YjVhLTQyMTUtYThlNC0wYTBhNWY3MWU3ZDgiLCJuYmYiOjE1ODA0MDQ2NTMsImV4cCI6MTU4MDQxNDg1M30.XIFk34YFldzkikdoYPRf-88VBceTsdBB6ctvbZvHeGWsK5W9zN3EDT0WlRETgdZOR2L1NacTsJeJw38M1C4rhvqYGjcHu6QpKceB42Wi9AeTqIe2G0VfXEzAE3YuqaVfOOgp6JxHFV2XQaItSD8IIblS5iXj_EtNSJTL2td5VQyiFqzv530u7lHGZRsl-6n5N6bUYBzW0byRyDlW-syvncXEKE5iEzX4pIR9wEcLurVPiNMflBxSg_-AY-9x33EixaIuqZZS--0JXu-chjwS-lAvNbfpxPm_WfbN4HGF_Zyyd9RtOD71YqFkf96Zlh3ELgmiDY9M-HNIFaoDUy-hFg
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.IO untriaged New issue has not been triaged by the area owner labels Feb 5, 2020
@jkotas
Copy link
Member

jkotas commented Feb 5, 2020

All these are 6 month old crashes, with no repro since then. Not worth looking into them.

@jkotas jkotas closed this as completed Feb 5, 2020
@am11
Copy link
Member Author

am11 commented Feb 5, 2020

@jkotas, they are all from this and the previous week?

@jkotas
Copy link
Member

jkotas commented Feb 5, 2020

Ah, sorry - I got confused by the "2019-06-17" in the link

@jkotas jkotas reopened this Feb 5, 2020
@am11
Copy link
Member Author

am11 commented Feb 5, 2020

It confused me too, but it seems to be the helix web api version 😄

@stephentoub stephentoub added the runtime-coreclr specific to the CoreCLR runtime label Feb 5, 2020
@JeremyKuhne JeremyKuhne added test-bug Problem in test source code (most likely) and removed untriaged New issue has not been triaged by the area owner test-bug Problem in test source code (most likely) labels Mar 5, 2020
@JeremyKuhne JeremyKuhne added this to the 5.0 milestone Mar 5, 2020
@carlossanlop carlossanlop modified the milestones: 5.0.0, 6.0.0 Jun 23, 2020
@adamsitnik adamsitnik modified the milestones: 6.0.0, 7.0.0 Jul 22, 2021
@buyaa-n
Copy link
Member

buyaa-n commented Jun 13, 2022

Another failure found https://github.com/dotnet/runtime/pull/70534/checks?check_run_id=6867381404

LOG: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-70534-merge-9ef671fa37a148ccbf/System.IO.FileSystem.Tests/1/console.4e103995.log?helixlogtype=result

    System.IO.Tests.DirectoryInfo_EnumDir_str_str.SearchPatternCaseSensitive [SKIP]
      Condition(s) not met: "IsCaseSensitiveOS"
./RunTests.sh: line 168: 57043 Segmentation fault: 11  "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.IO.FileSystem.Tests.runtimeconfig.json --depsfile System.IO.FileSystem.Tests.deps.json xunit.console.dll System.IO.FileSystem.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/B98D0A0C/w/A43E08FB/e
----- end Mon Jun 13 11:25:08 PDT 2022 ----- exit code 139 ----------------------------------------------------------
exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.
ulimit -c value: 0
+ export _commandExitCode=139
+ _commandExitCode=139

@jkotas
Copy link
Member

jkotas commented Jun 13, 2022

Another failure found https://github.com/dotnet/runtime/pull/70534/checks?check_run_id=6867381404

This crash is duplicate of #70626 that is fixed now.

@jkotas
Copy link
Member

jkotas commented Jun 13, 2022

This original crash tracked by this issue appears to be fixed.

If you see a new crash in System.IO.FileSystem.Tests, please open a new issue on this.

@jkotas jkotas closed this as completed Jun 13, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

8 participants