1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

kola: Update kola tests to use new YAML format for kola options

This commit is contained in:
gursewak1997
2022-12-14 09:14:09 -08:00
committed by Gursewak Mangat
parent 7c3634aae5
commit 2ae9190e55
90 changed files with 457 additions and 377 deletions

View File

@@ -160,9 +160,10 @@ Tests should follow the following format:
```bash
#!/bin/bash
# kola: { "exclusive": false, ... }
# ^^----- kola option comment
# ^^----- See all options in <https://coreos.github.io/coreos-assembler/kola/external-tests/#kolajson>
## kola:
## exclusive: false
## platforms: aws gcp
## # See all options in https://coreos.github.io/coreos-assembler/kola/external-tests/#kolajson
#
# Short summary of what the test does, why we need it, etc.
#

View File

@@ -12,6 +12,7 @@ so:
```bash
#!/bin/bash
# kola: {"distros": "fcos"}
## kola:
## distros: fcos
...
```

View File

@@ -1,20 +1,19 @@
#!/bin/bash
# kola: {"platforms": "qemu", "exclusive": false, "tags": "needs-internet", "distros": "fcos", "architectures": "aarch64 s390x"}
# Test the x86_64 emulator on aarch64 and s390x images for now
# https://github.com/coreos/fedora-coreos-tracker/issues/1237
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - exclusive: false
# - This test doesn't make meaningful changes to the system and
# should be able to be combined with other tests.
# - tags: needs-internet
# - This test pulls a container from a registry.
# - distros:
# - Only run on fcos, as rhel does not support emulation
# - architectures: aarch64 s390x
# - We decided to ship x86_64 emulator to only these arches for now.
# - Refer to the above referenced issue for more details
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # This test doesn't make meaningful changes to the system and should
## # be able to be combined with other tests.
## exclusive: false
## # This test pulls a container from a registry.
## tags: needs-internet
## # Only run on fcos, as rhel does not support emulation
## distros: fcos
## # We decided to ship x86_64 emulator to only these arches for now.
## architectures: aarch64 s390x
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# This is just a basic sanity check; at some point we
# will implement "project-owned tests run in the pipeline"
# and be able to run the existing bootupd tests:

View File

@@ -1,11 +1,11 @@
#!/bin/bash
# kola: { "platforms": "qemu-unpriv", "allowConfigWarnings": true }
# - platforms: qemu-unpriv
# - This test should pass everywhere if it passes anywhere.
# - allowConfigWarnings: true
# - We intentionally exclude the Install section from a systemd unit.
# This is valid but not ideal, so Butane warns about it.
# This test ensures that Ignition warnings are displayed on the console.
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu-unpriv
## # We intentionally exclude the Install section from a systemd unit.
## # This is valid but not ideal, so Butane warns about it.
## allowConfigWarnings: true
set -xeuo pipefail

View File

@@ -1,8 +1,10 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS because RHCOS does not currently support cgroupsv2
# by default.
# TODO-RHCOS: drop "fcos" tag when cgroupsv2 lands in RHCOS
## kola:
## # This test only runs on FCOS because RHCOS does not currently
## # support cgroupsv2 by default.
## # TODO-RHCOS: drop "fcos" tag when cgroupsv2 lands in RHCOS
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,9 +1,11 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS because the version of `systemd-udev` in RHCOS does
# not include `systemd-repart`
# TODO-RHCOS: consider dropping the "fcos" tag if/when `systemd-udev` in RHEL
# starts to include `systemd-repart`
## kola:
## # This test only runs on FCOS because the version of `systemd-udev` in RHCOS does
## # not include `systemd-repart`
## # TODO-RHCOS: consider dropping the "fcos" tag if/when `systemd-udev` in RHEL
## # starts to include `systemd-repart`
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,16 +1,17 @@
#!/bin/bash
# This test ensures that we can install some common tools as OS extensions.
set -xeuo pipefail
# This test only runs on FCOS as OS extensions are implemented differently on RHCOS.
# kola: { "distros": "fcos", "tags": "needs-internet", "platforms": "qemu", "timeoutMin": 15, "minMemory": 1536 }
#
# This test ensures that we can install some common tools as OS extensions.
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - timeoutMin: 15
# - This is dependent on network and disk speed but we've seen the
# test take longer than 10 minutes in our aarch64 qemu tests.
## kola:
## # This test only runs on FCOS as OS extensions are implemented differently on RHCOS.
## distros: fcos
## tags: needs-internet
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # This is dependent on network and disk speed but we've seen the
## # test take longer than 10 minutes in our aarch64 qemu tests.
## timeoutMin: 15
## minMemory: 1536
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,16 +1,18 @@
#!/bin/bash
set -xeuo pipefail
# This test only runs on FCOS as OS extensions are implemented differently on RHCOS.
# kola: { "distros": "fcos", "tags": "needs-internet", "platforms": "qemu", "timeoutMin": 15, "minMemory": 1536 }
#
## kola:
## # This test only runs on FCOS as OS extensions are implemented differently on RHCOS.
## distros: fcos
## tags: needs-internet
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # This is dependent on network and disk speed but we've seen the
## # test take longer than 10 minutes in our aarch64 qemu tests.
## timeoutMin: 15
## minMemory: 1536
# This test ensures that we can install some common tools as OS extensions.
#
# - timeoutMin: 15
# - This is dependent on network and disk speed but we've seen the
# test take longer than 10 minutes in our aarch64 qemu tests.
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# Verify /etc release symlinks are valid
# See:
# - https://bugzilla.redhat.com/show_bug.cgi?id=2068148

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
# kola: { "distros": "fcos", "exclusive": false }
## kola:
## distros: fcos
## exclusive: false
#
# This performs a sanity check on system groups that are shipped
# as part of the base OS. Those groups come in different shapes

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
# kola: { "distros": "fcos", "exclusive": false }
## kola:
## distros: fcos
## exclusive: false
#
# This performs a sanity check on system users that are shipped
# as part of the base OS. Those users come in different shapes

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# check that we are not including the kernel headers on the host
# See:
# - https://bugzilla.redhat.com/show_bug.cgi?id=1814719

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# Test some services are enabled or disabled appropriately
set -xeuo pipefail

View File

@@ -1,8 +1,10 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS bceause RHCOS does ship `info` which is a
# Requires on a number of RHCOS packages.
# TODO-RHCOS: modify test to check for RHCOS-specific `remove-files` entry
## kola:
## # This test only runs on FCOS bceause RHCOS does ship `info` which is a
## # Requires on a number of RHCOS packages.
## # TODO-RHCOS: modify test to check for RHCOS-specific `remove-files` entry
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,7 +1,9 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS as the RHCOS rpmdb has not migrated to sqlite yet.
# TODO-RHCOS: drop the "fcos" tag when RHCOS migrates to using sqlite
## kola:
## # This test only runs on FCOS as the RHCOS rpmdb has not migrated to sqlite yet.
## # TODO-RHCOS: drop the "fcos" tag when RHCOS migrates to using sqlite
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,7 +1,9 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": true }
# This test verifies that one can configure a node to use the legacy iptables
# backend. It is scoped to only FCOS because RHCOS only supports nft.
## kola:
## # This test verifies that one can configure a node to use the legacy iptables
## # backend. It is scoped to only FCOS because RHCOS only supports nft.
## distros: fcos
## exclusive: true
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# Verifies that the expected iptables backend is configured.
# https://github.com/coreos/fedora-coreos-tracker/issues/676
set -xeuo pipefail

View File

@@ -1,8 +1,8 @@
#!/bin/bash
# kola: { "platforms": "qemu-unpriv" }
# - platforms: qemu-unpriv
# - Ideally we'd test on virtualbox and vmware, but we don't have tests
# there, so we mock specifically for ignition.platform.id=qemu
## kola:
## # Ideally we'd test on virtualbox and vmware, but we don't have tests
## # there, so we mock specifically for ignition.platform.id=qemu
## platforms: qemu-unpriv
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "tags": "needs-internet" }
## kola:
## tags: needs-internet
# To test https://bugzilla.redhat.com/show_bug.cgi?id=1980679
# remote.ign on github: inject kernelArguments and write something to /etc/testfile
# config.ign to include remote kargsfile.ign

View File

@@ -1,9 +1,9 @@
#!/bin/bash
# kola: { "tags": "needs-internet", "platforms": "gce" }
# - tags: needs-internet
# - We fetch resources from GCS.
# - platforms: gce
# - We authenticate to GCS with the GCE instance's credentials.
## kola:
## # We fetch resources from GCS.
## tags: needs-internet
## # We authenticate to GCS with the GCE instance's credentials.
## platforms: gce
set -xeuo pipefail

View File

@@ -1,9 +1,9 @@
#!/bin/bash
# kola: { "tags": "needs-internet", "platforms": "aws" }
# - tags: needs-internet
# - We fetch resources from S3.
# - platforms: aws
# - We authenticate to S3 with the EC2 instance's IAM role.
## kola:
## # We fetch resources from S3.
## tags: needs-internet
## # We authenticate to S3 with the EC2 instance's IAM role.
## platforms: aws
set -xeuo pipefail

View File

@@ -1,11 +1,11 @@
#!/bin/bash
# kola: { "tags": "needs-internet", "noInstanceCreds": true }
# - tags: needs-internet
# - We fetch resources from S3 and GCS.
# - noInstanceCreds: don't pass AWS or GCP credentials to instance
# - This test verifies that Ignition can fetch anonymous resources within
# a cloud platform (S3 -> EC2, GCS -> GCE) when no credentials are
# supplied
## kola:
## # We fetch resources from S3 and GCS
## tags: needs-internet
## # Don't pass AWS or GCP credentials to instance
## # This test verifies that Ignition can fetch anonymous resources within
## # a cloud platform (S3 -> EC2, GCS -> GCE) when no credentials are supplied
## noInstanceCreds: true
set -xeuo pipefail

View File

@@ -1,8 +1,9 @@
#!/bin/bash
# kola: { "platforms": "qemu-unpriv" }
# This test makes sure that ignition is able to use `coreos-boot-disk` symlink.
# We don't need to test this on every platform. If it passes in one place it
# will pass everywhere.
## kola:
## # This test makes sure that ignition is able to use `coreos-boot-disk` symlink.
## # We don't need to test this on every platform. If it passes in one place it
## # will pass everywhere.
## platforms: qemu-unpriv
set -xeuo pipefail

View File

@@ -1,14 +1,15 @@
#!/bin/bash
# kola: { "distros": "fcos", "platforms": "qemu-unpriv" }
## kola:
## # This test is currently scoped to FCOS because `zincati` is only available on
## # FCOS.
## # TODO-RHCOS: Determine if any services on RHCOS may be disabled and adapt test
## distros: fcos
## # We don't need to test this on every platform. If it passes in
## # one place it will pass everywhere.
## platforms: qemu-unpriv
# This test makes sure that ignition is able to disable units
# https://github.com/coreos/fedora-coreos-tracker/issues/392
# We don't need to test this on every platform. If it passes in
# one place it will pass everywhere.
# This test is currently scoped to FCOS because `zincati` is only available on
# FCOS.
# TODO-RHCOS: Determine if any services on RHCOS may be disabled and adapt test
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,11 +1,12 @@
#!/bin/bash
# kola: { "platforms": "qemu-unpriv" }
## kola:
## # We don't need to test this on every platform. If it passes in
## # one place it will pass everywhere.
## platforms: qemu-unpriv
# This test makes sure that ignition is able to enable systemd units of
# different types.
# https://github.com/coreos/ignition/issues/586
# https://github.com/systemd/systemd/pull/9901
# We don't need to test this on every platform. If it passes in one place it
# will pass everywhere.
set -xeuo pipefail

View File

@@ -1,15 +1,17 @@
#!/bin/bash
# kola: { "distros": "fcos", "platforms": "qemu-unpriv" }
## kola:
## # This test is currently scoped to FCOS because `dnsmasq` is not masked on
## # RHCOS.
## # TODO-RHCOS: determine if any services on RHCOS are masked and adapt test
## distros: fcos
## # We don't need to test this on every platform. If it passes in one place it
## # will pass everywhere.
## platforms: qemu-unpriv
# This test makes sure that ignition is able to unmask units
# It just so happens we have masked dnsmasq in FCOS so we can
# test this by unmasking it.
# We don't need to test this on every platform. If it passes in one place it
# will pass everywhere.
# This test is currently scoped to FCOS because `dnsmasq` is not masked on
# RHCOS.
# TODO-RHCOS: determine if any services on RHCOS are masked and adapt test
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,6 +1,12 @@
#!/bin/bash
# kola: {"minMemory": 4096, "timeoutMin": 45, "minDisk": 20, "architectures": "x86_64", "requiredTag": "k8s", "tags": "needs-internet"}
# Just run on x86_64 for now. We'd need multi-arch images with go 1.17.
## kola:
## minMemory: 4096
## timeoutMin: 45
## minDisk: 20
## # Just run on x86_64 for now. We'd need multi-arch images with go 1.17.
## architectures: x86_64
## requiredTag: k8s
## tags: needs-internet
set -xeuo pipefail

View File

@@ -1,14 +1,14 @@
#!/bin/bash
# https://docs.fedoraproject.org/en-US/fedora-coreos/debugging-kernel-crashes/
# kola: {"minMemory": 4096, "tags": "skip-base-checks", "timeoutMin": 15}
# - minMemory: 4096
# - Testing kdump requires some reserved memory for the crashkernel.
# - tags: skip-base-checks
# - Skip checks for things like kernel crashes in the console logs.
# For this test we trigger a kernel crash on purpose.
# - timeoutMin: 15
# - This test includes a few reboots and the generation of a vmcore,
# which can take longer than the default 10 minute timeout.
## kola:
## # Testing kdump requires some reserved memory for the crashkernel.
## minMemory: 4096
## # Skip checks for things like kernel crashes in the console logs.
## # For this test we trigger a kernel crash on purpose.
## tags: skip-base-checks
## # This test includes a few reboots and the generation of a vmcore,
## # which can take longer than the default 10 minute timeout.
## timeoutMin: 15
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# Make sure that kdump didn't start (it's either disabled, or enabled but
# conditional on crashkernel= karg, which we don't bake).

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# This is for verifying that `kubernetes_file_t` labeled files can be
# watched by systemd
# See: https://github.com/coreos/fedora-coreos-tracker/issues/861

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# Verify default console log level; xref https://github.com/coreos/fedora-coreos-tracker/issues/1244
set -xeuo pipefail

View File

@@ -1,6 +1,8 @@
#!/bin/bash
# kola: { "exclusive": false, "platforms": "qemu-unpriv" }
# Just run on qemu since the answer is the same everywhere
## kola:
## exclusive: false
## # Just run on qemu since the answer is the same everywhere
## platforms: qemu-unpriv
set -xeuo pipefail

View File

@@ -1,6 +1,8 @@
#!/bin/bash
# kola: { "exclusive": false, "platforms": "qemu-unpriv" }
# No need to run on any other platform than QEMU.
## kola:
## exclusive: false
## # No need to run on any other platform than QEMU.
## platforms: qemu-unpriv
set -xeuo pipefail

View File

@@ -1,8 +1,10 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS because the `dnsmasq` service on RHCOS is simply
# disabled, not masked.
# TODO-RHCOS: adapt test to check that `dnsmasq` is in the proper state on RHCOS
## kola:
## # This test only runs on FCOS because the `dnsmasq` service on RHCOS is simply
## # disabled, not masked.
## # TODO-RHCOS: adapt test to check that `dnsmasq` is in the proper state on RHCOS
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -10,20 +10,19 @@ set -xeuo pipefail
# https://bugzilla.redhat.com/show_bug.cgi?id=1958930#c29
# kola: { "platforms": "qemu", "additionalNics": 1, "appendKernelArgs": "ip=10.10.10.10::10.10.10.1:255.255.255.0:myhostname:eth1:none:8.8.8.8 net.ifnames=0 coreos.force_persist_ip", "architectures": "!s390x" }
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - additionalNics: 1
# - Add 1 NIC for this test
# - appendKernelArgs: "ip=10.10.10.10::10.10.10.1:255.255.255.0:myhostname:eth1:none:8.8.8.8 net.ifnames=0 coreos.force_persist_ip"
# - The functionality we're testing here and the configuration for the NIC
# - We use net.ifnames=0 to disable consistent network naming here because on
# different firmwares (BIOS vs UEFI) the NIC names are different.
# See https://github.com/coreos/fedora-coreos-tracker/issues/1060
# - architectures: !s390x
# - appendKernelArgs doesn't work on s390x
# - https://github.com/coreos/coreos-assembler/issues/2776
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Add 1 NIC for this test
## additionalNics: 1
## # The functionality we're testing here and the configuration for the NIC
## # We use net.ifnames=0 to disable consistent network naming here because on
## # different firmwares (BIOS vs UEFI) the NIC names are different.
## # See https://github.com/coreos/fedora-coreos-tracker/issues/1060
## appendKernelArgs: "ip=10.10.10.10::10.10.10.1:255.255.255.0:myhostname:eth1:none:8.8.8.8 net.ifnames=0 coreos.force_persist_ip"
## # appendKernelArgs doesn't work on s390x
## # https://github.com/coreos/coreos-assembler/issues/2776
## architectures: "!s390x"
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,7 +1,8 @@
#!/bin/bash
set -xeuo pipefail
# kola: { "platforms": "qemu" }
## kola:
## platforms: qemu
#
# Test that the fallback hostname is `localhost`. This test
# validates that the fallback hostname is set to `localhost`

View File

@@ -1,7 +1,14 @@
#!/bin/bash
# kola: { "platforms": "qemu", "appendFirstbootKernelArgs": "rd.net.timeout.dhcp=30 rd.net.dhcp.retry=8", "architectures": "!s390x"}
#
# Veirfy rd.net.timeout.dhcp and rd.net.dhcp.retry are supported
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # The functionality we're testing here.
## appendFirstbootKernelArgs: "rd.net.timeout.dhcp=30 rd.net.dhcp.retry=8"
## # appendFirstbootKernelArgs doesn't work on s390x
## # https://github.com/coreos/coreos-assembler/issues/2776
## architectures: "!s390x"
# Verify rd.net.timeout.dhcp and rd.net.dhcp.retry are supported
# by NetworkManager. Append them to kernel parameter when boot,
# get total timeout is `timeout * retry`, 30*8(240) seconds
# in this test scenario
@@ -9,14 +16,6 @@
# - https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/559
# - https://bugzilla.redhat.com/show_bug.cgi?id=1879094#c10
# - https://bugzilla.redhat.com/show_bug.cgi?id=1877740
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - appendFirstbootKernelArgs: "rd.net.timeout.dhcp=30 rd.net.dhcp.retry=8"
# - The functionality we're testing here.
# - architectures: !s390x
# - appendFirstbootKernelArgs doesn't work on s390x
# - https://github.com/coreos/coreos-assembler/issues/2776
set -xeuo pipefail

View File

@@ -1,5 +1,16 @@
#!/bin/bash
# kola: { "platforms": "qemu", "additionalNics": 2, "appendKernelArgs": "net.ifnames=0", "architectures": "!s390x"}
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Add 2 NIC for this test
## additionalNics: 2
## # We use net.ifnames=0 to disable consistent network naming here because on
## # different firmwares (BIOS vs UEFI) the NIC names are different.
## # See https://github.com/coreos/fedora-coreos-tracker/issues/1060
## appendKernelArgs: net.ifnames=0
## # appendKernelArgs doesn't work on s390x
## # https://github.com/coreos/coreos-assembler/issues/2776
## architectures: "!s390x"
# Set MTU on a VLAN subinterface for the bond using ignition config and check
# - verify MTU on the bond matches config
@@ -16,18 +27,6 @@
# Using kernel args to `configure MTU on a VLAN subinterface for the bond` refer to
# https://github.com/coreos/fedora-coreos-config/pull/1401
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - additionalNics: 2
# - Add 2 NIC for this test
# - appendKernelArgs: "net.ifnames=0"
# - We use net.ifnames=0 to disable consistent network naming here because on
# different firmwares (BIOS vs UEFI) the NIC names are different.
# See https://github.com/coreos/fedora-coreos-tracker/issues/1060
# - architectures: !s390x
# - appendKernelArgs doesn't work on s390x
# - https://github.com/coreos/coreos-assembler/issues/2776
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,17 @@
#!/bin/bash
# kola: { "platforms": "qemu", "additionalNics": 2, "appendKernelArgs": "bond=bond0:eth1,eth2:mode=active-backup,miimon=100:9000 ip=10.10.10.10::10.10.10.1:255.255.255.0:staticvlanbond:bond0.100:none:9000 vlan=bond0.100:bond0 net.ifnames=0", "architectures": "!s390x"}
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Add 2 NIC for this test
## additionalNics: 2
## # Configuration of the 2 NICs for this test
## # We use net.ifnames=0 to disable consistent network naming here because on
## # different firmwares (BIOS vs UEFI) the NIC names are different.
## # See https://github.com/coreos/fedora-coreos-tracker/issues/1060
## appendKernelArgs: "bond=bond0:eth1,eth2:mode=active-backup,miimon=100:9000 ip=10.10.10.10::10.10.10.1:255.255.255.0:staticvlanbond:bond0.100:none:9000 vlan=bond0.100:bond0 net.ifnames=0"
## # appendKernelArgs doesn't work on s390x
## # https://github.com/coreos/coreos-assembler/issues/2776
## architectures: "!s390x"
# Configuring MTU on a VLAN subinterface for the bond,
# - verify MTU on the bond matches config
@@ -7,19 +19,6 @@
# - verify ip address on the VLAN subinterface for the bond matches config
# See https://bugzilla.redhat.com/show_bug.cgi?id=1932502#c9
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - additionalNics: 2
# - Add 2 NIC for this test
# - appendKernelArgs: "bond=bond0:eth1,eth2:mode=active-backup,miimon=100:9000 ip=10.10.10.10::10.10.10.1:255.255.255.0:staticvlanbond:bond0.100:none:9000 vlan=bond0.100:bond0 net.ifnames=0"
# - Configuration of the 2 NICs for this test
# - We use net.ifnames=0 to disable consistent network naming here because on
# different firmwares (BIOS vs UEFI) the NIC names are different.
# See https://github.com/coreos/fedora-coreos-tracker/issues/1060
# - architectures: !s390x
# - appendKernelArgs doesn't work on s390x
# - https://github.com/coreos/coreos-assembler/issues/2776
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,17 +1,17 @@
#!/bin/bash
# kola: { "platforms": "qemu", "appendKernelArgs": "nameserver=8.8.8.8 nameserver=1.1.1.1", "architectures": "!s390x"}
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## appendKernelArgs: "nameserver=8.8.8.8 nameserver=1.1.1.1"
## # appendKernelArgs doesn't work on s390x
## # https://github.com/coreos/coreos-assembler/issues/2776
## architectures: "!s390x"
# Verify multiple nameservers config via kernel arguments work well
# RHCOS: need to check /etc/resolv.conf and nmconnection
# FCOS: using systemd-resolved which needs to run resolvectl to check
# See https://bugzilla.redhat.com/show_bug.cgi?id=1763341
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - architectures: !s390x
# - appendKernelArgs doesn't work on s390x
# - https://github.com/coreos/coreos-assembler/issues/2776
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,9 +1,11 @@
#!/bin/bash
# kola: { "exclusive": false, "platforms": "!azure" }
# Disable on azure because of a limitation of the hv_netvsc driver
# there. According to [1] and [2] the driver does not provide sufficient
# information to systemd-udev for systemd's naming to work. It falls
# back to basic ethX naming.
## kola:
## exclusive: false
## # Disable on azure because of a limitation of the hv_netvsc driver
## # there. According to [1] and [2] the driver does not provide sufficient
## # information to systemd-udev for systemd's naming to work. It falls
## # back to basic ethX naming.
## platforms: "!azure"
#
# [1] https://access.redhat.com/solutions/3204751
# [2] https://github.com/Azure/WALinuxAgent/issues/1877

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,18 +1,16 @@
#!/bin/bash
# kola: { "platforms": "qemu", "appendFirstbootKernelArgs": "BOOTIF=52:54:00:12:34:56" }
#
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Append BOOTIF kernel argument so we can test how nm-initrd-generator
## # and the coreos-teardown-initramfs interact. The MAC address is from:
## # https://github.com/coreos/coreos-assembler/blob/d5f1623aad6d133b2c7c00e784c04ab6828450c1/mantle/platform/metal.go#L468
## appendFirstbootKernelArgs: BOOTIF=52:54:00:12:34:56
# In addition to the pure network defaults case we should also make
# sure that when BOOTIF= or rd.bootif= are provided on the kernel
# command line (typically from PXE servers) that we don't propagate
# networking configs either. See https://github.com/coreos/fedora-coreos-tracker/issues/1048
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - appendFirstbootKernelArgs: "BOOTIF=52:54:00:12:34:56"
# - Append BOOTIF kernel argument so we can test how nm-initrd-generator
# and the coreos-teardown-initramfs interact. The MAC address is from:
# https://github.com/coreos/coreos-assembler/blob/d5f1623aad6d133b2c7c00e784c04ab6828450c1/mantle/platform/metal.go#L468
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# With pure network defaults no networking should have been propagated
# from the initramfs. This test tries to verify that is the case.
# https://github.com/coreos/fedora-coreos-tracker/issues/696

View File

@@ -1,6 +1,20 @@
#!/bin/bash
set -xeuo pipefail
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Add 1 additional NIC for this test
## additionalNics: 1
## # Set the kernel arguments so that we can set the configuration for the NIC.
## # We use net.ifnames=0 to disable consistent network naming here because on
## # different firmwares (BIOS vs UEFI) the NIC names are different.
## # See https://github.com/coreos/fedora-coreos-tracker/issues/1060
## appendKernelArgs: "ip=10.10.10.10::10.10.10.1:255.255.255.0:myhostname:eth1:none:8.8.8.8 net.ifnames=0"
## # appendKernelArgs doesn't work on s390x so skip there
## # https://github.com/coreos/coreos-assembler/issues/2776
## architectures: "!s390x"
# Setup configuration for a single NIC with two different ways:
# - kargs provide static network config for eth1 without coreos.force_persist_ip
# - ignition provides dhcp network config for eth1
@@ -10,22 +24,6 @@ set -xeuo pipefail
# https://bugzilla.redhat.com/show_bug.cgi?id=1958930#c29
# https://github.com/coreos/fedora-coreos-config/issues/1499
# - Disable the test on s390x
# kola: { "platforms": "qemu", "additionalNics": 1, "appendKernelArgs": "ip=10.10.10.10::10.10.10.1:255.255.255.0:myhostname:eth1:none:8.8.8.8 net.ifnames=0", "architectures": "!s390x" }
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - additionalNics: 1
# - Add 1 NIC for this test
# - appendKernelArgs: "ip=10.10.10.10::10.10.10.1:255.255.255.0:myhostname:eth1:none:8.8.8.8 net.ifnames=0"
# - The functionality we're testing here and the configuration for the NIC
# - We use net.ifnames=0 to disable consistent network naming here because on
# different firmwares (BIOS vs UEFI) the NIC names are different.
# See https://github.com/coreos/fedora-coreos-tracker/issues/1060
# - architectures: !s390x
# - appendKernelArgs doesn't work on s390x
# - https://github.com/coreos/coreos-assembler/issues/2776
. $KOLA_EXT_DATA/commonlib.sh
# Verify eth1 gets ip address via dhcp

View File

@@ -1,7 +1,9 @@
#!/bin/bash
# This test only runs on FCOS because `systemd-resolved` is not installed on
# RHCOS
# kola: { "distros": "fcos", "exclusive": false }
## kola:
## # This test only runs on FCOS because `systemd-resolved` is not installed on
## # RHCOS
## distros: fcos
## exclusive: false
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,7 @@
#!/bin/bash
# kola: { "exclusive": false, "platforms": "aws azure gce" }
## kola:
## exclusive: false
## platforms: "aws azure gce"
# Test the coreos-platform-chrony generator.
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -6,7 +6,7 @@
# regression that might cause in RHCOS or FCOS when the upstream changes
# come down and obsolete the temporary work (https://github.com/coreos/fedora-coreos-config/pull/412)
#
## kola:
## kola:
## # Add the needs-internet tag. This test builds a container from remote
## # sources and uses a remote NTP server.
## tags: "needs-internet"

View File

@@ -6,7 +6,7 @@
# regression that might cause in RHCOS or FCOS when the upstream changes
# come down and obsolete the temporary work (https://github.com/coreos/fedora-coreos-config/pull/412)
#
## kola:
## kola:
## # Add the needs-internet tag. This test builds a container from remote
## # sources and uses a remote NTP server.
## tags: "needs-internet"

View File

@@ -1,21 +1,20 @@
#!/bin/bash
set -xeuo pipefail
# kola: { "platforms": "qemu", "tags": "needs-internet", "exclusive": false, "timeoutMin": 3 }
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # This test pulls a container from a registry.
## tags: needs-internet
## # This test doesn't make meaningful changes to the system and
## # should be able to be combined with other tests.
## exclusive: false
## # This test reaches out to the internet and it could take more
## # time to pull down the container.
## timeoutMin: 3
# Tests that rootless podman containers can DNS resolve external domains.
# https://github.com/coreos/fedora-coreos-tracker/issues/923
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - tags: needs-internet
# - This test pulls a container from a registry.
# - exclusive: false
# - This test doesn't make meaningful changes to the system and
# should be able to be combined with other tests.
# - Root reprovisioning requires at least 4GiB of memory.
# - timeoutMin: 3
# - This test reaches out to the internet and it could take more
# time to pull down the container.
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,18 @@
#!/bin/bash
# kola: { "tags": "needs-internet", "platforms": "qemu-unpriv", "timeoutMin": 15, "minMemory": 1536 }
## kola:
## # This test builds a container from remote sources.
## # This test uses a remote NTP server.
## tags: needs-internet
## # If the test works anywhere it should work everywhere.
## platforms: qemu-unpriv
## # Pulling and building the container can take a long time if a
## # slow mirror gets chosen.
## timeoutMin: 15
## # There's a bug in dnf that is causing OOM on low memory systems:
## # https://bugzilla.redhat.com/show_bug.cgi?id=1907030
## # https://pagure.io/releng/issue/10935#comment-808601
## minMemory: 1536
# This script runs a rootless podman container (rootless because it's
# run as the `core` user) with systemd inside that brings up httpd.
# It tests that rootless+systemd works. See issue:
@@ -7,19 +20,6 @@
#
# If it gets easy to change the kargs in the future we should try this
# both on cgroups v1 and cgroups v2.
#
# - tags: needs-internet
# - This test builds a container from remote sources.
# - This test uses a remote NTP server.
# - platforms: qemu-unpriv
# - If the test works anywhere it should work everywhere.
# - timeoutMin: 15
# - Pulling and building the container can take a long time if a
# slow mirror gets chosen.
# - minMemory: 1536
# - There's a bug in dnf that is causing OOM on low memory systems:
# https://bugzilla.redhat.com/show_bug.cgi?id=1907030
# https://pagure.io/releng/issue/10935#comment-808601
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: {"platforms": "qemu"}
## kola:
## platforms: qemu
# These are read-only not-necessarily-related checks that verify default system
# configuration both on first and subsequent boots.

View File

@@ -1,15 +1,14 @@
#!/bin/bash
# kola: { "platforms": "qemu", "minMemory": 4096, "timeoutMin": 15, "tags": "reprovision" }
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - tags: reprovision
# - This test reprovisions the rootfs.
# - minMemory: 4096
# - Root reprovisioning requires at least 4GiB of memory.
# - timeoutMin: 15
# - This test includes a lot of disk I/O and needs a higher
# timeout value than the default.
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Root reprovisioning requires at least 4GiB of memory.
## minMemory: 4096
## # This test includes a lot of disk I/O and needs a higher
## # timeout value than the default.
## timeoutMin: 15
## # This test reprovisions the rootfs.
## tags: reprovision
set -xeuo pipefail

View File

@@ -1,18 +1,16 @@
#!/bin/bash
# kola: { "platforms": "qemu", "minMemory": 4096, "additionalDisks": ["5G", "5G"], "timeoutMin": 15, "tags": "reprovision" }
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - additionalDisks is only supported on qemu.
# - tags: reprovision
# - This test reprovisions the rootfs.
# - minMemory: 4096
# - Root reprovisioning requires at least 4GiB of memory.
# - additionalDisks: ["5G", "5G"]
# - Linear RAID is setup on these disks.
# - timeoutMin: 15
# - This test includes a lot of disk I/O and needs a higher
# timeout value than the default.
## kola:
## # additionalDisks is only supported on qemu.
## platforms: qemu
## # Root reprovisioning requires at least 4GiB of memory.
## minMemory: 4096
## # Linear RAID is setup on these disks.
## additionalDisks: ["5G", "5G"]
## # This test includes a lot of disk I/O and needs a higher
## # timeout value than the default.
## timeoutMin: 15
## # This test reprovisions the rootfs.
## tags: reprovision
set -xeuo pipefail

View File

@@ -1,17 +1,16 @@
#!/bin/bash
# kola: { "platforms": "qemu", "minMemory": 4096, "architectures": "!s390x", "timeoutMin": 15, "tags": "reprovision" }
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - tags: reprovision
# - This test reprovisions the rootfs.
# - minMemory: 4096
# - Root reprovisioning requires at least 4GiB of memory.
# - architectures: !s390x
# - A TPM backend device is not available on s390x to suport TPM.
# - timeoutMin: 15
# - This test includes a lot of disk I/O and needs a higher
# timeout value than the default.
## kola:
## # This test should pass everywhere if it passes anywhere.
## platforms: qemu
## # Root reprovisioning requires at least 4GiB of memory.
## minMemory: 4096
## # A TPM backend device is not available on s390x to suport TPM.
## architectures: "!s390x"
## # This test includes a lot of disk I/O and needs a higher
## # timeout value than the default.
## timeoutMin: 15
## # This test reprovisions the rootfs.
## tags: reprovision
set -xeuo pipefail

View File

@@ -1,18 +1,16 @@
#!/bin/bash
# kola: { "platforms": "qemu", "minMemory": 4096, "additionalDisks": ["5G", "5G"], "timeoutMin": 15, "tags": "reprovision" }
#
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - additionalDisks is only supported on qemu.
# - tags: reprovision
# - This test reprovisions the rootfs.
# - minMemory: 4096
# - Root reprovisioning requires at least 4GiB of memory.
# - additionalDisks: ["5G", "5G"]
# - A RAID1 is setup on these disks.
# - timeoutMin: 15
# - This test includes a lot of disk I/O and needs a higher
# timeout value than the default.
## kola:
## # additionalDisks is only supported on qemu.
## platforms: qemu
## # Root reprovisioning requires at least 4GiB of memory.
## minMemory: 4096
## # Linear RAID is setup on these disks.
## additionalDisks: ["5G", "5G"]
## # This test includes a lot of disk I/O and needs a higher
## # timeout value than the default.
## timeoutMin: 15
## # This test reprovisions the rootfs.
## tags: reprovision
set -xeuo pipefail

View File

@@ -1,21 +1,20 @@
#!/bin/bash
# kola: { "distros": "fcos", "platforms": "qemu", "minMemory": 4096, "timeoutMin": 15, "allowConfigWarnings": true, "tags": "reprovision" }
#
# - distros: fcos
# - This test only runs on FCOS due to a problem enabling a swap partition on
# RHCOS. See: https://github.com/openshift/os/issues/665
# - platforms: qemu
# - This test should pass everywhere if it passes anywhere.
# - tags: reprovision
# - This test reprovisions the rootfs.
# - minMemory: 4096
# - Root reprovisioning requires at least 4GiB of memory.
# - timeoutMin: 15
# - This test includes a lot of disk I/O and needs a higher
# timeout value than the default.
# - allowConfigWarnings: true
# - We intentionally put the root filesystem on partition 5. This is
# legal but usually not intended, so Butane warns about it.
## kola:
## # This test only runs on FCOS due to a problem enabling a swap partition on
## # RHCOS. See: https://github.com/openshift/os/issues/665
## distros: fcos
## # additionalDisks is only supported on qemu.
## platforms: qemu
## # Root reprovisioning requires at least 4GiB of memory.
## minMemory: 4096
## # This test includes a lot of disk I/O and needs a higher
## # timeout value than the default.
## timeoutMin: 15
## # We intentionally put the root filesystem on partition 5. This is
## # legal but usually not intended, so Butane warns about it.
## allowConfigWarnings: true
## # This test reprovisions the rootfs.
## tags: reprovision
set -xeuo pipefail

View File

@@ -1,7 +1,10 @@
#!/bin/bash
# kola: { "distros": "fcos", "tags": "needs-internet", "platforms": "qemu-unpriv" }
# No need to run on any other platform than QEMU.
# This test only runs on FCOS because countme support is not available in RHCOS
## kola:
## # This test only runs on FCOS because countme support is not available in RHCOS
## distros: fcos
## tags: needs-internet
## # No need to run on any other platform than QEMU.
## platforms: qemu-unpriv
set -xeuo pipefail

View File

@@ -1,6 +1,7 @@
#!/bin/bash
# Verify some dependencies of the rpm-ostree container stack.
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,7 +1,9 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS because RHCOS does not support `yescrypt`
# TODO-RHCOS: adapt to use different `crypt` scheme for RHCOS
## kola:
## # This test only runs on FCOS because RHCOS does not support `yescrypt`
## # TODO-RHCOS: adapt to use different `crypt` scheme for RHCOS
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,7 +1,9 @@
#!/usr/bin/env bash
# kola: { "distros": "fcos", "exclusive": false }
# This test only runs on FCOS because `systemd-resolved` is not installed on
# RHCOS
## kola:
## # This test only runs on FCOS because `systemd-resolved` is not installed on
## # RHCOS
## distros: fcos
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
set -xeuo pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# kola: { "exclusive": false }
## kola:
## exclusive: false
# We can run this on both FCOS and RHCOS as neither should have a zram device
# enabled by default. (In RHCOS, there is no zram support at all)

View File

@@ -1,7 +1,9 @@
#!/bin/bash
# kola: { "distros": "fcos", "exclusive": true}
# This test conflicts with swap/zram-default so we cannot set this to non-exclusive
# This test only runs on FCOS because RHCOS does not have zram support.
## kola:
## # This test only runs on FCOS because RHCOS does not have zram support.
## distros: fcos
## # This test conflicts with swap/zram-default so we cannot set this to non-exclusive
## exclusive: true
set -xeuo pipefail

View File

@@ -1,5 +1,16 @@
#!/bin/bash
# kola: { "distros": "fcos", "tags": "needs-internet", "platforms": "qemu-unpriv", "architectures": "x86_64 aarch64" }
## kola:
## # This test only runs on FCOS because RHCOS is missing the `machinectl` command.
## # Additionally, there are some distro specific choices made for this test that
## # should/could be adapted for RHCOS.
## # TODO-RHCOS: adapt test for RHCOS specifics or create separate RHCOS toolbox test
## distros: fcos
## tags: needs-internet
## # Only run on QEMU to reduce CI costs as nothing is platform specific here.
## platforms: qemu-unpriv
## # Toolbox container is currently available only for x86_64 and aarch64 in Fedora
## architectures: x86_64 aarch64
# Make sure that basic toolbox functionnality is working:
# - Creating a toolbox
# - Running a command in a toolbox
@@ -11,13 +22,6 @@
# code/status of the invoked shell process thus we need additionnal checks to
# ensure that previous commands were successful.
# Only run on QEMU to reduce CI costs as nothing is platform specific here.
# Toolbox container is currently available only for x86_64 and aarch64 in Fedora
# This test only runs on FCOS because RHCOS is missing the `machinectl` command.
# Additionally, there are some distro specific choices made for this test that
# should/could be adpated for RHCOS.
# TODO-RHCOS: adapt test for RHCOS specifics or create separate RHCOS toolbox test
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -1,8 +1,10 @@
#!/bin/bash
set -xeuo pipefail
# restrict to qemu for now because the primary disk path is platform-dependent
# kola: {"platforms": "qemu", "architectures": "!s390x"}
## kola:
## # restrict to qemu for now because the primary disk path is platform-dependent
## platforms: qemu
## architectures: "!s390x"
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -4,7 +4,9 @@ set -xeuo pipefail
# symlinks present in initramfs
# https://bugzilla.redhat.com/show_bug.cgi?id=1990506
# kola: {"platforms": "qemu", "additionalDisks": ["5G:mpath"]}
## kola:
## platforms: qemu
## additionalDisks: ["5G:mpath"]
. $KOLA_EXT_DATA/commonlib.sh

View File

@@ -2,7 +2,8 @@
set -xeuo pipefail
# restrict to qemu for now because the primary disk path is platform-dependent
# kola: {"platforms": "qemu"}
## kola:
## platforms: qemu
. $KOLA_EXT_DATA/commonlib.sh