Skip to content

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented May 14, 2018

Full diff: moby/swarmkit@bd69f6e...0fe3f12

Changes included:

Updated vendors related to the above;

Bump Google Cloud SDK for gRPC

Update gRPC, protobuf, to match containerd 1.1.0

Update BuildKit and dependencies

Updates BuildKit to current master (github.com/moby/buildkit): moby/buildkit@be6da00...7a4a2a2

Update vendored dependencies to match BuildKit:

@thaJeztah
Copy link
Member Author

thaJeztah commented May 14, 2018

ping @cyli PTAL (not sure if the API changes were still desirable)

Copy link
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented May 14, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@ca25df3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #37059   +/-   ##
=========================================
  Coverage          ?   35.31%           
=========================================
  Files             ?      615           
  Lines             ?    45956           
  Branches          ?        0           
=========================================
  Hits              ?    16230           
  Misses            ?    27583           
  Partials          ?     2143

@thaJeztah thaJeztah changed the title Bump swarmkit to 8aa9c33bcdff9ea38fc79e0b1d054199917513f3 Bump swarmkit to b39ef4960a3170b36cef5c6dc79e170e0c95c81a May 15, 2018
@thaJeztah
Copy link
Member Author

Bumped once more to include moby/swarmkit#2452

@cpuguy83
Copy link
Member

Compile issues.

@thaJeztah
Copy link
Member Author

thaJeztah commented May 15, 2018

dang; looks like issues in other vendors 😓

17:50:06 # github.com/docker/docker/vendor/github.com/moby/buildkit/session/filesync
17:50:06 vendor/github.com/moby/buildkit/session/filesync/filesync.go:69:13: undefined: metadata.FromContext
17:50:06 vendor/github.com/moby/buildkit/session/filesync/filesync.go:185:8: undefined: metadata.NewContext
17:50:33 # github.com/docker/docker/vendor/cloud.google.com/go/logging/apiv2
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:167:11: undefined: metadata.FromContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:168:8: undefined: metadata.NewContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:202:11: undefined: metadata.FromContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:203:8: undefined: metadata.NewContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:218:11: undefined: metadata.FromContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:219:8: undefined: metadata.NewContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:234:11: undefined: metadata.FromContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:235:8: undefined: metadata.NewContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:250:11: undefined: metadata.FromContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:251:8: undefined: metadata.NewContext
17:50:33 vendor/cloud.google.com/go/logging/apiv2/config_client.go:251:8: too many errors

@cpuguy83
Copy link
Member

Working on gcloud.

@thaJeztah
Copy link
Member Author

Have a bump, but more failures, let me push what I have right now

@thaJeztah
Copy link
Member Author

Building: bundles/binary-daemon/dockerd-dev
# github.com/docker/docker/vendor/google.golang.org/genproto/googleapis/rpc/status
vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go:111:28: undefined: proto.InternalMessageInfo
# github.com/docker/docker/vendor/google.golang.org/genproto/googleapis/api/label
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go:86:37: undefined: proto.InternalMessageInfo
# github.com/docker/docker/vendor/google.golang.org/genproto/protobuf/field_mask
vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go:258:31: undefined: proto.InternalMessageInfo
# github.com/docker/docker/vendor/google.golang.org/genproto/googleapis/api/annotations
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go:63:26: undefined: proto.InternalMessageInfo
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go:349:30: undefined: proto.InternalMessageInfo
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go:614:39: undefined: proto.InternalMessageInfo

Copy link
Contributor

@cyli cyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes themselves LGTM - the API changes are just in swarmkit, and the FIPS boolean will just be false here since it's not routed through to the engine.

Sorry about the vendor issues :|

@thaJeztah thaJeztah force-pushed the bump-swarmkit branch 2 times, most recently from 2627771 to 7bdfb24 Compare May 16, 2018 18:50
@thaJeztah
Copy link
Member Author

Bumped BuildKit a bit, and looks to be building now (CI is down, so don't know if it passes)

@thaJeztah
Copy link
Member Author

^^ WARNING: CI is down; don't be fooled an think it's green 😅

@thaJeztah thaJeztah force-pushed the bump-swarmkit branch 3 times, most recently from a5a9e39 to 81f1a1f Compare May 17, 2018 01:00
@thaJeztah
Copy link
Member Author

01:02:40 integration/build/build_session_test.go:88:34:warning: cannot use "foo1" (constant of type string) as context.Context value in argument to session.NewSession: missing method Deadline (gosimple)
01:02:40 integration/build/build_session_test.go:88:47:warning: too few arguments in call to session.NewSession (gosimple)

@thaJeztah
Copy link
Member Author

hmf, looks like we need to re-vndr;

13:08:18  M vendor/github.com/containerd/continuity/fs/copy.go
13:08:18  M vendor/github.com/containerd/continuity/fs/copy_linux.go
13:08:18  M vendor/github.com/containerd/continuity/sysx/xattr_linux.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_386.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_amd64.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_arm.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_arm64.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_ppc64.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_ppc64le.go
13:08:18 ?? vendor/github.com/containerd/continuity/sysx/xattr_linux_s390x.go

thaJeztah and others added 6 commits June 5, 2018 10:53
Changes included:

- moby/swarmkit#2594 [fips] Support a flag that indicates that the cluster requires mandatory FIPS mode on all nodes
- moby/swarmkit#2586 [fips] Propagate the FIPS boolean to the manager, raft storage layer, and raft DEK management

Signed-off-by: Sebastiaan van Stijn <[email protected]>
- update github.com/docker/swarmkit to b39ef49
- update google.golang.org/grpc to v1.7.5
- update github.com/gogo/protobuf to v0.5
- update github.com/golang/protobuf to 1e59b77b52bf8e4b449a57e6f79f21226d571845

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Updates buildkit to current master (github.com/moby/buildkit): moby/buildkit@be6da00...7a4a2a2

Fixes build failures due to gRPC bumps;
18:54:28 vendor/github.com/moby/buildkit/session/filesync/filesync.go:185:8:warning: NewContext not declared by package metadata (gosimple)
18:54:28 vendor/github.com/moby/buildkit/session/filesync/filesync.go:69:13:warning: FromContext not declared by package metadata (gosimple)
18:54:28 vendor/github.com/moby/buildkit/session/filesync/filesync.go:185:8:warning: NewContext not declared by package metadata (interfacer)
18:54:28 vendor/github.com/moby/buildkit/session/filesync/filesync.go:69:13:warning: FromContext not declared by package metadata (interfacer)
18:54:28 vendor/github.com/moby/buildkit/session/filesync/filesync.go:69:13:warning: FromContext not declared by package metadata (unconvert)
18:54:28 vendor/github.com/moby/buildkit/session/filesync/filesync.go:185:8:warning: NewContext not declared by package metadata (unconvert)

Update vendored dependencies to match BuildKit:

- add github.com/grpc-ecosystem/grpc-opentracing dependency
- add github.com/opentracing/opentracing-go dependency
- downgrade github.com/pkg/errors to a tagged release: pkg/errors@v0.8.0...839d9e9
- github.com/containerd/continuity containerd/continuity@d8fb858...3e8f2ea
  - containerd/continuity#110 Add fstest.CreateSocket
- github.com/containerd/fifo containerd/fifo@fbfb6a1...3d5202a
  - Add apache license to files
- github.com/containerd/go-runc containerd/go-runc@4f6e87a...f271fa2
  - containerd/go-runc#37 runc: be able to get the full ps data (ps -f table)
  - containerd/go-runc#40 Add ConsoleSocket to RestoreOpts
- github.com/containerd/console containerd/console@2748ece...cb7008a
  - containerd/console#21 Add OpenBSD support
- github.com/syndtr/gocapability syndtr/gocapability@2c00dae...db04d3c
  - syndtr/gocapability#11 Add support for ambient capabilities
  - syndtr/gocapability#13 Fix issue moby#12: break too early
- golang.org/x/net golang/net@5561cd9...0ed95ab
- golang.org/x/text golang/text@f72d839...19e5161
- golang.org/x/time golang/time@a4bde12...f51c127
- github.com/tonistiigi/fsutil tonistiigi/fsutil@dea3a0d...93a0fd1
  - tonistiigi/fsutil#16 Don not hang on diskwriter errors
  - tonistiigi/fsutil#17 fix fd leak on send
  - tonistiigi/fsutil#18 avoid possible receiver panic/deadlock on sender error
  - tonistiigi/fsutil#20 receive: read stream to EOF on close
  - tonistiigi/fsutil#21 avoid not-exist error on walker
  - tonistiigi/fsutil#27 Generalize chtimes() implementation for non-linux platforms
  - tonistiigi/fsutil#28 walker: handle parents and subdirs in includepatterns

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester
Copy link
Member

Rebased 😅

@vdemeester
Copy link
Member

09:06:40 --- FAIL: TestLocalVolumeSize (0.00s)
09:06:40 	service_linux_test.go:66: assertion failed: 1024 (ls[1].UsageData.Size int64) != 1 (int64)
09:06:40 FAIL

Flaky unit tests ? can't reproduce this failure on my laptop...

@vdemeester
Copy link
Member

@thaJeztah I guess this has been "taken over" by #36895, am I right ?

@thaJeztah
Copy link
Member Author

Yes, let's close this one; there's some dependencies that could be updated, but we can do separate

@thaJeztah thaJeztah closed this Jun 6, 2018
@thaJeztah thaJeztah deleted the bump-swarmkit branch June 6, 2018 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants