Skip to content

Commit

Permalink
mantle/kola: use TimeoutStartSec for iscsi tests
Browse files Browse the repository at this point in the history
Pulling COSA from quay and running an install in a VM 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'.
```
  • Loading branch information
dustymabe committed Jan 27, 2025
1 parent 575a172 commit 91e6bbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mantle/cmd/kola/resources/iscsi_butane_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ storage:
# Start by default on boot
WantedBy=multi-user.target
[Service]
# Extend start time because we are pulling from quay and doing an install
TimeoutStartSec=600
# fix permissions on the serial device before passing it as a volume
ExecStartPre=chmod 777 /dev/virtio-ports/testisocompletion
# Pipe the logs to a virtio port so kola saves them
Expand Down

0 comments on commit 91e6bbd

Please sign in to comment.