sdk icon indicating copy to clipboard operation
sdk copied to clipboard

error MSB3030: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not copy the file

Open lewing opened this issue 1 year ago • 3 comments

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=785882 Build error leg or test failing: Build / FullFramework: windows (x64) / Build Pull request: https://github.com/dotnet/sdk/pull/42833

Error Message

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

{
  "ErrorMessage": "error MSB3030: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not copy the file",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=785882 Error message validated: [error MSB3030: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not copy the file] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 8/23/2024 3:00:11 AM UTC

Report

Build Definition Step Name Console log Pull Request
793820 dotnet/sdk Build Log dotnet/sdk#43128
793372 dotnet/sdk Build Log dotnet/sdk#43113
793359 dotnet/sdk Build Log dotnet/sdk#43111
2527248 dotnet-sdk Build Log
793309 dotnet/sdk Build Log dotnet/sdk#43105
792644 dotnet/sdk Build Log dotnet/sdk#43087
792495 dotnet/sdk Build Log dotnet/sdk#42861
792367 dotnet/sdk Build Log dotnet/sdk#43072
2526192 dotnet-sdk Build Log
791173 dotnet/sdk Build Log dotnet/sdk#43024
791078 dotnet/sdk Build Log dotnet/sdk#43020
2525557 dotnet-sdk Build Log
790374 dotnet/sdk Build Log dotnet/sdk#43041
790100 dotnet/sdk Build Log dotnet/sdk#43036
789877 dotnet/sdk Build Log dotnet/sdk#43029
789823 dotnet/sdk Build Log dotnet/sdk#43022
789847 dotnet/sdk Build Log dotnet/sdk#43027
789716 dotnet/sdk Build Log dotnet/sdk#42900
2524943 dotnet-sdk Build Log
789440 dotnet/sdk Build Log dotnet/sdk#43015
2524753 dotnet-sdk Build (cblMariner20Fpm) Log
2524677 dotnet-sdk Build Log
789116 dotnet/sdk Build Log dotnet/sdk#43007
2524538 dotnet-sdk Build Log
2524492 dotnet-sdk Build Log
788918 dotnet/sdk Build Log dotnet/sdk#42699
788072 dotnet/sdk Build Log dotnet/sdk#42972
787931 dotnet/sdk Build Log dotnet/sdk#42998
2523961 dotnet-sdk Build Log
787811 dotnet/sdk Build Log dotnet/sdk#42929
787263 dotnet/sdk Build Log dotnet/sdk#42988
787088 dotnet/sdk Build Log dotnet/sdk#42988
786909 dotnet/sdk Build Log dotnet/sdk#42606
786433 dotnet/sdk Build Log dotnet/sdk#42972
786353 dotnet/sdk Build Log dotnet/sdk#42977
2522485 dotnet-sdk Build Log
2522454 dotnet-sdk Build (ubuntu2204DebPkg) Log
2522356 dotnet-sdk Build Log
2522334 dotnet-sdk Build (mariner20CrossArm) Log
785882 dotnet/sdk Build Log dotnet/sdk#42833

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 32 40

lewing avatar Aug 23 '24 02:08 lewing

@marcpopMSFT is this a known problem in the sdk tests?

lewing avatar Aug 27 '24 19:08 lewing

@lewing yes it is. A workaround was put in two years ago for this but it was fairly hacky. @MiYanni undid that workaround on the path to simplifying the test infrastructure but that work is not done yet so this issue is still in play. We may want to think about a temporary fix to make sure this isn't impacting builds.

marcpopMSFT avatar Aug 28 '24 19:08 marcpopMSFT

I took another look at the binlog and I tracked down the potential issue. These files aren't being included in the default item include like I thought but because of an explicit include in the test directory.build.targets. I'm going to remove that include entirely and see what fails. Regardless, we should not copy the test assets into every single test publish folder as that's a lot of duplication for no reason.

https://github.com/dotnet/sdk/pull/43146

marcpopMSFT avatar Aug 30 '24 21:08 marcpopMSFT

Should be fixed in 9.0.1xx now with my linked PR.

marcpopMSFT avatar Sep 03 '24 18:09 marcpopMSFT