at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.getLongValue(CgroupV1Subsystem.java:269) at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.getHierarchical(CgroupV1Subsystem.java:215) at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.setSubSystemControllerPath(CgroupV1Subsystem.java:203) at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.initSubSystem(CgroupV1Subsystem.java:111) at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.<clinit>(CgroupV1Subsystem.java:47) ... 11 more * ERROR: dev-java/scala-cli-bin-0.1.20::gentoo failed (compile phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd_merged_usr-j4-20230212-100027 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.7 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.7 Python 3.10.10 Available Rust versions: [1] rust-1.67.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm php cli (if any): HEAD of ::gentoo commit e4e653602f946a1e9c504c1107a3d4f8a747d78c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Feb 12 13:31:57 2023 +0000 2023-02-12 13:31:57 UTC emerge -qpvO dev-java/scala-cli-bin [ebuild N ] dev-java/scala-cli-bin-0.1.20
Created attachment 850514 [details] emerge-info.txt
Created attachment 850516 [details] dev-java:scala-cli-bin-0.1.20:20230212-153301.log
Created attachment 850518 [details] emerge-history.txt
Created attachment 850520 [details] environment
Created attachment 850522 [details] etc.clang.tar.bz2
Created attachment 850524 [details] etc.portage.tar.bz2
Created attachment 850526 [details] logs.tar.bz2
That does look like a bug in Substrate VMs cgroup v1 parsing logic. The NPE indicates that the (memory) controllers path is null: the cause of the NPE is the first argument to Paths.get() being null, which is controller.path(). @toralf: Any chance to see the contents of /proc/self/cgroup when this happens?
(In reply to Florian Schmaus from comment #8) > @toralf: Any chance to see the contents of /proc/self/cgroup when this > happens? root is allowed to see that - but would need coding effort - so what is the trigger and what the action ?
(In reply to Toralf Förster from comment #9) > (In reply to Florian Schmaus from comment #8) > > > @toralf: Any chance to see the contents of /proc/self/cgroup when this > > happens? > > root is allowed to see that - but would need coding effort - so what is the > trigger and what the action ? at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.setSubSystemControllerPath(CgroupV1Subsystem.java:203) at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.initSubSystem(CgroupV1Subsystem.java:111) at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.<clinit>(CgroupV1Subsystem.java:47) ... 11 more * ERROR: dev-java/scala-cli-bin-1.0.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 1288: Called die * The specific snippet of code: * ./scala-cli install-completions --shell ${shell} --env --output "${S}" > ${shell}-completion || die; * * If you need support, post the output of `emerge --info '=dev-java/scala-cli-bin-1.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/scala-cli-bin-1.0.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:scala-cli-bin-1.0.0:20230527-133844.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/work' * S: '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/work' * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: dev-libs/rocr-runtime-5.3.3-r1 * - /usr/lib64/libhsa-runtime64.so.5 * - /usr/lib64/libhsa-runtime64.so.5.4.3 * used by /usr/bin/rocm-bandwidth-test (dev-util/rocm_bandwidth_test-5.4.3) Use emerge @preserved-rebuild to rebuild packages using these libraries 17-1-no-multilib-j4-20230519-093005 /var/tmp/tb # tail -v /proc/self/cgroup ==> /proc/self/cgroup <== 9:perf_event:/ 8:freezer:/ 7:devices:/ 6:memory:/ 5:blkio:/ 4:cpuacct:/ 3:cpu:/ 2:cpuset:/ 1:name=openrc:/ 0::/
*** Bug 910470 has been marked as a duplicate of this bug. ***
*** Bug 913979 has been marked as a duplicate of this bug. ***
*** Bug 938499 has been marked as a duplicate of this bug. ***