From 1dbd721c528876bf551d8652202e568bd9b277f1 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sat, 4 Nov 2023 18:58:08 +0100 Subject: [PATCH] Added additional troubleshooting steps --- docs/TROUBLESHOOTING.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 1ab04da..736a51c 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -22,8 +22,14 @@ Example log output: qemu-system-x86_64: terminating on signal 15 from pid 1261 (/bin/sh) ``` -This might be related to modules not being loaded on the host. -For me modprobing `ext4` solved this issue. +This might happen when running on slower systems, and your qemu VM takes longer than two minutes to become ready. +So far your only option is cloning the [builds.sr.ht](https://git.sr.ht/~sircmpwn/builds.sr.ht/) repo and manually changing it. +Afterwards edit the following line in the [worker/tasks.go]() file: +> timeout, cancel := context.WithTimeout(ctx.Context, 120*time.Second) +For example you could increase the timeout to 5 minutes: +> timeout, cancel := context.WithTimeout(ctx.Context, 5*60*time.Second) +Now rebuild the runner using `go build` in the `worker` directory and copy the generated executable to `/usr/bin/builds.sr.ht-worker` +and restart the worker. ### ssh builds@runner or git@git asks for a password This implies that the playbook was unable reset the password for the given account. -- 2.38.5