Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test: TestRuleCheckOption #5391

Open
crazy-max opened this issue Oct 3, 2024 · 0 comments
Open

Flaky test: TestRuleCheckOption #5391

crazy-max opened this issue Oct 3, 2024 · 0 comments

Comments

@crazy-max
Copy link
Member

https://github.com/moby/buildkit/actions/runs/11162974404/job/31028947675?pr=5390#step:8:3612

logs.txt

=== FAIL: frontend/dockerfile TestIntegration/TestRuleCheckOption/worker=oci/frontend=client/warntype=progress#06 (0.03s)
    dockerfile_lint_test.go:1523: 
        	Error Trace:	/src/frontend/dockerfile/dockerfile_lint_test.go:1462
        	            				/src/frontend/dockerfile/dockerfile_lint_test.go:1523
        	Error:      	Error message not equal:
        	            	expected: "failed to solve: lint violation found for rules: FromAsCasing"
        	            	actual  : "failed to run Build function: lint violation found for rules: FromAsCasing"
        	Test:       	TestIntegration/TestRuleCheckOption/worker=oci/frontend=client/warntype=progress#06
        --- FAIL: TestIntegration/TestRuleCheckOption/worker=oci/frontend=client/warntype=progress#06 (0.03s)

=== FAIL: frontend/dockerfile TestIntegration/TestRuleCheckOption/worker=oci/frontend=client (1.27s)
    sandbox.go:135: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config290465617/buildkitd.toml --root /tmp/bktest_buildkitd2993562546 --addr unix:///tmp/bktest_buildkitd2993562546/buildkitd.sock --debug
    sandbox.go:138: > StartCmd 2024-10-03 13:36:21.964975535 +0000 UTC m=+40.737091995 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config290465617/buildkitd.toml --root /tmp/bktest_buildkitd2993562546 --addr unix:///tmp/bktest_buildkitd2993562546/buildkitd.sock --debug
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=warning msg="failed to get disk size: no such file or directory"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=warning msg="failed to get disk size: no such file or directory"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=info msg="auto snapshotter: using overlayfs"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2993562546/net/cni\" for cleanup: open /tmp/bktest_buildkitd2993562546/net/cni: no such file or directory"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="creating new network namespace o7oh33sga55wspihyr8340717"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="finished creating network namespace o7oh33sga55wspihyr8340717"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="finished setting up network namespace o7oh33sga55wspihyr8340717"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=info msg="found worker \"dgcqwqf113k3mb66khxuev883\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:2e4513caab18 org.mobyproject.buildkit.worker.network:cni org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/arm/v7 linux/arm/v6]"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=info msg="found 1 workers, default=\"dgcqwqf113k3mb66khxuev883\""
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=warning msg="currently, only the default worker can be used."
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=info msg="running server on /tmp/bktest_buildkitd2993562546/buildkitd.sock"
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="session started" spanID=3d8c0baa1136b8d4 traceID=4d3d6c9c53f13215fcc20e00e02564bc
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="new ref for local: vzrcj4lfa11s0785lnht3wnuw" span="[internal] load build definition from Dockerfile" spanID=1a65ea3449241bbd traceID=5a5e63f1e2ae61e39cd0e6d3ccc23de3
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="diffcopy took: 1.97071ms" span="[internal] load build definition from Dockerfile" spanID=f8ca9536e1f4946e traceID=5a5e63f1e2ae61e39cd0e6d3ccc23de3
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=debug msg="saved vzrcj4lfa11s0785lnht3wnuw as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile" spanID=1a65ea3449241bbd traceID=5a5e63f1e2ae61e39cd0e6d3ccc23de3
    sandbox.go:138: time="2024-10-03T13:36:22Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/ReadFile returned error: rpc error: code = Unknown desc = open Dockerfile.dockerignore: no such file or directory" spanID=b2df89231e44f180 traceID=a594e5f53eb261762316afab245880ab
    sandbox.go:138: open Dockerfile.dockerignore: no such file or directory
    sandbox.go:138: 32981 2321320 buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config290465617/buildkitd.toml --root /tmp/bktest_buildkitd2993562546 --addr unix:///tmp/bktest_buildkitd2993562546/buildkitd.sock --debug
    sandbox.go:138: github.com/moby/buildkit/cache/util.ReadFile.func1
    sandbox.go:138: 	/src/cache/util/fsutil.go:68
    sandbox.go:138: github.com/moby/buildkit/cache/util.withMount
    sandbox.go:138: 	/src/cache/util/fsutil.go:40
    sandbox.go:138: github.com/moby/buildkit/cache/util.ReadFile
    sandbox.go:138: 	/src/cache/util/fsutil.go:54
    sandbox.go:138: github.com/moby/buildkit/frontend/gateway.(*llbBridgeForwarder).ReadFile
    sandbox.go:138: 	/src/frontend/gateway/gateway.go:935
    sandbox.go:138: github.com/moby/buildkit/control/gateway.(*GatewayForwarder).ReadFile
    sandbox.go:138: 	/src/control/gateway/gateway.go:122
    sandbox.go:138: github.com/moby/buildkit/frontend/gateway/pb._LLBBridge_ReadFile_Handler.func1
    sandbox.go:138: 	/src/frontend/gateway/pb/gateway_grpc.pb.go:383
    sandbox.go:138: google.golang.org/grpc.getChainUnaryHandler.func1
    sandbox.go:138: 	/src/vendor/google.golang.org/grpc/server.go:1211
    sandbox.go:138: main.unaryInterceptor
    sandbox.go:138: 	/src/cmd/buildkitd/main.go:711
    sandbox.go:138: google.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1
    sandbox.go:138: 	/src/vendor/google.golang.org/grpc/server.go:1202
    sandbox.go:138: github.com/moby/buildkit/frontend/gateway/pb._LLBBridge_ReadFile_Handler
    sandbox.go:138: 	/src/frontend/gateway/pb/gateway_grpc.pb.go:385
    sandbox.go:138: google.golang.org/grpc.(*Server).processUnaryRPC
    sandbox.go:138: 	/src/vendor/google.golang.org/grpc/server.go:1394
    sandbox.go:138: google.golang.org/grpc.(*Server).handleStream
    sandbox.go:138: 	/src/vendor/google.golang.org/grpc/server.go:1805
    sandbox.go:138: google.golang.org/grpc.(*Server).serveStreams.func2.1
    sandbox.go:138: 	/src/vendor/google.golang.org/grpc/server.go:1029
    sandbox.go:138: runtime.goexit
    sandbox.go:138: 	/usr/local/go/src/runtime/asm_amd64.s:1695
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants