Skip to content
Success

Changes

Summary

  1. Dockerfile: use DEBIAN_FRONTEND=noninteractive (details)
  2. Jenkinsfile: move static and cross compilation to unit-validate stage (details)
  3. hack: unmount leftover daemon root folders (details)
  4. Jenkinsfile: reduce time of integration tests by dividing tests into 3 (details)
  5. add powerpc-master stage to Jenkinsfile (details)
  6. add z-master stage to Jenkinsfile (details)
  7. set timeouts in Jenkinsfile to 2 hrs (details)
  8. use environment for power jobs in Jenkinsfile (details)
  9. use environment for z jobs in Jenkinsfile (details)
  10. be more lenient on junit report gathering in Jenkinsfile (details)
  11. rename z bundles in Jenkinsfile (details)
  12. rename powerpc bundles in Jenkinsfile (details)
  13. fix bundles filenames in Jenkinsfile (details)
  14. fix some spelling mistakes (details)
  15. Jenkinsfile: send junit.xml in the stage that produced it (details)
  16. Jenkinsfile: collect junit.xml for all architectures (details)
  17. Bump golang 1.12.8 (CVE-2019-9512, CVE-2019-9514) (details)
  18. Adjust tests for changes in Go 1.12.8 / 1.11.13 (details)
  19. Dockerfile: update CRIU to v3.12 (details)
  20. docker-py: fix linting issues reported by shellcheck (details)
  21. docker-py: run without tty to disable color output (details)
  22. docker-py: use --mount for bind-mounting docker.sock (details)
  23. docker-py: output junit.xml for test-results (details)
  24. Jenkinsfile: build dynamic binary for docker-py, to match makefile (details)
  25. Jenkinsfile: save docker-py artifacts (details)
Commit 2ff9ac4de5fbd4c6afc215373362ea65f4a44fbc by Sebastiaan van Stijn
Dockerfile: use DEBIAN_FRONTEND=noninteractive
Using a build-arg so that we don't have to specify it for each
`apt-get install`, and to preserve that the `DEBIAN_FRONTEND` is
preserved in the image itself (which changes the default behavior, and
can be surprising if the image is run interactively).`
With this patch, some (harmless, but possibly confusing) errors are no
longer printed during build, for example:
```patch
Unpacking libgcc1:armhf (1:6.3.0-18+deb9u1) ...
Selecting previously unselected package libc6:armhf.
Preparing to unpack .../04-libc6_2.24-11+deb9u4_armhf.deb ...
-debconf: unable to initialize frontend: Dialog
-debconf: (TERM is not set, so the dialog frontend is not usable.)
-debconf: falling back to frontend: Readline
Unpacking libc6:armhf (2.24-11+deb9u4) ...
Selecting previously unselected package libgcc1:arm64.
Preparing to unpack .../05-libgcc1_1%3a6.3.0-18+deb9u1_arm64.deb ...
Unpacking libgcc1:arm64 (1:6.3.0-18+deb9u1) ...
Selecting previously unselected package libc6:arm64.
Preparing to unpack .../06-libc6_2.24-11+deb9u4_arm64.deb ...
-debconf: unable to initialize frontend: Dialog
-debconf: (TERM is not set, so the dialog frontend is not usable.)
-debconf: falling back to frontend: Readline
```
Looks like some output is now also printed on stdout instead of stderr
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Dockerfile (diff)
Commit 251c8dca2832e109f61a589e85d80436b6f53a9c by andrewhsu
Jenkinsfile: move static and cross compilation to unit-validate stage
Signed-off-by: Tibor Vass <tibor@docker.com>
The file was modified Jenkinsfile (diff)
Commit 13df617d4cc98fe31f3ded78902119a1c1505005 by andrewhsu
hack: unmount leftover daemon root folders
Signed-off-by: Tibor Vass <tibor@docker.com>
The file was modified hack/make/.integration-daemon-stop (diff)
Commit e554fb23c82bd672436800dac3ea9739da8e3377 by andrewhsu
Jenkinsfile: reduce time of integration tests by dividing tests into 3
parallel runs
Signed-off-by: Tibor Vass <tibor@docker.com>
The file was modified Makefile (diff)
The file was modified hack/make/test-integration (diff)
The file was modified internal/test/daemon/daemon.go (diff)
The file was modified Jenkinsfile (diff)
Commit c2f9d58375fcccf7b6492acaf1c5ff8a705d0725 by andrewhsu
add powerpc-master stage to Jenkinsfile
The powerpc-master stage will just run the integration-cli tests. The
existing powerpc stage will run the unit tests and the integration
tests. In this way, PR check jobs will be shorter, but all integration
tests will run after PR is merged to master.
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit bdc1c1a02a791fcdf84618939274ef9957cc7ca8 by andrewhsu
add z-master stage to Jenkinsfile
The z-master stage will just run the integration-cli tests. The existing
z stage will run the unit tests and the integration tests. In this way,
PR check jobs will be shorter, but all integration tests will run after
PR is merged to master.
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit bf70a5975d73ba6833b4a644b4057e9b4ba5f6d5 by andrewhsu
set timeouts in Jenkinsfile to 2 hrs
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit 3564b03fbc5e050b4be04512fd1079a5dd355219 by andrewhsu
use environment for power jobs in Jenkinsfile
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit 4e2f39cf1447ffd2abd6d0eb1d828c38b3496aa0 by andrewhsu
use environment for z jobs in Jenkinsfile
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit 0cfc1ec2bdcdb94dcb60dfdfead86aa4aa737195 by andrewhsu
be more lenient on junit report gathering in Jenkinsfile
In case a job fails before even generating a report file.
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit a049ea1a9301b8804775c719f369a7bc8b5cecc9 by andrewhsu
rename z bundles in Jenkinsfile
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit ad29f9e471bcad61b66e813845598c7e61e3385c by andrewhsu
rename powerpc bundles in Jenkinsfile
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit eb30f0ad8448d27cf9303744596ee0310457f0b9 by andrewhsu
fix bundles filenames in Jenkinsfile
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
The file was modified Jenkinsfile (diff)
Commit f6226a2a56c38b790b59393ff4ce7f88f790c811 by qiushida
fix some spelling mistakes
Signed-off-by: SataQiu <qiushida@beyondcent.com>
The file was modified api/swagger.yaml (diff)
The file was modified integration-cli/docker_cli_restart_test.go (diff)
The file was modified MAINTAINERS (diff)
Commit 7f9328ad2e4f2c8aecac9a69f21616943711dc64 by Sebastiaan van Stijn
Jenkinsfile: send junit.xml in the stage that produced it
This will send the results directly after the tests complete, and make
the stage more atomic.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Jenkinsfile (diff)
Commit e2f5b78e780f2ad0d69f7abdfdada17a0ff66bb2 by Sebastiaan van Stijn
Jenkinsfile: collect junit.xml for all architectures
Jenkins groups them per stage, so collecting them for all architectures
is possible (without them conflicting or becoming ambiguous)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Jenkinsfile (diff)
Commit 73b0e4c58995927ab31e0e42351de7cdefe96e55 by Sebastiaan van Stijn
Bump golang 1.12.8 (CVE-2019-9512, CVE-2019-9514)
go1.12.8 (released 2019/08/13) includes security fixes to the net/http
and net/url packages. See the Go 1.12.8 milestone on our issue tracker
for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.12.8
- net/http: Denial of Service vulnerabilities in the HTTP/2
implementation
net/http and golang.org/x/net/http2 servers that accept direct
connections from untrusted
clients could be remotely made to allocate an unlimited amount of
memory, until the program
crashes. Servers will now close connections if the send queue
accumulates too many control
messages.
The issues are CVE-2019-9512 and CVE-2019-9514, and Go issue
golang.org/issue/33606.
Thanks to Jonathan Looney from Netflix for discovering and reporting
these issues.
This is also fixed in version v0.0.0-20190813141303-74dc4d7220e7 of
golang.org/x/net/http2.
net/url: parsing validation issue
- url.Parse would accept URLs with malformed hosts, such that the Host
field could have arbitrary
suffixes that would appear in neither Hostname() nor Port(), allowing
authorization bypasses
in certain applications. Note that URLs with invalid, not numeric ports
will now return an error
from url.Parse.
The issue is CVE-2019-14809 and Go issue golang.org/issue/29098.
Thanks to Julian Hector and Nikolai Krein from Cure53, and Adi Cohen
(adico.me) for discovering
and reporting this issue.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified TESTING.md (diff)
The file was modified Dockerfile.windows (diff)
The file was modified Dockerfile.simple (diff)
The file was modified Dockerfile (diff)
The file was modified Dockerfile.e2e (diff)
Commit 683766613a8c1dca8f95b19ddb7e083bb3aef266 by Sebastiaan van Stijn
Adjust tests for changes in Go 1.12.8 / 1.11.13
``` 00:38:11 === Failed 00:38:11 === FAIL: opts
TestParseDockerDaemonHost (0.00s) 00:38:11     hosts_test.go:87: tcp
tcp:a.b.c.d address expected error "Invalid bind address format:
tcp:a.b.c.d" return, got "parse tcp://tcp:a.b.c.d: invalid port
\":a.b.c.d\" after host" and addr 00:38:11     hosts_test.go:87: tcp
tcp:a.b.c.d/path address expected error "Invalid bind address format:
tcp:a.b.c.d/path" return, got "parse tcp://tcp:a.b.c.d/path: invalid
port \":a.b.c.d\" after host" and addr 00:38:11 00:38:11 === FAIL: opts
TestParseTCP (0.00s) 00:38:11     hosts_test.go:129: tcp tcp:a.b.c.d
address expected error Invalid bind address format: tcp:a.b.c.d return,
got parse tcp://tcp:a.b.c.d: invalid port ":a.b.c.d" after host and addr
00:38:11     hosts_test.go:129: tcp tcp:a.b.c.d/path address expected
error Invalid bind address format: tcp:a.b.c.d/path return, got parse
tcp://tcp:a.b.c.d/path: invalid port ":a.b.c.d" after host and addr
```
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified opts/hosts_test.go (diff)
Commit 00ad0222cef8024f19394e2e9d5dc0e05f0ec982 by Sebastiaan van Stijn
Dockerfile: update CRIU to v3.12
New features
- build CRIU with Android NDK
- C/R of
- IP RAW sockets
- lsm: dump and restore any SELinux process label
- support restoring ghost files on readonly mounts
Bugfixes
- Do not lock network if running in the host network namespace
- Fix RPC configuration file handling
- util: don't leak file descriptors to third-party tools
- small fixes here and there
Improvements
- travis: switch to the Ubuntu Xenial
- travis-ci: Enable ia32 tests
- Many improvements and bug fixes in the libcriu
- Changes in the API and ABI (SONAME increased from 1 to 2)
full diff:
https://github.com/checkpoint-restore/criu/compare/v3.11...v3.12
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Dockerfile (diff)
Commit 0b3d201892682d4886b5c03d81c1e3d60702bd77 by Sebastiaan van Stijn
docker-py: fix linting issues reported by shellcheck
- SC2006: use $(...) notation instead of legacy backticked `...`
- SC2086: double quote to prevent globbing and word splitting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified hack/make/test-docker-py (diff)
Commit b04cbf10722ec3de5b6ab4b822c6b271e0fd10c8 by Sebastiaan van Stijn
docker-py: run without tty to disable color output
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified hack/make/test-docker-py (diff)
Commit 535e29da057e887000dd4e4d765dc945a5257660 by Sebastiaan van Stijn
docker-py: use --mount for bind-mounting docker.sock
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified hack/make/test-docker-py (diff)
Commit 5969bbee79879d44e6ca2b6b5036e5706262bd21 by Sebastiaan van Stijn
docker-py: output junit.xml for test-results
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Jenkinsfile (diff)
The file was modified hack/make/test-docker-py (diff)
Commit 4ddb40ee8abd1b0abbc3887f111605865b0baf5e by Sebastiaan van Stijn
Jenkinsfile: build dynamic binary for docker-py, to match makefile
This also makes sure that we can test all functionality of the daemon,
because some features are not available on static binaries.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Jenkinsfile (diff)
Commit 8b6da9d82f9609c7c3329caa67778edf61933600 by Sebastiaan van Stijn
Jenkinsfile: save docker-py artifacts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The file was modified Jenkinsfile (diff)