Skip to content

build(deps): bump MSTest.TestFramework from 3.6.4 to 3.7.0 #2593

build(deps): bump MSTest.TestFramework from 3.6.4 to 3.7.0

build(deps): bump MSTest.TestFramework from 3.6.4 to 3.7.0 #2593

Triggered via pull request December 23, 2024 04:18
Status Failure
Total duration 1m 47s
Billable time 2m
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

34 errors
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L27
Do not store TestContext in a static member (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0024)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L90
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L91
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L101
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L63
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L67
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L75
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L69
Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped. (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0017)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L70
Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped. (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0017)
build-macos-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L62
Review or remove the assertion as its condition is known to be always true (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0032)
build-windows-latest
The job was canceled because "macos-latest" failed.
build-windows-latest
The operation was canceled.
build-macos-latest-large
The job was canceled because "macos-latest" failed.
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L27
Do not store TestContext in a static member (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0024)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L90
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L91
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L90
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L91
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L92
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L160
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L206
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L176
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-macos-latest-large: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L191
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-ubuntu-latest
The job was canceled because "macos-latest" failed.
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L27
Do not store TestContext in a static member (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0024)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L90
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L101
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L101
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L102
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L104
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L91
Prefer adding an additional assertion that checks for null (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0026)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L90
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L91
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-ubuntu-latest: test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSBOMPackageAdapterTests.cs#L92
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)