mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
Merge pull request #17305 from cevich/swap_ubuntu_debian
Replace Ubuntu -> Debian SID
This commit is contained in:
@@ -249,5 +249,12 @@ skip_if_remote "different error messages between podman & podman-remote" \
|
||||
|
||||
# END tests which are skipped due to actual podman or podman-remote bugs.
|
||||
###############################################################################
|
||||
# BEGIN temporary workarounds that must be reevaluated periodically
|
||||
|
||||
skip "Test is completely broken, see buildah issue 4396" \
|
||||
"bud-multiple-platform-values"
|
||||
|
||||
# END temporary workarounds that must be reevaluated periodically
|
||||
###############################################################################
|
||||
|
||||
exit $RC
|
||||
|
||||
@@ -679,6 +679,13 @@ func checkReason(reason string) {
|
||||
}
|
||||
}
|
||||
|
||||
func SkipIfRunc(p *PodmanTestIntegration, reason string) {
|
||||
checkReason(reason)
|
||||
if p.OCIRuntime == "runc" {
|
||||
Skip("[runc]: " + reason)
|
||||
}
|
||||
}
|
||||
|
||||
func SkipIfRootlessCgroupsV1(reason string) {
|
||||
checkReason(reason)
|
||||
if isRootless() && !CGROUPSV2 {
|
||||
|
||||
@@ -4700,6 +4700,7 @@ ENV OPENJ9_JAVA_OPTIONS=%q
|
||||
})
|
||||
|
||||
It("podman play kube with disabled cgroup", func() {
|
||||
SkipIfRunc(podmanTest, "Test not supported with runc, see issue #17436")
|
||||
conffile := filepath.Join(podmanTest.TempDir, "container.conf")
|
||||
// Disabled ipcns and cgroupfs in the config file
|
||||
// Since shmsize (Inherit from infra container) cannot be set if ipcns is "host", we should remove the default value.
|
||||
|
||||
@@ -110,7 +110,7 @@ var _ = Describe("Podman UserNS support", func() {
|
||||
|
||||
It("podman uidmapping and gidmapping with an idmapped volume", func() {
|
||||
Skip("it depends on a breaking change in crun: https://github.com/containers/crun/pull/1147")
|
||||
|
||||
SkipIfRunc(podmanTest, "Test not supported yet with runc, see issue #17433")
|
||||
session := podmanTest.Podman([]string{"run", "--uidmap=0:1:500", "--gidmap=0:200:5000", "-v", "my-foo-volume:/foo:Z,idmap", "alpine", "stat", "-c", "#%u:%g#", "/foo"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
if strings.Contains(session.ErrorToString(), "Operation not permitted") {
|
||||
|
||||
@@ -30,6 +30,11 @@ EOF
|
||||
}
|
||||
|
||||
@test "podman buildx - basic test" {
|
||||
run_podman info --format "{{.Store.GraphDriverName}}"
|
||||
if [[ "$output" == "vfs" ]]; then
|
||||
skip "Test not supported with VFS podman storage driver (#17520)"
|
||||
fi
|
||||
|
||||
rand_filename=$(random_string 20)
|
||||
rand_content=$(random_string 50)
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ function start_time() {
|
||||
|
||||
function setup() {
|
||||
skip_if_remote "quadlet tests are meaningless over remote"
|
||||
skip_if_rootless_cgroupsv1 "Can't use --cgroups=split w/ CGv1 (#17456)"
|
||||
|
||||
test -x "$QUADLET" || die "Cannot run quadlet tests without executable \$QUADLET ($QUADLET)"
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ load helpers.network
|
||||
|
||||
function setup() {
|
||||
basic_setup
|
||||
skip_if_rootless "FIXME: #17598 all pasta tests skipped for new version in new CI VM images."
|
||||
skip_if_not_rootless "pasta networking only available in rootless mode"
|
||||
skip_if_no_pasta "pasta not found: install pasta(1) to run these tests"
|
||||
|
||||
|
||||
@@ -236,9 +236,11 @@ EOF
|
||||
}
|
||||
|
||||
@test "podman kube --network" {
|
||||
skip_if_rootless_cgroupsv1 "Test will never be supported, see #17582."
|
||||
TESTDIR=$PODMAN_TMPDIR/testdir
|
||||
mkdir -p $TESTDIR
|
||||
echo "$testYaml" | sed "s|TESTDIR|${TESTDIR}|g" > $PODMAN_TMPDIR/test.yaml
|
||||
|
||||
run_podman kube play --network host $PODMAN_TMPDIR/test.yaml
|
||||
is "$output" "Pod:.*" "podman kube play should work with --network host"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user