Commit Graph

5953 Commits

Author SHA1 Message Date
Paul "TBBle" Hampson 71f11db8a3 Annotate bare ErrNotImplemented returns
This makes it possible to see _what_ is not implemented from the caller.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-16 20:16:11 +10:00
Maksym Pavlenko 4318fa9c1f
Merge pull request #4376 from AkihiroSuda/test-v1-shim
CI: add back shim v1 test
2020-07-15 22:21:12 -07:00
Maksym Pavlenko 3560a453e4
Merge pull request #4385 from AkihiroSuda/fix-cri-dead-link
RELEASES.md: fix a dead link
2020-07-15 22:19:46 -07:00
Akihiro Suda decbb04997
RELEASES.md: fix a dead link
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-16 11:21:06 +09:00
Derek McGowan f4ebe02f98
Merge pull request #4377 from AkihiroSuda/ci-remove-unreferenced-variable
CI: remove an unreferenced variable
2020-07-15 18:40:58 -07:00
Akihiro Suda b2ee43206b
CI: add back shim v1 test
We are going to deprecate shim v1 (#4365), but it is still early to
disable the tests for them

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-16 10:40:47 +09:00
Akihiro Suda c4418bb3a8
CI: remove an unreferenced variable
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-16 10:23:43 +09:00
Derek McGowan c763f3afc2
Merge pull request #4380 from estesp/clashing-containerds
Don't clash with GH Actions runner's containerd
2020-07-15 12:38:01 -07:00
Phil Estes b47c7ec274
Update to later version of critools with timing fix.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2020-07-15 14:43:58 -04:00
Phil Estes 7af3d7e176
Don't clash with GH Actions runner's containerd
GH runners now have a systemd-run containerd running on the standard
socket, impacting the CRI test's expectation of our CI-built containerd
running there.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2020-07-15 13:57:32 -04:00
Phil Estes d2776ef6bc
Merge pull request #4375 from AkihiroSuda/go-1.13.13
Bump Go 1.13.13
2020-07-15 08:44:08 -04:00
Akihiro Suda c520f819a2
Bump Go 1.13.13
Includes security fixes to the `crypto/x509` and `net/http` packages.

https://github.com/golang/go/issues?q=milestone%3AGo1.13.13+label%3ACherryPickApproved

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-15 14:24:48 +09:00
Phil Estes 4bec2dbd4f
Merge pull request #4373 from tonistiigi/darwin-variant-log
platforms: don’t log arm variant error on darwin
2020-07-14 11:36:29 -04:00
Tonis Tiigi 7119a2a152 platforms: don’t log arm variant error on darwin
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-07-14 08:16:14 -07:00
Derek McGowan 5d470fa23b
Merge pull request #4372 from dmcgowan/prepare-1.4-beta.2
Update version to 1.4.0-beta.2
2020-07-13 09:23:07 -07:00
Derek McGowan fc04485186
Update version to 1.4.0-beta.2
Signed-off-by: Derek McGowan <derek@mcg.dev>
2020-07-13 07:42:50 -07:00
Akihiro Suda 9cd02b5953
Merge pull request #4371 from thaJeztah/bump_cgroups
vendor: containerd/cgroups 318312a373405e5e91134d8063d04d59768a1bff
2020-07-13 23:12:52 +09:00
Sebastiaan van Stijn cc493eba3f
vendor: containerd/cgroups 318312a373405e5e91134d8063d04d59768a1bff
full diff: 0dbf7f05ba...318312a373

relevant changes:

- cpuset: typo fix for function name
- Retry file writes on EINTR errors to work with Go 1.14 asynchronous preemption
- Various linting issues and cleanup

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-13 14:54:05 +02:00
Akihiro Suda a6697c1d5f
Merge pull request #4369 from estesp/step-title
Make title similar with other CI workflow jobs
2020-07-11 14:59:58 +09:00
Phil Estes 3f427d3d63
Merge pull request #4367 from gaurav1086/TestExchangeFilters_fix_deadlock
[events/exchange_test] Fix deadlock in TestExchangeFilters
2020-07-10 15:12:15 -04:00
Phil Estes 7855b0a781
Make title similar with other CI workflow jobs
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2020-07-10 15:03:26 -04:00
Gaurav Singh 852587cd18 [events/exchange_test] Fix deadlock in TestExchangeFilters
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Remove sync

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-07-10 10:27:42 -04:00
Wei Fu 334f567e01
Merge pull request #4366 from murat-kilic/update-build-doc-for-golang-req
Update build doc with Go 1.13 requirement
2020-07-09 11:23:25 +08:00
Murat d47c0392df Updating build doc to require Go 1.13
Signed-off-by: Murat Kilic <murat.kilic@gmail.com>
2020-07-08 22:42:19 -04:00
Phil Estes 4f979f0655
Merge pull request #4364 from AkihiroSuda/ci-v1-v2-clarity
CI: {v1, v2} -> io.containerd.runc.{v1,v2}
2020-07-08 08:49:04 -04:00
Akihiro Suda 09f4533941
CI: {v1, v2} -> io.containerd.runc.{v1,v2}
The previous names were confusing because v1 may look like shim API v1 (io.containerd.runtime.v1.linux").
Also, v2 may look like cgroup v2.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-08 14:12:56 +09:00
Derek McGowan 68b9b8f896
Merge pull request #4259 from estesp/fuse-overlayfs
Support helpers for label-based userns remapping
2020-07-06 11:22:34 -07:00
Wei Fu fa0f7cbb41
Merge pull request #4355 from fuweid/fix4342
cio: should not open fifo for stderr if terminal
2020-07-06 20:13:03 +08:00
Akihiro Suda 422c401a48
Merge pull request #4353 from gaurav1086/TestExchangeBasic_fix_deadlock
[events] Fix deadlock in TestExchangeBasic
2020-07-06 18:03:07 +09:00
Mike Brown 5c695da77b
Merge pull request #4362 from mikebrow/update-cri-enable-force-remove
update to latest containerd/cri
2020-07-05 18:42:35 -05:00
Mike Brown d7e59b141c enable removecontainer to forcibly remove containers
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2020-07-05 12:47:43 -05:00
Akihiro Suda 3919dbcba2
Merge pull request #4357 from dims/update-runc-to-v1.0.0-rc91
Update runc to v1.0.0-rc91 and pickup latest containerd/cri
2020-07-05 12:04:28 +09:00
Davanum Srinivas 963625d7bc
Update runc to v1.0.0-rc91
https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc91

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-07-04 14:46:03 -04:00
Akihiro Suda 5e7751b1d3
Merge pull request #4360 from AkihiroSuda/crun-014
update crun to v0.14
2020-07-03 20:05:09 +09:00
Wei Fu f821b77151
Merge pull request #4272 from dmcgowan/update-registry-host-config
Registry config header support and fixes
2020-07-03 18:47:46 +08:00
Akihiro Suda c041970e99
update crun to v0.14
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-03 12:59:04 +09:00
Wei Fu c91c72c867
Merge pull request #4239 from thaJeztah/md2manv2_urfave_bump
update urfave/cli v1.22.1, go-md2man v2.0.0, blackfriday v2.0.1
2020-07-02 17:16:56 +08:00
Sebastiaan van Stijn a6dd1f27d9
update urfave/cli v1.22.1, go-md2man v2.0.0, blackfriday v2.0.1
This updates urfave/cli and its dependencies to v1.22.1:

- diff for urfave/cli: https://github.com/urfave/cli/compare/v1.22.0...v1.22.1
- diff for go-md2man: https://github.com/cpuguy83/go-md2man/compare/v1.0.10...v2.0.0
- diff for blackfriday: https://github.com/russross/blackfriday/compare/v1.5.2...v2.0.1

Also adds github.com/shurcooL/sanitized_anchor_name as a new dependency, which is
used by russross/blackfriday, but will be removed again in a future update (dependency
is already removed on the v2 branch through russross/blackfriday@919b1f5b9b

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-02 10:48:45 +02:00
Wei Fu 68b736ddfc cio: should not open fifo for stderr if terminal
fix: #4342

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2020-07-02 11:49:31 +08:00
Akihiro Suda 468d4e1ccf
Merge pull request #4356 from estesp/actions-fixes
Minor actions fixes/updates
2020-07-02 12:25:53 +09:00
Phil Estes 57a9f0b50d
Minor actions fixes/updates
- always apt-get update before installing packages
- move to tagged official create_release action

The official GH create_release action now has support for body text from
file.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2020-07-01 14:27:10 -04:00
Gaurav Singh 148cc8f713 [events] Fix deadlock in TestExchangeBasic
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-06-29 23:28:00 -04:00
Phil Estes 97a3f52c63
Merge pull request #4351 from cpuguy83/pull_mediatype_debug
Change log for unknown mt to debug
2020-06-29 16:05:19 -04:00
Brian Goff aa191deff1 Change log for unknown mt to debug
This log message shows up in the client's logs. For any media type that
the client doesn't know about it will wind up with a warning log.
Downgrade this to debug since it is more of a development concern.

We encountered this trying to fetch Docker plugins which has a media
type for plugin configs.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-06-29 11:21:21 -07:00
Phil Estes 45c28f56b2
Add ability to use remapper labels versus remapping snapshot helper
A simple starting point for testing the remapper labels with
fuse-overlayfs snapshotter

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2020-06-29 10:21:55 -04:00
Phil Estes 01a53c24b3
Merge pull request #4347 from Flowdalic/allow-rseq-seccomp
seccomp: allow 'rseq' syscall in default seccomp profile
2020-06-26 13:42:48 -04:00
Phil Estes c76bf55047
Make unique snapshotter opt for label-assisted remapping
Provide a snapshotter opt to add labels used by any supporting
snapshotter to handle user namespace filesystem remapping. Currently
supported by the fuse-overlayfs snapshotter, and others can use this
information as well.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2020-06-26 13:14:28 -04:00
Jie Hao Liao 331793118f
allow user namespace remapping using snapshotters
Signed-off-by: Jie Hao Liao <liaojh1998@gmail.com>
2020-06-26 12:44:43 -04:00
Florian Schmaus e977564a8b seccomp: allow 'rseq' syscall in default seccomp profile
Restartable Sequences (rseq) are a kernel-based mechanism for fast
update operations on per-core data in user-space. Some libraries, like
the newest version of Google's TCMalloc, depend on it [1].

This also makes dockers default seccomp profile on par with systemd's,
which enabled 'rseq' in early 2019 [2].

1: https://google.github.io/tcmalloc/design.html
2: systemd/systemd@6fee3be

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
2020-06-26 17:10:05 +02:00
Michael Crosby c751807409
Merge pull request #4325 from c445/mountinfo-linux-double-quotes
Cope with double quotes in Linux Mountinfo
2020-06-24 15:47:39 -04:00