inspect: display buildkit daemon configuration file #4391
Annotations
3 errors
Generate annotations:
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:38627/library/busybox:latest
time="2024-09-11T09:22:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38627"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:38627/library/alpine:latest
time="2024-09-11T09:22:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38627"
run.go:272: copied docker.io/moby/buildkit:v0.12.5 to local mirror localhost:38627/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (2.28s)
|
Generate annotations:
tests/inspect.go#L158
=== RUN TestIntegration/TestInspectBuildkitdConf/worker=docker-container
=== PAUSE TestIntegration/TestInspectBuildkitdConf/worker=docker-container
=== CONT TestIntegration/TestInspectBuildkitdConf/worker=docker-container
inspect.go:158: DEBUG: using config store "/tmp/buildx-integration-container-abei8rm63dlx2hfhaon5w3ozw" based in "$BUILDX_CONFIG" environment variable
Name: kind_morse
Driver: docker-container
Last Activity: 2024-09-11 09:23:09 +0000 UTC
Nodes:
Name: kind_morse0
Endpoint: integration-ctctvw4cwxqy13jrk90xzdtu9
Status: inactive
BuildKit daemon flags: --allow-insecure-entitlement=network.host
Features:
Automatically load images to the Docker Engine image store: false
Cache export: true
Docker exporter: true
Multi-platform build: true
OCI exporter: true
File#buildkitd.toml:
> debug = true
> insecure-entitlements = ["network.host", "security.insecure"]
>
> [log]
> format = "text"
>
inspect.go:178:
Error Trace: /src/tests/inspect.go:178
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Not equal:
expected: "debug = true\ninsecure-entitlements = [\"network.host\", \"security.insecure\"]\n\n[log]\n format = \"text\"\n"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1,6 +1 @@
-debug = true
-insecure-entitlements = ["network.host", "security.insecure"]
-[log]
- format = "text"
-
Test: TestIntegration/TestInspectBuildkitdConf/worker=docker-container
Messages: File#buildkitd.toml content mismatch
--- FAIL: TestIntegration/TestInspectBuildkitdConf/worker=docker-container (1.46s)
|
Test
Process completed with exit code 1.
|
Loading