3 Commits

Author SHA1 Message Date
Lokesh Mandvekar 71b20b4753 Merge branch 'c9s-tmt-update' into 'c9s'
Draft: [c9s] TMT: fetch tests from upstream

See merge request redhat/centos-stream/rpms/conmon!45
2026-02-14 02:20:43 -05:00
Jindrich Novy f90380454e conmon-2.2.1-1.el9
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
- enable RELRO
- Related: RHEL-111919

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2026-02-12 20:26:10 +01:00
Lokesh Mandvekar 01a00e7e18 TMT: fetch tests from upstream
Resolves: RHEL-69441

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-12-30 18:42:02 +05:30
6 changed files with 56 additions and 46 deletions
+8 -3
View File
@@ -15,9 +15,9 @@
Name: conmon Name: conmon
Epoch: 3 Epoch: 3
Version: 2.2.0 Version: 2.2.1
License: Apache-2.0 License: Apache-2.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: OCI container runtime monitor Summary: OCI container runtime monitor
URL: https://github.com/containers/%{name} URL: https://github.com/containers/%{name}
# Tarball fetched from upstream # Tarball fetched from upstream
@@ -45,7 +45,7 @@ Requires: libseccomp
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%build %build
%{__make} DEBUGFLAG="-g" bin/conmon %{__make} DEBUGFLAG="-g" LDFLAGS="-Wl,-z,relro -Wl,-z,now" bin/conmon
%if %{with docs} %if %{with docs}
%{__make} GOMD2MAN=go-md2man -C docs %{__make} GOMD2MAN=go-md2man -C docs
@@ -70,6 +70,11 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%endif %endif
%changelog %changelog
* Thu Feb 12 2026 Jindrich Novy <jnovy@redhat.com> - 3:2.2.1-1
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
- enable RELRO
- Related: RHEL-111919
* Thu Feb 05 2026 Jindrich Novy <jnovy@redhat.com> - 3:2.2.0-2 * Thu Feb 05 2026 Jindrich Novy <jnovy@redhat.com> - 3:2.2.0-2
- update to https://github.com/containers/conmon/releases/tag/v2.2.0 - update to https://github.com/containers/conmon/releases/tag/v2.2.0
- Resolves: RHEL-147114 - Resolves: RHEL-147114
+4 -1
View File
@@ -1,7 +1,10 @@
--- !Policy --- !Policy
product_versions: product_versions:
- fedora-* - fedora-*
decision_context: bodhi_update_push_stable decision_contexts:
- bodhi_update_push_stable
- bodhi_update_push_testing
subject_type: koji_build
rules: rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
-27
View File
@@ -1,27 +0,0 @@
---
summary: Run conmon tests
description: Test plan for conmon
contact: Yuhui Jiang <yujiang@redhat.com>
provision:
how: container
prepare:
- name: Install packages
how: install
package: [crun, podman, podman-tests, git]
- name: Prepare bats
how: shell
script:
- rm -rf /tmp/bats-core-1.11.0
- curl -s -L https://github.com/bats-core/bats-core/archive/refs/tags/v1.11.0.tar.gz | tar xvz -C /tmp
- /tmp/bats-core-1.11.0/install.sh /usr
discover:
how: fmf
filter: 'tag: gate'
url: https://gitlab.com/yujiang1/conmon.git
ref: c9s
execute:
how: tmt
+43
View File
@@ -0,0 +1,43 @@
prepare:
- name: packages
how: install
package: [bats, iptables, podman-tests]
adjust:
- when: "initiator == packit"
because: "We need to test with updated packages from rhcontainerbot/podman-next copr"
prepare+:
how: shell
script: |
sed -i -n '/^priority=/!p;$apriority=1' /etc/yum.repos.d/*podman-next*.repo
dnf -y upgrade --allowerasing
# FIXME: Use epel10 once bats is available there
- when: distro == centos-stream-10 or distro == rhel-10
because: "bats isn't yet available on epel10"
prepare+:
how: install
copr: rhcontainerbot/bats-el10
package: bats
- when: distro == centos-stream-9 or distro == rhel-9
because: "bats is present on EPEL on rhel9 / c9s"
prepare+:
how: feature
epel: enabled
discover:
how: fmf
url: https://github.com/lsm5/podman
ref: "tmt-fedora-centos"
execute:
how: tmt
/system/local/root:
summary: Run podman system rootful tests
discover+:
filter: 'tag:local & tag:root'
/system/local/rootless:
summary: Run podman system rootless tests
discover+:
filter: 'tag:local & tag:rootless'
+1 -1
View File
@@ -1 +1 @@
SHA512 (v2.2.0.tar.gz) = 8a14d47be06f3b768118216afc7b9cf5da65c19d896f55febe92250cf9f7aa7c9b8c58736f0a52d44c2ff9f4a6bc99fa3f9ffe22a7905d332b2fd816b3a2e2c9 SHA512 (v2.2.1.tar.gz) = 52513fc25b0db0b7c9c99aa63f6be4c495add350b9269fad67136f728d3399dbb54c5fa526d52c158c67956ded8980f1cc3624fc531a152b16c09caa3399be3b
-14
View File
@@ -1,14 +0,0 @@
---
summary: conmon tests
description: Using podman system tests to test conmon
contact: Yuhui Jiang <yujiang@redhat.com>
framework: shell
require: [podman,conmon]
tag: 'gate'
test: |
/usr/bin/bats -t /usr/share/podman/test/system/030-run.bats
/usr/bin/bats -t /usr/share/podman/test/system/075-exec.bats
duration: 15m