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

Microsoft.Extensions.FileProviders.Physical.Tests failing with "Nullable object must have a value." #57755

Closed
ViktorHofer opened this issue Aug 19, 2021 · 2 comments

Comments

@ViktorHofer
Copy link
Member

Configuration: net6.0-OSX-Release-x64-CoreCLR_release-OSX.1014.Amd64.Open

Log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-26a41069e65141db99/Microsoft.Extensions.FileProviders.Physical.Tests/1/console.5b5c56fe.log?sv=2019-07-07&se=2021-09-03T05%3A59%3A46Z&sr=c&sp=rl&sig=TOh52NGCkmX9ydvCJV8V%2FdA8M1m59eFp2%2FIUj9fvW%2Fs%3D

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1293627&view=ms.vss-test-web.build-test-results-tab&runId=38169646&resultId=194013&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

  Discovering: Microsoft.Extensions.FileProviders.Physical.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  Microsoft.Extensions.FileProviders.Physical.Tests (found 76 of 92 test cases)
  Starting:    Microsoft.Extensions.FileProviders.Physical.Tests (parallel test collections = on, max threads = 4)
Unhandled exception. System.InvalidOperationException: Nullable object must have a value.
   at System.Nullable`1.get_Value() in /_/src/libraries/System.Private.CoreLib/src/System/Nullable.cs:line 40
   at Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.GetLastWriteTimeUtc() in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs:line 68
   at Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.get_HasChanged() in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs:line 112
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.RaiseChangeEvents(Object state) in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFilesWatcher.cs:line 455
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs:line 673
   at System.Threading.TimerQueue.FireNextTimers() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs:line 327
./RunTests.sh: line 162: 10114 Abort trap: 6           (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig Microsoft.Extensions.FileProviders.Physical.Tests.runtimeconfig.json --depsfile Microsoft.Extensions.FileProviders.Physical.Tests.deps.json xunit.console.dll Microsoft.Extensions.FileProviders.Physical.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/9D5A0889/w/BB5F09BA/e
----- end Fri Aug 13 23:02:40 PDT 2021 ----- exit code 134 ----------------------------------------------------------
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Extensions-FileSystem untriaged New issue has not been triaged by the area owner labels Aug 19, 2021
@ghost
Copy link

ghost commented Aug 19, 2021

Tagging subscribers to this area: @maryamariyan, @dotnet/area-extensions-filesystem
See info in area-owners.md if you want to be subscribed.

Issue Details

Configuration: net6.0-OSX-Release-x64-CoreCLR_release-OSX.1014.Amd64.Open

Log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-26a41069e65141db99/Microsoft.Extensions.FileProviders.Physical.Tests/1/console.5b5c56fe.log?sv=2019-07-07&se=2021-09-03T05%3A59%3A46Z&sr=c&sp=rl&sig=TOh52NGCkmX9ydvCJV8V%2FdA8M1m59eFp2%2FIUj9fvW%2Fs%3D

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1293627&view=ms.vss-test-web.build-test-results-tab&runId=38169646&resultId=194013&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

  Discovering: Microsoft.Extensions.FileProviders.Physical.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  Microsoft.Extensions.FileProviders.Physical.Tests (found 76 of 92 test cases)
  Starting:    Microsoft.Extensions.FileProviders.Physical.Tests (parallel test collections = on, max threads = 4)
Unhandled exception. System.InvalidOperationException: Nullable object must have a value.
   at System.Nullable`1.get_Value() in /_/src/libraries/System.Private.CoreLib/src/System/Nullable.cs:line 40
   at Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.GetLastWriteTimeUtc() in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs:line 68
   at Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.get_HasChanged() in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs:line 112
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.RaiseChangeEvents(Object state) in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFilesWatcher.cs:line 455
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs:line 673
   at System.Threading.TimerQueue.FireNextTimers() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs:line 327
./RunTests.sh: line 162: 10114 Abort trap: 6           (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig Microsoft.Extensions.FileProviders.Physical.Tests.runtimeconfig.json --depsfile Microsoft.Extensions.FileProviders.Physical.Tests.deps.json xunit.console.dll Microsoft.Extensions.FileProviders.Physical.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/9D5A0889/w/BB5F09BA/e
----- end Fri Aug 13 23:02:40 PDT 2021 ----- exit code 134 ----------------------------------------------------------
Author: ViktorHofer
Assignees: -
Labels:

untriaged, area-Extensions-FileSystem

Milestone: -

@jozkee
Copy link
Member

jozkee commented Aug 19, 2021

Fixed with multiple recent changes (#57415, #57551) that build is from 08/13; this should no longer occur in builds containing the PRs that I just mentioned.

@jozkee jozkee closed this as completed Aug 19, 2021
@jozkee jozkee removed the untriaged New issue has not been triaged by the area owner label Aug 19, 2021
@jozkee jozkee added this to the 6.0.0 milestone Aug 19, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants