Skip to content

Commit

Permalink
Merge pull request #1448 from travier/ci-skip-secure-boot-centos-stream
Browse files Browse the repository at this point in the history
NO-JIRA: ci: Use 'centos-release' package to detect if we are testing CentOS Stream
  • Loading branch information
openshift-merge-bot[bot] authored Feb 26, 2024
2 parents 973b01d + 058f5ca commit 1bba52e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 33 deletions.
7 changes: 1 addition & 6 deletions ci/prow-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,7 @@ kola_test_qemu() {

# Skip Secure Boot tests on SCOS for now
# See: https://github.com/openshift/os/issues/1237
if [[ -f "src/config.json" ]]; then
variant="$(jq --raw-output '."coreos-assembler.config-variant"' 'src/config.json')"
else
variant="default"
fi
if [[ "${variant}" != "scos" ]]; then
if rpm-ostree compose tree --print-only "${manifest}" | jq -r '.packages[]' | grep -q "centos-release"; then
cosa kola --basic-qemu-scenarios
else
cosa kola --basic-qemu-scenarios --skip-secure-boot
Expand Down
52 changes: 25 additions & 27 deletions kola-denylist.yaml
Original file line number Diff line number Diff line change
@@ -1,57 +1,55 @@
# This file documents currently known-to-fail kola tests. It is consumed by
# coreos-assembler to automatically skip some tests. For more information,
# see: https://github.com/coreos/coreos-assembler/pull/866.
- pattern: iso-live-login.uefi-secure
tracker: https://github.com/openshift/os/issues/1237
snooze: 2024-02-26
osversion:
- rhel-9.4

- pattern: iso-as-disk.uefi-secure
tracker: https://github.com/openshift/os/issues/1237
snooze: 2024-02-26
osversion:
- rhel-9.4

- pattern: basic
tracker: https://github.com/openshift/os/issues/1237
snooze: 2024-02-26
osversion:
- rhel-9.4

- pattern: ext.config.rpm-ostree.replace-rt-kernel
tracker: https://github.com/openshift/os/issues/1315
osversion:
- c9s

# RHEL 9.4 with CentOS Stream test snooze
- pattern: iso-live-login.uefi-secure
tracker: https://github.com/openshift/os/issues/1237
snooze: 2024-03-18
osversion:
- c9s
- rhel-9.4

- pattern: iso-as-disk.uefi-secure
tracker: https://github.com/openshift/os/issues/1237
snooze: 2024-03-18
osversion:
- c9s
- rhel-9.4

- pattern: ext.config.rpm-ostree.replace-rt-kernel
tracker: https://github.com/openshift/os/issues/1383
snooze: 2024-02-26
snooze: 2024-03-18
osversion:
- rhel-9.4

- pattern: ext.config.shared.content-origins
tracker: https://github.com/openshift/os/issues/1387#issuecomment-1769313807
snooze: 2024-02-26
snooze: 2024-03-18
osversion:
- rhel-9.4

- pattern: ext.config.version.rhel-matches-rhcos-build
tracker: https://github.com/openshift/os/issues/1387#issuecomment-1769313807
snooze: 2024-02-26
snooze: 2024-03-18
osversion:
- rhel-9.4

# CentOS Stream specific indefinite snooze
- pattern: iso-live-login.uefi-secure
tracker: https://github.com/openshift/os/issues/1237
osversion:
- c9s

- pattern: iso-as-disk.uefi-secure
tracker: https://github.com/openshift/os/issues/1237
osversion:
- c9s

- pattern: ext.config.rpm-ostree.replace-rt-kernel
tracker: https://github.com/openshift/os/issues/1315
osversion:
- c9s

# Other failing tests
- pattern: pxe-*.ppcfw
tracker: https://github.com/coreos/coreos-assembler/issues/3370
# nb: testiso doesn't read this, so it's just for consistency
Expand Down

0 comments on commit 1bba52e

Please sign in to comment.