-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
The verification tests are broken again. It looks like it may be due to dependencies not being locked on purpose and then charset-normalizer being released 18 hours ago:
https://pypi.org/project/charset-normalizer/3.4.4/
@pauld-msft, this looks similar to
Run dotnet test
Determining projects to restore...
Restored /home/runner/work/component-detection/component-detection/test/Microsoft.ComponentDetection.VerificationTests/Microsoft.ComponentDetection.VerificationTests.csproj (in 681 ms).
1 of 2 projects are up-to-date for restore.
MinVer: No commit found with a valid SemVer 2.0 version prefixed with 'v'. Using default version 0.0.0-preview.0.
MinVer: Using { Commit: ad17420, Tag: '', Version: 0.0.0-preview.0, Height: 0 }.
MinVer: Calculated version 0.0.0-preview.0.
Microsoft.ComponentDetection.Contracts -> /home/runner/work/component-detection/component-detection/src/Microsoft.ComponentDetection.Contracts/bin/Debug/netstandard2.0/Microsoft.ComponentDetection.Contracts.dll
MinVer: No commit found with a valid SemVer 2.0 version prefixed with 'v'. Using default version 0.0.0-preview.0.
MinVer: Using { Commit: ad17420, Tag: '', Version: 0.0.0-preview.0, Height: 0 }.
MinVer: Calculated version 0.0.0-preview.0.
Microsoft.ComponentDetection.VerificationTests -> /home/runner/work/component-detection/component-detection/test/Microsoft.ComponentDetection.VerificationTests/bin/net8.0/Microsoft.ComponentDetection.VerificationTests.dll
Test run for /home/runner/work/component-detection/component-detection/test/Microsoft.ComponentDetection.VerificationTests/bin/net8.0/Microsoft.ComponentDetection.VerificationTests.dll (.NETCoreApp,Version=v8.0)
VSTest version 17.11.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Failed CheckManifestFiles_ExcludingExperimentalDetectors [570 ms]
Error Message:
Expected foundComponent to be True because The component for PipReport-charset-normalizer 3.4.3 - pip was not present in the new manifest file. Verify this is expected behavior before proceeding, but found False.
Expected foundComponent to be True because The component for PipReport-charset-normalizer 3.4.4 - pip was not present in the old manifest file. Verify this is expected behavior before proceeding, but found False.
Expected rightDependencies {"charset-normalizer 3.4.4 - pip", "idna 3.11 - pip", "urllib3 2.5.0 - pip", "certifi 2025.10.5 - pip"} to contain "charset-normalizer 3.4.3 - pip" because Component dependency charset-normalizer 3.4.3 - pip for component [requests 2.32.5 - pip, System.Collections.Generic.HashSet`1[System.String]] was not in the new dependency graph..
Expected leftDependencies[0] to be "charset-normalizer 3.4.4 - pip" because new has the following components that were not found in old, please verify this is expected behavior. ["charset-normalizer 3.4.4 - pip"], but "charset-normalizer 3.4.3 - pip" differs near "3 -" (index 23).
Expected rightGraph.Graph.TryGetValue(leftComponent.Key, out var rightDependencies) to be True because Component [charset-normalizer 3.4.3 - pip, ] was in the old dependency graph, but is not in the new one., but found False.
Expected rightDependencies {"charset-normalizer 3.4.3 - pip", "idna 3.11 - pip", "urllib3 2.5.0 - pip", "certifi 2025.10.5 - pip"} to contain "charset-normalizer 3.4.4 - pip" because Component dependency charset-normalizer 3.4.4 - pip for component [requests 2.32.5 - pip, System.Collections.Generic.HashSet`1[System.String]] was not in the old dependency graph..
Expected leftDependencies[0] to be "charset-normalizer 3.4.3 - pip" because old has the following components that were not found in new, please verify this is expected behavior. ["charset-normalizer 3.4.3 - pip"], but "charset-normalizer 3.4.4 - pip" differs near "4 -" (index 23).
Expected rightGraph.Graph.TryGetValue(leftComponent.Key, out var rightDependencies) to be True because Component [charset-normalizer 3.4.4 - pip, ] was in the new dependency graph, but is not in the old one., but found False.
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
Stack Trace:
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
at FluentAssertions.Execution.AssertionScope.Dispose()
at Microsoft.ComponentDetection.VerificationTests.ComponentDetectionIntegrationTests.CheckManifestFiles_ExcludingExperimentalDetectors() in /home/runner/work/component-detection/component-detection/test/Microsoft.ComponentDetection.VerificationTests/ComponentDetectionIntegrationTests.cs:line 70
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Failed! - Failed: 1, Passed: 5, Skipped: 0, Total: 6, Duration: 2 s - Microsoft.ComponentDetection.VerificationTests.dll (net8.0)
Metadata
Metadata
Assignees
Labels
No labels