Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rhcos-4.18]: mantle/kola: make iscsi tests use virtiofs mounted COSA rootfs #4015

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

dustymabe
Copy link
Member

Backport

In this case we'll run the podman container with --rootfs instead
of pulling a full 4+ GiB COSA image from quay for kola qemuexec.

This saves us quite a bit of time and bandwidth usage during a
pipeline run because we have more than 1 iscsi test.

This should also take care of coreos/fedora-coreos-tracker#1866
because we are no longer pulling this particular container from quay.

(cherry picked from commit 8dbfe3e)

Pulling COSA from quay takes a good amount of time. Let's bump
this so the service doesn't timeout like has been seen:

```
Jan 27 13:27:10 localhost systemd[1]: Starting Boot VM over iSCSI...
Jan 27 13:28:21 localhost chronyd[1116]: Can't synchronise: no selectable sources
Jan 27 13:28:21 localhost chronyd[1116]: Source 149.28.200.179 replaced with 67.217.246.204 (2.rhel.pool.ntp.org)
Jan 27 13:31:16 localhost systemd[1289]: Created slice User Background Tasks Slice.
Jan 27 13:31:16 localhost systemd[1289]: Starting Cleanup of User's Temporary Files and Directories...
Jan 27 13:31:16 localhost systemd[1289]: Finished Cleanup of User's Temporary Files and Directories.
Jan 27 13:31:26 localhost systemd[1]: coreos-iscsi-vm.service: start operation timed out. Terminating.
Jan 27 13:31:26 localhost systemd[1]: coreos-iscsi-vm.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 13:31:26 localhost systemd[1]: coreos-iscsi-vm.service: Failed with result 'timeout'.
```

(cherry picked from commit c4a64ab)
We've seen errors in the RHCOS pipeline where the iSCSI tests
are hitting the 10m timeout. We could bump the timeout, but
first let's try pulling the COSA image in a separate unit so
that it can happen in parallel with the install over iSCSI
so that when we're ready to start the VM the image is already
there.

(cherry picked from commit d3ec501)
In this case we'll run the podman container with --rootfs instead
of pulling a full 4+ GiB COSA image from quay for `kola qemuexec`.

This saves us quite a bit of time and bandwidth usage during a
pipeline run because we have more than 1 iscsi test.

This should also take care of coreos/fedora-coreos-tracker#1866
because we are no longer pulling this particular container from quay.

(cherry picked from commit 8dbfe3e)
Copy link

openshift-ci bot commented Jan 31, 2025

@dustymabe: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/rhcos be6dd8e link true /test rhcos

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

All of these patches should be in the latest OSBuild RPMs in
Fedora 40 so we should be good to drop these.
@dustymabe dustymabe enabled auto-merge (rebase) January 31, 2025 14:45
@dustymabe dustymabe merged commit 1edb5c3 into coreos:rhcos-4.18 Jan 31, 2025
4 of 5 checks passed
@dustymabe dustymabe deleted the dusty-418-backport branch January 31, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants