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
Kir Kolyshkin 9f3a343a51 integration-cli: fix TestAttachDetach, rm TestAttachDetachTruncatedID
It looks like the logic of the test became wrong after commit
ae0883c ("Move TestAttachDetach to integration-cli").

The original logic was:
* (a few first steps skipped for clarity)
* send escape sequence to "attach";
* check "attach" is exiting (i.e. escape sequence works);
* check the container is still alive;
* kill the container.

Also, timeouts were big at that time, in the order of seconds.

The logic after the above mentioned commit and until now is:
* ...
* send escape sequence to "attach";
* check the container is running (why shouldn't it?);
* kill the container;
* checks that the "attach" has exited.

So, from the "let's check detach using escape sequence is working"
the test became something like "let's check that attach is gone
once we kill the container".

Let's fix the above test, also increasing the timeout waiting
for attach to exit (which fails from time to time on power CI).

Now, the second test, TestAttachDetachTruncatedID, does the exact
same thing, except it uses a truncated container ID. It does not
seem to be of much value, so let's remove it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-08-24 14:48:38 -07:00
.github
api Merge pull request #37650 from anshulpundir/vndr 2018-08-22 12:51:47 +01:00
builder builder: fix bridge networking when using buildkit 2018-08-23 05:20:01 +00:00
cli Various code-cleanup 2018-05-23 17:50:54 +02:00
client add optional fields in daemon.json to enable buildkit 2018-08-19 14:58:23 -07:00
cmd/dockerd Use errors.Wrap() in daemon errors, and cleanup messages 2018-08-23 16:12:44 +02:00
container Merge pull request #37092 from cpuguy83/local_logger 2018-08-20 07:01:41 +01:00
contrib Removed the "-i -t" arguments from the smoke test calling printf (these flags seem not really needed, and break jenkins builds with error "the input device is not a TTY") 2018-07-05 17:29:17 +02:00
daemon Fix incorrect spelling in error message 2018-08-22 11:28:11 -04:00
distribution Merge pull request #37359 from dmcgowan/register-oci-mediatypes 2018-07-02 14:26:36 +02:00
dockerversion Expose license status in Info (#37612) 2018-08-17 17:05:21 -07:00
docs Changes to cluster/filter, swagger.yaml, version-history.md for filtering on node labels. 2018-08-21 22:17:23 +02:00
errdefs Fix the several typos detected by github.com/client9/misspell 2018-08-09 00:45:00 +09:00
hack Expose license status in Info (#37612) 2018-08-17 17:05:21 -07:00
image system: add back lcow validation function 2018-06-27 15:24:26 -07:00
integration Add warning if REST API is accessible through an insecure connection 2018-08-21 22:03:24 +02:00
integration-cli integration-cli: fix TestAttachDetach, rm TestAttachDetachTruncatedID 2018-08-24 14:48:38 -07:00
internal Use errors.Wrap() in daemon errors, and cleanup messages 2018-08-23 16:12:44 +02:00
layer Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
libcontainerd Merge pull request #37664 from dmcgowan/vendor-containerd-1.2 2018-08-18 22:22:41 +01:00
migrate/v1 Various code-cleanup 2018-05-23 17:50:54 +02:00
oci Add /proc/acpi to masked paths 2018-07-05 17:39:52 +02:00
opts Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
pkg Merge pull request #37092 from cpuguy83/local_logger 2018-08-20 07:01:41 +01:00
plugin Merge pull request #35521 from salah-khan/35507 2018-08-17 11:31:16 -07:00
profiles Whitelist syscalls linked to CAP_SYS_NICE in default seccomp profile 2018-06-20 07:32:08 -05:00
project
reference Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
registry Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
reports
restartmanager
runconfig Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
vendor builder: fix bridge networking when using buildkit 2018-08-23 05:20:01 +00:00
volume Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
.DEREK.yml
.dockerignore
.gitignore
.mailmap
AUTHORS
CHANGELOG.md
codecov.yml
CONTRIBUTING.md Fix link anchors in CONTRIBUTING.md 2018-06-13 21:58:48 +09:00
Dockerfile Fix the several typos detected by github.com/client9/misspell 2018-08-09 00:45:00 +09:00
Dockerfile.e2e Dockerfile*: bump Go to 1.10.3 2018-06-10 17:41:22 +03:00
Dockerfile.simple Dockerfile*: bump Go to 1.10.3 2018-06-10 17:41:22 +03:00
Dockerfile.windows Dockerfile*: bump Go to 1.10.3 2018-06-10 17:41:22 +03:00
LICENSE
MAINTAINERS Fix the several typos detected by github.com/client9/misspell 2018-08-09 00:45:00 +09:00
Makefile Expose license status in Info (#37612) 2018-08-17 17:05:21 -07:00
NOTICE
poule.yml
README.md
ROADMAP.md
TESTING.md Merge pull request #37249 from AntaresS/add-test-guidline 2018-06-25 20:44:42 +02:00
vendor.conf builder: fix bridge networking when using buildkit 2018-08-23 05:20:01 +00: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.