Claudiu Belu
6020189003
integration: Enable some tests for Windows
...
Some of the tests in containerd/integration/client/ are not
currently being run on Windows, even though they can pass.
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-13 16:04:46 +03:00
zounengren
1f1cad3912
io/ioutil package has been deprecated in Go 1.16 that replaces io/ioutil functions
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2021-10-13 09:18:31 +08:00
Derek McGowan
0855725370
Merge pull request #6115 from zouyee/utest
...
close Writer after use which may memory leak
2021-10-12 12:59:03 -07:00
Phil Estes
3f417d61e0
Merge pull request #5778 from claudiubelu/windows/adds-resource-limits
...
Adds Windows resource limits support
2021-10-12 12:56:44 -07:00
zounengren
46be069379
close Writer after use which may leak mem
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2021-10-12 17:25:08 +08:00
Derek McGowan
5b29542cbe
Merge pull request #6098 from dmcgowan/prepare-1.6.0-beta.0
...
Prepare release notes for v1.6.0-beta.0
2021-10-11 11:29:51 -07:00
Phil Estes
37e9efbe6a
Merge pull request #6105 from dmcgowan/test-add-error-testcontainerdrestart
...
Add error message to in TestContainerdRestart integration test
2021-10-11 09:55:33 -07:00
Phil Estes
2e3c8d5e63
Merge pull request #6110 from rgl/rgl-new-container-doc-typo
...
Fix typo in the NewContainer function documentation
2021-10-11 09:10:35 -07:00
Derek McGowan
1abe505121
Prepare release notes for v1.6.0-beta.0
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-11 08:42:07 -07:00
Derek McGowan
c5947557d8
Add error message to in TestContainerdRestart integration test
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-11 08:23:31 -07:00
Phil Estes
6927fc3276
Merge pull request #6104 from dmcgowan/update-cgroups
...
Update cgroups to v1.0.2
2021-10-10 20:17:07 -04:00
Rui Lopes
072a7074b4
Fix typo in the NewContainer function documentation
...
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
2021-10-10 19:46:55 +01:00
Fu Wei
193bafc42c
Merge pull request #6100 from jonyhy96/cleanup-test
2021-10-09 18:54:16 +08:00
haoyun
ac2df3ba9a
test: check file content after mount
...
Signed-off-by: haoyun <yun.hao@daocloud.io>
2021-10-09 18:19:34 +08:00
Derek McGowan
18d483b236
Update cgroups to v1.0.2
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-08 17:48:33 -07:00
Mike Brown
a4663097ec
Merge pull request #6107 from estesp/test-timeout
...
Update test timeout based on recent cancellations
2021-10-08 19:16:54 -05:00
Phil Estes
4ed3c524cf
Update test timeout based on recent cancellations
...
Signed-off-by: Phil Estes <estesp@amazon.com>
2021-10-08 16:10:55 -07:00
Derek McGowan
3f033aeff3
Merge pull request #6106 from dmcgowan/test-cri-teardown-check-pid
...
Check the pid in cri test teardown
2021-10-08 14:44:44 -07:00
Derek McGowan
d252a293df
Remove extra test_teardown
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-08 13:08:13 -07:00
Derek McGowan
4a569c8894
Check the pid in cri test teardown
...
Prevent the test from failing when no pid is found
during teardown.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-08 13:06:18 -07:00
Derek McGowan
cb6fb93af5
Merge pull request #6011 from crosbymichael/schedcore
...
add runc shim support for sched core
2021-10-08 10:42:16 -07:00
Derek McGowan
60ffa3ff7d
Merge pull request #5579 from claudiubelu/integration/restart-containerd
...
integration: Enables Windows containerd restart test
2021-10-08 10:33:10 -07:00
Derek McGowan
c01ebe7cfb
Merge pull request #6099 from dcantah/update-hcsshim-0.9
...
vendor: Bump hcsshim to 0.9.0
2021-10-08 10:28:19 -07:00
Derek McGowan
26ee1b1ee5
Merge pull request #4695 from crosbymichael/cri-class
...
[cri] Add CNI conf based on runtime class
2021-10-08 09:27:49 -07:00
Michael Crosby
f1054dbbde
fix integration client vendor
...
Signed-off-by: Michael Crosby <michael@thepasture.io>
2021-10-08 16:20:21 +00:00
Michael Crosby
e48bbe8394
add runc shim support for sched core
...
In linux 5.14 and hopefully some backports, core scheduling allows processes to
be co scheduled within the same domain on SMT enabled systems.
The containerd impl sets the core sched domain when launching a shim. This
allows a clean way for each shim(container/pod) to be in its own domain and any
additional containers, (v2 pods) be be launched with the same domain as well as
any exec'd process added to the container.
kernel docs: https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/core-scheduling.html
Signed-off-by: Michael Crosby <michael@thepasture.io>
2021-10-08 16:18:09 +00:00
Phil Estes
88e1cf5fb5
Merge pull request #6102 from thaJeztah/bump_go_1.17.2
...
Update Go to 1.17.2
2021-10-08 10:44:22 -04:00
Sebastiaan van Stijn
de1a39bf32
Update Go to 1.17.2
...
go1.17.2 (released 2021-10-07) includes a security fix to the linker and misc/wasm
directory, as well as bug fixes to the compiler, the runtime, the go command, and
to the time and text/template packages. See the Go 1.17.2 milestone on our issue
tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.17.2+label%3ACherryPickApproved
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-08 15:26:34 +02:00
Daniel Canter
46b152f81b
vendor: Bump hcsshim to 0.9.0
...
This change bumps hcsshim to 0.9.0. Main thing this tag contains is support for
Kubernetes Host Process containers
See: https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/
Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2021-10-07 21:00:35 -07:00
Claudiu Belu
fb4432c24a
integration: Enables TestVolumeCopyUp for Windows
...
The image that the test is used for Windows has busybox included,
which means we can use sleep.
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-07 19:30:42 -07:00
Claudiu Belu
0ba3532f54
integration: Enables TestRuntimeHandler for Windows
...
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-07 18:20:59 -07:00
Phil Estes
e648fa2e81
Merge pull request #5933 from claudiubelu/integration/import-multilayer
...
integration: Adds test for multilayer image import
2021-10-07 14:09:25 -04:00
Derek McGowan
2d48b6a864
Merge pull request #6031 from fuweid/carry-5648
...
runtime: should fail fast if dial error on shim
2021-10-07 09:43:10 -07:00
Michael Crosby
7b8a697f28
Merge pull request #6034 from claudiubelu/windows/fixes-image-volume
...
Fixes Windows containers with image volumes
2021-10-07 11:50:01 -04:00
Claudiu Belu
830b3c26ec
integration: Enable some tests for Windows (part 2)
...
Some of the tests that are currently running only on Linux can be made
to run on Windows with a few changes.
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-07 08:13:01 -07:00
Akihiro Suda
228265688a
Merge pull request #6094 from zouyee/go117
...
run `gofmt` with GO 1.17
2021-10-07 23:13:12 +09:00
zounengren
3a713811be
run gofmt
with Go 1.17
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2021-10-07 20:16:59 +08:00
Phil Estes
7b2a5f1c0d
Merge pull request #6088 from AkihiroSuda/pkg-cap-fix-comment
...
pkg/cap: remove an outdated comment
2021-10-06 10:01:20 -04:00
Phil Estes
6e5ce14863
Merge pull request #6066 from cpuguy83/fix_tracing_attrs_usage
...
Update go otel 1.0.1
2021-10-06 10:00:50 -04:00
Claudiu Belu
96018b7db9
vendor: Updates go-cni
...
This update will allow us to forcefully delete a Windows sandbox if its
endpoint cannot be found anymore.
Fixes : #6135
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-06 05:35:53 -07:00
Akihiro Suda
703b86533b
pkg/cap: remove an outdated comment
...
pkg/cap no longer depends on github.com/syndtr/gocapability
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-10-06 13:24:30 +09:00
Brian Goff
1ee2bff0e0
Update go otel 1.0.1
...
This fixes the issue with the usage of the deprecated attribute.Any
function that original caused build issues.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-10-06 00:42:56 +00:00
Derek McGowan
79e35892c8
Merge pull request #6086 from estesp/add-adopters
...
Update ADOPTERS.md with additional uses
2021-10-05 16:50:34 -07:00
Maksym Pavlenko
97e2016409
Merge pull request #6082 from Dragoncell/cgroupv2_fix
...
modify the way for checking cos
2021-10-05 16:21:37 -07:00
Jiaming Xu
b9a0c5080a
modify the way for checking cos
...
Signed-off-by: Jiaming Xu <jiamingxu@google.com>
address feedback
remove empty spaces
address feedbacks
2021-10-05 22:25:39 +00:00
Phil Estes
c528d2c39f
Update ADOPTERS.md with additional uses
...
Signed-off-by: Phil Estes <estesp@amazon.com>
2021-10-05 16:13:22 -04:00
Claudiu Belu
5b222d54ad
commands: Enables task metrics for Windows
...
The command already contains logic for Windows container
metrics, we just need to enable the command.
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-05 09:25:12 -07:00
Derek McGowan
d193dc2b8a
Merge pull request #5915 from AdamKorcz/fuzz12
...
Fuzzing: Add fuzzers + small modifications
2021-10-04 10:32:05 -07:00
Derek McGowan
4acb18c957
Merge pull request #6081 from adelina-t/fix_tests
...
Fixes for Windows CI
2021-10-04 10:29:31 -07:00
Derek McGowan
3f00006f72
Merge pull request from GHSA-c2h3-6mxw-7mvq
...
v1 & v2 runtimes: reduce permissions for bundle dir
2021-10-04 08:24:47 -07:00