Skip to content

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

Closed
@jkotas

Description

@jkotas
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Single-Fileblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions