inspect: display buildkit daemon configuration file #4391
Annotations
3 errors
Generate annotations:
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:44325/moby/buildkit:buildx-stable-1
time="2024-09-11T09:22:41Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44325"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:44325/library/busybox:latest
time="2024-09-11T09:22:42Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44325"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44325/library/alpine:latest
--- FAIL: TestIntegration (2.23s)
|
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-8b880bitor3njp8huj02dmjwp" based in "$BUILDX_CONFIG" environment variable
Name: focused_keller
Driver: docker-container
Last Activity: 2024-09-11 09:22:50 +0000 UTC
Nodes:
Name: focused_keller0
Endpoint: integration-tmg7lcp46swlsnzb76xqluy8v
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.16s)
|
Test
Process completed with exit code 1.
|
Loading