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

Sometimes Nuget debug build fails #2568

Open
1 of 5 tasks
mregen opened this issue Mar 28, 2024 · 2 comments
Open
1 of 5 tasks

Sometimes Nuget debug build fails #2568

mregen opened this issue Mar 28, 2024 · 2 comments

Comments

@mregen
Copy link
Contributor

mregen commented Mar 28, 2024

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

  Zipping directory "D:\a\1\s\Stack\Opc.Ua.Core\obj\zipnodeset2" to "D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip".
##[error]Stack\Opc.Ua.Core\Opc.Ua.Core.csproj(100,5): Error MSB3943: Failed to zip directory "D:\a\1\s\Stack\Opc.Ua.Core\obj\zipnodeset2" to file "D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip".  The process cannot access the file 'D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip' because it is being used by another process.
D:\a\1\s\Stack\Opc.Ua.Core\Opc.Ua.Core.csproj(100,5): error MSB3943: Failed to zip directory "D:\a\1\s\Stack\Opc.Ua.Core\obj\zipnodeset2" to file "D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip".  The process cannot access the file 'D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip' because it is being used by another process. [TargetFramework=net6.0]
  Zip Schema/Opc.Ua.NodeSet2.xml in obj\/zipnodeset2.
##[error]Stack\Opc.Ua.Core\Opc.Ua.Core.csproj(100,5): Error MSB3943: Failed to zip directory "D:\a\1\s\Stack\Opc.Ua.Core\obj\zipnodeset2" to file "D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip".  The process cannot access the file 'D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip' because it is being used by another process.
D:\a\1\s\Stack\Opc.Ua.Core\Opc.Ua.Core.csproj(100,5): error MSB3943: Failed to zip directory "D:\a\1\s\Stack\Opc.Ua.Core\obj\zipnodeset2" to file "D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip".  The process cannot access the file 'D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip' because it is being used by another process.
  Zip NodeSet2 completed, obj\/zipnodeset2 removed.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response

@romanett
Copy link
Contributor

New Error in latest Push:
Stack\Opc.Ua.Core\Opc.Ua.Core.csproj(100,5): Error MSB3943: Failed to zip directory "D:\a\1\s\Stack\Opc.Ua.Core\obj\zipnodeset2" to file "D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip". The file 'D:\a\1\s\Stack\Opc.Ua.Core\Schema\Opc.Ua.NodeSet2.xml.zip' already exists.

@mregen
Copy link
Contributor Author

mregen commented Apr 11, 2024

looks like a race condition between the various build flavors, maybe a different temp folder can do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants