Ed Santiago
1161e8bd54
manifest_test: safer registry setup and teardown
...
manifest_test:authenticated_push() is the final test left to
fix before merging #14397 . The reason it's failing _seems_ to be
that podman is running with a mix of netavark and CNI, and
that _seems_ to be because this test invokes hack/podman-registry
which invokes plain podman without whatever options used in e2e.
Starting a registry directly from the test is insane: there is
no reusable code for doing that (see login_logout_test.go and
push_test.go. Yeesh.)
Solution: set $PODMAN, by inspecting the podmanTest object
which includes both a path and a list of options. podman-registry
will invoke that. (It will also override --root and --runroot.
This is the desired behavior).
Also: add cleanup. If auth-push test fails, stop the registry.
Also: add a sanity check to podman-registry script, have it
wait for the registry port to activate. Die if it doesn't.
That could've saved us a nice bit of debugging time.
Signed-off-by: Ed Santiago <santiago@redhat.com >
2022-07-07 14:03:42 -06:00
..
2022-07-05 12:39:37 +05:30
2021-04-20 09:18:52 -04:00
2021-11-12 18:32:01 +01:00
2020-10-21 10:00:08 -04:00
2021-05-05 11:30:12 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-06-09 14:31:53 -04:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-05-05 05:51:19 -04:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-05-12 17:36:44 -04:00
2022-04-29 14:06:38 +02:00
2022-06-22 18:39:21 +02:00
2022-06-22 18:39:21 +02:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-06-27 10:44:53 -04:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-06-28 08:54:19 -04:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-05-04 12:11:32 -04:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-05-25 13:28:04 -04:00
2022-04-29 14:06:54 +02:00
2022-07-07 14:03:42 -06:00
2022-04-26 18:12:22 +02:00
2022-05-19 13:59:15 +02:00
2022-06-03 15:01:23 +02:00
2022-07-07 14:03:42 -06:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-06-07 15:17:12 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-07 11:23:17 -06:00
2022-07-07 09:51:20 -04:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 10:32:49 -04:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-06-14 14:04:03 +09:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-06-06 14:14:22 -04:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-06-13 15:03:22 -04:00
2022-04-29 14:06:38 +02:00
2022-06-23 11:26:19 -04:00
2022-07-05 13:34:45 +00:00
2022-04-29 14:06:38 +02:00
2022-06-29 09:19:09 -04:00
2022-05-04 12:11:32 -04:00
2022-06-15 19:58:30 +02:00
2022-07-05 15:36:08 -06:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-07-05 15:36:08 -06:00
2022-04-29 14:06:38 +02:00
2022-06-09 16:44:21 -04:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-06-27 21:34:39 +03:00
2022-06-23 18:36:30 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00