From 7ee783e90c44ccaa34953be15e62b9209120e868 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 30 Nov 2021 17:20:47 -0800 Subject: [PATCH 1/6] add source mapping support to warnings Signed-off-by: Tonis Tiigi --- api/services/control/control.pb.go | 310 ++++++++++++++------ api/services/control/control.proto | 2 + client/build_test.go | 20 +- client/graph.go | 9 +- client/solve.go | 8 +- control/control.go | 2 + frontend/frontend.go | 4 +- frontend/gateway/client/client.go | 8 +- frontend/gateway/forwarder/forward.go | 4 +- frontend/gateway/gateway.go | 6 +- frontend/gateway/grpcclient/client.go | 6 +- frontend/gateway/pb/gateway.pb.go | 394 +++++++++++++++++--------- frontend/gateway/pb/gateway.proto | 3 + solver/llbsolver/bridge.go | 14 +- 14 files changed, 543 insertions(+), 247 deletions(-) diff --git a/api/services/control/control.pb.go b/api/services/control/control.pb.go index 6eb5b49f9472..2e099606a7f8 100644 --- a/api/services/control/control.pb.go +++ b/api/services/control/control.pb.go @@ -1007,6 +1007,8 @@ type VertexWarning struct { Vertex github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=vertex,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"vertex"` Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` Msg []byte `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + Info *pb.SourceInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` + Ranges []*pb.Range `protobuf:"bytes,5,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1059,6 +1061,20 @@ func (m *VertexWarning) GetMsg() []byte { return nil } +func (m *VertexWarning) GetInfo() *pb.SourceInfo { + if m != nil { + return m.Info + } + return nil +} + +func (m *VertexWarning) GetRanges() []*pb.Range { + if m != nil { + return m.Ranges + } + return nil +} + type BytesMessage struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1229,99 +1245,101 @@ func init() { func init() { proto.RegisterFile("control.proto", fileDescriptor_0c5120591600887d) } var fileDescriptor_0c5120591600887d = []byte{ - // 1459 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4b, 0x6f, 0xdb, 0xc6, - 0x16, 0x0e, 0x25, 0xeb, 0x75, 0x24, 0x1b, 0xce, 0x24, 0x37, 0x20, 0x78, 0x71, 0x2d, 0x5d, 0x26, - 0x17, 0x10, 0x82, 0x84, 0x72, 0x74, 0x9b, 0x22, 0x75, 0x1f, 0x48, 0x64, 0xa5, 0x88, 0x83, 0x18, - 0x4d, 0xc7, 0x49, 0x03, 0x64, 0x51, 0x80, 0x92, 0xc6, 0x0a, 0x61, 0x8a, 0xc3, 0xce, 0x0c, 0x9d, - 0xa8, 0xdb, 0x02, 0x5d, 0x77, 0xd7, 0x1f, 0xd0, 0x45, 0x57, 0x5d, 0xf7, 0x17, 0x14, 0xc8, 0xb2, - 0xeb, 0x2c, 0xdc, 0x22, 0xfb, 0x16, 0xfd, 0x09, 0xc5, 0x3c, 0x28, 0x53, 0x96, 0xe4, 0x57, 0xba, - 0xd2, 0x9c, 0xe1, 0xf9, 0x3e, 0x9d, 0xe7, 0xcc, 0x1c, 0x58, 0xee, 0xd3, 0x48, 0x30, 0x1a, 0x7a, - 0x31, 0xa3, 0x82, 0xa2, 0xd5, 0x11, 0xed, 0x8d, 0xbd, 0x5e, 0x12, 0x84, 0x83, 0xbd, 0x40, 0x78, - 0xfb, 0xb7, 0x9c, 0x9b, 0xc3, 0x40, 0xbc, 0x48, 0x7a, 0x5e, 0x9f, 0x8e, 0x5a, 0x43, 0x3a, 0xa4, - 0x2d, 0xa5, 0xd8, 0x4b, 0x76, 0x95, 0xa4, 0x04, 0xb5, 0xd2, 0x04, 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x23, 0x6b, 0x3c, 0x2d, 0x87, 0x55, 0xc8, - 0x63, 0xb2, 0x6b, 0x72, 0x23, 0x97, 0xc8, 0x03, 0xe8, 0x92, 0xdd, 0x20, 0x0a, 0x94, 0x55, 0x39, - 0xe5, 0xf8, 0x8a, 0x17, 0xf7, 0xbc, 0xc3, 0x5d, 0x9c, 0xd1, 0x40, 0x0e, 0x94, 0xef, 0xbf, 0x8a, - 0x29, 0x93, 0x25, 0x95, 0x57, 0x34, 0x13, 0x19, 0x3d, 0x83, 0xe5, 0x74, 0x7d, 0x4f, 0x08, 0x26, - 0x0b, 0x55, 0x96, 0xd1, 0xad, 0xd9, 0x32, 0xca, 0x1a, 0xe5, 0x4d, 0x61, 0xee, 0x47, 0x82, 0x8d, - 0xf1, 0x34, 0x8f, 0xf4, 0x70, 0x87, 0x70, 0x2e, 0x2d, 0x54, 0xe9, 0xc7, 0xa9, 0x28, 0xcd, 0xf9, - 0x94, 0xd1, 0x48, 0x90, 0x68, 0xa0, 0x52, 0x5f, 0xc1, 0x13, 0x59, 0x9a, 0x93, 0xae, 0xb5, 0x39, - 0xa5, 0x53, 0x99, 0x33, 0x85, 0x31, 0xe6, 0x4c, 0xed, 0xa1, 0x0d, 0x28, 0x6c, 0xfa, 0xfd, 0x17, - 0x44, 0x65, 0xb9, 0xda, 0x5e, 0x9b, 0x25, 0x54, 0x9f, 0x3f, 0x53, 0x69, 0xe5, 0xaa, 0x51, 0x2f, - 0x60, 0x0d, 0x41, 0x5f, 0x42, 0xed, 0x7e, 0x24, 0x02, 0x11, 0x92, 0x91, 0xca, 0x58, 0x45, 0x66, - 0xac, 0xb3, 0xf1, 0xe6, 0xa0, 0xfe, 0xfe, 0xc2, 0x83, 0x27, 0x11, 0x41, 0xd8, 0x22, 0x19, 0x94, - 0x97, 0xa1, 0xc0, 0x53, 0x7c, 0xe8, 0x39, 0xac, 0xa4, 0xc6, 0x6e, 0x45, 0x71, 0x22, 0xb8, 0x0d, - 0xca, 0xeb, 0x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xb3, 0x7e, 0x7f, 0xbb, 0x66, 0xf5, - 0x8a, 0xaa, 0xfb, 0xfe, 0xff, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x3d, 0xbc, 0xbf, 0x88, - 0x11, 0x00, 0x00, + // 1494 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xee, 0xda, 0xf1, 0xd7, 0x1b, 0x27, 0x4a, 0xa7, 0xa5, 0x5a, 0x2d, 0x22, 0x49, 0xb7, 0x45, + 0xb2, 0xaa, 0x76, 0x9d, 0x1a, 0x8a, 0x4a, 0xf8, 0x50, 0xeb, 0xb8, 0xa8, 0xa9, 0x1a, 0x51, 0xc6, + 0x2d, 0x95, 0x7a, 0x40, 0x5a, 0xdb, 0x63, 0x77, 0x95, 0xf5, 0xce, 0x32, 0x33, 0x9b, 0xd6, 0xfc, + 0x00, 0xce, 0xdc, 0xf8, 0x01, 0x1c, 0x38, 0x71, 0xe6, 0x17, 0x20, 0x55, 0x9c, 0x38, 0xf7, 0x10, + 0x50, 0xef, 0x20, 0x7e, 0x02, 0x9a, 0x8f, 0x75, 0xd6, 0xb1, 0x9d, 0xaf, 0x72, 0xf2, 0xbc, 0xb3, + 0xef, 0xf3, 0xf8, 0xfd, 0x9c, 0x99, 0x17, 0x96, 0xba, 0x34, 0x12, 0x8c, 0x86, 0x5e, 0xcc, 0xa8, + 0xa0, 0x68, 0x65, 0x48, 0x3b, 0x23, 0xaf, 0x93, 0x04, 0x61, 0x6f, 0x37, 0x10, 0xde, 0xde, 0x4d, + 0xe7, 0xc6, 0x20, 0x10, 0xcf, 0x93, 0x8e, 0xd7, 0xa5, 0xc3, 0xfa, 0x80, 0x0e, 0x68, 0x5d, 0x29, + 0x76, 0x92, 0xbe, 0x92, 0x94, 0xa0, 0x56, 0x9a, 0xc0, 0x59, 0x1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4, 0x33, 0x1e, 0x6d, 0x66, 0x99, 0x96, 0x2d, 0x03, 0xe7, 0x98, 0xef, + 0x35, 0x6b, 0xc3, 0x42, 0xcf, 0x60, 0x31, 0x93, 0x68, 0x34, 0x23, 0xa1, 0xd3, 0x55, 0xe3, 0xbc, + 0x7f, 0x8c, 0x96, 0x36, 0xb6, 0x59, 0x7d, 0xf5, 0x66, 0xd5, 0xfa, 0xe3, 0xcd, 0xaa, 0xf5, 0xd7, + 0x9b, 0x55, 0xab, 0x53, 0x54, 0x4d, 0xfc, 0xc1, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x42, 0x5e, + 0x7e, 0x04, 0xcf, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2633,6 +2651,32 @@ func (m *VertexWarning) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.Ranges) > 0 { + for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintControl(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.Info != nil { + { + size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintControl(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } if len(m.Msg) > 0 { i -= len(m.Msg) copy(dAtA[i:], m.Msg) @@ -3225,6 +3269,16 @@ func (m *VertexWarning) Size() (n int) { if l > 0 { n += 1 + l + sovControl(uint64(l)) } + if m.Info != nil { + l = m.Info.Size() + n += 1 + l + sovControl(uint64(l)) + } + if len(m.Ranges) > 0 { + for _, e := range m.Ranges { + l = e.Size() + n += 1 + l + sovControl(uint64(l)) + } + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -6451,6 +6505,76 @@ func (m *VertexWarning) Unmarshal(dAtA []byte) error { m.Msg = []byte{} } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowControl + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthControl + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Info == nil { + m.Info = &pb.SourceInfo{} + } + if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowControl + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthControl + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ranges = append(m.Ranges, &pb.Range{}) + if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipControl(dAtA[iNdEx:]) diff --git a/api/services/control/control.proto b/api/services/control/control.proto index 85aa076273d5..a6be5dda59bc 100644 --- a/api/services/control/control.proto +++ b/api/services/control/control.proto @@ -139,6 +139,8 @@ message VertexWarning { string vertex = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; int64 level = 2; bytes msg = 3; + pb.SourceInfo info = 4; + repeated pb.Range ranges = 5; } message BytesMessage { diff --git a/client/build_test.go b/client/build_test.go index 4e26b6e3d100..aed55c6f60b6 100644 --- a/client/build_test.go +++ b/client/build_test.go @@ -184,7 +184,17 @@ func testWarnings(t *testing.T, sb integration.Sandbox) { return nil, errors.Wrap(err, "failed to solve") } - require.NoError(t, c.Warn(ctx, dgst, "this is warning")) + require.NoError(t, c.Warn(ctx, dgst, "this is warning", client.WarnOpts{ + Level: 3, + SourceInfo: &pb.SourceInfo{ + Filename: "mydockerfile", + Data: []byte("filedata"), + }, + Range: []*pb.Range{ + {Start: pb.Position{Line: 2}, End: pb.Position{Line: 4}}, + }, + })) + return r, nil } @@ -230,10 +240,16 @@ func testWarnings(t *testing.T, sb integration.Sandbox) { w := warnings[0] require.Equal(t, "this is warning", string(w.Message)) - require.Equal(t, 1, w.Level) + require.Equal(t, 3, w.Level) _, ok := vertexes[w.Vertex] require.True(t, ok) + require.Equal(t, "mydockerfile", w.SourceInfo.Filename) + require.Equal(t, "filedata", string(w.SourceInfo.Data)) + require.Equal(t, 1, len(w.Range)) + require.Equal(t, int32(2), w.Range[0].Start.Line) + require.Equal(t, int32(4), w.Range[0].End.Line) + checkAllReleasable(t, c, sb, true) } diff --git a/client/graph.go b/client/graph.go index 95ffee149e0c..5932d0cf2092 100644 --- a/client/graph.go +++ b/client/graph.go @@ -3,6 +3,7 @@ package client import ( "time" + "github.com/moby/buildkit/solver/pb" digest "github.com/opencontainers/go-digest" ) @@ -35,9 +36,11 @@ type VertexLog struct { } type VertexWarning struct { - Vertex digest.Digest - Level int - Message []byte + Vertex digest.Digest + Level int + Message []byte + SourceInfo *pb.SourceInfo + Range []*pb.Range } type SolveStatus struct { diff --git a/client/solve.go b/client/solve.go index db8cf7ff6058..ded48bfdeac3 100644 --- a/client/solve.go +++ b/client/solve.go @@ -294,9 +294,11 @@ func (c *Client) solve(ctx context.Context, def *llb.Definition, runGateway runG } for _, v := range resp.Warnings { s.Warnings = append(s.Warnings, &VertexWarning{ - Vertex: v.Vertex, - Level: int(v.Level), - Message: v.Msg, + Vertex: v.Vertex, + Level: int(v.Level), + Message: v.Msg, + SourceInfo: v.Info, + Range: v.Ranges, }) } if statusChan != nil { diff --git a/control/control.go b/control/control.go index 475def1b7d77..ab61b0031995 100644 --- a/control/control.go +++ b/control/control.go @@ -381,6 +381,8 @@ func (c *Controller) Status(req *controlapi.StatusRequest, stream controlapi.Con Vertex: v.Vertex, Level: int64(v.Level), Msg: v.Message, + Info: v.SourceInfo, + Ranges: v.Range, }) } if err := stream.SendMsg(&sr); err != nil { diff --git a/frontend/frontend.go b/frontend/frontend.go index ad6720257a11..dedda54c6104 100644 --- a/frontend/frontend.go +++ b/frontend/frontend.go @@ -17,9 +17,11 @@ type Frontend interface { type FrontendLLBBridge interface { Solve(ctx context.Context, req SolveRequest, sid string) (*Result, error) ResolveImageConfig(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt) (digest.Digest, []byte, error) - Warn(ctx context.Context, dgst digest.Digest, level int, msg string) error + Warn(ctx context.Context, dgst digest.Digest, msg string, opts WarnOpts) error } type SolveRequest = gw.SolveRequest type CacheOptionsEntry = gw.CacheOptionsEntry + +type WarnOpts = gw.WarnOpts diff --git a/frontend/gateway/client/client.go b/frontend/gateway/client/client.go index efa0da00ef34..62ebb719270e 100644 --- a/frontend/gateway/client/client.go +++ b/frontend/gateway/client/client.go @@ -18,7 +18,7 @@ type Client interface { BuildOpts() BuildOpts Inputs(ctx context.Context) (map[string]llb.State, error) NewContainer(ctx context.Context, req NewContainerRequest) (Container, error) - Warn(ctx context.Context, dgst digest.Digest, msg string) error + Warn(ctx context.Context, dgst digest.Digest, msg string, opts WarnOpts) error } // NewContainerRequest encapsulates the requirements for a client to define a @@ -134,3 +134,9 @@ type BuildOpts struct { LLBCaps apicaps.CapSet Caps apicaps.CapSet } + +type WarnOpts struct { + Level int + SourceInfo *pb.SourceInfo + Range []*pb.Range +} diff --git a/frontend/gateway/forwarder/forward.go b/frontend/gateway/forwarder/forward.go index cd731acdf614..2964ad02bd06 100644 --- a/frontend/gateway/forwarder/forward.go +++ b/frontend/gateway/forwarder/forward.go @@ -217,8 +217,8 @@ func (c *bridgeClient) discard(err error) { } } -func (c *bridgeClient) Warn(ctx context.Context, dgst digest.Digest, msg string) error { - return c.FrontendLLBBridge.Warn(ctx, dgst, 1, msg) +func (c *bridgeClient) Warn(ctx context.Context, dgst digest.Digest, msg string, opts client.WarnOpts) error { + return c.FrontendLLBBridge.Warn(ctx, dgst, msg, opts) } func (c *bridgeClient) NewContainer(ctx context.Context, req client.NewContainerRequest) (client.Container, error) { diff --git a/frontend/gateway/gateway.go b/frontend/gateway/gateway.go index 3d94348f239a..f44fb9202b5d 100644 --- a/frontend/gateway/gateway.go +++ b/frontend/gateway/gateway.go @@ -994,7 +994,11 @@ func (lbf *llbBridgeForwarder) ReleaseContainer(ctx context.Context, in *pb.Rele } func (lbf *llbBridgeForwarder) Warn(ctx context.Context, in *pb.WarnRequest) (*pb.WarnResponse, error) { - err := lbf.llbBridge.Warn(ctx, in.Digest, int(in.Level), string(in.Message)) + err := lbf.llbBridge.Warn(ctx, in.Digest, string(in.Message), frontend.WarnOpts{ + Level: int(in.Level), + SourceInfo: in.Info, + Range: in.Ranges, + }) if err != nil { return nil, err } diff --git a/frontend/gateway/grpcclient/client.go b/frontend/gateway/grpcclient/client.go index 22479256e001..4596e290c3a7 100644 --- a/frontend/gateway/grpcclient/client.go +++ b/frontend/gateway/grpcclient/client.go @@ -298,11 +298,13 @@ func (c *grpcClient) requestForRef(ref client.Reference) (*pb.SolveRequest, erro return req, nil } -func (c *grpcClient) Warn(ctx context.Context, dgst digest.Digest, msg string) error { +func (c *grpcClient) Warn(ctx context.Context, dgst digest.Digest, msg string, opts client.WarnOpts) error { _, err := c.client.Warn(ctx, &pb.WarnRequest{ Digest: dgst, - Level: 1, + Level: int64(opts.Level), Message: []byte(msg), + Info: opts.SourceInfo, + Ranges: opts.Range, }) return err } diff --git a/frontend/gateway/pb/gateway.pb.go b/frontend/gateway/pb/gateway.pb.go index 1a0623402479..94752db4d31b 100644 --- a/frontend/gateway/pb/gateway.pb.go +++ b/frontend/gateway/pb/gateway.pb.go @@ -1334,6 +1334,8 @@ type WarnRequest struct { Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=Digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"Digest"` Level int64 `protobuf:"varint,2,opt,name=Level,proto3" json:"Level,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` + Info *pb.SourceInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` + Ranges []*pb.Range `protobuf:"bytes,5,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1386,6 +1388,20 @@ func (m *WarnRequest) GetMessage() []byte { return nil } +func (m *WarnRequest) GetInfo() *pb.SourceInfo { + if m != nil { + return m.Info + } + return nil +} + +func (m *WarnRequest) GetRanges() []*pb.Range { + if m != nil { + return m.Ranges + } + return nil +} + type WarnResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2164,132 +2180,134 @@ func init() { func init() { proto.RegisterFile("gateway.proto", fileDescriptor_f1a937782ebbded5) } var fileDescriptor_f1a937782ebbded5 = []byte{ - // 1987 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x6f, 0x1b, 0xc7, - 0xf5, 0xd7, 0x8a, 0xa4, 0x48, 0x3e, 0xfe, 0xb0, 0x32, 0xf6, 0x37, 0x5f, 0x7a, 0x11, 0x38, 0xcc, - 0x22, 0x55, 0x69, 0x47, 0x59, 0xa6, 0x74, 0x02, 0xb9, 0x72, 0x90, 0xd4, 0x94, 0x28, 0x48, 0x8d, - 0x24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x4c, 0x28, 0x1c, 0xa9, 0x10, 0xab, - 0xeb, 0x3a, 0xd9, 0x93, 0xaf, 0xa0, 0xa4, 0xd7, 0x4f, 0x43, 0x5e, 0xcb, 0x88, 0x1c, 0x79, 0x94, - 0x92, 0x23, 0x49, 0x4d, 0xec, 0x04, 0x54, 0x65, 0x48, 0x82, 0x42, 0x3e, 0x85, 0xbb, 0x27, 0x97, - 0x61, 0x10, 0xf1, 0x03, 0xa7, 0xf7, 0x82, 0xd1, 0xd9, 0x2e, 0x90, 0xad, 0x67, 0x1a, 0x45, 0x7a, - 0x33, 0x03, 0xd9, 0x85, 0xb7, 0x9c, 0xe1, 0x30, 0xb8, 0x52, 0x97, 0x46, 0xa4, 0x7f, 0x2d, 0x57, - 0x37, 0x1a, 0x05, 0x7a, 0xfd, 0x03, 0xf9, 0x08, 0x6e, 0x27, 0x88, 0x4f, 0xa2, 0xc8, 0x19, 0x63, - 0xbe, 0x6c, 0x09, 0xfe, 0x45, 0x9f, 0xb0, 0x82, 0x1d, 0x79, 0xbe, 0x33, 0xac, 0x81, 0xe0, 0x91, - 0x1b, 0x62, 0x41, 0xb9, 0xf3, 0x1a, 0x55, 0x62, 0xd1, 0x13, 0xce, 0xa3, 0x5a, 0x49, 0x84, 0x62, - 0x86, 0x46, 0xba, 0x50, 0x16, 0x0a, 0x4b, 0xdd, 0xe3, 0x5a, 0x59, 0x38, 0x6d, 0x37, 0xc5, 0x69, - 0x82, 0xfd, 0x69, 0x98, 0xb8, 0x4a, 0x33, 0x12, 0x48, 0x0f, 0xaa, 0xda, 0x71, 0xf2, 0x0e, 0xd6, - 0x2a, 0x42, 0xe6, 0xe3, 0x75, 0x03, 0x21, 0xd1, 0xf2, 0x88, 0x39, 0x91, 0x98, 0x06, 0x1d, 0xbc, - 0x6e, 0x0e, 0x67, 0xb5, 0xaa, 0xb0, 0x79, 0xb2, 0x37, 0x3f, 0x83, 0xed, 0xf9, 0x58, 0xae, 0x53, - 0xf4, 0xcd, 0x9f,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, 0x7f, 0x1d, 0xcb, 0xc5, 0xcf, 0xfd, 0xab, 0x12, 0x40, 0x39, - 0xd9, 0xe5, 0x88, 0x9d, 0x02, 0x5d, 0x30, 0x20, 0x98, 0xcd, 0x95, 0xf9, 0xd5, 0x81, 0xdf, 0xe2, - 0xf4, 0x3c, 0xdb, 0x01, 0x49, 0x2b, 0xd5, 0x1d, 0x0b, 0x7b, 0xad, 0xf9, 0x70, 0x2d, 0x8c, 0x3a, - 0xdc, 0x91, 0x1d, 0x56, 0x75, 0x51, 0x92, 0xde, 0x30, 0x26, 0x9d, 0xd8, 0x5c, 0x91, 0xaf, 0x61, - 0x7c, 0x64, 0x60, 0x9e, 0xe1, 0x64, 0x95, 0x2a, 0x3b, 0x31, 0x05, 0xa6, 0xe6, 0x59, 0x72, 0x44, - 0x6b, 0x97, 0xbf, 0x7b, 0x73, 0xcf, 0xf8, 0xfb, 0x9b, 0x7b, 0xc6, 0xbf, 0xde, 0xdc, 0x33, 0x2e, - 0xb6, 0xc4, 0x5f, 0xd8, 0x0f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xd4, 0x0c, 0xb2, 0x14, - 0x18, 0x00, 0x00, + // 2021 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x1b, 0xc7, + 0x15, 0xd7, 0x8a, 0xa4, 0x48, 0x3e, 0xfe, 0xb1, 0x32, 0x76, 0xd3, 0xf5, 0x22, 0x70, 0x94, 0x45, + 0xaa, 0xd2, 0x8e, 0xb2, 0x4c, 0xe5, 0x04, 0x72, 0xe5, 0x20, 0xa9, 0xf5, 0x0f, 0x52, 0x23, 0xc9, + 0xea, 0x28, 0x85, 0x81, 0x20, 0x05, 0xba, 0xe2, 0x0e, 0xe9, 0x85, 0xa9, 0x9d, 0xed, 0xec, 0xd0, + 0xb2, 0x92, 0x4b, 0x7b, 0xeb, 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x18, 0xf6, 0xc2, 0x76, 0x37, + 0x51, 0x18, 0x7d, 0x0a, 0x1a, 0xa1, 0xd9, 0xdd, 0x3f, 0x16, 0x60, 0x89, 0xb2, 0x64, 0xd0, 0x97, + 0x64, 0x15, 0x1a, 0x82, 0x75, 0x77, 0x58, 0x2c, 0x58, 0xc7, 0x97, 0x2c, 0xb0, 0xad, 0x15, 0xab, + 0x55, 0xdd, 0x5f, 0xa0, 0xe3, 0x64, 0xf2, 0x6b, 0x68, 0x0a, 0xd6, 0x4d, 0x32, 0x8c, 0x8b, 0x2b, + 0x56, 0xab, 0xb6, 0xfe, 0x81, 0x77, 0x6d, 0x30, 0x3c, 0xca, 0xba, 0x47, 0x7e, 0x3c, 0x82, 0xec, + 0x2f, 0xd0, 0x09, 0x21, 0x64, 0x1d, 0x0a, 0x82, 0x75, 0xed, 0x82, 0x92, 0x75, 0x2f, 0x5f, 0xd6, + 0xfe, 0x02, 0x45, 0x66, 0xb2, 0x01, 0x45, 0x94, 0x62, 0x17, 0x15, 0xe8, 0xbd, 0x99, 0x0a, 0xec, + 0x2f, 0x50, 0x05, 0x20, 0x5f, 0x40, 0xe5, 0x9c, 0x49, 0x3f, 0xf0, 0xa5, 0x6f, 0xc3, 0x4a, 0xa1, + 0x55, 0x5b, 0x6f, 0xe7, 0x82, 0xd1, 0x41, 0xde, 0x91, 0x41, 0xec, 0x46, 0x52, 0x5c, 0xd2, 0xa1, + 0x00, 0xe7, 0x31, 0x34, 0xc6, 0xb6, 0xc8, 0x32, 0x14, 0x5e, 0xb0, 0x4b, 0xed, 0x3f, 0x8a, 0x9f, + 0xe4, 0x0e, 0x94, 0x5e, 0xfa, 0xfd, 0x01, 0x53, 0xae, 0xaa, 0x53, 0xbd, 0xd8, 0x5c, 0x7c, 0x64, + 0x6d, 0x55, 0x60, 0x49, 0x28, 0xf1, 0xee, 0x5f, 0x2c, 0x58, 0x9e, 0xf4, 0x13, 0x39, 0x30, 0x16, + 0x5a, 0x4a, 0xc9, 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x41, 0x09, 0xe3, 0x92, 0xd8, 0x8b, 0xca, 0x69, 0x1b, + 0xf3, 0x04, 0xc2, 0x53, 0x48, 0xed, 0x30, 0x2d, 0xc5, 0x79, 0x04, 0x30, 0x22, 0xce, 0xd5, 0xfa, + 0xbe, 0x86, 0x86, 0x89, 0x8a, 0x29, 0x0f, 0xcb, 0x7a, 0x4a, 0x31, 0x60, 0x9c, 0x41, 0x46, 0xed, + 0xa2, 0x30, 0x67, 0xbb, 0x70, 0xbf, 0x85, 0x5b, 0x94, 0xf9, 0xc1, 0x5e, 0xd8, 0x67, 0xd7, 0x57, + 0x45, 0xbc, 0xeb, 0x61, 0x9f, 0x9d, 0xf8, 0xf2, 0xf9, 0xf0, 0xae, 0x9b, 0x35, 0xd9, 0x84, 0x12, + 0xf5, 0xa3, 0x1e, 0x33, 0x47, 0xbf, 0x9f, 0x73, 0xb4, 0x3a, 0x04, 0x79, 0xa9, 0x86, 0xb8, 0x8f, + 0xa1, 0x3a, 0xa4, 0x61, 0xa5, 0x7a, 0xda, 0xed, 0x26, 0x4c, 0x57, 0xbd, 0x02, 0x35, 0x2b, 0xa4, + 0x1f, 0xb2, 0xa8, 0x67, 0x8e, 0x2e, 0x50, 0xb3, 0x72, 0x57, 0x71, 0x54, 0x49, 0x35, 0x37, 0xae, + 0x21, 0x50, 0xdc, 0xc1, 0x79, 0xca, 0x52, 0x17, 0x4c, 0x7d, 0xbb, 0x01, 0xb6, 0x39, 0x3f, 0xd8, + 0x09, 0xc5, 0xf5, 0x06, 0xda, 0x50, 0xde, 0x09, 0x45, 0xc6, 0xbe, 0x74, 0x49, 0x56, 0xb1, 0x01, + 0x76, 0xfa, 0x83, 0x00, 0xad, 0x95, 0x4c, 0x44, 0xa6, 0xd2, 0x4f, 0x50, 0xdd, 0xcf, 0xb5, 0x1f, + 0xd5, 0x29, 0x46, 0x99, 0x35, 0x28, 0xb3, 0x48, 0x8a, 0x90, 0xa5, 0x5d, 0x92, 0x78, 0x7a, 0x04, +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, 0x6f, 0x8d, 0x73, 0xff, 0x06, 0x9c, + 0x23, 0xf1, 0xe6, 0xe1, 0xd4, 0xba, 0xc1, 0x5f, 0x26, 0xb3, 0xc5, 0x4f, 0xfc, 0x39, 0xc3, 0xa1, + 0x9e, 0xed, 0x72, 0xc4, 0xcb, 0x81, 0x4e, 0x19, 0x10, 0x9c, 0xf6, 0x8d, 0xf9, 0xcd, 0x81, 0xdf, + 0xe2, 0x10, 0x3e, 0xde, 0x01, 0xc9, 0x7a, 0xae, 0x3b, 0xa6, 0xf6, 0x5a, 0xe7, 0xe1, 0x5c, 0x18, + 0x73, 0xb8, 0xaf, 0x3b, 0xac, 0xe9, 0xa2, 0x24, 0xbf, 0x61, 0x0c, 0x3b, 0xb1, 0x73, 0x43, 0xbe, + 0x96, 0xf5, 0x91, 0x85, 0x79, 0x86, 0x93, 0x55, 0xae, 0xec, 0xcc, 0x30, 0x99, 0x9b, 0x67, 0xd9, + 0x11, 0x6d, 0xab, 0xfe, 0xdd, 0x9b, 0x7b, 0xd6, 0xf7, 0x6f, 0xee, 0x59, 0xff, 0x79, 0x73, 0xcf, + 0x3a, 0x5b, 0x52, 0xff, 0x84, 0x3f, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x88, 0x89, 0x64, + 0x24, 0x5b, 0x18, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4026,6 +4044,32 @@ func (m *WarnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.Ranges) > 0 { + for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGateway(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.Info != nil { + { + size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGateway(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } if len(m.Message) > 0 { i -= len(m.Message) copy(dAtA[i:], m.Message) @@ -4463,20 +4507,20 @@ func (m *InitMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x20 } if len(m.Fds) > 0 { - dAtA24 := make([]byte, len(m.Fds)*10) - var j23 int + dAtA25 := make([]byte, len(m.Fds)*10) + var j24 int for _, num := range m.Fds { for num >= 1<<7 { - dAtA24[j23] = uint8(uint64(num)&0x7f | 0x80) + dAtA25[j24] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j23++ + j24++ } - dAtA24[j23] = uint8(num) - j23++ + dAtA25[j24] = uint8(num) + j24++ } - i -= j23 - copy(dAtA[i:], dAtA24[:j23]) - i = encodeVarintGateway(dAtA, i, uint64(j23)) + i -= j24 + copy(dAtA[i:], dAtA25[:j24]) + i = encodeVarintGateway(dAtA, i, uint64(j24)) i-- dAtA[i] = 0x1a } @@ -5260,6 +5304,16 @@ func (m *WarnRequest) Size() (n int) { if l > 0 { n += 1 + l + sovGateway(uint64(l)) } + if m.Info != nil { + l = m.Info.Size() + n += 1 + l + sovGateway(uint64(l)) + } + if len(m.Ranges) > 0 { + for _, e := range m.Ranges { + l = e.Size() + n += 1 + l + sovGateway(uint64(l)) + } + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -9029,6 +9083,76 @@ func (m *WarnRequest) Unmarshal(dAtA []byte) error { m.Message = []byte{} } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGateway + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGateway + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGateway + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Info == nil { + m.Info = &pb.SourceInfo{} + } + if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGateway + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGateway + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGateway + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ranges = append(m.Ranges, &pb.Range{}) + if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGateway(dAtA[iNdEx:]) diff --git a/frontend/gateway/pb/gateway.proto b/frontend/gateway/pb/gateway.proto index 8e46d812e076..5bf0a0bcfc73 100644 --- a/frontend/gateway/pb/gateway.proto +++ b/frontend/gateway/pb/gateway.proto @@ -9,6 +9,7 @@ import "github.com/moby/buildkit/api/types/worker.proto"; import "github.com/moby/buildkit/util/apicaps/pb/caps.proto"; import "github.com/tonistiigi/fsutil/types/stat.proto"; + option (gogoproto.sizer_all) = true; option (gogoproto.marshaler_all) = true; option (gogoproto.unmarshaler_all) = true; @@ -176,6 +177,8 @@ message WarnRequest { string Digest = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; int64 Level = 2; bytes Message = 3; + pb.SourceInfo info = 4; + repeated pb.Range ranges = 5; } message WarnResponse{} diff --git a/solver/llbsolver/bridge.go b/solver/llbsolver/bridge.go index 87ac7e62e0ee..6689170db327 100644 --- a/solver/llbsolver/bridge.go +++ b/solver/llbsolver/bridge.go @@ -39,16 +39,22 @@ type llbBridge struct { sm *session.Manager } -func (b *llbBridge) Warn(ctx context.Context, dgst digest.Digest, level int, msg string) error { +func (b *llbBridge) Warn(ctx context.Context, dgst digest.Digest, msg string, opts frontend.WarnOpts) error { return b.builder.InContext(ctx, func(ctx context.Context, g session.Group) error { pw, ok, _ := progress.NewFromContext(ctx, progress.WithMetadata("vertex", dgst)) if !ok { return nil } + level := opts.Level + if level == 0 { + level = 1 + } pw.Write(identity.NewID(), client.VertexWarning{ - Vertex: dgst, - Level: level, - Message: []byte(msg), + Vertex: dgst, + Level: level, + Message: []byte(msg), + SourceInfo: opts.SourceInfo, + Range: opts.Range, }) return pw.Close() }) From 50963e289ebb8a1e9c444a35538fa7f53af38e8b Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 30 Nov 2021 21:07:02 -0800 Subject: [PATCH 2/6] dockerfile: show redirect parser warnings Signed-off-by: Tonis Tiigi --- client/llb/marshal.go | 18 ++++++++++ frontend/dockerfile/builder/build.go | 35 +++++++++++++++++++ frontend/dockerfile/dockerfile2llb/convert.go | 5 +++ frontend/dockerfile/parser/parser.go | 25 ++++++++----- 4 files changed, 75 insertions(+), 8 deletions(-) diff --git a/client/llb/marshal.go b/client/llb/marshal.go index c9c9f5e27103..e59e560ee95c 100644 --- a/client/llb/marshal.go +++ b/client/llb/marshal.go @@ -39,6 +39,24 @@ func (def *Definition) FromPB(x *pb.Definition) { } } +func (def *Definition) Head() (digest.Digest, error) { + if len(def.Def) == 0 { + return "", nil + } + + last := def.Def[len(def.Def)-1] + + var pop pb.Op + if err := (&pop).Unmarshal(last); err != nil { + return "", err + } + if len(pop.Inputs) == 0 { + return "", nil + } + + return pop.Inputs[0].Digest, nil +} + func WriteTo(def *Definition, w io.Writer) error { b, err := def.ToPB().Marshal() if err != nil { diff --git a/frontend/dockerfile/builder/build.go b/frontend/dockerfile/builder/build.go index 329c87a6b1cd..395cd339a831 100644 --- a/frontend/dockerfile/builder/build.go +++ b/frontend/dockerfile/builder/build.go @@ -264,6 +264,11 @@ func Build(ctx context.Context, c client.Client) (*client.Result, error) { return nil, errors.Wrapf(err, "failed to marshal local source") } + defVtx, err := def.Head() + if err != nil { + return nil, err + } + var sourceMap *llb.SourceMap eg, ctx2 := errgroup.WithContext(ctx) @@ -426,6 +431,7 @@ func Build(ctx context.Context, c client.Client) (*client.Result, error) { err = wrapSource(err, sourceMap, el.Location) } }() + st, img, err := dockerfile2llb.Dockerfile2LLB(ctx, dtDockerfile, dockerfile2llb.ConvertOpt{ Target: opts[keyTarget], MetaResolver: c, @@ -449,6 +455,12 @@ func Build(ctx context.Context, c client.Client) (*client.Result, error) { LLBCaps: &caps, SourceMap: sourceMap, Hostname: opts[keyHostname], + Warn: func(msg string, location *parser.Range) { + if i != 0 { + return + } + c.Warn(ctx, defVtx, msg, warnOpts(sourceMap, location)) + }, }) if err != nil { @@ -767,6 +779,29 @@ func scopeToSubDir(c *llb.State, fileop bool, dir string) *llb.State { return &bc } +func warnOpts(sm *llb.SourceMap, r *parser.Range) client.WarnOpts { + opts := client.WarnOpts{Level: 1} + if r == nil { + return opts + } + opts.SourceInfo = &pb.SourceInfo{ + Data: sm.Data, + Filename: sm.Filename, + Definition: sm.Definition.ToPB(), + } + opts.Range = []*pb.Range{{ + Start: pb.Position{ + Line: int32(r.Start.Line), + Character: int32(r.Start.Character), + }, + End: pb.Position{ + Line: int32(r.End.Line), + Character: int32(r.End.Character), + }, + }} + return opts +} + func wrapSource(err error, sm *llb.SourceMap, ranges []parser.Range) error { if sm == nil { return err diff --git a/frontend/dockerfile/dockerfile2llb/convert.go b/frontend/dockerfile/dockerfile2llb/convert.go index 0a95a2f8a5be..997d95ad57e9 100644 --- a/frontend/dockerfile/dockerfile2llb/convert.go +++ b/frontend/dockerfile/dockerfile2llb/convert.go @@ -68,6 +68,7 @@ type ConvertOpt struct { ContextLocalName string SourceMap *llb.SourceMap Hostname string + Warn func(msg string, location *parser.Range) } func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, *Image, error) { @@ -91,6 +92,10 @@ func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, return nil, nil, err } + for _, w := range dockerfile.Warnings { + opt.Warn(w.Message, w.Location) + } + proxyEnv := proxyEnvFromBuildArgs(opt.BuildArgs) stages, metaArgs, err := instructions.Parse(dockerfile.AST) diff --git a/frontend/dockerfile/parser/parser.go b/frontend/dockerfile/parser/parser.go index d1bfc346394c..fbc6a4250d0c 100644 --- a/frontend/dockerfile/parser/parser.go +++ b/frontend/dockerfile/parser/parser.go @@ -269,7 +269,12 @@ func newNodeFromLine(line string, d *directives, comments []string) (*Node, erro type Result struct { AST *Node EscapeToken rune - Warnings []string + Warnings []Warning +} + +type Warning struct { + Message string + Location *Range } // PrintWarnings to the writer @@ -277,7 +282,12 @@ func (r *Result) PrintWarnings(out io.Writer) { if len(r.Warnings) == 0 { return } - fmt.Fprintf(out, strings.Join(r.Warnings, "\n")+"\n") + for _, w := range r.Warnings { + fmt.Fprintf(out, "[WARNING]: %s\n", w.Message) + } + if len(r.Warnings) > 0 { + fmt.Fprintf(out, "[WARNING]: Empty continuation lines will become errors in a future release.\n") + } } // Parse reads lines from a Reader, parses the lines into an AST and returns @@ -288,7 +298,7 @@ func Parse(rwc io.Reader) (*Result, error) { root := &Node{StartLine: -1} scanner := bufio.NewScanner(rwc) scanner.Split(scanLines) - warnings := []string{} + warnings := []Warning{} var comments []string var err error @@ -341,7 +351,10 @@ func Parse(rwc io.Reader) (*Result, error) { } if hasEmptyContinuationLine { - warnings = append(warnings, "[WARNING]: Empty continuation line found in:\n "+line) + warnings = append(warnings, Warning{ + Message: "Empty continuation line found in: " + line, + Location: &Range{Start: Position{Line: currentLine}, End: Position{Line: currentLine}}, + }) } child, err := newNodeFromLine(line, d, comments) @@ -384,10 +397,6 @@ func Parse(rwc io.Reader) (*Result, error) { comments = nil } - if len(warnings) > 0 { - warnings = append(warnings, "[WARNING]: Empty continuation lines will become errors in a future release.") - } - if root.StartLine < 0 { return nil, withLocation(errors.New("file with no instructions"), currentLine, 0) } From d100814aaddd9174a9135c835a9029cbeb9154e1 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 30 Nov 2021 21:10:05 -0800 Subject: [PATCH 3/6] progressui: show warnings Signed-off-by: Tonis Tiigi --- util/progress/progressui/display.go | 21 +++++++++++++++++++++ util/progress/progressui/printer.go | 5 +++++ 2 files changed, 26 insertions(+) diff --git a/util/progress/progressui/display.go b/util/progress/progressui/display.go index cc684b597261..c6c723feeb7c 100644 --- a/util/progress/progressui/display.go +++ b/util/progress/progressui/display.go @@ -140,6 +140,9 @@ type vertex struct { count int statusUpdates map[string]struct{} + warnings []client.VertexWarning + warningIdx int + jobs []*job jobCached bool @@ -255,6 +258,14 @@ func (t *trace) update(s *client.SolveStatus, termWidth int) { t.updates[v.Digest] = struct{}{} v.update(1) } + for _, w := range s.Warnings { + v, ok := t.byDigest[w.Vertex] + if !ok { + continue // shouldn't happen + } + v.warnings = append(v.warnings, *w) + v.update(1) + } for _, l := range s.Logs { v, ok := t.byDigest[l.Vertex] if !ok { @@ -369,6 +380,16 @@ func (t *trace) displayInfo() (d displayInfo) { } jobs = append(jobs, j) } + for _, w := range v.warnings { + msg := "WARN: " + string(w.Message) + j := &job{ + startTime: addTime(v.Started, t.localTimeDiff), + completedTime: addTime(v.Completed, t.localTimeDiff), + name: msg, + isCanceled: true, + } + jobs = append(jobs, j) + } d.jobs = append(d.jobs, jobs...) v.jobs = jobs v.jobCached = true diff --git a/util/progress/progressui/printer.go b/util/progress/progressui/printer.go index 11014eb51c55..f02d53c0e70a 100644 --- a/util/progress/progressui/printer.go +++ b/util/progress/progressui/printer.go @@ -125,6 +125,11 @@ func (p *textMux) printVtx(t *trace, dgst digest.Digest) { } v.statusUpdates = map[string]struct{}{} + for _, w := range v.warnings[v.warningIdx:] { + fmt.Fprintf(p.w, "#%d WARN: %s\n", v.index, w.Message) + v.warningIdx++ + } + for i, l := range v.logs { if i == 0 { l = l[v.logsOffset:] From 0dd260bcf5296c50dbef43fcc763eb62af3d539a Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 30 Nov 2021 21:20:00 -0800 Subject: [PATCH 4/6] progessui: return warnings from printer Signed-off-by: Tonis Tiigi --- examples/build-using-dockerfile/main.go | 3 ++- util/progress/progressui/display.go | 16 ++++++++++++---- util/progress/progresswriter/printer.go | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/examples/build-using-dockerfile/main.go b/examples/build-using-dockerfile/main.go index 464b8dbc1147..2ddde7088a55 100644 --- a/examples/build-using-dockerfile/main.go +++ b/examples/build-using-dockerfile/main.go @@ -107,7 +107,8 @@ func action(clicontext *cli.Context) error { c = cn } // not using shared context to not disrupt display but let is finish reporting errors - return progressui.DisplaySolveStatus(context.TODO(), "", c, os.Stdout, ch) + _, err = progressui.DisplaySolveStatus(context.TODO(), "", c, os.Stdout, ch) + return err }) eg.Go(func() error { if err := loadDockerTar(pipeR); err != nil { diff --git a/util/progress/progressui/display.go b/util/progress/progressui/display.go index c6c723feeb7c..13af8e38cbe3 100644 --- a/util/progress/progressui/display.go +++ b/util/progress/progressui/display.go @@ -21,7 +21,7 @@ import ( "golang.org/x/time/rate" ) -func DisplaySolveStatus(ctx context.Context, phase string, c console.Console, w io.Writer, ch chan *client.SolveStatus) error { +func DisplaySolveStatus(ctx context.Context, phase string, c console.Console, w io.Writer, ch chan *client.SolveStatus) ([]client.VertexWarning, error) { modeConsole := c != nil disp := &display{c: c, phase: phase} @@ -57,7 +57,7 @@ func DisplaySolveStatus(ctx context.Context, phase string, c console.Console, w for { select { case <-ctx.Done(): - return ctx.Err() + return nil, ctx.Err() case <-ticker.C: case ss, ok := <-ch: if ok { @@ -72,7 +72,7 @@ func DisplaySolveStatus(ctx context.Context, phase string, c console.Console, w if done { disp.print(t.displayInfo(), width, height, true) t.printErrorLogs(c) - return nil + return t.warnings(), nil } else if displayLimiter.Allow() { ticker.Stop() ticker = time.NewTicker(tickerTimeout) @@ -83,7 +83,7 @@ func DisplaySolveStatus(ctx context.Context, phase string, c console.Console, w printer.print(t) if done { t.printErrorLogs(w) - return nil + return t.warnings(), nil } ticker.Stop() ticker = time.NewTicker(tickerTimeout) @@ -172,6 +172,14 @@ func newTrace(w io.Writer, modeConsole bool) *trace { } } +func (t *trace) warnings() []client.VertexWarning { + var out []client.VertexWarning + for _, v := range t.vertexes { + out = append(out, v.warnings...) + } + return out +} + func (t *trace) triggerVertexEvent(v *client.Vertex) { if v.Started == nil { return diff --git a/util/progress/progresswriter/printer.go b/util/progress/progresswriter/printer.go index 037123dfc1a6..c96c4525ac20 100644 --- a/util/progress/progresswriter/printer.go +++ b/util/progress/progresswriter/printer.go @@ -87,7 +87,7 @@ func NewPrinter(ctx context.Context, out console.File, mode string) (Writer, err go func() { // not using shared context to not disrupt display but let is finish reporting errors - pw.err = progressui.DisplaySolveStatus(ctx, "", c, out, statusCh) + _, pw.err = progressui.DisplaySolveStatus(ctx, "", c, out, statusCh) close(doneCh) }() return pw, nil From 71316c6f29627e3d67735b289d5e81b56665cb0e Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 30 Nov 2021 21:57:43 -0800 Subject: [PATCH 5/6] split warning message into short and detail Signed-off-by: Tonis Tiigi --- api/services/control/control.pb.go | 276 ++++++++------ api/services/control/control.proto | 7 +- client/build_test.go | 4 +- client/graph.go | 3 +- client/solve.go | 3 +- control/control.go | 3 +- frontend/dockerfile/builder/build.go | 8 +- frontend/dockerfile/dockerfile2llb/convert.go | 4 +- frontend/dockerfile/parser/parser.go | 8 +- frontend/dockerfile/parser/parser_test.go | 10 +- frontend/gateway/client/client.go | 1 + frontend/gateway/gateway.go | 3 +- frontend/gateway/grpcclient/client.go | 11 +- frontend/gateway/pb/gateway.pb.go | 338 ++++++++++-------- frontend/gateway/pb/gateway.proto | 7 +- solver/llbsolver/bridge.go | 3 +- util/progress/progressui/display.go | 2 +- util/progress/progressui/printer.go | 2 +- 18 files changed, 407 insertions(+), 286 deletions(-) diff --git a/api/services/control/control.pb.go b/api/services/control/control.pb.go index 2e099606a7f8..d640445575f3 100644 --- a/api/services/control/control.pb.go +++ b/api/services/control/control.pb.go @@ -1006,9 +1006,10 @@ func (m *VertexLog) GetMsg() []byte { type VertexWarning struct { Vertex github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=vertex,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"vertex"` Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` - Msg []byte `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - Info *pb.SourceInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` - Ranges []*pb.Range `protobuf:"bytes,5,rep,name=ranges,proto3" json:"ranges,omitempty"` + Short []byte `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"` + Detail []byte `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"` + Info *pb.SourceInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` + Ranges []*pb.Range `protobuf:"bytes,6,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1054,9 +1055,16 @@ func (m *VertexWarning) GetLevel() int64 { return 0 } -func (m *VertexWarning) GetMsg() []byte { +func (m *VertexWarning) GetShort() []byte { if m != nil { - return m.Msg + return m.Short + } + return nil +} + +func (m *VertexWarning) GetDetail() []byte { + if m != nil { + return m.Detail } return nil } @@ -1245,101 +1253,102 @@ func init() { func init() { proto.RegisterFile("control.proto", fileDescriptor_0c5120591600887d) } var fileDescriptor_0c5120591600887d = []byte{ - // 1494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 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0xd5, 0xfa, 0xe3, 0xcd, 0xaa, 0xf5, 0xd7, - 0x9b, 0x55, 0xab, 0x53, 0x54, 0x4d, 0xfc, 0xc1, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x42, 0x5e, - 0x7e, 0x04, 0xcf, 0x11, 0x00, 0x00, + // 1514 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, + 0x17, 0x0e, 0x25, 0x8b, 0x92, 0x8e, 0x65, 0xc3, 0x99, 0xe4, 0x0f, 0x08, 0xfe, 0xf8, 0x6d, 0x87, + 0xc9, 0x0f, 0x18, 0x41, 0x42, 0x39, 0x6e, 0x53, 0xa4, 0xee, 0x05, 0x89, 0xac, 0x14, 0x71, 0x10, + 0xa3, 0xe9, 0x28, 0x69, 0x80, 0x2c, 0x0a, 0x50, 0xd2, 0x48, 0x26, 0x4c, 0x71, 0xd8, 0x99, 0xa1, + 0x13, 0xf5, 0x01, 0xba, 0xee, 0xae, 0x0f, 0xd0, 0x45, 0x57, 0x5d, 0xf7, 0x09, 0x0a, 0x64, 0xd9, + 0x75, 0x16, 0x6e, 0x91, 0x45, 0x77, 0x2d, 0xfa, 0x08, 0xc5, 0x5c, 0x28, 0x53, 0x96, 0xe4, 0x5b, + 0xba, 0xd2, 0x9c, 0xe1, 0xf9, 0x3e, 0x9d, 0xeb, 0xcc, 0x1c, 0x58, 0xe8, 0xd0, 0x58, 0x30, 0x1a, + 0xf9, 0x09, 0xa3, 0x82, 0xa2, 0xa5, 0x01, 0x6d, 0x0f, 0xfd, 0x76, 0x1a, 0x46, 0xdd, 0xbd, 0x50, + 0xf8, 0xfb, 0xb7, 0xdd, 0x5b, 0xfd, 0x50, 0xec, 0xa6, 0x6d, 0xbf, 0x43, 0x07, 0xf5, 0x3e, 0xed, + 0xd3, 0xba, 0x52, 0x6c, 0xa7, 0x3d, 0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, 0xfa, 0xc1, 0x86, 0x41, 0x72, 0x85, 0xfa, 0xac, + 0x56, 0xe7, 0xc5, 0xf9, 0xb8, 0x34, 0x83, 0x6c, 0x83, 0x38, 0x18, 0x10, 0x73, 0x37, 0xab, 0xb5, + 0x7c, 0x38, 0x74, 0x64, 0x9d, 0x77, 0xd5, 0x93, 0xaa, 0x82, 0x8d, 0x84, 0x36, 0xa1, 0xcc, 0x45, + 0xc0, 0xe4, 0x99, 0x53, 0x3a, 0xe5, 0x8b, 0x27, 0x03, 0xa0, 0x4f, 0xa1, 0xda, 0xa1, 0x83, 0x24, + 0x22, 0x12, 0x6d, 0x9f, 0x12, 0x7d, 0x08, 0x91, 0xa5, 0x47, 0x18, 0xa3, 0x4c, 0xbd, 0xb5, 0xaa, + 0x58, 0x0b, 0xde, 0x5f, 0x05, 0xa8, 0xe5, 0x33, 0x3d, 0xf1, 0x96, 0x7c, 0x04, 0xb6, 0xae, 0x1b, + 0x5d, 0xb2, 0xe7, 0x0b, 0x95, 0x66, 0x98, 0x1a, 0x2a, 0x07, 0xca, 0x9d, 0x94, 0xa9, 0x87, 0xa6, + 0x7e, 0x7e, 0x66, 0xa2, 0x34, 0x58, 0x50, 0x11, 0x44, 0x2a, 0x54, 0x45, 0xac, 0x05, 0xf9, 0xf6, + 0x1c, 0x8d, 0x1b, 0x67, 0x7b, 0x7b, 0x8e, 0x60, 0xf9, 0x34, 0x94, 0xdf, 0x29, 0x0d, 0x95, 0x33, + 0xa7, 0xc1, 0xfb, 0xc5, 0x82, 0xea, 0xa8, 0x45, 0x72, 0xd1, 0xb5, 0xde, 0x39, 0xba, 0x63, 0x91, + 0x29, 0x9c, 0x2f, 0x32, 0x57, 0xc0, 0xe6, 0x82, 0x91, 0x60, 0xa0, 0x27, 0x23, 0x6c, 0x24, 0x79, + 0x18, 0x0d, 0x78, 0x5f, 0x65, 0xa8, 0x86, 0xe5, 0xd2, 0xfb, 0xc3, 0x82, 0x85, 0xb1, 0xae, 0xfd, + 0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84, 0x2b, 0x1a, 0xed, 0x80, 0x6d, 0xce, 0xad, 0x69, 0xaa, 0xf9, 0xfb, + 0xd4, 0x5d, 0x9d, 0xad, 0xa0, 0xc9, 0xd6, 0x2d, 0xb4, 0x33, 0x1a, 0x7b, 0xa6, 0x99, 0x96, 0x2f, + 0x03, 0xf7, 0x84, 0xef, 0x6b, 0xd6, 0xba, 0x85, 0x5e, 0xc0, 0x7c, 0x2e, 0xd1, 0x68, 0x4a, 0x42, + 0x27, 0xab, 0xc6, 0xfd, 0xff, 0x09, 0x5a, 0xda, 0xd8, 0x46, 0xed, 0xf5, 0xdb, 0x65, 0xeb, 0xd7, + 0xb7, 0xcb, 0xd6, 0xef, 0x6f, 0x97, 0xad, 0xb6, 0xad, 0x1a, 0xfc, 0xbd, 0x7f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x7c, 0xcd, 0xb2, 0x7e, 0xeb, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2662,7 +2671,7 @@ func (m *VertexWarning) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintControl(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x32 } } if m.Info != nil { @@ -2675,12 +2684,19 @@ func (m *VertexWarning) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintControl(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x2a + } + if len(m.Detail) > 0 { + i -= len(m.Detail) + copy(dAtA[i:], m.Detail) + i = encodeVarintControl(dAtA, i, uint64(len(m.Detail))) + i-- dAtA[i] = 0x22 } - if len(m.Msg) > 0 { - i -= len(m.Msg) - copy(dAtA[i:], m.Msg) - i = encodeVarintControl(dAtA, i, uint64(len(m.Msg))) + if len(m.Short) > 0 { + i -= len(m.Short) + copy(dAtA[i:], m.Short) + i = encodeVarintControl(dAtA, i, uint64(len(m.Short))) i-- dAtA[i] = 0x1a } @@ -3265,7 +3281,11 @@ func (m *VertexWarning) Size() (n int) { if m.Level != 0 { n += 1 + sovControl(uint64(m.Level)) } - l = len(m.Msg) + l = len(m.Short) + if l > 0 { + n += 1 + l + sovControl(uint64(l)) + } + l = len(m.Detail) if l > 0 { n += 1 + l + sovControl(uint64(l)) } @@ -6473,7 +6493,7 @@ func (m *VertexWarning) Unmarshal(dAtA []byte) error { } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Short", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -6500,12 +6520,46 @@ func (m *VertexWarning) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Msg = append(m.Msg[:0], dAtA[iNdEx:postIndex]...) - if m.Msg == nil { - m.Msg = []byte{} + m.Short = append(m.Short[:0], dAtA[iNdEx:postIndex]...) + if m.Short == nil { + m.Short = []byte{} } iNdEx = postIndex case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Detail", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowControl + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthControl + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthControl + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Detail = append(m.Detail[:0], dAtA[iNdEx:postIndex]...) + if m.Detail == nil { + m.Detail = []byte{} + } + iNdEx = postIndex + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) } @@ -6541,7 +6595,7 @@ func (m *VertexWarning) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 5: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) } diff --git a/api/services/control/control.proto b/api/services/control/control.proto index a6be5dda59bc..388bbcf64f93 100644 --- a/api/services/control/control.proto +++ b/api/services/control/control.proto @@ -138,9 +138,10 @@ message VertexLog { message VertexWarning { string vertex = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; int64 level = 2; - bytes msg = 3; - pb.SourceInfo info = 4; - repeated pb.Range ranges = 5; + bytes short = 3; + bytes detail = 4; + pb.SourceInfo info = 5; + repeated pb.Range ranges = 6; } message BytesMessage { diff --git a/client/build_test.go b/client/build_test.go index aed55c6f60b6..65e5c092bf34 100644 --- a/client/build_test.go +++ b/client/build_test.go @@ -193,6 +193,7 @@ func testWarnings(t *testing.T, sb integration.Sandbox) { Range: []*pb.Range{ {Start: pb.Position{Line: 2}, End: pb.Position{Line: 4}}, }, + Detail: []byte("this is detail"), })) return r, nil @@ -239,7 +240,8 @@ func testWarnings(t *testing.T, sb integration.Sandbox) { w := warnings[0] - require.Equal(t, "this is warning", string(w.Message)) + require.Equal(t, "this is warning", string(w.Short)) + require.Equal(t, "this is detail", string(w.Detail)) require.Equal(t, 3, w.Level) _, ok := vertexes[w.Vertex] require.True(t, ok) diff --git a/client/graph.go b/client/graph.go index 5932d0cf2092..4be88cd6fcf3 100644 --- a/client/graph.go +++ b/client/graph.go @@ -38,7 +38,8 @@ type VertexLog struct { type VertexWarning struct { Vertex digest.Digest Level int - Message []byte + Short []byte + Detail []byte SourceInfo *pb.SourceInfo Range []*pb.Range } diff --git a/client/solve.go b/client/solve.go index ded48bfdeac3..c84da439c2fb 100644 --- a/client/solve.go +++ b/client/solve.go @@ -296,7 +296,8 @@ func (c *Client) solve(ctx context.Context, def *llb.Definition, runGateway runG s.Warnings = append(s.Warnings, &VertexWarning{ Vertex: v.Vertex, Level: int(v.Level), - Message: v.Msg, + Short: v.Short, + Detail: v.Detail, SourceInfo: v.Info, Range: v.Ranges, }) diff --git a/control/control.go b/control/control.go index ab61b0031995..795644811a59 100644 --- a/control/control.go +++ b/control/control.go @@ -380,7 +380,8 @@ func (c *Controller) Status(req *controlapi.StatusRequest, stream controlapi.Con sr.Warnings = append(sr.Warnings, &controlapi.VertexWarning{ Vertex: v.Vertex, Level: int64(v.Level), - Msg: v.Message, + Short: v.Short, + Detail: v.Detail, Info: v.SourceInfo, Ranges: v.Range, }) diff --git a/frontend/dockerfile/builder/build.go b/frontend/dockerfile/builder/build.go index 395cd339a831..ecb1d90deb76 100644 --- a/frontend/dockerfile/builder/build.go +++ b/frontend/dockerfile/builder/build.go @@ -455,11 +455,11 @@ func Build(ctx context.Context, c client.Client) (*client.Result, error) { LLBCaps: &caps, SourceMap: sourceMap, Hostname: opts[keyHostname], - Warn: func(msg string, location *parser.Range) { + Warn: func(msg, detail string, location *parser.Range) { if i != 0 { return } - c.Warn(ctx, defVtx, msg, warnOpts(sourceMap, location)) + c.Warn(ctx, defVtx, msg, warnOpts(sourceMap, location, detail)) }, }) @@ -779,8 +779,8 @@ func scopeToSubDir(c *llb.State, fileop bool, dir string) *llb.State { return &bc } -func warnOpts(sm *llb.SourceMap, r *parser.Range) client.WarnOpts { - opts := client.WarnOpts{Level: 1} +func warnOpts(sm *llb.SourceMap, r *parser.Range, detail string) client.WarnOpts { + opts := client.WarnOpts{Level: 1, Detail: []byte(detail)} if r == nil { return opts } diff --git a/frontend/dockerfile/dockerfile2llb/convert.go b/frontend/dockerfile/dockerfile2llb/convert.go index 997d95ad57e9..f54cab1ad748 100644 --- a/frontend/dockerfile/dockerfile2llb/convert.go +++ b/frontend/dockerfile/dockerfile2llb/convert.go @@ -68,7 +68,7 @@ type ConvertOpt struct { ContextLocalName string SourceMap *llb.SourceMap Hostname string - Warn func(msg string, location *parser.Range) + Warn func(short, detail string, location *parser.Range) } func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, *Image, error) { @@ -93,7 +93,7 @@ func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, } for _, w := range dockerfile.Warnings { - opt.Warn(w.Message, w.Location) + opt.Warn(w.Short, w.Detail, w.Location) } proxyEnv := proxyEnvFromBuildArgs(opt.BuildArgs) diff --git a/frontend/dockerfile/parser/parser.go b/frontend/dockerfile/parser/parser.go index fbc6a4250d0c..4e4fa65a722d 100644 --- a/frontend/dockerfile/parser/parser.go +++ b/frontend/dockerfile/parser/parser.go @@ -273,7 +273,8 @@ type Result struct { } type Warning struct { - Message string + Short string + Detail string Location *Range } @@ -283,7 +284,7 @@ func (r *Result) PrintWarnings(out io.Writer) { return } for _, w := range r.Warnings { - fmt.Fprintf(out, "[WARNING]: %s\n", w.Message) + fmt.Fprintf(out, "[WARNING]: %s\n", w.Short) } if len(r.Warnings) > 0 { fmt.Fprintf(out, "[WARNING]: Empty continuation lines will become errors in a future release.\n") @@ -352,7 +353,8 @@ func Parse(rwc io.Reader) (*Result, error) { if hasEmptyContinuationLine { warnings = append(warnings, Warning{ - Message: "Empty continuation line found in: " + line, + Short: "Empty continuation line found in: " + line, + Detail: "Empty continuation lines will become errors in a future release. https://github.com/moby/moby/pull/33719", Location: &Range{Start: Position{Line: currentLine}, End: Position{Line: currentLine}}, }) } diff --git a/frontend/dockerfile/parser/parser_test.go b/frontend/dockerfile/parser/parser_test.go index b6917287d953..89a75089ef25 100644 --- a/frontend/dockerfile/parser/parser_test.go +++ b/frontend/dockerfile/parser/parser_test.go @@ -162,11 +162,11 @@ RUN indented \ result, err := Parse(dockerfile) require.NoError(t, err) warnings := result.Warnings - require.Equal(t, 3, len(warnings)) - require.Contains(t, warnings[0], "Empty continuation line found in") - require.Contains(t, warnings[0], "RUN something following more") - require.Contains(t, warnings[1], "RUN another thing") - require.Contains(t, warnings[2], "will become errors in a future release") + require.Equal(t, 2, len(warnings)) + require.Contains(t, warnings[0].Short, "Empty continuation line found in") + require.Contains(t, warnings[0].Short, "RUN something following more") + require.Contains(t, warnings[1].Short, "RUN another thing") + require.Contains(t, warnings[0].Detail, "will become errors in a future release") } func TestParseReturnsScannerErrors(t *testing.T) { diff --git a/frontend/gateway/client/client.go b/frontend/gateway/client/client.go index 62ebb719270e..8fc74ec59447 100644 --- a/frontend/gateway/client/client.go +++ b/frontend/gateway/client/client.go @@ -139,4 +139,5 @@ type WarnOpts struct { Level int SourceInfo *pb.SourceInfo Range []*pb.Range + Detail []byte } diff --git a/frontend/gateway/gateway.go b/frontend/gateway/gateway.go index f44fb9202b5d..a4b6382b494b 100644 --- a/frontend/gateway/gateway.go +++ b/frontend/gateway/gateway.go @@ -994,10 +994,11 @@ func (lbf *llbBridgeForwarder) ReleaseContainer(ctx context.Context, in *pb.Rele } func (lbf *llbBridgeForwarder) Warn(ctx context.Context, in *pb.WarnRequest) (*pb.WarnResponse, error) { - err := lbf.llbBridge.Warn(ctx, in.Digest, string(in.Message), frontend.WarnOpts{ + err := lbf.llbBridge.Warn(ctx, in.Digest, string(in.Short), frontend.WarnOpts{ Level: int(in.Level), SourceInfo: in.Info, Range: in.Ranges, + Detail: in.Detail, }) if err != nil { return nil, err diff --git a/frontend/gateway/grpcclient/client.go b/frontend/gateway/grpcclient/client.go index 4596e290c3a7..11e8f7db26e7 100644 --- a/frontend/gateway/grpcclient/client.go +++ b/frontend/gateway/grpcclient/client.go @@ -300,11 +300,12 @@ func (c *grpcClient) requestForRef(ref client.Reference) (*pb.SolveRequest, erro func (c *grpcClient) Warn(ctx context.Context, dgst digest.Digest, msg string, opts client.WarnOpts) error { _, err := c.client.Warn(ctx, &pb.WarnRequest{ - Digest: dgst, - Level: int64(opts.Level), - Message: []byte(msg), - Info: opts.SourceInfo, - Ranges: opts.Range, + Digest: dgst, + Level: int64(opts.Level), + Short: []byte(msg), + Info: opts.SourceInfo, + Ranges: opts.Range, + Detail: opts.Detail, }) return err } diff --git a/frontend/gateway/pb/gateway.pb.go b/frontend/gateway/pb/gateway.pb.go index 94752db4d31b..bda8615c011a 100644 --- a/frontend/gateway/pb/gateway.pb.go +++ b/frontend/gateway/pb/gateway.pb.go @@ -1333,9 +1333,10 @@ func (m *PongResponse) GetWorkers() []*types1.WorkerRecord { type WarnRequest struct { Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=Digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"Digest"` Level int64 `protobuf:"varint,2,opt,name=Level,proto3" json:"Level,omitempty"` - Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` - Info *pb.SourceInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` - Ranges []*pb.Range `protobuf:"bytes,5,rep,name=ranges,proto3" json:"ranges,omitempty"` + Short []byte `protobuf:"bytes,3,opt,name=Short,proto3" json:"Short,omitempty"` + Detail []byte `protobuf:"bytes,4,opt,name=Detail,proto3" json:"Detail,omitempty"` + Info *pb.SourceInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` + Ranges []*pb.Range `protobuf:"bytes,6,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1381,9 +1382,16 @@ func (m *WarnRequest) GetLevel() int64 { return 0 } -func (m *WarnRequest) GetMessage() []byte { +func (m *WarnRequest) GetShort() []byte { if m != nil { - return m.Message + return m.Short + } + return nil +} + +func (m *WarnRequest) GetDetail() []byte { + if m != nil { + return m.Detail } return nil } @@ -2180,134 +2188,135 @@ func init() { func init() { proto.RegisterFile("gateway.proto", fileDescriptor_f1a937782ebbded5) } var fileDescriptor_f1a937782ebbded5 = []byte{ - // 2021 bytes of a gzipped FileDescriptorProto + // 2033 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x8a, 0xa4, 0x48, 0x3e, 0xfe, 0xb1, 0x32, 0x76, 0xd3, 0xf5, 0x22, 0x70, 0x94, 0x45, - 0xaa, 0xd2, 0x8e, 0xb2, 0x4c, 0xe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0xef, 0x71, 0xde, - 0xeb, 0x33, 0x3f, 0x0e, 0x13, 0xf3, 0xd9, 0x16, 0x71, 0xa7, 0x9d, 0x48, 0x5f, 0x0e, 0x12, 0x83, - 0x59, 0xcb, 0x60, 0x50, 0x91, 0x76, 0xaa, 0x48, 0x3b, 0xe1, 0xfd, 0x97, 0x4c, 0xb4, 0xe3, 0xb3, - 0x36, 0x8f, 0x53, 0xee, 0xf6, 0xb5, 0xdc, 0x7e, 0x1c, 0xb6, 0xe5, 0x65, 0xcc, 0x92, 0xf6, 0x05, - 0x17, 0x2f, 0x98, 0x30, 0x80, 0x87, 0xd7, 0x02, 0x06, 0x32, 0xec, 0x23, 0xaa, 0xe3, 0xc7, 0x09, - 0x1e, 0x82, 0xbf, 0x06, 0x94, 0x35, 0x5b, 0xf2, 0x28, 0x4c, 0x64, 0x18, 0xf6, 0xc2, 0x76, 0x37, - 0x51, 0x18, 0x7d, 0x0a, 0x1a, 0xa1, 0xd9, 0xdd, 0x3f, 0x16, 0x60, 0x89, 0xb2, 0x64, 0xd0, 0x97, - 0x64, 0x15, 0x1a, 0x82, 0x75, 0x77, 0x58, 0x2c, 0x58, 0xc7, 0x97, 0x2c, 0xb0, 0xad, 0x15, 0xab, - 0x55, 0xdd, 0x5f, 0xa0, 0xe3, 0x64, 0xf2, 0x6b, 0x68, 0x0a, 0xd6, 0x4d, 0x32, 0x8c, 0x8b, 0x2b, - 0x56, 0xab, 0xb6, 0xfe, 0x81, 0x77, 0x6d, 0x30, 0x3c, 0xca, 0xba, 0x47, 0x7e, 0x3c, 0x82, 0xec, - 0x2f, 0xd0, 0x09, 0x21, 0x64, 0x1d, 0x0a, 0x82, 0x75, 0xed, 0x82, 0x92, 0x75, 0x2f, 0x5f, 0xd6, - 0xfe, 0x02, 0x45, 0x66, 0xb2, 0x01, 0x45, 0x94, 0x62, 0x17, 0x15, 0xe8, 0xbd, 0x99, 0x0a, 0xec, - 0x2f, 0x50, 0x05, 0x20, 0x5f, 0x40, 0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, 0xb2, 0xa8, 0x67, 0x8e, 0x2e, 0x50, 0xb3, 0x72, 0x57, 0x71, 0x54, 0x49, 0x35, 0x37, 0xae, - 0x21, 0x50, 0xdc, 0xc1, 0x79, 0xca, 0x52, 0x17, 0x4c, 0x7d, 0xbb, 0x01, 0xb6, 0x39, 0x3f, 0xd8, - 0x09, 0xc5, 0xf5, 0x06, 0xda, 0x50, 0xde, 0x09, 0x45, 0xc6, 0xbe, 0x74, 0x49, 0x56, 0xb1, 0x01, - 0x76, 0xfa, 0x83, 0x00, 0xad, 0x95, 0x4c, 0x44, 0xa6, 0xd2, 0x4f, 0x50, 0xdd, 0xcf, 0xb5, 0x1f, - 0xd5, 0x29, 0x46, 0x99, 0x35, 0x28, 0xb3, 0x48, 0x8a, 0x90, 0xa5, 0x5d, 0x92, 0x78, 0x7a, 0x04, - 0xf6, 0xd4, 0x08, 0xac, 0xba, 0x31, 0x4d, 0x59, 0xdc, 0x0d, 0xb8, 0x85, 0x84, 0xfc, 0x40, 0x10, - 0x28, 0x66, 0x94, 0x54, 0xdf, 0xee, 0x26, 0x2c, 0x8f, 0x80, 0xe6, 0xe8, 0x55, 0x28, 0xe2, 0x80, - 0x6d, 0xca, 0xf8, 0xb4, 0x73, 0xd5, 0xbe, 0xdb, 0x80, 0xda, 0x49, 0x18, 0xa5, 0xfd, 0xd0, 0x7d, - 0x63, 0x41, 0xfd, 0x84, 0x47, 0xa3, 0x4e, 0x74, 0x02, 0xb7, 0xd2, 0x1b, 0xf8, 0xe4, 0xe4, 0x60, - 0xdb, 0x8f, 0x53, 0x53, 0x56, 0xae, 0x86, 0xd9, 0xbc, 0x05, 0x3c, 0xcd, 0xb8, 0x55, 0xc4, 0xa6, - 0x45, 0x27, 0xe1, 0xe4, 0x17, 0x50, 0x3e, 0x3c, 0xdc, 0x52, 0x92, 0x16, 0xe7, 0x92, 0x94, 0xc2, - 0xc8, 0x67, 0x50, 0x7e, 0xa6, 0x9e, 0x28, 0x89, 0x69, 0x2c, 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0x52, 0xff, 0x84, 0x3f, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x88, 0x89, 0x64, - 0x24, 0x5b, 0x18, 0x00, 0x00, + 0x39, 0xf6, 0x58, 0xf4, 0x60, 0x14, 0x46, 0x3f, 0x42, 0x3f, 0x40, 0xf1, 0x66, 0x66, 0xc9, 0x25, + 0x45, 0x2d, 0x49, 0x34, 0x27, 0xee, 0xbc, 0x79, 0xbf, 0x37, 0xef, 0xdf, 0xbc, 0xf7, 0x86, 0x50, + 0xef, 0x79, 0x92, 0x5d, 0x7a, 0x57, 0x6e, 0x2c, 0xb8, 0xe4, 0xe4, 0xee, 0x05, 0x3f, 0xbf, 0x72, + 0xcf, 0xfb, 0x41, 0xe8, 0xbf, 0x08, 0xa4, 0xfb, 0xf2, 0x27, 0x6e, 0x57, 0xf0, 0x48, 0xb2, 0xc8, + 0xb7, 0x3f, 0xec, 0x05, 0xf2, 0x79, 0xff, 0xdc, 0xed, 0xf0, 0x8b, 0x76, 0x8f, 0xf7, 0x78, 0x5b, + 0x21, 0xce, 0xfb, 0x5d, 0xb5, 0x52, 0x0b, 0xf5, 0xa5, 0x25, 0xd9, 0x1b, 0xe3, 0xec, 0x3d, 0xce, + 0x7b, 0x21, 0xf3, 0xe2, 0x20, 0x31, 0x9f, 0x6d, 0x11, 0x77, 0xda, 0x89, 0xf4, 0x64, 0x3f, 0x31, + 0x98, 0xf5, 0x0c, 0x06, 0x15, 0x69, 0xa7, 0x8a, 0xb4, 0x13, 0x1e, 0xbe, 0x64, 0xa2, 0x1d, 0x9f, + 0xb7, 0x79, 0x9c, 0x72, 0xb7, 0x6f, 0xe4, 0xf6, 0xe2, 0xa0, 0x2d, 0xaf, 0x62, 0x96, 0xb4, 0x2f, + 0xb9, 0x78, 0xc1, 0x84, 0x01, 0x3c, 0xbc, 0x11, 0xd0, 0x97, 0x41, 0x88, 0xa8, 0x8e, 0x17, 0x27, + 0x78, 0x08, 0xfe, 0x1a, 0x50, 0xd6, 0x6c, 0xc9, 0xa3, 0x20, 0x91, 0x41, 0xd0, 0x0b, 0xda, 0xdd, + 0x44, 0x61, 0xf4, 0x29, 0x68, 0x84, 0x66, 0x77, 0x7e, 0x5f, 0x80, 0x65, 0xca, 0x92, 0x7e, 0x28, + 0xc9, 0x1a, 0xd4, 0x05, 0xeb, 0xee, 0xb2, 0x58, 0xb0, 0x8e, 0x27, 0x99, 0xdf, 0xb4, 0x56, 0xad, + 0x56, 0xe5, 0x60, 0x81, 0x8e, 0x92, 0xc9, 0x2f, 0xa1, 0x21, 0x58, 0x37, 0xc9, 0x30, 0x2e, 0xae, + 0x5a, 0xad, 0xea, 0xc6, 0x07, 0xee, 0x8d, 0xc1, 0x70, 0x29, 0xeb, 0x1e, 0x7b, 0xf1, 0x10, 0x72, + 0xb0, 0x40, 0xc7, 0x84, 0x90, 0x0d, 0x28, 0x08, 0xd6, 0x6d, 0x16, 0x94, 0xac, 0x7b, 0xf9, 0xb2, + 0x0e, 0x16, 0x28, 0x32, 0x93, 0x4d, 0x28, 0xa2, 0x94, 0x66, 0x51, 0x81, 0xde, 0x9b, 0xaa, 0xc0, + 0xc1, 0x02, 0x55, 0x00, 0xf2, 0x05, 0x94, 0x2f, 0x98, 0xf4, 0x7c, 0x4f, 0x7a, 0x4d, 0x58, 0x2d, + 0xb4, 0xaa, 0x1b, 0xed, 0x5c, 0x30, 0x3a, 0xc8, 0x3d, 0x36, 0x88, 0xbd, 0x48, 0x8a, 0x2b, 0x3a, + 0x10, 0x60, 0x3f, 0x86, 0xfa, 0xc8, 0x16, 0x59, 0x81, 0xc2, 0x0b, 0x76, 0xa5, 0xfd, 0x47, 0xf1, + 0x93, 0xdc, 0x81, 0xa5, 0x97, 0x5e, 0xd8, 0x67, 0xca, 0x55, 0x35, 0xaa, 0x17, 0x5b, 0x8b, 0x8f, + 0xac, 0xed, 0x32, 0x2c, 0x0b, 0x25, 0xde, 0xf9, 0x93, 0x05, 0x2b, 0xe3, 0x7e, 0x22, 0x87, 0xc6, + 0x42, 0x4b, 0x29, 0xf9, 0xc9, 0x1c, 0x2e, 0x46, 0x42, 0xa2, 0x55, 0x55, 0x22, 0xec, 0x4d, 0xa8, + 0x0c, 0x48, 0xd3, 0x54, 0xac, 0x64, 0x54, 0x74, 0x36, 0xa1, 0x40, 0x59, 0x97, 0x34, 0x60, 0x31, + 0x30, 0x49, 0x41, 0x17, 0x03, 0x9f, 0xac, 0x42, 0xc1, 0x67, 0x5d, 0x13, 0xfc, 0x86, 0x1b, 0x9f, + 0xbb, 0xbb, 0xac, 0x1b, 0x44, 0x81, 0x0c, 0x78, 0x44, 0x71, 0xcb, 0xf9, 0x8b, 0x85, 0xc9, 0x85, + 0x6a, 0x91, 0xcf, 0x47, 0xec, 0x98, 0x9e, 0x2a, 0xd7, 0xb4, 0x7f, 0x96, 0xaf, 0xfd, 0xc7, 0x59, + 0xed, 0xa7, 0xe6, 0x4f, 0xd6, 0x3a, 0x09, 0x75, 0xca, 0x64, 0x5f, 0x44, 0x94, 0xfd, 0xa6, 0xcf, + 0x12, 0x49, 0x7e, 0x9a, 0x46, 0x44, 0xc9, 0x9f, 0x96, 0x56, 0xc8, 0x48, 0x0d, 0x80, 0xb4, 0x60, + 0x89, 0x09, 0xc1, 0x85, 0xd1, 0x82, 0xb8, 0xba, 0x72, 0xb8, 0x22, 0xee, 0xb8, 0x67, 0xaa, 0x72, + 0x50, 0xcd, 0xe0, 0xac, 0x40, 0x23, 0x3d, 0x35, 0x89, 0x79, 0x94, 0x30, 0xe7, 0x16, 0xd4, 0x0f, + 0xa3, 0xb8, 0x2f, 0x13, 0xa3, 0x87, 0xf3, 0x77, 0x0b, 0x1a, 0x29, 0x45, 0xf3, 0x90, 0xaf, 0xa1, + 0x3a, 0xf4, 0x71, 0xea, 0xcc, 0xad, 0x1c, 0xfd, 0x46, 0xf1, 0x99, 0x00, 0x19, 0xdf, 0x66, 0xc5, + 0xd9, 0x27, 0xb0, 0x32, 0xce, 0x30, 0xc1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0e, 0x54, 0x4e, 0x05, 0xef, 0xb0, 0x24, 0x19, 0xc8, 0x1a, 0x12, + 0xc8, 0xa7, 0x50, 0x3c, 0x8c, 0x02, 0x69, 0x9a, 0xda, 0x5a, 0xee, 0x88, 0x1d, 0x48, 0x23, 0x13, + 0x9f, 0x97, 0xb8, 0x24, 0x5b, 0x50, 0xc4, 0x92, 0x30, 0x4b, 0x59, 0xf6, 0x33, 0x58, 0xc4, 0x90, + 0x6d, 0xf5, 0x20, 0x0f, 0xbe, 0x61, 0x26, 0x4a, 0xad, 0xfc, 0x7e, 0x12, 0x7c, 0xc3, 0x86, 0x12, + 0x0c, 0x92, 0xec, 0x41, 0xe9, 0x4c, 0x7a, 0x02, 0xa7, 0x32, 0x1d, 0xbd, 0xfb, 0x79, 0x63, 0x87, + 0xe6, 0x1c, 0x4a, 0x49, 0xb1, 0xe8, 0x84, 0xbd, 0x57, 0x81, 0x54, 0x33, 0x57, 0xbe, 0x13, 0x90, + 0x2d, 0x63, 0x08, 0x2e, 0x11, 0xbd, 0xcb, 0x23, 0xd6, 0x2c, 0x4d, 0x45, 0x23, 0x5b, 0x06, 0x8d, + 0xcb, 0xed, 0x12, 0x2c, 0xa9, 0xb9, 0xc3, 0xf9, 0xb3, 0x05, 0xd5, 0x8c, 0x8f, 0x67, 0xb8, 0x33, + 0xef, 0x40, 0x11, 0xdf, 0xe3, 0x26, 0x76, 0x65, 0x75, 0x63, 0x98, 0xf4, 0xa8, 0xa2, 0x62, 0x61, + 0xdf, 0xf7, 0x75, 0xf9, 0xaa, 0x53, 0xfc, 0x44, 0xca, 0x97, 0xf2, 0x4a, 0xb9, 0xbb, 0x4c, 0xf1, + 0x93, 0xac, 0x43, 0xf9, 0x8c, 0x75, 0xfa, 0x22, 0x90, 0x57, 0xca, 0x81, 0x8d, 0x8d, 0x15, 0x55, + 0x0a, 0x0c, 0x4d, 0x5d, 0xac, 0x01, 0x87, 0xf3, 0x05, 0x26, 0xd6, 0x50, 0x41, 0x02, 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x33, 0xed, 0xd8, 0x79, 0xe1, 0x1a, 0x99, 0x82, 0x7e, 0x85, 0xe5, + 0x50, 0x3d, 0x08, 0xf3, 0x0b, 0x61, 0xe6, 0x1f, 0x1c, 0xfb, 0xfe, 0x0c, 0x9c, 0x43, 0xf1, 0xe6, + 0x31, 0xd5, 0x9a, 0xe1, 0x6f, 0x94, 0xe9, 0xe2, 0xc7, 0xfe, 0xb0, 0xe1, 0x50, 0xcb, 0x76, 0x39, + 0xe2, 0xe6, 0x40, 0x27, 0x0c, 0x08, 0x76, 0x7b, 0x66, 0x7e, 0x73, 0xe0, 0xb7, 0x38, 0x98, 0x8f, + 0x76, 0x40, 0xb2, 0x91, 0xeb, 0x8e, 0x89, 0xbd, 0xd6, 0x7e, 0x38, 0x17, 0xc6, 0x1c, 0xee, 0xe9, + 0x0e, 0x6b, 0xba, 0x28, 0xc9, 0x6f, 0x18, 0x83, 0x4e, 0x6c, 0xcf, 0xc8, 0xd7, 0xb2, 0x3e, 0xb2, + 0x30, 0xcf, 0x70, 0xb2, 0xca, 0x95, 0x9d, 0x19, 0x30, 0x73, 0xf3, 0x2c, 0x3b, 0xa2, 0x6d, 0xd7, + 0xbe, 0x7b, 0x73, 0xcf, 0xfa, 0xc7, 0x9b, 0x7b, 0xd6, 0xbf, 0xdf, 0xdc, 0xb3, 0xce, 0x97, 0xd5, + 0xbf, 0xe3, 0x0f, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x9b, 0x02, 0x2b, 0x6f, 0x18, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4055,7 +4064,7 @@ func (m *WarnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGateway(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x32 } } if m.Info != nil { @@ -4068,12 +4077,19 @@ func (m *WarnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGateway(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x2a + } + if len(m.Detail) > 0 { + i -= len(m.Detail) + copy(dAtA[i:], m.Detail) + i = encodeVarintGateway(dAtA, i, uint64(len(m.Detail))) + i-- dAtA[i] = 0x22 } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintGateway(dAtA, i, uint64(len(m.Message))) + if len(m.Short) > 0 { + i -= len(m.Short) + copy(dAtA[i:], m.Short) + i = encodeVarintGateway(dAtA, i, uint64(len(m.Short))) i-- dAtA[i] = 0x1a } @@ -5300,7 +5316,11 @@ func (m *WarnRequest) Size() (n int) { if m.Level != 0 { n += 1 + sovGateway(uint64(m.Level)) } - l = len(m.Message) + l = len(m.Short) + if l > 0 { + n += 1 + l + sovGateway(uint64(l)) + } + l = len(m.Detail) if l > 0 { n += 1 + l + sovGateway(uint64(l)) } @@ -9051,7 +9071,7 @@ func (m *WarnRequest) Unmarshal(dAtA []byte) error { } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Short", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -9078,12 +9098,46 @@ func (m *WarnRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Message = append(m.Message[:0], dAtA[iNdEx:postIndex]...) - if m.Message == nil { - m.Message = []byte{} + m.Short = append(m.Short[:0], dAtA[iNdEx:postIndex]...) + if m.Short == nil { + m.Short = []byte{} } iNdEx = postIndex case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Detail", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGateway + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthGateway + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGateway + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Detail = append(m.Detail[:0], dAtA[iNdEx:postIndex]...) + if m.Detail == nil { + m.Detail = []byte{} + } + iNdEx = postIndex + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) } @@ -9119,7 +9173,7 @@ func (m *WarnRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 5: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) } diff --git a/frontend/gateway/pb/gateway.proto b/frontend/gateway/pb/gateway.proto index 5bf0a0bcfc73..0bef68729ba7 100644 --- a/frontend/gateway/pb/gateway.proto +++ b/frontend/gateway/pb/gateway.proto @@ -176,9 +176,10 @@ message PongResponse{ message WarnRequest { string Digest = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; int64 Level = 2; - bytes Message = 3; - pb.SourceInfo info = 4; - repeated pb.Range ranges = 5; + bytes Short = 3; + bytes Detail = 4; + pb.SourceInfo info = 5; + repeated pb.Range ranges = 6; } message WarnResponse{} diff --git a/solver/llbsolver/bridge.go b/solver/llbsolver/bridge.go index 6689170db327..4b6007a92250 100644 --- a/solver/llbsolver/bridge.go +++ b/solver/llbsolver/bridge.go @@ -52,9 +52,10 @@ func (b *llbBridge) Warn(ctx context.Context, dgst digest.Digest, msg string, op pw.Write(identity.NewID(), client.VertexWarning{ Vertex: dgst, Level: level, - Message: []byte(msg), + Short: []byte(msg), SourceInfo: opts.SourceInfo, Range: opts.Range, + Detail: opts.Detail, }) return pw.Close() }) diff --git a/util/progress/progressui/display.go b/util/progress/progressui/display.go index 13af8e38cbe3..8f9ddf858072 100644 --- a/util/progress/progressui/display.go +++ b/util/progress/progressui/display.go @@ -389,7 +389,7 @@ func (t *trace) displayInfo() (d displayInfo) { jobs = append(jobs, j) } for _, w := range v.warnings { - msg := "WARN: " + string(w.Message) + msg := "WARN: " + string(w.Short) j := &job{ startTime: addTime(v.Started, t.localTimeDiff), completedTime: addTime(v.Completed, t.localTimeDiff), diff --git a/util/progress/progressui/printer.go b/util/progress/progressui/printer.go index f02d53c0e70a..7530345749ba 100644 --- a/util/progress/progressui/printer.go +++ b/util/progress/progressui/printer.go @@ -126,7 +126,7 @@ func (p *textMux) printVtx(t *trace, dgst digest.Digest) { v.statusUpdates = map[string]struct{}{} for _, w := range v.warnings[v.warningIdx:] { - fmt.Fprintf(p.w, "#%d WARN: %s\n", v.index, w.Message) + fmt.Fprintf(p.w, "#%d WARN: %s\n", v.index, w.Short) v.warningIdx++ } From 872518e334a38033ba1739fb957f9826bd911ab0 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Mon, 13 Dec 2021 21:24:24 -0800 Subject: [PATCH 6/6] update warning type definition Detail is now an array and URL is a separate field. Signed-off-by: Tonis Tiigi --- api/services/control/control.pb.go | 278 ++++++++------ api/services/control/control.proto | 7 +- client/build_test.go | 8 +- client/graph.go | 3 +- client/solve.go | 1 + control/control.go | 1 + frontend/dockerfile/builder/build.go | 8 +- frontend/dockerfile/dockerfile2llb/convert.go | 4 +- frontend/dockerfile/parser/parser.go | 6 +- frontend/dockerfile/parser/parser_test.go | 2 +- frontend/gateway/client/client.go | 3 +- frontend/gateway/gateway.go | 1 + frontend/gateway/grpcclient/client.go | 1 + frontend/gateway/pb/gateway.pb.go | 349 ++++++++++-------- frontend/gateway/pb/gateway.proto | 13 +- solver/llbsolver/bridge.go | 1 + 16 files changed, 404 insertions(+), 282 deletions(-) diff --git a/api/services/control/control.pb.go b/api/services/control/control.pb.go index d640445575f3..706606a66d78 100644 --- a/api/services/control/control.pb.go +++ b/api/services/control/control.pb.go @@ -1007,9 +1007,10 @@ type VertexWarning struct { Vertex github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=vertex,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"vertex"` Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` Short []byte `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"` - Detail []byte `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"` - Info *pb.SourceInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` - Ranges []*pb.Range `protobuf:"bytes,6,rep,name=ranges,proto3" json:"ranges,omitempty"` + Detail [][]byte `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` + Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` + Info *pb.SourceInfo `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"` + Ranges []*pb.Range `protobuf:"bytes,7,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1062,13 +1063,20 @@ func (m *VertexWarning) GetShort() []byte { return nil } -func (m *VertexWarning) GetDetail() []byte { +func (m *VertexWarning) GetDetail() [][]byte { if m != nil { return m.Detail } return nil } +func (m *VertexWarning) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func (m *VertexWarning) GetInfo() *pb.SourceInfo { if m != nil { return m.Info @@ -1253,102 +1261,103 @@ func init() { func init() { proto.RegisterFile("control.proto", fileDescriptor_0c5120591600887d) } var fileDescriptor_0c5120591600887d = []byte{ - // 1514 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, - 0x17, 0x0e, 0x25, 0x8b, 0x92, 0x8e, 0x65, 0xc3, 0x99, 0xe4, 0x0f, 0x08, 0xfe, 0xf8, 0x6d, 0x87, - 0xc9, 0x0f, 0x18, 0x41, 0x42, 0x39, 0x6e, 0x53, 0xa4, 0xee, 0x05, 0x89, 0xac, 0x14, 0x71, 0x10, - 0xa3, 0xe9, 0x28, 0x69, 0x80, 0x2c, 0x0a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521 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4b, 0x6f, 0xdb, 0xc6, + 0x16, 0x0e, 0x25, 0xeb, 0x75, 0x2c, 0x1b, 0xce, 0x24, 0x37, 0x20, 0x78, 0x71, 0x6d, 0x87, 0xc9, + 0x05, 0x84, 0x20, 0xa1, 0x1c, 0xb5, 0x29, 0x52, 0xf7, 0x81, 0x44, 0x56, 0x8a, 0x38, 0x88, 0xd1, + 0x74, 0x94, 0x34, 0x40, 0x16, 0x05, 0x28, 0x69, 0x24, 0x13, 0xa6, 0x38, 0xec, 0xcc, 0xd0, 0x89, + 0xfa, 0x03, 0xba, 0xee, 0xae, 0x3f, 0xa0, 0x8b, 0xae, 0xba, 0xee, 0x2f, 0x28, 0x90, 0x65, 0xd7, + 0x59, 0xb8, 0x45, 0xf6, 0x2d, 0xba, 0xec, 0xb2, 0x98, 0x07, 0x65, 0xca, 0x92, 0xfc, 0x4a, 0x57, + 0x9a, 0x33, 0x3c, 0xdf, 0xa7, 0xf3, 0x9c, 0x99, 0x03, 0x4b, 0x5d, 0x1a, 0x09, 0x46, 0x43, 0x2f, + 0x66, 0x54, 0x50, 0xb4, 0x32, 0xa4, 0x9d, 0x91, 0xd7, 0x49, 0x82, 0xb0, 0xb7, 0x17, 0x08, 0x6f, + 0xff, 0xb6, 0x73, 0x6b, 0x10, 0x88, 0xdd, 0xa4, 0xe3, 0x75, 0xe9, 0xb0, 0x3e, 0xa0, 0x03, 0x5a, + 0x57, 0x8a, 0x9d, 0xa4, 0xaf, 0x24, 0x25, 0xa8, 0x95, 0x26, 0x70, 0xd6, 0x06, 0x94, 0x0e, 0x42, + 0x72, 0xa8, 0x25, 0x82, 0x21, 0xe1, 0xc2, 0x1f, 0xc6, 0x46, 0xe1, 0x66, 0x86, 0x4f, 0xfe, 0x59, + 0x3d, 0xfd, 0xb3, 0x3a, 0xa7, 0xe1, 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 0x2c, 0xd3, 0xb2, 0x65, 0xe0, 0x9c, 0xf0, 0xbd, 0x66, 0x6d, 0x58, 0xe8, 0x05, + 0x2c, 0x66, 0x12, 0x8d, 0x66, 0x24, 0x74, 0xba, 0x6a, 0x9c, 0xff, 0x9f, 0xa0, 0xa5, 0x8d, 0x6d, + 0x56, 0x5f, 0xbf, 0x5d, 0xb5, 0x7e, 0x7d, 0xbb, 0x6a, 0xfd, 0xfe, 0x76, 0xd5, 0xea, 0x14, 0x55, + 0xcb, 0xbf, 0xf7, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x2a, 0x40, 0x92, 0xfd, 0x11, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2671,7 +2680,7 @@ func (m *VertexWarning) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintControl(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x3a } } if m.Info != nil { @@ -2684,14 +2693,23 @@ func (m *VertexWarning) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintControl(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x32 + } + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintControl(dAtA, i, uint64(len(m.Url))) + i-- dAtA[i] = 0x2a } if len(m.Detail) > 0 { - i -= len(m.Detail) - copy(dAtA[i:], m.Detail) - i = encodeVarintControl(dAtA, i, uint64(len(m.Detail))) - i-- - dAtA[i] = 0x22 + for iNdEx := len(m.Detail) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Detail[iNdEx]) + copy(dAtA[i:], m.Detail[iNdEx]) + i = encodeVarintControl(dAtA, i, uint64(len(m.Detail[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } if len(m.Short) > 0 { i -= len(m.Short) @@ -3285,7 +3303,13 @@ func (m *VertexWarning) Size() (n int) { if l > 0 { n += 1 + l + sovControl(uint64(l)) } - l = len(m.Detail) + if len(m.Detail) > 0 { + for _, b := range m.Detail { + l = len(b) + n += 1 + l + sovControl(uint64(l)) + } + } + l = len(m.Url) if l > 0 { n += 1 + l + sovControl(uint64(l)) } @@ -6554,12 +6578,42 @@ func (m *VertexWarning) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Detail = append(m.Detail[:0], dAtA[iNdEx:postIndex]...) - if m.Detail == nil { - m.Detail = []byte{} - } + m.Detail = append(m.Detail, make([]byte, postIndex-iNdEx)) + copy(m.Detail[len(m.Detail)-1], dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowControl + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthControl + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Url = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) } @@ -6595,7 +6649,7 @@ func (m *VertexWarning) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) } diff --git a/api/services/control/control.proto b/api/services/control/control.proto index 388bbcf64f93..4f41352ec2ed 100644 --- a/api/services/control/control.proto +++ b/api/services/control/control.proto @@ -139,9 +139,10 @@ message VertexWarning { string vertex = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; int64 level = 2; bytes short = 3; - bytes detail = 4; - pb.SourceInfo info = 5; - repeated pb.Range ranges = 6; + repeated bytes detail = 4; + string url = 5; + pb.SourceInfo info = 6; + repeated pb.Range ranges = 7; } message BytesMessage { diff --git a/client/build_test.go b/client/build_test.go index 65e5c092bf34..121777b02109 100644 --- a/client/build_test.go +++ b/client/build_test.go @@ -193,7 +193,8 @@ func testWarnings(t *testing.T, sb integration.Sandbox) { Range: []*pb.Range{ {Start: pb.Position{Line: 2}, End: pb.Position{Line: 4}}, }, - Detail: []byte("this is detail"), + Detail: [][]byte{[]byte("this is detail"), []byte("and more detail")}, + URL: "https://example.com", })) return r, nil @@ -241,7 +242,10 @@ func testWarnings(t *testing.T, sb integration.Sandbox) { w := warnings[0] require.Equal(t, "this is warning", string(w.Short)) - require.Equal(t, "this is detail", string(w.Detail)) + require.Equal(t, 2, len(w.Detail)) + require.Equal(t, "this is detail", string(w.Detail[0])) + require.Equal(t, "and more detail", string(w.Detail[1])) + require.Equal(t, "https://example.com", w.URL) require.Equal(t, 3, w.Level) _, ok := vertexes[w.Vertex] require.True(t, ok) diff --git a/client/graph.go b/client/graph.go index 4be88cd6fcf3..6171e7db7021 100644 --- a/client/graph.go +++ b/client/graph.go @@ -39,7 +39,8 @@ type VertexWarning struct { Vertex digest.Digest Level int Short []byte - Detail []byte + Detail [][]byte + URL string SourceInfo *pb.SourceInfo Range []*pb.Range } diff --git a/client/solve.go b/client/solve.go index c84da439c2fb..160d4ae8f5a9 100644 --- a/client/solve.go +++ b/client/solve.go @@ -298,6 +298,7 @@ func (c *Client) solve(ctx context.Context, def *llb.Definition, runGateway runG Level: int(v.Level), Short: v.Short, Detail: v.Detail, + URL: v.Url, SourceInfo: v.Info, Range: v.Ranges, }) diff --git a/control/control.go b/control/control.go index 795644811a59..c778e2997f40 100644 --- a/control/control.go +++ b/control/control.go @@ -384,6 +384,7 @@ func (c *Controller) Status(req *controlapi.StatusRequest, stream controlapi.Con Detail: v.Detail, Info: v.SourceInfo, Ranges: v.Range, + Url: v.URL, }) } if err := stream.SendMsg(&sr); err != nil { diff --git a/frontend/dockerfile/builder/build.go b/frontend/dockerfile/builder/build.go index ecb1d90deb76..cf4cc471787f 100644 --- a/frontend/dockerfile/builder/build.go +++ b/frontend/dockerfile/builder/build.go @@ -455,11 +455,11 @@ func Build(ctx context.Context, c client.Client) (*client.Result, error) { LLBCaps: &caps, SourceMap: sourceMap, Hostname: opts[keyHostname], - Warn: func(msg, detail string, location *parser.Range) { + Warn: func(msg, url string, detail [][]byte, location *parser.Range) { if i != 0 { return } - c.Warn(ctx, defVtx, msg, warnOpts(sourceMap, location, detail)) + c.Warn(ctx, defVtx, msg, warnOpts(sourceMap, location, detail, url)) }, }) @@ -779,8 +779,8 @@ func scopeToSubDir(c *llb.State, fileop bool, dir string) *llb.State { return &bc } -func warnOpts(sm *llb.SourceMap, r *parser.Range, detail string) client.WarnOpts { - opts := client.WarnOpts{Level: 1, Detail: []byte(detail)} +func warnOpts(sm *llb.SourceMap, r *parser.Range, detail [][]byte, url string) client.WarnOpts { + opts := client.WarnOpts{Level: 1, Detail: detail, URL: url} if r == nil { return opts } diff --git a/frontend/dockerfile/dockerfile2llb/convert.go b/frontend/dockerfile/dockerfile2llb/convert.go index f54cab1ad748..0a521621ca64 100644 --- a/frontend/dockerfile/dockerfile2llb/convert.go +++ b/frontend/dockerfile/dockerfile2llb/convert.go @@ -68,7 +68,7 @@ type ConvertOpt struct { ContextLocalName string SourceMap *llb.SourceMap Hostname string - Warn func(short, detail string, location *parser.Range) + Warn func(short, url string, detail [][]byte, location *parser.Range) } func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, *Image, error) { @@ -93,7 +93,7 @@ func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, } for _, w := range dockerfile.Warnings { - opt.Warn(w.Short, w.Detail, w.Location) + opt.Warn(w.Short, w.URL, w.Detail, w.Location) } proxyEnv := proxyEnvFromBuildArgs(opt.BuildArgs) diff --git a/frontend/dockerfile/parser/parser.go b/frontend/dockerfile/parser/parser.go index 4e4fa65a722d..f3acd3282326 100644 --- a/frontend/dockerfile/parser/parser.go +++ b/frontend/dockerfile/parser/parser.go @@ -274,7 +274,8 @@ type Result struct { type Warning struct { Short string - Detail string + Detail [][]byte + URL string Location *Range } @@ -354,7 +355,8 @@ func Parse(rwc io.Reader) (*Result, error) { if hasEmptyContinuationLine { warnings = append(warnings, Warning{ Short: "Empty continuation line found in: " + line, - Detail: "Empty continuation lines will become errors in a future release. https://github.com/moby/moby/pull/33719", + Detail: [][]byte{[]byte("Empty continuation lines will become errors in a future release")}, + URL: "https://github.com/moby/moby/pull/33719", Location: &Range{Start: Position{Line: currentLine}, End: Position{Line: currentLine}}, }) } diff --git a/frontend/dockerfile/parser/parser_test.go b/frontend/dockerfile/parser/parser_test.go index 89a75089ef25..676188f1ea5f 100644 --- a/frontend/dockerfile/parser/parser_test.go +++ b/frontend/dockerfile/parser/parser_test.go @@ -166,7 +166,7 @@ RUN indented \ require.Contains(t, warnings[0].Short, "Empty continuation line found in") require.Contains(t, warnings[0].Short, "RUN something following more") require.Contains(t, warnings[1].Short, "RUN another thing") - require.Contains(t, warnings[0].Detail, "will become errors in a future release") + require.Contains(t, string(warnings[0].Detail[0]), "will become errors in a future release") } func TestParseReturnsScannerErrors(t *testing.T) { diff --git a/frontend/gateway/client/client.go b/frontend/gateway/client/client.go index 8fc74ec59447..4475a24a7206 100644 --- a/frontend/gateway/client/client.go +++ b/frontend/gateway/client/client.go @@ -139,5 +139,6 @@ type WarnOpts struct { Level int SourceInfo *pb.SourceInfo Range []*pb.Range - Detail []byte + Detail [][]byte + URL string } diff --git a/frontend/gateway/gateway.go b/frontend/gateway/gateway.go index a4b6382b494b..f1973ff28f99 100644 --- a/frontend/gateway/gateway.go +++ b/frontend/gateway/gateway.go @@ -999,6 +999,7 @@ func (lbf *llbBridgeForwarder) Warn(ctx context.Context, in *pb.WarnRequest) (*p SourceInfo: in.Info, Range: in.Ranges, Detail: in.Detail, + URL: in.Url, }) if err != nil { return nil, err diff --git a/frontend/gateway/grpcclient/client.go b/frontend/gateway/grpcclient/client.go index 11e8f7db26e7..e0ee70c1309e 100644 --- a/frontend/gateway/grpcclient/client.go +++ b/frontend/gateway/grpcclient/client.go @@ -306,6 +306,7 @@ func (c *grpcClient) Warn(ctx context.Context, dgst digest.Digest, msg string, o Info: opts.SourceInfo, Ranges: opts.Range, Detail: opts.Detail, + Url: opts.URL, }) return err } diff --git a/frontend/gateway/pb/gateway.pb.go b/frontend/gateway/pb/gateway.pb.go index bda8615c011a..cacba346a1d2 100644 --- a/frontend/gateway/pb/gateway.pb.go +++ b/frontend/gateway/pb/gateway.pb.go @@ -1331,12 +1331,13 @@ func (m *PongResponse) GetWorkers() []*types1.WorkerRecord { } type WarnRequest struct { - Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=Digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"Digest"` - Level int64 `protobuf:"varint,2,opt,name=Level,proto3" json:"Level,omitempty"` - Short []byte `protobuf:"bytes,3,opt,name=Short,proto3" json:"Short,omitempty"` - Detail []byte `protobuf:"bytes,4,opt,name=Detail,proto3" json:"Detail,omitempty"` - Info *pb.SourceInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` - Ranges []*pb.Range `protobuf:"bytes,6,rep,name=ranges,proto3" json:"ranges,omitempty"` + Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"digest"` + Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` + Short []byte `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"` + Detail [][]byte `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` + Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` + Info *pb.SourceInfo `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"` + Ranges []*pb.Range `protobuf:"bytes,7,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1389,13 +1390,20 @@ func (m *WarnRequest) GetShort() []byte { return nil } -func (m *WarnRequest) GetDetail() []byte { +func (m *WarnRequest) GetDetail() [][]byte { if m != nil { return m.Detail } return nil } +func (m *WarnRequest) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func (m *WarnRequest) GetInfo() *pb.SourceInfo { if m != nil { return m.Info @@ -2188,135 +2196,135 @@ func init() { func init() { proto.RegisterFile("gateway.proto", fileDescriptor_f1a937782ebbded5) } var fileDescriptor_f1a937782ebbded5 = []byte{ - // 2033 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x8a, 0x94, 0x48, 0x3e, 0xfe, 0xb1, 0x32, 0x76, 0x53, 0x7a, 0x11, 0x38, 0xca, 0x22, - 0x55, 0x69, 0x47, 0x59, 0xa6, 0x72, 0x02, 0xb9, 0x72, 0x90, 0xd4, 0xfa, 0x07, 0xa9, 0x91, 0x64, - 0x75, 0x94, 0xc2, 0x40, 0x90, 0x02, 0x5d, 0x71, 0x87, 0xf4, 0xc2, 0xab, 0x9d, 0xed, 0xec, 0xd0, - 0xb2, 0x92, 0x4b, 0x7b, 0xeb, 0xb1, 0x40, 0x81, 0x5e, 0x0b, 0xf4, 0x13, 0xf4, 0xd2, 0x6b, 0xcf, - 0x39, 0xf6, 0x58, 0xf4, 0x60, 0x14, 0x46, 0x3f, 0x42, 0x3f, 0x40, 0xf1, 0x66, 0x66, 0xc9, 0x25, - 0x45, 0x2d, 0x49, 0x34, 0x27, 0xee, 0xbc, 0x79, 0xbf, 0x37, 0xef, 0xdf, 0xbc, 0xf7, 0x86, 0x50, - 0xef, 0x79, 0x92, 0x5d, 0x7a, 0x57, 0x6e, 0x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0x2e, 0xae, - 0x5a, 0xad, 0xea, 0xc6, 0x07, 0xee, 0x8d, 0xc1, 0x70, 0x29, 0xeb, 0x1e, 0x7b, 0xf1, 0x10, 0x72, - 0xb0, 0x40, 0xc7, 0x84, 0x90, 0x0d, 0x28, 0x08, 0xd6, 0x6d, 0x16, 0x94, 0xac, 0x7b, 0xf9, 0xb2, - 0x0e, 0x16, 0x28, 0x32, 0x93, 0x4d, 0x28, 0xa2, 0x94, 0x66, 0x51, 0x81, 0xde, 0x9b, 0xaa, 0xc0, - 0xc1, 0x02, 0x55, 0x00, 0xf2, 0x05, 0x94, 0x2f, 0x98, 0xf4, 0x7c, 0x4f, 0x7a, 0x4d, 0x58, 0x2d, - 0xb4, 0xaa, 0x1b, 0xed, 0x5c, 0x30, 0x3a, 0xc8, 0x3d, 0x36, 0x88, 0xbd, 0x48, 0x8a, 0x2b, 0x3a, - 0x10, 0x60, 0x3f, 0x86, 0xfa, 0xc8, 0x16, 0x59, 0x81, 0xc2, 0x0b, 0x76, 0xa5, 0xfd, 0x47, 0xf1, - 0x93, 0xdc, 0x81, 0xa5, 0x97, 0x5e, 0xd8, 0x67, 0xca, 0x55, 0x35, 0xaa, 0x17, 0x5b, 0x8b, 0x8f, - 0xac, 0xed, 0x32, 0x2c, 0x0b, 0x25, 0xde, 0xf9, 0x93, 0x05, 0x2b, 0xe3, 0x7e, 0x22, 0x87, 0xc6, - 0x42, 0x4b, 0x29, 0xf9, 0xc9, 0x1c, 0x2e, 0x46, 0x42, 0xa2, 0x55, 0x55, 0x22, 0xec, 0x4d, 0xa8, - 0x0c, 0x48, 0xd3, 0x54, 0xac, 0x64, 0x54, 0x74, 0x36, 0xa1, 0x40, 0x59, 0x97, 0x34, 0x60, 0x31, - 0x30, 0x49, 0x41, 0x17, 0x03, 0x9f, 0xac, 0x42, 0xc1, 0x67, 0x5d, 0x13, 0xfc, 0x86, 0x1b, 0x9f, - 0xbb, 0xbb, 0xac, 0x1b, 0x44, 0x81, 0x0c, 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x86, 0x12, - 0x0c, 0x92, 0xec, 0x41, 0xe9, 0x4c, 0x7a, 0x02, 0xa7, 0x32, 0x1d, 0xbd, 0xfb, 0x79, 0x63, 0x87, - 0xe6, 0x1c, 0x4a, 0x49, 0xb1, 0xe8, 0x84, 0xbd, 0x57, 0x81, 0x54, 0x33, 0x57, 0xbe, 0x13, 0x90, - 0x2d, 0x63, 0x08, 0x2e, 0x11, 0xbd, 0xcb, 0x23, 0xd6, 0x2c, 0x4d, 0x45, 0x23, 0x5b, 0x06, 0x8d, - 0xcb, 0xed, 0x12, 0x2c, 0xa9, 0xb9, 0xc3, 0xf9, 0xb3, 0x05, 0xd5, 0x8c, 0x8f, 0x67, 0xb8, 0x33, - 0xef, 0x40, 0x11, 0xdf, 0xe3, 0x26, 0x76, 0x65, 0x75, 0x63, 0x98, 0xf4, 0xa8, 0xa2, 0x62, 0x61, - 0xdf, 0xf7, 0x75, 0xf9, 0xaa, 0x53, 0xfc, 0x44, 0xca, 0x97, 0xf2, 0x4a, 0xb9, 0xbb, 0x4c, 0xf1, - 0x93, 0xac, 0x43, 0xf9, 0x8c, 0x75, 0xfa, 0x22, 0x90, 0x57, 0xca, 0x81, 0x8d, 0x8d, 0x15, 0x55, - 0x0a, 0x0c, 0x4d, 0x5d, 0xac, 0x01, 0x87, 0xf3, 0x05, 0x26, 0xd6, 0x50, 0x41, 0x02, 0xc5, 0x1d, - 0x7c, 0x95, 0xa0, 0x66, 0x75, 0xaa, 0xbe, 0xf1, 0x61, 0xb8, 0x37, 0xed, 0x61, 0xb8, 0x97, 0x3e, - 0x0c, 0x47, 0x03, 0x82, 0x7d, 0x22, 0xe3, 0x20, 0xe7, 0x09, 0x54, 0x06, 0x49, 0x83, 0x6f, 0xf2, - 0x7d, 0xdf, 0x9c, 0xb4, 0xb8, 0xef, 0xa3, 0x29, 0x7b, 0x4f, 0xf7, 0xd5, 0x29, 0x65, 0x8a, 0x9f, - 0x83, 0xae, 0x5c, 0xc8, 0x74, 0xe5, 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, 0x38, 0x98, 0x8f, - 0x76, 0x40, 0xb2, 0x91, 0xeb, 0x8e, 0x89, 0xbd, 0xd6, 0x7e, 0x38, 0x17, 0xc6, 0x1c, 0xee, 0xe9, - 0x0e, 0x6b, 0xba, 0x28, 0xc9, 0x6f, 0x18, 0x83, 0x4e, 0x6c, 0xcf, 0xc8, 0xd7, 0xb2, 0x3e, 0xb2, - 0x30, 0xcf, 0x70, 0xb2, 0xca, 0x95, 0x9d, 0x19, 0x30, 0x73, 0xf3, 0x2c, 0x3b, 0xa2, 0x6d, 0xd7, - 0xbe, 0x7b, 0x73, 0xcf, 0xfa, 0xc7, 0x9b, 0x7b, 0xd6, 0xbf, 0xdf, 0xdc, 0xb3, 0xce, 0x97, 0xd5, - 0xbf, 0xe3, 0x0f, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x9b, 0x02, 0x2b, 0x6f, 0x18, 0x00, - 0x00, + // 2048 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xcd, 0x6f, 0x1b, 0xc7, + 0x15, 0xf7, 0x8a, 0x94, 0x48, 0x3e, 0x7e, 0x58, 0x19, 0xa7, 0xe9, 0x7a, 0x11, 0x38, 0xca, 0x22, + 0x55, 0x69, 0x47, 0x59, 0xa6, 0x72, 0x02, 0xb9, 0x72, 0x90, 0xd4, 0xfa, 0x82, 0x94, 0x48, 0xb2, + 0x3a, 0x4a, 0x61, 0x20, 0x48, 0x81, 0xae, 0xb8, 0x43, 0x7a, 0xe1, 0xd5, 0xce, 0x76, 0x76, 0x68, + 0x59, 0xc9, 0xa5, 0xbd, 0xf5, 0x58, 0xa0, 0x40, 0xaf, 0x05, 0xfa, 0x17, 0xf4, 0xd2, 0x6b, 0xcf, + 0x39, 0xf6, 0x58, 0xf4, 0x10, 0x14, 0xfe, 0x1b, 0x8a, 0x9e, 0x8b, 0x37, 0x33, 0x4b, 0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, 0x58, 0x22, 0x58, 0xd7, 0x97, 0x2c, 0xb0, 0xad, 0x15, 0xab, 0x5d, + 0xdb, 0xbf, 0x45, 0xc7, 0xc9, 0xe4, 0x57, 0xd0, 0x12, 0xac, 0x97, 0xe6, 0x18, 0x17, 0x56, 0xac, + 0x76, 0x7d, 0xfd, 0x7d, 0xef, 0xda, 0x60, 0x78, 0x94, 0xf5, 0x8e, 0xfc, 0x64, 0x04, 0xd9, 0xbf, + 0x45, 0x27, 0x84, 0x90, 0x75, 0x28, 0x09, 0xd6, 0xb3, 0x4b, 0x4a, 0xd6, 0xbd, 0x62, 0x59, 0xfb, + 0xb7, 0x28, 0x32, 0x93, 0x0d, 0x28, 0xa3, 0x14, 0xbb, 0xac, 0x40, 0xef, 0xce, 0x54, 0x60, 0xff, + 0x16, 0x55, 0x00, 0xf2, 0x05, 0x54, 0xcf, 0x99, 0xf4, 0x03, 0x5f, 0xfa, 0x36, 0xac, 0x94, 0xda, + 0xf5, 0xf5, 0x4e, 0x21, 0x18, 0x1d, 0xe4, 0x1d, 0x19, 0xc4, 0x6e, 0x2c, 0xc5, 0x25, 0x1d, 0x0a, + 0x70, 0x1e, 0x43, 0x73, 0x6c, 0x8b, 0x2c, 0x43, 0xe9, 0x05, 0xbb, 0xd4, 0xfe, 0xa3, 0xf8, 0x49, + 0xde, 0x84, 0xc5, 0x97, 0x7e, 0x34, 0x60, 0xca, 0x55, 0x0d, 0xaa, 0x17, 0x9b, 0x0b, 0x8f, 0xac, + 0xad, 0x2a, 0x2c, 0x09, 0x25, 0xde, 0xfd, 0xb3, 0x05, 0xcb, 0x93, 0x7e, 0x22, 0x07, 0xc6, 0x42, + 0x4b, 0x29, 0xf9, 0xf1, 0x1c, 0x2e, 0x46, 0x42, 0xaa, 0x55, 0x55, 0x22, 0x9c, 0x0d, 0xa8, 0x0d, + 0x49, 0xb3, 0x54, 0xac, 0xe5, 0x54, 0x74, 0x37, 0xa0, 0x44, 0x59, 0x8f, 0xb4, 0x60, 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+ 0x88, 0xc5, 0x85, 0x30, 0xf7, 0x9f, 0x8e, 0x73, 0xff, 0x06, 0x9c, 0x23, 0xf1, 0xe6, 0x79, 0xd5, + 0xbe, 0xc1, 0x1f, 0x2b, 0xb3, 0xc5, 0x4f, 0xfc, 0x85, 0xc3, 0xa1, 0x91, 0xef, 0x72, 0xc4, 0x2b, + 0x80, 0x4e, 0x19, 0x10, 0x9c, 0xce, 0x8d, 0xf9, 0xcd, 0x81, 0xdf, 0xe2, 0xa8, 0x3e, 0xde, 0x01, + 0xc9, 0x7a, 0xa1, 0x3b, 0xa6, 0xf6, 0x5a, 0xe7, 0xe1, 0x5c, 0x18, 0x73, 0xb8, 0xaf, 0x3b, 0xac, + 0xe9, 0xa2, 0xa4, 0xb8, 0x61, 0x0c, 0x3b, 0xb1, 0x73, 0x43, 0xbe, 0xb6, 0xf5, 0xa1, 0x85, 0x79, + 0x86, 0x93, 0x55, 0xa1, 0xec, 0xdc, 0xc8, 0x59, 0x98, 0x67, 0xf9, 0x11, 0x6d, 0xab, 0xf1, 0xdd, + 0xeb, 0x7b, 0xd6, 0x3f, 0x5f, 0xdf, 0xb3, 0xfe, 0xf3, 0xfa, 0x9e, 0x75, 0xb6, 0xa4, 0xfe, 0x2f, + 0x7f, 0xf8, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x9a, 0x89, 0x6b, 0x81, 0x18, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4064,7 +4072,7 @@ func (m *WarnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGateway(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x3a } } if m.Info != nil { @@ -4077,14 +4085,23 @@ func (m *WarnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGateway(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x32 + } + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintGateway(dAtA, i, uint64(len(m.Url))) + i-- dAtA[i] = 0x2a } if len(m.Detail) > 0 { - i -= len(m.Detail) - copy(dAtA[i:], m.Detail) - i = encodeVarintGateway(dAtA, i, uint64(len(m.Detail))) - i-- - dAtA[i] = 0x22 + for iNdEx := len(m.Detail) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Detail[iNdEx]) + copy(dAtA[i:], m.Detail[iNdEx]) + i = encodeVarintGateway(dAtA, i, uint64(len(m.Detail[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } if len(m.Short) > 0 { i -= len(m.Short) @@ -5320,7 +5337,13 @@ func (m *WarnRequest) Size() (n int) { if l > 0 { n += 1 + l + sovGateway(uint64(l)) } - l = len(m.Detail) + if len(m.Detail) > 0 { + for _, b := range m.Detail { + l = len(b) + n += 1 + l + sovGateway(uint64(l)) + } + } + l = len(m.Url) if l > 0 { n += 1 + l + sovGateway(uint64(l)) } @@ -9132,12 +9155,42 @@ func (m *WarnRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Detail = append(m.Detail[:0], dAtA[iNdEx:postIndex]...) - if m.Detail == nil { - m.Detail = []byte{} - } + m.Detail = append(m.Detail, make([]byte, postIndex-iNdEx)) + copy(m.Detail[len(m.Detail)-1], dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGateway + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGateway + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGateway + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Url = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) } @@ -9173,7 +9226,7 @@ func (m *WarnRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) } diff --git a/frontend/gateway/pb/gateway.proto b/frontend/gateway/pb/gateway.proto index 0bef68729ba7..388a46ef718d 100644 --- a/frontend/gateway/pb/gateway.proto +++ b/frontend/gateway/pb/gateway.proto @@ -174,12 +174,13 @@ message PongResponse{ } message WarnRequest { - string Digest = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; - int64 Level = 2; - bytes Short = 3; - bytes Detail = 4; - pb.SourceInfo info = 5; - repeated pb.Range ranges = 6; + string digest = 1 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; + int64 level = 2; + bytes short = 3; + repeated bytes detail = 4; + string url = 5; + pb.SourceInfo info = 6; + repeated pb.Range ranges = 7; } message WarnResponse{} diff --git a/solver/llbsolver/bridge.go b/solver/llbsolver/bridge.go index 4b6007a92250..1473968828ba 100644 --- a/solver/llbsolver/bridge.go +++ b/solver/llbsolver/bridge.go @@ -56,6 +56,7 @@ func (b *llbBridge) Warn(ctx context.Context, dgst digest.Digest, msg string, op SourceInfo: opts.SourceInfo, Range: opts.Range, Detail: opts.Detail, + URL: opts.URL, }) return pw.Close() })