1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Sebastiaan van Stijn 5afce21e2e
Make integration cleanup step less noisy
The `deleteAllImages()` cleanup step in the integration suite was printing a
message for each image that was removed.

These messages were not very informative (given that `removeImage()` prints an
error if image removal failed), and made the test output harder to read
(more difficult to see error-conditions when scanning the output).

This patch removes the messages to make the output slightly less noisy.

Before this patch applied:

    --- PASS: TestBuildMultiStageOnBuild (7.15s)
    	main_test.go:32: Removing image sha256:9db3ddbaaadd52804d8a417081f68db41fd4b8f80c85c1b4c4aee2d9b584c074
    	main_test.go:32: Removing image sha256:7eeb04d90b5e62a99ac6a5b2c10b9ba54b89b176fe2783e41461581c482852b3
    	main_test.go:32: Removing image sha256:adf42475eefff99b4a611c1a5d8353c4d0a011a7f7b9dc59a75d951cd54fa77f
    	main_test.go:32: Removing image sha256:c547a770806e0445f5dfc255683ced771a23be6157ba8d0617bb9ab55dcee6d1
    	main_test.go:32: Removing image sha256:b79659c3e6d34faf2a075f1df1ea2c805833982f112666b25a466177b5d1352d
    	main_test.go:32: Removing image sha256:29430078cdc927c19c87416cd1fb1ec386f167c5e201ee5dfb1644dcf268a3c2
    === RUN   TestBuildUncleanTarFilenames
    --- PASS: TestBuildUncleanTarFilenames (2.47s)
    	main_test.go:32: Removing image sha256:0a6418fb221dc2f25085a1a7e507e01c4a3938cc5c65f1cb85a8c0fb09d6814f
    	main_test.go:32: Removing image sha256:3d6e4bd0cce01ce5823b40dcb717cd16b3b4b769ff73dd86fa448aac49aa6d7c
    	main_test.go:32: Removing image sha256:98e3f335e874612668335b3a5f125a1e5cbd0f6c79a7c3f719529b69d0abf2a5
    	main_test.go:32: Removing image sha256:08919f344b382fd1447da7f3e8ffd2a7125f5f7d191ed7d33242736dbe3c59cf
    	main_test.go:32: Removing image sha256:d144b3c13838e841ec319a17e1046471d726bb2aa3211e167a6a53f766a2dcdc
    	main_test.go:32: Removing image sha256:7c768ec742d628020f50c99dc5af32400b78534ca9fc4c01a9f00ec0ab19193a
    	main_test.go:32: Removing image sha256:4c26c71d142045fbf3448aa1f6363d5a7a803cb438a78a4b20b7c847df03d50a
    	main_test.go:32: Removing image sha256:08dcd63c964f2dbb17ff2665b6b86993fb14c0d3e169da187ac48f078a560d25
    	main_test.go:32: Removing image sha256:c1743fab233f36f2d7f83cb13f8c10ff06bdbda8f8a218d25a3796d1bc2f9e84
    === RUN   TestBuildMultiStageLayerLeak
    --- PASS: TestBuildMultiStageLayerLeak (5.59s)
    	main_test.go:32: Removing image sha256:5e9974558276c34d7c9aab3fad408d433047b7b15bdae43ab5048adc58a15431
    	main_test.go:32: Removing image sha256:ac3c613c8c48794237c1e46ac0657ebbb1132910a240086bb2e9df9770fdc017
    	main_test.go:32: Removing image sha256:a936df268131ad427f7b4b66ce3dbb1e41866d7269a4d383cebcb1c5930d3346
    	main_test.go:32: Removing image sha256:5e613ea0ce7dbc908b0315c49585ae43ad6c34158e9e0b59a3dc93b00ef0ea41
    	main_test.go:32: Removing image sha256:e676f4ec41a42823b6d91e05e3290d3827f9175dea6fba5d8b769aa13aa7e082
    	main_test.go:32: Removing image sha256:93c8daab2703126b23d957d4d6b04f07949356f1cd95d4f8fdbededf4ab5c21e

With this patch applied:

    === RUN   TestBuildMultiStageOnBuild
    --- PASS: TestBuildMultiStageOnBuild (6.74s)
    === RUN   TestBuildUncleanTarFilenames
    --- PASS: TestBuildUncleanTarFilenames (2.49s)
    === RUN   TestBuildMultiStageLayerLeak
    --- PASS: TestBuildMultiStageLayerLeak (5.14s)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-05-19 17:34:48 +02:00
.github Remove myself from CODEOWNERS 2018-03-26 13:45:05 -04:00
api Highlight meaning of 'precpu' (i.e. 'previous'). 2018-05-17 14:57:44 +02:00
builder Remove references to old release process 2018-05-18 18:28:43 +00:00
cli Add canonical import comment 2018-02-05 16:51:57 -05:00
client Merge pull request #37075 from tuscloud/fix-typos 2018-05-17 16:00:43 +02:00
cmd/dockerd Merge pull request #36921 from cyli/filter-namespaced-labels 2018-05-07 15:12:52 +02:00
container Use mount package to unmount container stuff 2018-05-10 17:16:02 -04:00
contrib Remove contrib/project-stats.sh 2018-05-04 16:33:44 -04:00
daemon Merge pull request #37084 from nwneisen/update-ring-buffer-documents 2018-05-17 12:10:44 -07:00
distribution Bump docker/distribution to 83389a148052d74ac602f5f1d62f86ff2f3c4aa5 2018-04-30 09:30:56 -07:00
dockerversion Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
docs Highlight meaning of 'precpu' (i.e. 'previous'). 2018-05-17 14:57:44 +02:00
errdefs Fix definition of ErrSystem type 2018-03-05 23:42:23 +01:00
hack Remove references to old release process 2018-05-18 18:28:43 +00:00
image image spec formatting fix 2018-05-13 13:30:53 -04:00
integration fix and skip some tests based on API version 2018-05-15 16:05:04 -07:00
integration-cli Merge pull request #37076 from arm64b/TestExecInteractiveStdinClose 2018-05-16 09:51:28 +02:00
internal Make integration cleanup step less noisy 2018-05-19 17:34:48 +02:00
layer Remove metadata store interface 2018-03-06 10:42:00 -08:00
libcontainerd Merge pull request #36684 from cpuguy83/bump_containerd_client 2018-04-19 10:38:43 +02:00
migrate/v1 Add canonical import comment 2018-02-05 16:51:57 -05:00
oci Add /proc/keys to masked paths 2018-02-21 16:23:34 +00:00
opts Allow user to control the default address pools 2018-04-30 11:14:08 -04:00
pkg Merge pull request #37074 from skyc024/fix-typos 2018-05-17 16:00:26 +02:00
plugin Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
profiles If container will run as non root user, drop permitted, effective caps early 2018-03-19 14:45:27 -07:00
project Remove references to old release process 2018-05-18 18:28:43 +00:00
reference Automated migration using 2018-03-16 11:03:43 -04:00
registry Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
reports Fix typos 2018-05-16 09:15:43 +08:00
restartmanager Add canonical import comment 2018-02-05 16:51:57 -05:00
runconfig Automated migration using 2018-03-16 11:03:43 -04:00
vendor Merge pull request #36979 from anshulpundir/vndr 2018-05-06 22:28:46 +02:00
volume Amended per cleanup request. 2018-05-18 11:09:35 -04:00
.DEREK.yml project: try alexellis/derek bot to manage PRs and issues 2017-12-04 16:11:41 +01:00
.dockerignore [EXPERIMENTAL] Integration Test on Swarm 2017-02-28 02:10:09 +00:00
.gitignore Add code coverage report and codecov config 2018-01-16 16:50:56 -05:00
.mailmap Update authors 2018-02-21 21:12:31 +01:00
AUTHORS Update authors 2018-02-21 21:12:31 +01:00
CHANGELOG.md Re-order CHANGELOG.md to pass make validate test 2018-05-13 00:27:51 +00:00
codecov.yml Add code coverage report and codecov config 2018-01-16 16:50:56 -05:00
CONTRIBUTING.md Fix a typo in CONTRIBUTING.md 2018-01-28 16:19:51 +00:00
Dockerfile Remove references to old release process 2018-05-18 18:28:43 +00:00
Dockerfile.e2e Bump go version to 1.10.2 2018-05-07 14:19:16 -04:00
Dockerfile.simple Bump go version to 1.10.2 2018-05-07 14:19:16 -04:00
Dockerfile.windows Bump go version to 1.10.2 2018-05-07 14:19:16 -04:00
LICENSE Update copyright dates 2017-02-24 19:41:59 +00:00
MAINTAINERS Update curators list 2018-03-26 10:39:52 +02:00
Makefile Remove unused/unmaintained package builder stuff 2018-05-04 16:33:40 -04:00
NOTICE Update LICENSE date 2017-02-15 17:34:33 +01:00
poule.yml Add myself to poule to get 2w/old PRs 2018-04-16 18:33:21 +02:00
README.md Add "Lego set" back in README.md 2017-10-10 14:10:39 +00:00
ROADMAP.md Update the Roadmap 2017-10-11 17:33:50 +01:00
TESTING.md Update testing doc 2018-03-16 11:03:47 -04:00
vendor.conf Merge pull request #36979 from anshulpundir/vndr 2018-05-06 22:28:46 +02:00
VENDORING.md

The Moby Project

Moby Project logo

Moby is an open-source project created by Docker to enable and accelerate software containerization.

It provides a "Lego set" of toolkit components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts and professionals to experiment and exchange ideas. Components include container build tools, a container registry, orchestration tools, a runtime and more, and these can be used as building blocks in conjunction with other tools and projects.

Principles

Moby is an open project guided by strong principles, aiming to be modular, flexible and without too strong an opinion on user experience. It is open to the community to help set its direction.

  • Modular: the project includes lots of components that have well-defined functions and APIs that work together.
  • Batteries included but swappable: Moby includes enough components to build fully featured container system, but its modular architecture ensures that most of the components can be swapped by different implementations.
  • Usable security: Moby provides secure defaults without compromising usability.
  • Developer focused: The APIs are intended to be functional and useful to build powerful tools. They are not necessarily intended as end user tools but as components aimed at developers. Documentation and UX is aimed at developers not end users.

Audience

The Moby Project is intended for engineers, integrators and enthusiasts looking to modify, hack, fix, experiment, invent and build systems based on containers. It is not for people looking for a commercially supported system, but for people who want to work and learn with open source code.

Relationship with Docker

The components and tools in the Moby Project are initially the open source components that Docker and the community have built for the Docker Project. New projects can be added if they fit with the community goals. Docker is committed to using Moby as the upstream for the Docker Product. However, other projects are also encouraged to use Moby as an upstream, and to reuse the components in diverse ways, and all these uses will be treated in the same way. External maintainers and contributors are welcomed.

The Moby project is not intended as a location for support or feature requests for Docker products, but as a place for contributors to work on open source code, fix bugs, and make the code more useful. The releases are supported by the maintainers, community and users, on a best efforts basis only, and are not intended for customers who want enterprise or commercial support; Docker EE is the appropriate product for these use cases.


Legal

Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Moby may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see https://www.bis.doc.gov

Licensing

Moby is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.