OMR Jenkins: Request for changes to RISC-V agent
Summary
I'd like to ask for two changes to OMR RISC-V build agent (https://ci.eclipse.org/omr/computer/riscv-build1/, #5254 (closed)):
- if possible, increase the core file size hard limit to at least 8192
- if possible, install
ccachepackage
As of now, OMR code dump test fails. I believe this is because core file size hard ulimit is set to zero. See below an excerpt https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64/26/consoleFull (text-search for ulimit). I checked on my testing docker image (using podman in fact, if that matters) and when hard ulimit is set to zero, test fails, when set to 8192 it passes.
As for ccache, following change in https://github.com/eclipse-cbi/jiro-static-agents/blob/9ff5faa3dc1a08d8df020f723bec719271b1f810/releng/riscv/Dockerfile should do it:
diff --git a/releng/riscv/Dockerfile b/releng/riscv/Dockerfile
index ea621b1..29a12f5 100644
--- a/releng/riscv/Dockerfile
+++ b/releng/riscv/Dockerfile
@@ -23,7 +23,8 @@ RUN apt-get update && apt-get install -y \
mesa-vulkan-drivers \
mesa-utils \
cmake \
- libdwarf-dev
+ libdwarf-dev \
+ ccache
# Deactivate SSH authentication with password
RUN sed -Ei 's/^ *#? *PasswordAuthentication.*/PasswordAuthentication no/g' /etc/ssh/sshd_config
Relevant logs and/or screenshots
From https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64/26/consoleFull (text-search for ulimit):
[Pipeline] sh
12:44:30 + bash -c ulimit -a
12:44:30 real-time non-blocking time (microseconds, -R) unlimited
12:44:30 core file size (blocks, -c) 0
12:44:30 data seg size (kbytes, -d) unlimited
12:44:30 scheduling priority (-e) 0
12:44:30 file size (blocks, -f) unlimited
12:44:30 pending signals (-i) 25383
12:44:30 max locked memory (kbytes, -l) 8192
12:44:30 max memory size (kbytes, -m) unlimited
12:44:30 open files (-n) 1048576
12:44:30 pipe size (512 bytes, -p) 8
12:44:30 POSIX message queues (bytes, -q) 819200
12:44:30 real-time priority (-r) 0
12:44:30 stack size (kbytes, -s) 8192
12:44:30 cpu time (seconds, -t) unlimited
12:44:30 max user processes (-u) unlimited
12:44:30 virtual memory (kbytes, -v) unlimited
12:44:30 file locks (-x) unlimited
[Pipeline] sh
12:44:30 + bash -c ulimit -a -H
12:44:30 real-time non-blocking time (microseconds, -R) unlimited
12:44:30 core file size (blocks, -c) 0
12:44:30 data seg size (kbytes, -d) unlimited
12:44:30 scheduling priority (-e) 0
12:44:30 file size (blocks, -f) unlimited
12:44:30 pending signals (-i) 25383
12:44:30 max locked memory (kbytes, -l) 8192
12:44:30 max memory size (kbytes, -m) unlimited
12:44:30 open files (-n) 1048576
12:44:30 pipe size (512 bytes, -p) 8
12:44:30 POSIX message queues (bytes, -q) 819200
12:44:30 real-time priority (-r) 0
12:44:30 stack size (kbytes, -s) unlimited
12:44:30 cpu time (seconds, -t) unlimited
12:44:30 max user processes (-u) unlimited
12:44:30 virtual memory (kbytes, -v) unlimited
12:44:30 file locks (-x) unlimited
[Pipeline] sh
12:44:30 + cat /proc/sys/kernel/core_pattern
12:44:30 core
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low