bake: change evaluation of entitlement paths #4770
build.yml
on: pull_request
Matrix: test-integration
Matrix: test-unit
prepare-binaries
7s
govulncheck
1m 10s
Matrix: binaries
scout
0s
release
0s
Annotations
2 errors
Failed: bake/TestValidateEntitlements/SecretFromSubFile:
bake/entitlements_test.go#L372
=== RUN TestValidateEntitlements/SecretFromSubFile
entitlements_test.go:372:
Error Trace: D:/a/buildx/buildx/bake/entitlements_test.go:372
Error: Not equal:
expected: bake.EntitlementConf{NetworkHost:false, SecurityInsecure:false, FSRead:[]string(nil), FSWrite:[]string(nil), ImagePush:[]string(nil), ImageLoad:[]string(nil), SSH:false}
actual : bake.EntitlementConf{NetworkHost:false, SecurityInsecure:false, FSRead:[]string{"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\TestValidateEntitlements1319827151\\001"}, FSWrite:[]string(nil), ImagePush:[]string(nil), ImageLoad:[]string(nil), SSH:false}
Diff:
--- Expected
+++ Actual
@@ -3,3 +3,5 @@
SecurityInsecure: (bool) false,
- FSRead: ([]string) <nil>,
+ FSRead: ([]string) (len=1) {
+ (string) (len=78) "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\TestValidateEntitlements1319827151\\001"
+ },
FSWrite: ([]string) <nil>,
Test: TestValidateEntitlements/SecretFromSubFile
--- FAIL: TestValidateEntitlements/SecretFromSubFile (0.00s)
|
test-unit (windows-2022)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-reports-test-unit--windows-2022
|
176 KB |
|