* [meta-virtualization][PATCH] podman: remove ptest
@ 2025-06-11 7:23 Qi.Chen
2025-06-12 14:42 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2025-06-11 7:23 UTC (permalink / raw)
To: meta-virtualization
From: Chen Qi <Qi.Chen@windriver.com>
The ptest was added almost three years ago and since then nobody
ever fixed anything. It's almost impossible that the ptest never
failed. As an evidence, for the current version, the test cases
cannot even run.
Remove this ptest. People who care about podman ptest should be
maintaining it.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
recipes-containers/podman/podman/run-ptest | 13 -----------
recipes-containers/podman/podman_git.bb | 27 +---------------------
2 files changed, 1 insertion(+), 39 deletions(-)
delete mode 100644 recipes-containers/podman/podman/run-ptest
diff --git a/recipes-containers/podman/podman/run-ptest b/recipes-containers/podman/podman/run-ptest
deleted file mode 100644
index 108ff451..00000000
--- a/recipes-containers/podman/podman/run-ptest
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# SPDX-FileCopyrightText: Huawei Inc.
-#
-# SPDX-License-Identifier: MIT
-
-#
-# Podman system tests
-#
-
-# The system tests don't need any go related variables. Dummy-define them to
-# avoid useless warnings/errors.
-GOOS=undefined GO=true BUILDTAGS= make localsystem
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 46c6c969..8d8e0f05 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -20,7 +20,6 @@ SRCREV = "227df90eb7c021097c9ba5f8000c83648a598028"
SRC_URI = " \
git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \
- file://run-ptest \
"
LICENSE = "Apache-2.0"
@@ -55,7 +54,7 @@ export BUILDFLAGS = "${GOBUILDFLAGS}"
inherit go goarch
inherit container-host
-inherit systemd pkgconfig ptest
+inherit systemd pkgconfig
do_configure[noexec] = "1"
@@ -128,17 +127,6 @@ do_install() {
fi
}
-do_install_ptest () {
- cp ${S}/src/import/Makefile ${D}${PTEST_PATH}
- install -d ${D}${PTEST_PATH}/test
- cp -r ${S}/src/import/test/system ${D}${PTEST_PATH}/test
-
- # Some compatibility links for the Makefile assumptions.
- install -d ${D}${PTEST_PATH}/bin
- ln -s ${bindir}/podman ${D}${PTEST_PATH}/bin/podman
- ln -s ${bindir}/podman-remote ${D}${PTEST_PATH}/bin/podman-remote
-}
-
FILES:${PN} += " \
${systemd_unitdir}/system/* \
${nonarch_libdir}/systemd/* \
@@ -169,16 +157,3 @@ RRECOMMENDS:${PN} += "slirp4netns \
kernel-module-xt-tcpudp \
"
RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}"
-
-RDEPENDS:${PN}-ptest += " \
- bash \
- bats \
- buildah \
- coreutils \
- file \
- gnupg \
- jq \
- make \
- skopeo \
- tar \
-"
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization][PATCH] podman: remove ptest
2025-06-11 7:23 [meta-virtualization][PATCH] podman: remove ptest Qi.Chen
@ 2025-06-12 14:42 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2025-06-12 14:42 UTC (permalink / raw)
To: Qi.Chen; +Cc: meta-virtualization
In message: [meta-virtualization][PATCH] podman: remove ptest
on 11/06/2025 Chen Qi via lists.yoctoproject.org wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> The ptest was added almost three years ago and since then nobody
> ever fixed anything. It's almost impossible that the ptest never
> failed. As an evidence, for the current version, the test cases
> cannot even run.
>
> Remove this ptest. People who care about podman ptest should be
> maintaining it.
And that is my policy for all the ptets. I don't typically run
them, since I focus on integration and full system testing when
I do the package upgrades
I'm doing exactly that right now, and expect to have the next
set of package bumps validated by end of next week.
This is merged.
Bruce
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> recipes-containers/podman/podman/run-ptest | 13 -----------
> recipes-containers/podman/podman_git.bb | 27 +---------------------
> 2 files changed, 1 insertion(+), 39 deletions(-)
> delete mode 100644 recipes-containers/podman/podman/run-ptest
>
> diff --git a/recipes-containers/podman/podman/run-ptest b/recipes-containers/podman/podman/run-ptest
> deleted file mode 100644
> index 108ff451..00000000
> --- a/recipes-containers/podman/podman/run-ptest
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -#!/bin/sh
> -
> -# SPDX-FileCopyrightText: Huawei Inc.
> -#
> -# SPDX-License-Identifier: MIT
> -
> -#
> -# Podman system tests
> -#
> -
> -# The system tests don't need any go related variables. Dummy-define them to
> -# avoid useless warnings/errors.
> -GOOS=undefined GO=true BUILDTAGS= make localsystem
> diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
> index 46c6c969..8d8e0f05 100644
> --- a/recipes-containers/podman/podman_git.bb
> +++ b/recipes-containers/podman/podman_git.bb
> @@ -20,7 +20,6 @@ SRCREV = "227df90eb7c021097c9ba5f8000c83648a598028"
> SRC_URI = " \
> git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
> ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \
> - file://run-ptest \
> "
>
> LICENSE = "Apache-2.0"
> @@ -55,7 +54,7 @@ export BUILDFLAGS = "${GOBUILDFLAGS}"
>
> inherit go goarch
> inherit container-host
> -inherit systemd pkgconfig ptest
> +inherit systemd pkgconfig
>
> do_configure[noexec] = "1"
>
> @@ -128,17 +127,6 @@ do_install() {
> fi
> }
>
> -do_install_ptest () {
> - cp ${S}/src/import/Makefile ${D}${PTEST_PATH}
> - install -d ${D}${PTEST_PATH}/test
> - cp -r ${S}/src/import/test/system ${D}${PTEST_PATH}/test
> -
> - # Some compatibility links for the Makefile assumptions.
> - install -d ${D}${PTEST_PATH}/bin
> - ln -s ${bindir}/podman ${D}${PTEST_PATH}/bin/podman
> - ln -s ${bindir}/podman-remote ${D}${PTEST_PATH}/bin/podman-remote
> -}
> -
> FILES:${PN} += " \
> ${systemd_unitdir}/system/* \
> ${nonarch_libdir}/systemd/* \
> @@ -169,16 +157,3 @@ RRECOMMENDS:${PN} += "slirp4netns \
> kernel-module-xt-tcpudp \
> "
> RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}"
> -
> -RDEPENDS:${PN}-ptest += " \
> - bash \
> - bats \
> - buildah \
> - coreutils \
> - file \
> - gnupg \
> - jq \
> - make \
> - skopeo \
> - tar \
> -"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9278): https://lists.yoctoproject.org/g/meta-virtualization/message/9278
> Mute This Topic: https://lists.yoctoproject.org/mt/113584670/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-12 14:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11 7:23 [meta-virtualization][PATCH] podman: remove ptest Qi.Chen
2025-06-12 14:42 ` Bruce Ashfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).