Commit graph

1186 commits

Author SHA1 Message Date
Alexander Morozov
9416996835 api: fix pprof-address usage
those handlers already added by init functions

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-04-05 11:36:51 -07:00
Michael Crosby
604c8d7832 Merge pull request #170 from cyphar/add-pids-stats-limit
api: grpc: add Limit to PidsStats
2016-04-04 13:25:34 -07:00
Michael Crosby
a3ea64a713 Merge pull request #180 from mlaventure/pause-resume-test
Add test for pause/resume commands
2016-04-04 11:56:57 -07:00
Kenfe-Mickael Laventure
1a1d6a96f5 Add test for pause/resume commands
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-04-04 11:10:32 -07:00
Michael Crosby
96034177f9 Merge pull request #183 from tianon/deferred
Fix minor "deferred" typo
2016-04-04 10:27:24 -07:00
Aleksa Sarai
696cb97c28 api: grpc: add Limit to PidsStats
This will be filled by the value of pids.max, allowing clients to render
usage statistics for PIDs in a container.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-04-05 01:47:32 +10:00
Tianon Gravi
13f03c3f7a Fix minor "deferred" typo
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2016-04-02 10:28:05 -07:00
Michael Crosby
cb3c208a4d Merge pull request #172 from mlaventure/better-error-for-pause-and-resume
Return the runtime error message on failed pause and resume calls
2016-04-01 14:25:52 -07:00
Michael Crosby
bf20ebc4a0 Merge pull request #181 from mlaventure/non-fatal-sig-test
Add test checking that non fatal signals are correctly handled
2016-04-01 13:25:13 -07:00
Michael Crosby
31697e9172 Merge pull request #182 from mlaventure/exec-output
Add test for exec'ing new process in existing container
2016-04-01 13:24:43 -07:00
Kenfe-Mickael Laventure
22fabf733c Add test for events order when killing container with exec process
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-31 14:01:56 -07:00
Kenfe-Mickael Laventure
a7f27b8fb9 Add test for killing a long lived exec process
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-31 13:59:00 -07:00
Kenfe-Mickael Laventure
7117935db4 Add test for exec'ing new process in existing container
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-31 13:55:11 -07:00
Kenfe-Mickael Laventure
92c72dc5e9 Add test checking that non fatal signals are correctly handled
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-31 12:08:40 -07:00
Michael Crosby
dd9c474c6c Merge pull request #176 from mlaventure/top-kill-test
Add test for the kill/signal operations
2016-03-31 11:47:25 -07:00
Tõnis Tiigi
07c95162cd Merge pull request #174 from docker/no-pivot
Add no pivot root support
2016-03-30 21:57:24 -07:00
Michael Crosby
47f239706c Add no pivot root support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-30 21:52:15 -07:00
Kenfe-Mickael Laventure
0228e25fa4 Add test for the kill/signal operations
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-30 15:15:33 -07:00
Michael Crosby
2f7c21ed5b Merge pull request #175 from mlaventure/top-test-update
Update busybox top to check validity of running container list
2016-03-30 15:13:31 -07:00
Kenfe-Mickael Laventure
a75c94a195 Update busybox top to check validity of running container list
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-30 15:08:20 -07:00
Michael Crosby
d9c2b13dbc Merge pull request #171 from mlaventure/sleep-test
Sleep test
2016-03-30 15:07:17 -07:00
Kenfe-Mickael Laventure
fd888e8f34 Return the runtime error message on failed pause and resume calls
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-29 11:40:05 -07:00
Kenfe-Mickael Laventure
9455c01bc4 Add a test checking container life duration
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-29 10:47:51 -07:00
Kenfe-Mickael Laventure
203651e774 Allow tests to specify their own events filter routine
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-29 10:47:51 -07:00
Michael Crosby
aa976325f5 Merge pull request #169 from mlaventure/fix-runtime-root
Ensure that --root is passed to oci when using runtime args
2016-03-29 10:45:12 -07:00
Kenfe-Mickael Laventure
f07c5ac52a Ensure that runtimeArgs always get passed down to the oci runtime
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-29 10:32:37 -07:00
Michael Crosby
5b0a213766 Merge pull request #167 from mlaventure/containers-life-events-test
Containers life events test
2016-03-28 17:01:50 -07:00
Kenfe-Mickael Laventure
90009c8a31 Add a test checking a ls container generated events
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 11:35:21 -07:00
Kenfe-Mickael Laventure
3481996e9d Add a way to retrieve a test container event channel
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 11:35:21 -07:00
Kenfe-Mickael Laventure
e6b2ed4b7f Wait maximum 3s per container kill when tearing down a test
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 11:35:21 -07:00
Kenfe-Mickael Laventure
20ee648540 Add per test and suite timeout values to Makefile
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 11:35:16 -07:00
Kenfe-Mickael Laventure
bf20f56615 Rename busybox-NoSuchFile test bundle to busybox-no-such-file
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 10:40:33 -07:00
Michael Crosby
dec6a0dc4d Merge pull request #166 from mlaventure/add-grpc-timeout
Add grpc timeout
2016-03-28 10:23:51 -07:00
Kenfe-Mickael Laventure
4ecebc4e0f Add timeout option for GRPC connection
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 10:09:40 -07:00
Kenfe-Mickael Laventure
6ba0e0fc44 Add integration-test/test-artifacts to .gitignore
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-28 10:09:16 -07:00
Michael Crosby
3d72dc1e4e Merge pull request #161 from calavera/enable_pprof
Enable http pprof connections when pprof-address flag is set
2016-03-25 17:27:08 -07:00
Arnaud Porterie
53cfb9dfbe Merge pull request #160 from mlaventure/integration-test
Integration test
2016-03-25 16:25:29 -07:00
David Calavera
06bcd7d03c Enable http pprof connections when pprof-address is set.
Add flag to specify the address where those connections listen.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-25 17:46:10 -04:00
Kenfe-Mickael Laventure
cb69ab45ee Add initial integration tests framework
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 12:08:51 -07:00
Kenfe-Mickael Laventure
9992d2e1bd Vendor go-check in
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 11:03:48 -07:00
Kenfe-Mickael Laventure
3f388f8638 Take runtimeArgs in account when loading containers state
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 11:03:11 -07:00
Kenfe-Mickael Laventure
bac78851e0 Append error message to internal errors
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 11:03:11 -07:00
Kenfe-Mickael Laventure
e500586d8f Disable metrics if interval is less or equal to 0
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 11:03:11 -07:00
Kenfe-Mickael Laventure
4796ec8d9d Build containerd binaries within the container
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 11:03:11 -07:00
Michael Crosby
ef821ea93f Merge pull request #159 from mlaventure/use-fix-hashes-for-vendoring
Update vendor.sh to use fix hashes
2016-03-25 10:32:18 -07:00
Kenfe-Mickael Laventure
00358ec939 Update vendor.sh to use fix hashes
This ensure that users can reproduce a containerd build exactly as it
was done during release.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-24 19:05:29 -07:00
Michael Crosby
a06dec80cd Merge pull request #151 from mlaventure/ctr-retrieve-missed-events
Retrieve ctr missed events once connection is re-established
2016-03-24 16:57:18 -07:00
Michael Crosby
471bb07521 Merge pull request #158 from docker/runtime-opts
Add runtimeArgs to pass to shim
2016-03-24 15:53:05 -07:00
Michael Crosby
6e4d5b385c Add runtimeArgs to pass to shim
This allows you to pass options like:

```bash
containerd --debug --runtime-args "--debug" --runtime-args
"--systemd-cgroup"
```

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-24 13:31:27 -07:00
Michael Crosby
5f0f162c62 Merge pull request #150 from mlaventure/ctr-reset-termios
Fix cases where ctr wouldn't properly restore the terminal termios
2016-03-23 15:35:57 -07:00