Commit Graph

4778 Commits

Author SHA1 Message Date
c3f280e495 Merge pull request #2925 from tianon/update-systemd-service
Update systemd service file with suggestions from @seblu
Upstream-commit: d8ee08ba7b5885352641b8ec6a9b427fb9bef62f
Component: engine
2013-11-29 21:25:08 -08:00
2c50a80ad5 Merge pull request #2926 from crosbymichael/attach-wait
Return process exit code for attach
Upstream-commit: 62b1faf28c25a678a50f59251cccd2316239cc4a
Component: engine
2013-11-29 18:49:24 -08:00
3d5cd2c032 Merge pull request #2781 from shykes/engine-status-int
Engine: integer status, better streaming, lots of tests
Upstream-commit: 2dac7b5209d1b7926889c8ecc04ec984fc73865f
Component: engine
2013-11-29 17:57:28 -08:00
0cc237f91a Merge pull request #2964 from andrewsmedina/gofmt2
go fmt.
Upstream-commit: 1890301e679d0e681e85c540f5af49d3ffd19771
Component: engine
2013-11-29 17:19:28 -08:00
3692eceab9 Fix a bug in Output.Write, and improve testing coverage of error cases.
Upstream-commit: 35d54c665575d48954db9422702c0324f00ebc62
Component: engine
2013-11-30 00:25:46 +00:00
b5aa8a6224 Engine: better testing of streams and of basic engine primitives. Coverage=81.2%
Upstream-commit: 3553a803e3a474207296f5542182ecbc569ca1d8
Component: engine
2013-11-30 00:25:46 +00:00
b0f24a88da Engine: integer job status, improved stream API
* Jobs return an integer status instead of a string
* Status convention mimics unix process execution: 0=success, 1=generic error, 127="no such command"
* Stdout and Stderr support multiple thread-safe data receivers and ring buffer filtering
Upstream-commit: a4f8a2494b0fb755db52c68cf61ddc8ff52d2965
Component: engine
2013-11-30 00:25:46 +00:00
94c476ace9 go fmt.
result of `gofmt -w -s .` without vendors.
Upstream-commit: fe72f15e4ab25cc6e96c76d2da2c379569756843
Component: engine
2013-11-29 22:20:59 -02:00
8d638bcd96 Merge pull request #2954 from creack/fix_tests
Fix tests
Upstream-commit: 82cecb34b5363f7c9ee1ba3a40eb283d51b9b482
Component: engine
2013-11-29 15:08:11 -08:00
1514f65e08 Merge pull request #2952 from codeaholics/2126-registry-close-wait
Closing HTTP connection after Registry ping
Upstream-commit: e1278e9ec2441358fe3c93156fc55d6d04cb5c6e
Component: engine
2013-11-29 14:21:52 -08:00
beebec13c7 Merge pull request #2929 from pnasrat/2928-fix-signal-handling
Remove incorrect SIGKILL handler.
Upstream-commit: 0d3f4017cfa8cd77dd0122dfb23a6d192218c335
Component: engine
2013-11-29 14:10:46 -08:00
1f411096dd Add unit test to check bind / server side
Upstream-commit: ab35aef6b5b15c7c2d7aff4315025563b93ee379
Component: engine
2013-11-29 13:43:37 -08:00
a0f64049ec Merge branch 'master' into fix_tests
Upstream-commit: bb284ce59d661d9ec6e8dc9fd5b8fe21b588484b
Component: engine
2013-11-29 13:17:36 -08:00
ccfe71909e Reduce the timeout for restart/stop
Upstream-commit: 34353e782e1cdbd6aae078b3e660875e703d35ff
Component: engine
2013-11-29 11:08:01 -08:00
2135aa6aca Fix behavior of tty tests
Upstream-commit: 86c00be180f1e6831ca426576a55f5106f156448
Component: engine
2013-11-29 10:17:25 -08:00
90e04ec65d Remove an unit test from integrations test
Upstream-commit: 2ec1146679598837cd8bab62dc672bcda2a9610c
Component: engine
2013-11-29 10:17:04 -08:00
30abdabd65 Fix TestAttachDetachTruncatedID (behavior + tty issue)
Upstream-commit: 2e6a958612d65a0665a9396372fe82706987d085
Component: engine
2013-11-29 10:03:36 -08:00
e107dad484 Create helper function for tests
Upstream-commit: 697be6aaa009cd2bea5f07ae0b0780703e6565e1
Component: engine
2013-11-29 10:02:22 -08:00
27de84e1e0 Make sure the termcaps are restored after hijack
Upstream-commit: c13821ad0bfa596a8bbc06a494500ee39a35e429
Component: engine
2013-11-29 09:55:15 -08:00
caf6f256a4 Fix term.RestoreTerminal behavior
Upstream-commit: aa68656cd3aefe2a64dc259e8d19c72010e4f85b
Component: engine
2013-11-29 09:52:44 -08:00
4a151bb6e6 Actually test the detach (was not the case before)
Upstream-commit: 63d6cbe3e4d6f29c2491b0f1f505ef79b7191d8e
Component: engine
2013-11-29 09:11:20 -08:00
eab6c90e20 Make the PTY in raw mode before assert test (TestAttachDetach)
Upstream-commit: 67e9e0e11bb932ef9113ac91b2c1b0af6ee4db6d
Component: engine
2013-11-29 08:29:56 -08:00
fb39460944 Add a GetPtyMaster() method to container to retrieve the pty from an other package.
We could also have put ptyMaster public, but then we need to ignore it in json
otherwise the Marshalling fails. I think it is cleaner that way.
Upstream-commit: fbebe20bc69648c046e3818ca744ae246092a782
Component: engine
2013-11-29 07:40:44 -08:00
9f9072c9ad Make sure the container is running before testing against it (TestAttachDetach)
Upstream-commit: e535f544c7bc9c32b23e5505110a5513ff36be5a
Component: engine
2013-11-29 07:39:51 -08:00
08c53cdcf1 Closing connection after ping
Upstream-commit: fe727e2a87fa086d728664c396fd44f4be6d6afd
Component: engine
2013-11-29 12:07:20 +00:00
34e8bb0db2 Merge pull request #2692 from SvenDowideit/add-specific-feedback-for-bad-ADD
Add specific feedback for ADD outside context
Upstream-commit: 926f7b579e48dcd5bda26bcd7a0ef0e25aed94da
Component: engine
2013-11-28 17:55:11 -08:00
43b168be86 Merge pull request #2357 from ulyssecarion/master
Document setting up Vagrant-docker with the remote API
Upstream-commit: ff5747728c6a0bde71108c86b20b0880c2d3d6e4
Component: engine
2013-11-28 17:54:05 -08:00
4a247aee4e Merge pull request #2901 from dkumor/patch-1
Deleted references to AUFS in Arch docs
Upstream-commit: 6c5699363954d145bd51c6069db587b1aceece8a
Component: engine
2013-11-28 17:39:26 -08:00
b5bdf9e788 Merge pull request #2894 from brunoqc/patch-1
Update postgresql's version in example
Upstream-commit: 139644895e39fd452d0aa7b2835f4bdd0f2ec461
Component: engine
2013-11-28 17:16:25 -08:00
bc039de754 Merge pull request #2941 from codeaholics/2940-invalid-registry-calls
Stop invalid calls to Registry
Upstream-commit: cca9e51f5d9747dc03830f0c255543a0c9137cc3
Component: engine
2013-11-28 17:00:22 -08:00
1c0208b60e Merge pull request #2808 from tianon/run-all-tests
Update test scripts to always run ALL tests, even when some fail
Upstream-commit: 668d22be5485e3f25f836788d62683828cd621fe
Component: engine
2013-11-28 16:58:31 -08:00
04d46060bc Make CopyEscapable consistent with Copy and return nil in case of success instead of io.EOF
Upstream-commit: 77c94175bdc387e7f43876f7097b970f67116054
Component: engine
2013-11-28 16:57:51 -08:00
3fa08922b3 Merge pull request #2923 from creack/refactor_cgo_in_go
Refactor attach loop device in pure Go
Upstream-commit: f94ea7769fd3e47c5914eb2fdad62c9d2162c339
Component: engine
2013-11-28 16:52:38 -08:00
49a166224c Merge pull request #2844 from tianon/fix-mount-spaces
Add space-escaping to path parts of lxc.mount.entry lines in generated lxc.conf, allowing for spaces in mount point names
Upstream-commit: 39bec226c0cfb76ab3486129a6e02b1572653051
Component: engine
2013-11-28 16:48:36 -08:00
a63f83c19a Merge pull request #2881 from yrashk/patch-1
Fix command line help for docker save
Upstream-commit: 677e2ad92ef526918e5054b5afe1fbd858219fa3
Component: engine
2013-11-28 16:42:40 -08:00
014494a3f4 Make race condition more obvious by performing more asserts
Upstream-commit: ad43d88af5bda8dc5b3d06f64de380bb985191ba
Component: engine
2013-11-28 16:12:45 -08:00
36cc89d71d Return process exit code for attach
Fixes #2240
Upstream-commit: 1fe1b216ad9b60f6b25a5dadda5fe26c3602b054
Component: engine
2013-11-28 15:25:50 -08:00
108a9c911c Merge pull request #2818 from pnasrat/docker-pprof
Wire in pprof handlers.
Upstream-commit: 3faf450f11d92a6cbcf498ee85b57f4743612aac
Component: engine
2013-11-28 14:43:13 -08:00
7a655fcbd8 Merge pull request #2937 from jwarwick/hello_world_doc
Remove explanation of removed argument
Upstream-commit: a0525d90abd7ab3c95ae90302ffcc8c69fe6f429
Component: engine
2013-11-28 14:35:17 -08:00
f98721fac4 Merge pull request #2922 from ath0mas/patch-1
Restore 'save' paragraph
Upstream-commit: 14425c1690d56f8c472f93a1d01bfd40cd3a4f78
Component: engine
2013-11-28 14:15:43 -08:00
6805e23c72 Merge pull request #2888 from tianon/changelog-fix
Fix CHANGELOG: we ended up not merging the btrfs driver for last night's release
Upstream-commit: aae23255a0ce02d96dd58267e3adf503aabeb458
Component: engine
2013-11-28 12:24:56 -08:00
908bc35224 Improve devmapper unit tests with syscall/ioctl
Upstream-commit: 261bd0d187cbc8f650d77e5c93872332c290b164
Component: engine
2013-11-28 11:53:09 -08:00
391598f889 Merge pull request #2892 from creack/add_cli_test-1
Add ParseRun unit tests
Upstream-commit: 3d0486979e32c503625dbe96de625f7ebd29e2d6
Component: engine
2013-11-28 11:39:48 -08:00
9eafea47b6 Merge pull request #2913 from pnasrat/2852-deleteimage-performance
Performance of deleteImageAndChildren.
Upstream-commit: 377817db1b2fadf9c4294d8356aa7c75eb12e83a
Component: engine
2013-11-28 11:20:43 -08:00
a718116c6b Correct comments
Upstream-commit: a990b3aeb9640d35e73f99030e03e58e71924ed5
Component: engine
2013-11-28 11:02:53 -08:00
798ad27de8 Wire in pprof handlers.
Based on http://stackoverflow.com/questions/19591065/profiling-go-web-application-built-with-gorillas-mux-with-net-http-pprof
Upstream-commit: 9f46779d42c9b90a70c3c434d03a4502070e1b6d
Component: engine
2013-11-28 13:46:58 -05:00
799ccd9aee Rename file for consistency
Upstream-commit: 533067bba47acec0f65dc7e499944b9402bafb04
Component: engine
2013-11-28 10:37:03 -08:00
752dcb1a87 Stop invalid calls to Registry
This code was resulting in a call for
/v1/images/<namespace>/<repository>/ancestry which the Registry
doesn't understand. Furthermore, it was masking the original
error.
Upstream-commit: d47507791e14908e78cf38d415a9863c9ef75c5e
Component: engine
2013-11-28 16:43:28 +00:00
62f27e0053 Remove incorrect SIGKILL handler.
As per POSIX signal handling SIGKILL does not work.

Fixes #2928
Upstream-commit: bdfe8ed403591022ac46371798783c7bbe6134c9
Component: engine
2013-11-28 10:42:06 -05:00
4b1fc75599 Remove explanation of removed argument
Upstream-commit: f1e44e0b0c6eff011c596008c75f7fdff09dbf5e
Component: engine
2013-11-28 09:55:15 -05:00