Skip to content

Commit

Permalink
Add fixme note for podman test together with a diagnostic snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed May 31, 2023
1 parent 16be942 commit 7296a2d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
pytest examples/internal-ssl --capture=no
- name: Run podman tests
continue-on-error: true
if: matrix.test-variation == 'podman'
# Podman's system service is started as a user managed process
# (user-mode / rootless), and the docker-api provided by podman is used
Expand All @@ -111,6 +112,20 @@ jobs:
fi
done
# FIXME: we run into an error described in
# https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error
#
# This is a check for permissions of relevance, where we
# conclude we get "memory pids" on ubuntu-22.04. This confirms
# that we need additional permissions for the podman system
# service we have started as the current user, lacking such
# permissions.
#
# If this is resolved, also remove the continue-on-error
# section above.
#
cat "/sys/fs/cgroup/user.slice/user-$(id -u).slice/user@$(id -u).service/cgroup.controllers"
pytest tests/test_dockerspawner.py --cov=dockerspawner
# GitHub action reference: https://github.com/codecov/codecov-action
Expand Down

0 comments on commit 7296a2d

Please sign in to comment.