cgroup for first step in batch job have path: slurm/uid_<uid>/job_<job_id>/step_4294967294 DB
Fix based on task/cgroup/task_cgroup_cpuset.c: diff jobacct_gather_cgroup_cpuacct.c jobacct_gather_cgroup_cpuacct.c.old 171,179c171 < if (stepid == NO_VAL) { < if (snprintf(jobstep_cgroup_path, PATH_MAX, "%s/step_batch", < job_cgroup_path) >= PATH_MAX) { < error("jobacct_gather/cgroup: unable to build job step " < "%u cpuacct cg relative path : %m", stepid); < return SLURM_ERROR; < } < } else { < if (snprintf(jobstep_cgroup_path, PATH_MAX, "%s/step_%u", --- > if (snprintf(jobstep_cgroup_path, PATH_MAX, "%s/step_%u", 181,184c173,175 < error("jobacct_gather/cgroup: unable to build job step " < "%u cpuacct cg relative path : %m", stepid); < return SLURM_ERROR; < } --- > error("jobacct_gather/cgroup: unable to build job step " > "%u cpuacct cg relative path : %m", stepid); > return SLURM_ERROR; 188d178 <
Thanks, this is fixed in commit c57282943523bf7d786a2523c1743168913ff50a