Skip to content

Re-enable deterministic timestamps in arcade-validation RepoTests after NuGet file-lock fix #17065

Description

@mmitche

The arcade dependency update in dotnet/arcade-validation#5637 (arcade 11.0.0-beta.26329.1) pulls in a NuGet change (NuGet/NuGet.Client#7020) that incorrectly holds file locks when deterministic timestamps are enabled. This causes the BuildShouldUseDotNetCertifcateIfSet and BuildShouldNotChangeNonMicrosoft400CertsWhenSigning tests in src/Validation/tests/RepoTests.cs to fail on Windows during cleanup with:

System.IO.IOException : The process cannot access the file 'FooPackage.dll' because it is being used by another process.

As a temporary workaround, /p:DeterministicTimestamp=false is passed to the test repo build in TestRepoBuilder.Build. This mirrors the workaround applied in the VMR (dotnet/dotnet#7331).

Once the underlying NuGet file-lock issue is resolved and flowed into arcade, remove the workaround and re-enable deterministic timestamps in arcade-validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions