SHA256
1
0
forked from pool/slurm

Accepting request 1109029 from network:cluster

- updated to 23.02.04 which includes following changes: 
  * fixing the main scheduler loop not starting on the backup controller after
    a failover event, a segfault when attempting to use
  * AccountingStorageExternalHost, and an issue where steps could continue
    running indefinitely if the slurmctld takes too long to respond (bsc#1214983)
  * include a fix for a potential slurmctld crashes when the backup slurmctld
    takes over.
  * This also fixes some issues when using older versions of the command line
    tools with a 23.02 controller.
  * srun/sbatch/salloc - In order to support user namespaces, process user and
    group ids are no longer used unless explicitly requested as an argument and
    are left as nobody(99) by default. Any cli_filters or SPANK plugins need to
    ignore any uid or gid that equal SLURM_AUTH_NOBODY (99). User and group ids
    are now resolved by the active auth plugin. To determine the actual job uid
    or gid you should use the RESPONSE_RESOURCE_ALLOCATION RPC.
- removed Fix-test-3.13.patch as fixed upstream
- removed Fix-test-38.11.patch as test changed upstream (forwarded request 1109009 from mslacken)

OBS-URL: https://build.opensuse.org/request/show/1109029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slurm?expand=0&rev=91
This commit is contained in:
Ana Guerrero 2023-09-06 16:57:11 +00:00 committed by Git OBS Bridge
commit 51bec69223
6 changed files with 25 additions and 72 deletions

View File

@ -1,35 +0,0 @@
From: Egbert Eich <eich@suse.com>
Date: Wed Jun 15 08:40:50 2022 +0200
Subject: - Fix test 3.13
Patch-mainline: Not yet
Git-repo: https://github.com/SchedMD/slurm
Git-commit: cc82d21d77ccd4753ed56f80e14cfa13acd3643d
References:
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
testsuite/expect/test3.13 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testsuite/expect/test3.13 b/testsuite/expect/test3.13
index bcce201215..9781ffcff9 100755
--- a/testsuite/expect/test3.13
+++ b/testsuite/expect/test3.13
@@ -109,7 +109,7 @@ log_info "Test 1"
set no_jobs 0
spawn $scontrol update JobName=$script_name UserID=1 Priority=$new_prio
expect {
- -re "No jobs with" {
+ -re "Invalid UserID" {
set no_jobs 1
exp_continue
}
@@ -130,7 +130,7 @@ set no_jobs 0
set my_uid [get_my_uid]
spawn $scontrol update JobName=$script_name UserID=$my_uid Priority=$new_prio
expect {
- -re "No jobs with" {
+ -re "Invalid UserID" {
set no_jobs 1
exp_continue
}

View File

@ -1,29 +0,0 @@
From: Egbert Eich <eich@suse.com>
Date: Mon Feb 20 21:35:37 2023 +0100
Subject: Fix test 38.11
Patch-mainline: Not yet
Git-commit: 80c7c8b897fde0c025f695b8301f4cbbc605581d
References:
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
testsuite/expect/test38.11 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testsuite/expect/test38.11 b/testsuite/expect/test38.11
index 3d2954f..89e5333 100755
--- a/testsuite/expect/test38.11
+++ b/testsuite/expect/test38.11
@@ -83,9 +83,9 @@ if {$het_job_id == 0} {
run_command -fail "$srun -N1 -n1 --het-group=0 mkdir -p $tmp_dir"
run_command -fail "$srun -N1 -n1 --het-group=1 mkdir -p $tmp_dir"
-run_command -fail "$sbcast -f --jobid=$het_job_id $srun $tmp_dir/file"
-run_command -fail "$sbcast -f --jobid=${het_job_id}+0 $srun $tmp_dir/file_comp0"
-run_command -fail "$sbcast -f --jobid=${het_job_id}+1 $srun $tmp_dir/file_comp1"
+run_command -fail "$sbcast -f --jobid=\$SLURM_JOBID $srun $tmp_dir/file"
+run_command -fail "$sbcast -f --jobid=\$SLURM_JOBID $srun $tmp_dir/file_comp0"
+run_command -fail "$sbcast -f --jobid=\$((SLURM_JOBID+1)) $srun $tmp_dir/file_comp1"
subtest {![run_command_status "$srun -N1 -n1 --het-group=0 ls $tmp_dir/file"]} "Verify main file is in node of component 0"
subtest {![run_command_status "$srun -N1 -n1 --het-group=1 ls $tmp_dir/file"]} "Verify main file is in node of component 1"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dabdc3a6612b4b732c286aa444cbe815a35b0e1c1534fdbe57cee37cdb83014b
size 7272077

3
slurm-23.02.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6634f57991c6a1a7d140c4de2f50a3e66dd06abef6ef83a8571f6eaa2fe048c7
size 7259848

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Aug 21 09:43:08 UTC 2023 - Christian Goll <cgoll@suse.com>
- updated to 23.02.04 which includes following changes:
* fixing the main scheduler loop not starting on the backup controller after
a failover event, a segfault when attempting to use
* AccountingStorageExternalHost, and an issue where steps could continue
running indefinitely if the slurmctld takes too long to respond (bsc#1214983)
* include a fix for a potential slurmctld crashes when the backup slurmctld
takes over.
* This also fixes some issues when using older versions of the command line
tools with a 23.02 controller.
* srun/sbatch/salloc - In order to support user namespaces, process user and
group ids are no longer used unless explicitly requested as an argument and
are left as nobody(99) by default. Any cli_filters or SPANK plugins need to
ignore any uid or gid that equal SLURM_AUTH_NOBODY (99). User and group ids
are now resolved by the active auth plugin. To determine the actual job uid
or gid you should use the RESPONSE_RESOURCE_ALLOCATION RPC.
- removed Fix-test-3.13.patch as fixed upstream
- removed Fix-test-38.11.patch as test changed upstream
-------------------------------------------------------------------
Tue May 9 09:28:23 UTC 2023 - Christian Goll <cgoll@suse.com>

View File

@ -18,7 +18,7 @@
# Check file META in sources: update so_version to (API_CURRENT - API_AGE)
%define so_version 39
%define ver 23.02.2
%define ver 23.02.4
%define _ver _23_02
#%%define rc_v 0rc1
%define dl_ver %{ver}
@ -142,9 +142,7 @@ Source21: README_Testsuite.md
Patch0: Remove-rpath-from-build.patch
Patch2: pam_slurm-Initialize-arrays-and-pass-sizes.patch
Patch10: Fix-test-21.41.patch
Patch11: Fix-test-38.11.patch
Patch12: Fix-test-32.8.patch
Patch13: Fix-test-3.13.patch
Patch14: Keep-logs-of-skipped-test-when-running-test-cases-sequentially.patch
Patch15: Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch
@ -650,9 +648,7 @@ Do not run test suite and file bug reports for each failed test!
%patch0 -p1
%patch2 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1