diff options
author | Ed Santiago <santiago@redhat.com> | 2022-06-09 08:31:16 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-06-14 09:20:24 -0600 |
commit | 455f4c7828cdb8d7e114ff18a51b55809296e406 (patch) | |
tree | eacc05f92a83763c69a88c15187aea931fb47594 /.cirrus.yml | |
parent | cffed099b8404fa7f136643116020edac2336155 (diff) | |
download | podman-455f4c7828cdb8d7e114ff18a51b55809296e406.tar.gz podman-455f4c7828cdb8d7e114ff18a51b55809296e406.tar.bz2 podman-455f4c7828cdb8d7e114ff18a51b55809296e406.zip |
CI: APIv2 tests: add rootless
This would've caught a regression that #14549 had to fix.
Let's try to prevent the next regression.
This requires some hackery to get namespaces initialized
before the service is started; otherwise the service itself
initializes namespaces, which basically ends up with a
server process that runs forever.
Also: in stop_service(), reset service_pid, because that's
the correct thing to do.
Also: add some debug statements to try to figure out a
CI failure. (And leave them in place, because they might
be useful for future problems).
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 460c5e049..d5298d62e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -431,7 +431,7 @@ unit_test_task: apiv2_test_task: - name: "APIv2 test on $DISTRO_NV" + name: "APIv2 test on $DISTRO_NV ($PRIV_NAME)" alias: apiv2_test # Docs: ./contrib/cirrus/CIModes.md only_if: *not_tag_branch_build_docs @@ -445,6 +445,11 @@ apiv2_test_task: env: <<: *stdenvars TEST_FLAVOR: apiv2 + matrix: + - env: + PRIV_NAME: root + - env: + PRIV_NAME: rootless clone_script: *get_gosrc setup_script: *setup main_script: *main |