Skip to content

murdock-worker: pin redis version and fix create_user - #297

Merged
crasbe merged 2 commits into
RIOT-OS:masterfrom
crasbe:pr/fix_murdock-worker
Sep 30, 2026
Merged

crasbe merged 2 commits into
RIOT-OS:masterfrom
crasbe:pr/fix_murdock-worker

Conversation

@crasbe

@crasbe crasbe commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Contribution Description

There have been two issues hiding in the murdock-worker container.

The first one was a "regression" introduced in #266, when I added the Group ID. The argc count check was not updated accordingly, so create_user would happily accept only one argument, where it needed two. Setting only one value would cause a Segmentation Fault due to an out of bounds register access in argv.

This also requires an additional fix in RIOT-OS/murdock-worker, which I'll provide soon.

I added an additional check to see if the user has been created successfully and if not, a warning message is printed.
The warnings are printed to stderr to avoid weird errors in our CI. Note echowarn_sh is not available here unfortuntely 😅

The second issue was with dwq. dwq pulls pydisque-dwq from Kaspar https://github.com/kaspar030/pydisque which just has redis in it's requirements.txt. Surprisingly, this has never been an issue until redis 8 was released that changed the prototcol and now starts with an RESP3 HELLO message that the server does not understand (because it has not been updated yet).

Testing Procedure

Unfortunately I haven't saved the error messages, but I have the murdock-worker running again on flatserv, which is my ThinkPad sitting next to me.

Before, the Workers would crash with endless Segmentation Fault errors and an Exception from Python about the "HELLO" message.

This did not affect the workers that were already running because, and this is BAD, the Watchtower Fix from April was not rolled out. Therefore, watchtower does not work on the CI servers and consequently, the murdock-worker images have not been updated either.

This also means that all the pull requests from the last five months have not been applied to our actual CI pipeline... 🫠

crasbe and others added 2 commits September 30, 2026 11:46
The argc check was not updated after adding the GID creation,
leading to a Segfault if no GID was specified due to an out of
bounds read access to argv.

Also add checks to run.sh to check if the program ran
successfully.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@crasbe
crasbe requested a review from kaspar030 September 30, 2026 10:02
@AnnsAnns

Copy link
Copy Markdown
Member

This also means that all the pull requests from the last five months have not been applied to our actual CI pipeline... 🫠

cool 💀

@crasbe
crasbe added this pull request to the merge queue Sep 30, 2026
Merged via the queue into RIOT-OS:master with commit eef2af0 Sep 30, 2026
2 checks passed
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