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

ReadToEndAsync_WithCancellation test failing due to lack of free space #66395

Closed
adamsitnik opened this issue Mar 9, 2022 · 1 comment · Fixed by #66397
Closed

ReadToEndAsync_WithCancellation test failing due to lack of free space #66395

adamsitnik opened this issue Mar 9, 2022 · 1 comment · Fixed by #66397
Assignees

Comments

@adamsitnik
Copy link
Member

Hit in #66387 https://dev.azure.com/dnceng/public/_build/results?buildId=1653656&view=ms.vss-test-web.build-test-results-tab&runId=45590026&resultId=137219&paneView=debug:

System.IO.IOException : No space left on device : '/tmp/StreamReaderTests_nhvvp0kn.ynd/ReadToEndAsync_WithCancellation_138_e9d3cca3'
   at System.IO.Strategies.FileStreamHelpers.CheckFileCall(Int64 result, String path, Boolean ignoreNotSupported) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/FileStreamHelpers.Unix.cs:line 30
   at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) in /_/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Unix.cs:line 134
   at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan`1 buffer) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/OSFileStreamStrategy.cs:line 249
   at System.IO.Strategies.OSFileStreamStrategy.Write(Byte[] buffer, Int32 offset, Int32 count) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/OSFileStreamStrategy.cs:line 236
   at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite() in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 990
   at System.IO.Strategies.BufferedFileStreamStrategy.Flush(Boolean flushToDisk) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 774
   at System.IO.Strategies.BufferedFileStreamStrategy.Flush() in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 760
   at System.IO.Strategies.BufferedFileStreamStrategy.Dispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 134
   at System.IO.Strategies.FileStreamStrategy.DisposeInternal(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/FileStreamStrategy.cs:line 26
   at System.IO.FileStream.Dispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs:line 498
   at System.IO.Stream.Close() in /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs:line 165
   at System.IO.StreamWriter.CloseStreamFromDispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/StreamWriter.cs:line 232
   at System.IO.StreamWriter.Dispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/StreamWriter.cs:line 215
   at System.IO.TextWriter.Dispose() in /_/src/libraries/System.Private.CoreLib/src/System/IO/TextWriter.cs:line 65
   at System.IO.File.InternalWriteAllLines(TextWriter writer, IEnumerable`1 contents) in /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs:line 348
   at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents, Encoding encoding) in /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs:line 338
   at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents) in /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs:line 329
   at System.IO.Tests.StreamReaderTests.ReadToEndAsync_WithCancellation() in /_/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs:line 141
--- End of stack trace from previous location ---
@adamsitnik adamsitnik self-assigned this Mar 9, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Mar 9, 2022
@ghost
Copy link

ghost commented Mar 9, 2022

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

Hit in #66387 https://dev.azure.com/dnceng/public/_build/results?buildId=1653656&view=ms.vss-test-web.build-test-results-tab&runId=45590026&resultId=137219&paneView=debug:

System.IO.IOException : No space left on device : '/tmp/StreamReaderTests_nhvvp0kn.ynd/ReadToEndAsync_WithCancellation_138_e9d3cca3'
   at System.IO.Strategies.FileStreamHelpers.CheckFileCall(Int64 result, String path, Boolean ignoreNotSupported) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/FileStreamHelpers.Unix.cs:line 30
   at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) in /_/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Unix.cs:line 134
   at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan`1 buffer) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/OSFileStreamStrategy.cs:line 249
   at System.IO.Strategies.OSFileStreamStrategy.Write(Byte[] buffer, Int32 offset, Int32 count) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/OSFileStreamStrategy.cs:line 236
   at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite() in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 990
   at System.IO.Strategies.BufferedFileStreamStrategy.Flush(Boolean flushToDisk) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 774
   at System.IO.Strategies.BufferedFileStreamStrategy.Flush() in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 760
   at System.IO.Strategies.BufferedFileStreamStrategy.Dispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/BufferedFileStreamStrategy.cs:line 134
   at System.IO.Strategies.FileStreamStrategy.DisposeInternal(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/FileStreamStrategy.cs:line 26
   at System.IO.FileStream.Dispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs:line 498
   at System.IO.Stream.Close() in /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs:line 165
   at System.IO.StreamWriter.CloseStreamFromDispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/StreamWriter.cs:line 232
   at System.IO.StreamWriter.Dispose(Boolean disposing) in /_/src/libraries/System.Private.CoreLib/src/System/IO/StreamWriter.cs:line 215
   at System.IO.TextWriter.Dispose() in /_/src/libraries/System.Private.CoreLib/src/System/IO/TextWriter.cs:line 65
   at System.IO.File.InternalWriteAllLines(TextWriter writer, IEnumerable`1 contents) in /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs:line 348
   at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents, Encoding encoding) in /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs:line 338
   at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents) in /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs:line 329
   at System.IO.Tests.StreamReaderTests.ReadToEndAsync_WithCancellation() in /_/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs:line 141
--- End of stack trace from previous location ---
Author: adamsitnik
Assignees: adamsitnik
Labels:

area-System.IO

Milestone: -

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Mar 9, 2022
@adamsitnik adamsitnik removed the untriaged New issue has not been triaged by the area owner label Mar 9, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Mar 9, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Apr 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant