Skip to content

[SignCheck] Avoid holding exclusive writes on log files #15729

Open
@ellahathaway

Description

@ellahathaway

See dotnet/source-build#5041

SignCheck currently holds exclusive writes on its log files, so when SignCheck times out, the following errors can occur when trying to access the log files:

The process cannot access the file 'D:\a\_work\1\a\SigningValidation\signcheck.log' because it is being used by another process.
[WARNING] Asset D:\a\_work\1\a\SigningValidation\signcheck.error.log failed to get process

The process cannot access the file 'D:\a\_work\1\a\SigningValidation\signcheck.error.log' because it is being used by another process.

[WARNING] Asset D:\a\_work\1\a\SigningValidation\signcheck.xml failed to get process
The process cannot access the file 'D:\a\_work\1\a\SigningValidation\signcheck.xml' because it is being used by another process

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions