Skip to content

Commit 04b8725

Browse files
committed
Update env vars and network requirements for optional tests
1 parent b12445f commit 04b8725

10 files changed

+12
-123
lines changed

test/scenarios-bootc/el9/presubmits/el98-src@cert-manager.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic_schedule_requirements() {
2323
min_vcpus=4
2424
min_memory=4096
2525
min_disksize=25
26-
networks="${NETWORKS}"
26+
networks=
2727
boot_image=rhel98-bootc-source-optionals
2828
fips=false
2929
slow=true
@@ -41,14 +41,5 @@ scenario_remove_vms() {
4141
}
4242

4343
scenario_run_tests() {
44-
local skip_args=""
45-
if [[ "${UNAME_M}" =~ aarch64 ]]; then
46-
skip_args="--skip sriov"
47-
fi
48-
# shellcheck disable=SC2086
49-
run_tests host1 \
50-
--variable "PROMETHEUS_HOST:$(hostname)" \
51-
--variable "LOKI_HOST:$(hostname)" \
52-
${skip_args} \
53-
suites/optional/cert-manager.robot
44+
run_tests host1 suites/optional/cert-manager.robot
5445
}

test/scenarios-bootc/el9/presubmits/el98-src@dns.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ scenario_run_tests() {
2727
# The SYNC_FREQUENCY is set to a shorter-than-default value to speed up
2828
# pre-submit scenario completion time in DNS tests.
2929
run_tests host1 \
30-
--variable "EXPECTED_OS_VERSION:9.8" \
3130
--variable "SYNC_FREQUENCY:5s" \
3231
suites/standard1/dns.robot
3332
}

test/scenarios-bootc/el9/presubmits/el98-src@gateway-api.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic_schedule_requirements() {
2323
min_vcpus=4
2424
min_memory=4096
2525
min_disksize=25
26-
networks="${NETWORKS}"
26+
networks=
2727
boot_image=rhel98-bootc-source-optionals
2828
fips=false
2929
slow=true
@@ -41,14 +41,5 @@ scenario_remove_vms() {
4141
}
4242

4343
scenario_run_tests() {
44-
local skip_args=""
45-
if [[ "${UNAME_M}" =~ aarch64 ]]; then
46-
skip_args="--skip sriov"
47-
fi
48-
# shellcheck disable=SC2086
49-
run_tests host1 \
50-
--variable "PROMETHEUS_HOST:$(hostname)" \
51-
--variable "LOKI_HOST:$(hostname)" \
52-
${skip_args} \
53-
suites/optional/gateway-api.robot
44+
run_tests host1 suites/optional/gateway-api.robot
5445
}

test/scenarios-bootc/el9/presubmits/el98-src@generic-device-plugin.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic_schedule_requirements() {
2323
min_vcpus=4
2424
min_memory=4096
2525
min_disksize=25
26-
networks="${NETWORKS}"
26+
networks=
2727
boot_image=rhel98-bootc-source-optionals
2828
fips=false
2929
slow=true
@@ -41,14 +41,5 @@ scenario_remove_vms() {
4141
}
4242

4343
scenario_run_tests() {
44-
local skip_args=""
45-
if [[ "${UNAME_M}" =~ aarch64 ]]; then
46-
skip_args="--skip sriov"
47-
fi
48-
# shellcheck disable=SC2086
49-
run_tests host1 \
50-
--variable "PROMETHEUS_HOST:$(hostname)" \
51-
--variable "LOKI_HOST:$(hostname)" \
52-
${skip_args} \
53-
suites/optional/generic-device-plugin.robot
44+
run_tests host1 suites/optional/generic-device-plugin.robot
5445
}

test/scenarios-bootc/el9/presubmits/el98-src@healthchecks-disabled-service.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic_schedule_requirements() {
2323
min_vcpus=4
2424
min_memory=4096
2525
min_disksize=25
26-
networks="${NETWORKS}"
26+
networks=
2727
boot_image=rhel98-bootc-source-optionals
2828
fips=false
2929
EOF
@@ -40,14 +40,5 @@ scenario_remove_vms() {
4040
}
4141

4242
scenario_run_tests() {
43-
local skip_args=""
44-
if [[ "${UNAME_M}" =~ aarch64 ]]; then
45-
skip_args="--skip sriov"
46-
fi
47-
# shellcheck disable=SC2086
48-
run_tests host1 \
49-
--variable "PROMETHEUS_HOST:$(hostname)" \
50-
--variable "LOKI_HOST:$(hostname)" \
51-
${skip_args} \
52-
suites/optional/healthchecks-disabled-service.robot
43+
run_tests host1 suites/optional/healthchecks-disabled-service.robot
5344
}

test/scenarios-bootc/el9/presubmits/el98-src@multus.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,5 @@ scenario_remove_vms() {
4040
}
4141

4242
scenario_run_tests() {
43-
local skip_args=""
44-
if [[ "${UNAME_M}" =~ aarch64 ]]; then
45-
skip_args="--skip sriov"
46-
fi
47-
# shellcheck disable=SC2086
48-
run_tests host1 \
49-
--variable "PROMETHEUS_HOST:$(hostname)" \
50-
--variable "LOKI_HOST:$(hostname)" \
51-
${skip_args} \
52-
suites/optional/multus.robot
43+
run_tests host1 suites/optional/multus.robot
5344
}

test/scenarios-bootc/el9/presubmits/el98-src@observability.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic_schedule_requirements() {
2323
min_vcpus=4
2424
min_memory=4096
2525
min_disksize=25
26-
networks="${NETWORKS}"
26+
networks=
2727
boot_image=rhel98-bootc-source-optionals
2828
fips=false
2929
EOF

test/scenarios-bootc/el9/presubmits/el98-src@olm.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic_schedule_requirements() {
2323
min_vcpus=4
2424
min_memory=4096
2525
min_disksize=25
26-
networks="${NETWORKS}"
26+
networks=
2727
boot_image=rhel98-bootc-source-optionals
2828
fips=false
2929
slow=true
@@ -32,7 +32,6 @@ EOF
3232

3333
scenario_create_vms() {
3434
LVM_SYSROOT_SIZE=20480 prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source-optionals
35-
# Three nics - one for sriov, one for macvlan, another for ipvlan (they cannot enslave the same interface)
3635
launch_vm rhel98-bootc --network "${NETWORKS}" --vm_disksize 25 --vm_vcpus 4
3736
}
3837

@@ -41,14 +40,5 @@ scenario_remove_vms() {
4140
}
4241

4342
scenario_run_tests() {
44-
local skip_args=""
45-
if [[ "${UNAME_M}" =~ aarch64 ]]; then
46-
skip_args="--skip sriov --skip tls-scanner"
47-
fi
48-
# shellcheck disable=SC2086
49-
run_tests host1 \
50-
--variable "PROMETHEUS_HOST:$(hostname)" \
51-
--variable "LOKI_HOST:$(hostname)" \
52-
${skip_args} \
53-
suites/optional/olm.robot
43+
run_tests host1 suites/optional/olm.robot
5444
}

test/scenarios-bootc/el9/presubmits/el98-src@optional.sh

Lines changed: 0 additions & 53 deletions
This file was deleted.

test/scenarios-bootc/el9/presubmits/el98-src@sriov.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ scenario_run_tests() {
4646
fi
4747
# shellcheck disable=SC2086
4848
run_tests host1 \
49-
--variable "PROMETHEUS_HOST:$(hostname)" \
50-
--variable "LOKI_HOST:$(hostname)" \
5149
${skip_args} \
5250
suites/optional/sriov.robot
5351
}

0 commit comments

Comments
 (0)