Daniel J Walsh
8552823ac1
Enable these tests
...
These tests are passing locally.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-26 07:27:41 -04:00
Brent Baude
56c27ea1c6
Enable container inspect integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-25 13:36:11 -05:00
Brent Baude
942a3ef588
Enable pod ps integration tests
...
Enable integration tests for pod ps.
In addition, fixed bug where output was still using slice go template routines and would fail when no infra container was present. Added integration test to prevent future regressions.
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-25 13:13:32 -05:00
OpenShift Merge Robot
2afe579c06
Merge pull request #5971 from giuseppe/fix-userns-tests
...
v2, podman: fix and enable all run_userns_test.go tests
2020-04-24 22:39:26 +02:00
OpenShift Merge Robot
10f3a8ac6b
Merge pull request #5977 from QiWang19/commit-test
...
V2 tests: enables commit tests
2020-04-24 22:29:27 +02:00
Qi Wang
d7a3785b3e
V2 tests: enables commit tests
...
V2 tests enables commit tests
Signed-off-by: Qi Wang <qiwan@redhat.com >
2020-04-24 15:20:04 -04:00
Qi Wang
2f3734b143
Add --os to manifest add
...
Add --os to manifest add for overriding the os field.
Signed-off-by: Qi Wang <qiwan@redhat.com >
2020-04-24 14:57:56 -04:00
OpenShift Merge Robot
a49d5c9c2f
Merge pull request #5974 from giuseppe/fix-init
...
[v2] containers, init: skip invalid state errors with --all
2020-04-24 20:33:17 +02:00
OpenShift Merge Robot
3c3adac528
Merge pull request #5967 from giuseppe/run-test-fixes
...
v2, tests: fix various run_test.go failures
2020-04-24 17:46:20 +02:00
Giuseppe Scrivano
bd7cad775a
containers, init: skip invalid state errors with --all
...
reintroduce the same check that exists in v1.9.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 17:33:27 +02:00
Giuseppe Scrivano
88f1994ab9
podman: assume user namespace if there are mappings
...
if some mappings are specified, assume there is a private user
namespace.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 15:55:38 +02:00
Giuseppe Scrivano
64d8b4eebb
podman: implement userns=keep-id
...
add missing implementation for userns=keep-id and enable the user
namespaces tests.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 15:03:50 +02:00
Giuseppe Scrivano
c746980baf
test: enable cgroup parent tests
...
cgroups tests should pass now
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 13:05:43 +02:00
Giuseppe Scrivano
3eeb03d1f9
podman: fix --log-opt=path=%s
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 13:02:07 +02:00
Giuseppe Scrivano
145d74716c
podman: fix --http-proxy
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 12:56:24 +02:00
Giuseppe Scrivano
a1f73d0954
podman: fix podman --group-add
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 12:56:23 +02:00
Giuseppe Scrivano
543d5f1740
test: fix --host-env test
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 12:56:22 +02:00
Giuseppe Scrivano
2e6a62fc38
podman: fix --cgroups=disabled
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 12:56:21 +02:00
Giuseppe Scrivano
9f8d002e1f
test: enable some run_test.go tests that pass now
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-24 12:56:21 +02:00
OpenShift Merge Robot
397dcc358a
Merge pull request #5843 from QiWang19/manifest_create
...
manifest create,add,inspect
2020-04-23 17:45:38 +02:00
Qi Wang
17783dda68
manifest create,add,inspect
...
Implememts manifest subcommands create, add, inspect.
Signed-off-by: Qi Wang <qiwan@redhat.com >
2020-04-22 20:05:21 -04:00
Jhon Honce
be5605ac4f
V2 Restore rmi tests
...
* Introduced define.ErrImageInUse to assist in determining the exit code
without resorting string searches.
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-04-22 15:34:33 -07:00
OpenShift Merge Robot
142757bd72
Merge pull request #5947 from rhatdan/v
...
Turn on version.go except for -v check
2020-04-22 23:10:46 +02:00
OpenShift Merge Robot
94dc39a41b
Merge pull request #5945 from rhatdan/pull
...
Fix podman push and podman pull to check for authfile
2020-04-22 21:26:42 +02:00
OpenShift Merge Robot
cac05c8588
Merge pull request #5944 from rhatdan/untag
...
Fix integration tests for untag
2020-04-22 21:23:42 +02:00
Daniel J Walsh
34ee183ae6
Turn on version.go except for -v check
...
Currently podman -v does not work but the other version checks all pass.
enabling tests to that we can get more tests running in CI.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-22 15:18:42 -04:00
OpenShift Merge Robot
9a910efcf6
Merge pull request #5202 from QiWang19/path-config-storageconf
...
test rootless_storage_path from storage.conf
2020-04-22 20:57:14 +02:00
Daniel J Walsh
ae1731e03f
Fix podman push and podman pull to check for authfile
...
This fixes pull_test.go push_test.go is still broken because of
lack of registry support.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-22 14:30:40 -04:00
OpenShift Merge Robot
366fc0520b
Merge pull request #5941 from jwhonce/jira/792
...
V2 Restore exists E2E tests
2020-04-22 20:22:44 +02:00
Brent Baude
6fdcc09a20
Fix integration tests for untag
...
Signed-off-by: Brent Baude <bbaude@redhat.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-22 14:13:07 -04:00
Qi Wang
d422799595
test rootless_storage_path from strorage.conf
...
test rootless_storage_path from strorage.conf. If user configured rootless_storage_path in storage.conf, podman info should suggest the change.
Signed-off-by: Qi Wang <qiwan@redhat.com >
2020-04-22 14:02:32 -04:00
OpenShift Merge Robot
703fd50553
Merge pull request #5940 from rhatdan/rm
...
Fix podman rm to have correct exit codes
2020-04-22 19:33:00 +02:00
Jhon Honce
d0caf90940
V2 Restore exists E2E tests
...
* Fix setting exit code in */exists.go
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-04-22 09:53:05 -07:00
Daniel J Walsh
1be8ded964
Fix podman rm to have correct exit codes
...
If you attempt to remove a running container is it supposed to exit with
2
If you attempt to remove a non existing container is is supposed to exit with
1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-22 11:53:00 -04:00
Qi Wang
6e33c328b9
Fix v2 test podman info
...
Signed-off-by: Qi Wang <qiwan@redhat.com >
2020-04-22 11:46:44 -04:00
Daniel J Walsh
94b62dac74
Fix handling of --cidfile on create/run
...
Currently create and run are ignoring the cidfile flag.
Enable stop_test.go to make sure this works.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-22 09:52:33 -04:00
Daniel J Walsh
4494ec6f04
vendor in containers/common v0.9.4
...
This will change the default of UserNS to false
Also turn on tests for create_staticip_test.go
run_device_test.go, run_selinux_test.go
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-04-22 06:57:06 -04:00
Brent Baude
5c968b7693
Force integration tests to pass
...
Failing tests are now skipped and we should work from this.
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-21 13:48:50 -05:00
Sujil02
37f3b191d5
Add pod prune for api v2.
...
Add the ability to prune pods for api v2,
Includes the addition of force flag, for client side prompt.
Update test suite to support this use case.
Signed-off-by: Sujil02 <sushah@redhat.com >
2020-04-17 17:30:58 -04:00
OpenShift Merge Robot
bd8a0b08cd
Merge pull request #5548 from kunalkushwaha/image-prune
...
image prune skips images with child images.
2020-04-17 15:19:45 -04:00
Brent Baude
44a8cf8676
Fixes for system tests
...
Various fixes to protect against regressions in system tests
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-17 13:22:06 -05:00
Brent Baude
ba430bfe5e
podman v2 remove bloat v2
...
rid ourseleves of libpod references in v2 client
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-16 12:04:46 -05:00
OpenShift Merge Robot
ef297d466e
Merge pull request #5767 from edsantiago/logformat_add_anchors_and_apiv2
...
logformat: handle apiv2 results, add anchor links
2020-04-15 10:50:15 -07:00
Kunal Kushwaha
d832136349
test case added for image prune cache image
...
test case added for skipping cache images and
fixed condition in test case for prune dangling image
Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com >
2020-04-15 02:49:47 +00:00
Brent Baude
830f3a4462
v2podman ps revert structure changes
...
reverting name changes to the listcontainer structure because it negatively impacted the direct consumption of the restful API. instead we now use a local structure in the CLI to modify the output as needed.
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-14 09:40:43 -05:00
Brent Baude
90ead05903
Fixes for load and other system tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-13 13:08:04 -05:00
OpenShift Merge Robot
3a4bd39516
Merge pull request #5771 from giuseppe/fix-exec-preserve-fd
...
test: fix exec preserve-fds test
2020-04-09 16:40:32 +02:00
OpenShift Merge Robot
1662310e51
Merge pull request #5754 from baude/v2psformat
...
v2podman ps alter formats
2020-04-09 15:56:26 +02:00
Giuseppe Scrivano
4503650f41
test: enable preserve fds test for crun
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-09 10:17:43 +02:00
Giuseppe Scrivano
d3cfa7a23c
test: fix exec preserve-fds test
...
it specifies a fd is passed down but we are not really doing it, and
it triggers the wrong fd to be closed by Podman after the OCI runtime
invocation.
Closes: https://github.com/containers/libpod/issues/5769
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2020-04-09 10:17:42 +02:00