Ubuntu_22_04 Build_Release CI build fails to copy asset file intermittently
See original GitHub issueDescribe the bug
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=3171&view=results
Output:
##[error].dotnet/sdk/7.0.100-preview.7.22377.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(248,5):
error MSB3030: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not copy the file
"/home/vsts/work/1/s/src/Assets/TestPackages/dotnet-outputsframeworkversion/dotnet-outputsframeworkversion-netcoreapp1.0/obj/0f271755-2e7a-40ea-aea3-7b25896734fe.tmp" because it was not found.
To Reproduce
Exceptions (if any)
Further technical details
- Include the output of
dotnet --info
- The IDE (VS / VS Code/ VS4Mac) you’re running on, and its version
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Copy content of assets folder to target dist · Issue #320
Files unknown for typescript compiler, assets file should be copied during build. My custom middleware is processing files, which are not .
Read more >COPY failed: file not found in build context (Dockerfile) - ...
I'd like to instruct Docker to COPY my certificates from the local /etc/ folder on my Ubuntu machine. I get the error: COPY...
Read more >Can I copy file from assets to static on conditional build?
I tried using resources.Copy but that gave me an error and anyway, for the resource function to happen, you have to use it...
Read more >Copying file failed (2) error Please help me.....
Hi all, I am trying to buid and run the 2D unity project sample for Windows Store and I am the following error....
Read more >Copying media within your account
This method, by default, will not copy the comments from these assets. The copied files will also inherit a new file ID to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nagilson , can you download the binlog from the failed build so we have that saved for an investigation?
Builds get deleted if someone force pushes an update to a branch. Not sure if there are other situations.
I’d check with Daniel but I wonder if one potential fix for this is to add the following to the blazorwebassembly.aot test <DefaultItemExcludes>$(DefaultItemExcludes);**/*.tmp</DefaultItemExcludes>
I’m not sure who is generating the .tmp file but it gets generated and then deleted. We pick it up as part of the default behavior to include all files in the obj directory (except for those with certain extensions…see DefaultItems.targets). Daniel probably has a better history to know how DefaultItems work as well as the best way to exclude this file from being included.