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.NET.HostModel.Tests failing with "No space left on device" #91039

Closed
jkotas opened this issue Aug 24, 2023 · 1 comment · Fixed by #92024
Closed

Microsoft.NET.HostModel.Tests failing with "No space left on device" #91039

jkotas opened this issue Aug 24, 2023 · 1 comment · Fixed by #92024
Labels
area-Single-File blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Aug 24, 2023

System.IO.IOException : No space left on device : '/__w/1/s/artifacts/tests/Release/ahb/utib1ri2.55x/StandaloneApp/bundle/StandaloneApp'



Stack trace
   at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
   at System.IO.Strategies.BufferedFileStreamStrategy.WriteSpan(ReadOnlySpan`1 source, ArraySegment`1 arraySegment)
   at System.IO.Strategies.BufferedFileStreamStrategy.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Compression.DeflateStream.Dispose(Boolean disposing)
   at Microsoft.NET.HostModel.Bundle.Bundler.AddToBundle(Stream bundle, Stream file, FileType type) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs:line 108
   at Microsoft.NET.HostModel.Bundle.Bundler.GenerateBundle(IReadOnlyList`1 fileSpecs) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs:line 333
   at BundleTests.Helpers.BundleHelper.GenerateBundle(Bundler bundler, String sourceDir, String outputDir, Boolean copyExcludedFiles) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Helpers/BundleHelper.cs:line 164
   at BundleTests.Helpers.BundleHelper.BundleApp(TestProjectFixture fixture, String& singleFile, BundleOptions options, Version targetFrameworkVersion, Boolean copyExcludedFiles) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Helpers/BundleHelper.cs:line 200
   at AppHost.Bundle.Tests.BundleTestBase.BundleSelfContainedApp(TestProjectFixture testFixture, String& singleFile, BundleOptions options, Version targetFrameworkVersion, Boolean disableCompression) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleTestBase.cs:line 64
   at AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(String relativePath, BundleOptions bundleOptions) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleExtractToSpecificPath.cs:line 88
   at InvokeStub_BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=383981
Build error leg or test failing: AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_extraction_is_reused
Pull request: #91018

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "No space left on device",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=383981
Error message validated: No space left on device
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/24/2023 12:26:40 AM UTC

Report

Build Definition Step Name Console log Pull Request
2251312 dotnet-runtime Copying superpmi.log of all partitions Log
2251148 dotnet-runtime Copying superpmi.log of all partitions Log
Build Definition Test Pull Request
396177 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_Self_Contained_Targeting50_WithCompression_Throws #91290
393144 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #91413
395994 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleAllContent) #90436
395986 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91038
395710 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91596
395666 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #91595
395642 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_Framework_dependent_Targeting50_App_Run_Succeeds(options: BundleAllContent) #91580
395610 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "./foo", bundleOptions: BundleAllContent) #91542
395077 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91395
394396 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91497
394355 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #81993
394088 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_Framework_dependent_Targeting50_App_Run_Succeeds(options: BundleAllContent) #91499
393877 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91488
393143 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91313
392839 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #85392
392453 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91395
392394 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91345
392264 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91363
391953 dotnet/runtime Microsoft.NET.HostModel.Tests.AppHostUsedWithSymbolicLinks.Put_app_directory_behind_symlink_and_use_dotnet #91400
391928 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91398
391749 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #91387
391366 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91290
390954 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91295
390590 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91261
390439 dotnet/runtime Microsoft.NET.HostModel.Tests.BundlerConsistencyTests.TestWithIdenticalBundlesShouldBeBinaryEqualPasses #91317
390081 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91037
389641 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91291
388603 dotnet/runtime HostActivation.Tests.StandaloneAppActivation.Running_Publish_Output_Standalone_EXE_with_Unbound_AppHost_Fails #91229
388436 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91037
387426 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91140
387384 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91177
387233 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91116
387323 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #90982
387244 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91160
387157 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91166
386528 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91141
386115 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91122
386109 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleNativeBinaries) #91091
386099 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #90764
386049 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #90880
385936 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #90982
385618 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleAllContent) #90847
385396 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91092
385287 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleNativeBinaries) #91081
384905 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "./foo", bundleOptions: BundleAllContent) #91035
384869 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: None) #89816
384745 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #90957
384646 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #90981
384152 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo", bundleOptions: BundleAllContent) #91029
384145 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_Framework_dependent_Targeting50_App_Run_Succeeds(options: BundleAllContent) #90518
383981 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #91018
383712 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #90847
383161 dotnet/runtime AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(relativePath: "foo/bar", bundleOptions: BundleNativeBinaries) #90970
382863 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #90959
382828 dotnet/runtime Microsoft.NET.HostModel.Tests.BundlerConsistencyTests.TestBundlingNativeBinaries(options: None) #90891
382809 dotnet/runtime AppHost.Bundle.Tests.BundledAppWithSubDirs.Bundled_With_Empty_File_Succeeds(options: BundleAllContent) #90957

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 58
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 24, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 24, 2023
@ghost
Copy link

ghost commented Aug 24, 2023

Tagging subscribers to this area: @agocke, @vitek-karas, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details
System.IO.IOException : No space left on device : '/__w/1/s/artifacts/tests/Release/ahb/utib1ri2.55x/StandaloneApp/bundle/StandaloneApp'



Stack trace
   at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
   at System.IO.Strategies.BufferedFileStreamStrategy.WriteSpan(ReadOnlySpan`1 source, ArraySegment`1 arraySegment)
   at System.IO.Strategies.BufferedFileStreamStrategy.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Compression.DeflateStream.Dispose(Boolean disposing)
   at Microsoft.NET.HostModel.Bundle.Bundler.AddToBundle(Stream bundle, Stream file, FileType type) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs:line 108
   at Microsoft.NET.HostModel.Bundle.Bundler.GenerateBundle(IReadOnlyList`1 fileSpecs) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs:line 333
   at BundleTests.Helpers.BundleHelper.GenerateBundle(Bundler bundler, String sourceDir, String outputDir, Boolean copyExcludedFiles) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Helpers/BundleHelper.cs:line 164
   at BundleTests.Helpers.BundleHelper.BundleApp(TestProjectFixture fixture, String& singleFile, BundleOptions options, Version targetFrameworkVersion, Boolean copyExcludedFiles) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Helpers/BundleHelper.cs:line 200
   at AppHost.Bundle.Tests.BundleTestBase.BundleSelfContainedApp(TestProjectFixture testFixture, String& singleFile, BundleOptions options, Version targetFrameworkVersion, Boolean disableCompression) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleTestBase.cs:line 64
   at AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(String relativePath, BundleOptions bundleOptions) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleExtractToSpecificPath.cs:line 88
   at InvokeStub_BundleExtractToSpecificPath.Bundle_Extraction_To_Relative_Path_Succeeds(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=383981
Build error leg or test failing: AppHost.Bundle.Tests.BundleExtractToSpecificPath.Bundle_extraction_is_reused
Pull request: #91018

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "No space left on device",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: jkotas
Assignees: -
Labels:

area-Single-File, blocking-clean-ci, Known Build Error

Milestone: -

@elinor-fung elinor-fung added this to the 9.0.0 milestone Sep 8, 2023
@elinor-fung elinor-fung removed the untriaged New issue has not been triaged by the area owner label Sep 8, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Sep 13, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Sep 14, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Single-File blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants