public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: init FMF CI gating
@ 2026-06-28  0:00 Michal Kolar
  0 siblings, 0 replies; only message in thread
From: Michal Kolar @ 2026-06-28  0:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 96774cfcb25c6b63d49cd8468e8c54258cbae60c
Author : Michal Kolar <mkolar@redhat.com>
Date   : 2021-08-12T17:12:21+00:00
Stats  : +69/-64 in 12 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/96774cfcb25c6b63d49cd8468e8c54258cbae60c?branch=gdb-17.2-rebase-f44

Log:
init FMF CI gating

---
diff --git a/.fmf/version b/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/gating.yaml b/gating.yaml
new file mode 100644
index 0000000..6107f0d
--- /dev/null
+++ b/gating.yaml
@@ -0,0 +1,20 @@
+--- !Policy
+product_versions:
+  - fedora-*
+decision_context: bodhi_update_push_stable
+subject_type: koji_build
+rules:
+  - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
+  - !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation}
+--- !Policy
+product_versions:
+  - rhel-8
+decision_context: osci_compose_gate
+rules:
+  - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
+--- !Policy
+product_versions:
+  - rhel-9
+decision_context: osci_compose_gate
+rules:
+  - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

diff --git a/plans/ci.fmf b/plans/ci.fmf
new file mode 100644
index 0000000..1ad2c12
--- /dev/null
+++ b/plans/ci.fmf
@@ -0,0 +1,6 @@
+summary: CI Gating Plan
+discover:
+    how: fmf
+    directory: tests
+execute:
+    how: beakerlib

diff --git a/tests/README b/tests/README
deleted file mode 100644
index 0a1388a..0000000
--- a/tests/README
+++ /dev/null
@@ -1,31 +0,0 @@
-Justification
-
-Adds tests according to the CI wiki specifically the standard test
-interface in the spec.
-
-The playbook includes Tier1 level test cases that have been tested in
-the following contexts and is passing reliably: Classic and
-Container. Test logs are stored in the artifacts directory.
-
-The following steps are used to execute the tests using the standard
-test interface: Test environment
-
-Make sure you have installed packages from the spec
-
-    # rpm -q ansible python2-dnf libselinux-python standard-test-roles
-    ansible-2.3.2.0-1.fc26.noarch
-    python2-dnf-2.6.3-11.fc26.noarch
-    libselinux-python-2.6-7.fc26.x86_64
-    standard-test-roles-2.4-1.fc26.noarch
-
-Run tests for Classic (must be run as root)
-
-    # export ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory)
-        # ansible-playbook --tags=classic tests.yml
-
-Run tests for Container (must be run as root)
-
-    # export ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory)
-    # export TEST_SUBJECTS=docker:docker.io/library/fedora:26
-        # ansible-playbook --tags=container tests.yml
-

diff --git a/tests/debug-system-binary/cmds b/tests/debug-system-binary/cmds
index fdc5030..0046765 100644
--- a/tests/debug-system-binary/cmds
+++ b/tests/debug-system-binary/cmds
@@ -1,4 +1,4 @@
-sta
+start
 si 30
 n 10
 up

diff --git a/tests/debug-system-binary/main.fmf b/tests/debug-system-binary/main.fmf
new file mode 100644
index 0000000..e9d5c18
--- /dev/null
+++ b/tests/debug-system-binary/main.fmf
@@ -0,0 +1,17 @@
+summary: Debug a system binary.
+description: ''
+contact:
+- Marek Polacek <mpolacek@redhat.com>
+component:
+- gdb
+test: ./runtest.sh
+framework: beakerlib
+recommend:
+- gdb
+- coreutils
+- coreutils-debuginfo
+- glibc
+- glibc-debuginfo
+duration: 5m
+extra-summary: /tools/gdb/Sanity/debug-system-binary
+extra-task: /tools/gdb/Sanity/debug-system-binary

diff --git a/tests/debug-system-binary/runtest.sh b/tests/debug-system-binary/runtest.sh
index ad07d5e..0c18dd8 100755
--- a/tests/debug-system-binary/runtest.sh
+++ b/tests/debug-system-binary/runtest.sh
@@ -27,8 +27,7 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
-. /usr/lib/beakerlib/beakerlib.sh || exit 1
+. /usr/share/beakerlib/beakerlib.sh || exit 1
 
 CMD="gdb"
 BIN="$(which $CMD)"

diff --git a/tests/debug-toolset-binary/cmds b/tests/debug-toolset-binary/cmds
index 9508e2c..b625c13 100644
--- a/tests/debug-toolset-binary/cmds
+++ b/tests/debug-toolset-binary/cmds
@@ -14,5 +14,4 @@ frame 1
 b xexit
 c
 c
-c
 q

diff --git a/tests/debug-toolset-binary/main.fmf b/tests/debug-toolset-binary/main.fmf
new file mode 100644
index 0000000..04b7702
--- /dev/null
+++ b/tests/debug-toolset-binary/main.fmf
@@ -0,0 +1,22 @@
+summary: We debug a binary that is delivered via the Toolset.
+description: ''
+contact:
+- Marek Polacek <mpolacek@redhat.com>
+component:
+- gdb
+test: ./runtest.sh
+framework: beakerlib
+recommend:
+- gdb
+- coreutils
+- binutils
+- binutils-debuginfo
+- glibc
+- glibc-debuginfo
+- gcc
+- gcc-debuginfo
+- zlib
+- zlib-debuginfo
+duration: 5m
+extra-summary: /tools/gdb/Sanity/debug-toolset-binary
+extra-task: /tools/gdb/Sanity/debug-toolset-binary

diff --git a/tests/debug-toolset-binary/runtest.sh b/tests/debug-toolset-binary/runtest.sh
index c0a6527..65cc2c7 100755
--- a/tests/debug-toolset-binary/runtest.sh
+++ b/tests/debug-toolset-binary/runtest.sh
@@ -32,8 +32,7 @@
 # but in fact, it doesn't have to.  It should not fail either way.
 
 # Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
-. /usr/lib/beakerlib/beakerlib.sh || exit 1
+. /usr/share/beakerlib/beakerlib.sh || exit 1
 
 CMD="gdb"
 BIN="$(which $CMD)"

diff --git a/tests/inventory b/tests/inventory
deleted file mode 100755
index b118a5a..0000000
--- a/tests/inventory
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-export TEST_DOCKER_EXTRA_ARGS="--privileged"
-exec merge-standard-inventory "$@"

diff --git a/tests/tests.yml b/tests/tests.yml
deleted file mode 100644
index 89d4222..0000000
--- a/tests/tests.yml
+++ /dev/null
@@ -1,24 +0,0 @@
----
-# This first play always runs on the local staging system
-- hosts: localhost
-  roles:
-  - role: standard-test-beakerlib
-    tags:
-    - classic
-    - container
-    tests:
-    - debug-toolset-binary
-    - debug-system-binary
-    required_packages:
-    - gdb
-    - coreutils
-    - binutils
-    - binutils-debuginfo
-    - glibc
-    - glibc-debuginfo
-    - gcc
-    - gcc-debuginfo
-    - zlib
-    - zlib-debuginfo
-    - coreutils-debuginfo
-    - which

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:00 [rpms/gdb] gdb-17.2-rebase-f44: init FMF CI gating Michal Kolar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox