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:44921/moby/buildkit:buildx-stable-1
time="2024-09-11T09:22:49Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44921"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:44921/library/busybox:latest
time="2024-09-11T09:22:49Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44921"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44921/library/alpine:latest
--- FAIL: TestIntegration (2.21s)
|
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-m6ickmy5uwlpqq38b1991ajm0" based in "$BUILDX_CONFIG" environment variable
Name: flamboyant_elion
Driver: docker-container
Last Activity: 2024-09-11 09:23:01 +0000 UTC
Nodes:
Name: flamboyant_elion0
Endpoint: integration-jqh4imwdbhxuk65tfdwl5yuva
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.15s)
|
Test
Process completed with exit code 1.
|
Loading