public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Mosnacek <omosnace@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: tests-pr.yml: Update the kernel and reboot before running tests
Date: Fri, 11 Sep 2026 13:18:23 GMT [thread overview]
Message-ID: <178913270332.1.14946649649324196096.tests-selinux-636cce7ac9ac@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 636cce7ac9aca65da37e8997486cb471b84fae0b
Author : Ondrej Mosnacek <omosnace@redhat.com>
Date : 2020-10-29T12:36:24+01:00
Stats : +20/-0 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/636cce7ac9aca65da37e8997486cb471b84fae0b?branch=pr775-checkpolicy-revdeps
Log:
tests-pr.yml: Update the kernel and reboot before running tests
This adds a couple minutes (if I read the ansible output right, it
should be about 3 minutes) to the CI run time, but allows
selinux-testsuite to run successfully.
See also:
https://pagure.io/fedora-ci/general/issue/162
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
diff --git a/tests-pr.yml b/tests-pr.yml
index 1f8bea8..5b5e020 100644
--- a/tests-pr.yml
+++ b/tests-pr.yml
@@ -14,6 +14,26 @@
set_fact:
tests: "{{ tests_list.stdout.split(' ') }}"
+ # Update to the latest kernel to allow installing kernel-* packages
+ # matching the running kernel version.
+ # See: https://pagure.io/fedora-ci/general/issue/162
+ # May be removed once the issue above is resolved.
+ - name: Update kernel packages and reboot
+ block:
+ - name: Update kernel-core
+ shell: dnf update -y kernel-core
+
+ - name: Restart host
+ shell: sleep 2 && shutdown -r now "Ansible updates triggered"
+ async: 1
+ poll: 0
+ ignore_errors: true
+
+ - name: Wait for host to come back
+ wait_for_connection:
+ delay: 10
+ timeout: 300
+
roles:
- role: standard-test-beakerlib
reply other threads:[~2026-09-11 13:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913270332.1.14946649649324196096.tests-selinux-636cce7ac9ac@fedoraproject.org \
--to=omosnace@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox