--- FAIL: TestDefaultPlatform (0.00s)
platform_test.go:65:
Error Trace: platform_test.go:65
Error: Not equal:
expected: v1.Platform{Architecture:"amd64", OS:"windows", OSVersion:"10.0.17763", OSFeatures:[]string(nil), Variant:""}
actual : v1.Platform{Architecture:"amd64", OS:"windows", OSVersion:"", OSFeatures:[]string(nil), Variant:""}
Diff:
--- Expected
+++ Actual
@@ -3,3 +3,3 @@
OS: (string) (len=7) "windows",
- OSVersion: (string) (len=10) "10.0.17763",
+ OSVersion: (string) "",
OSFeatures: ([]string) <nil>,
Test: TestDefaultPlatform
Description
Since containerd 1.6.0-beta.0, default platform spec is now correct for Windows with
OSVersion(#5914) butplatforms.NormalizeunsetsOSVersionandOSFeatureswhich altered the originalplatforms.DefaultSpec.Steps to reproduce the issue
Describe the results you received and expected
What version of containerd are you using?
1.6.0-beta.1
Any other relevant information
moby/buildkit#2427 (comment)
cc @tonistiigi @thaJeztah
Show configuration if it is related to CRI plugin.
No response