forked from pool/slurm
Accepting request 988732 from home:eeich:branches:network:cluster
- Package the Slurm testsuite for QA purposes. * Fixes for test suite: Keep-logs-of-skipped-test-when-running-test-cases-sequentially.patch Fix-test-21.41.patch Fix-test-38.11.patch Fix-test-32.8.patch Fix-test-3.13.patch Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch * Add documentation: README_Testsuite.md - Allow log in as user 'slurm'. This allows admins to run certain priviledged commands more easily without becoming root. OBS-URL: https://build.opensuse.org/request/show/988732 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=207
This commit is contained in:
@@ -2,32 +2,49 @@ addFilter(".*obsolete-not-provided slurm-sched-wiki.*")
|
||||
addFilter(".*obsolete-not-provided slurmdb-direct.*")
|
||||
|
||||
# libslurm provides an ABI and a wire protocol. The wire protocol may change
|
||||
# with any SLURM version in an incompatible way. Therefore, multiple versions
|
||||
# of libslurm should not be installed on the same system.
|
||||
# Thus, libraries depending on libslurm need to match the installed SLURM
|
||||
# with any Slurm version in an incompatible way. The wire protocol is
|
||||
# implemented in the library libslurm.
|
||||
# Therefore, multiple versions of libslurm should not be installed on the
|
||||
# same system.
|
||||
# Thus, libraries depending on libslurm need to match the installed Slurm
|
||||
# version - independent of their major versions.
|
||||
# To host multiple SLURM versions in the same repository we add the version
|
||||
# To host multiple Slurm versions in the same repository we add the version
|
||||
# string to package names for none-base versions - even to library packages.
|
||||
# This mainly applies to upgrade packages for Leap and SLE in the maintenance
|
||||
# channel.
|
||||
addFilter("libnss_slurm\d_\d{2}_\d{2}.*: .* shlib-policy-name-error.*")
|
||||
addFilter("libnss_slurm\d_\d{2}_\d{2}.*: E: shlib-policy-name-error.*")
|
||||
|
||||
# slurms uses shared libraries for its plugins, so these plugins can have
|
||||
# no dependency information
|
||||
|
||||
addFilter(".*shared-library-without-dependency-information /usr/lib64/slurm/.*so")
|
||||
# Our logrotate file names are derived from the service name.
|
||||
addFilter(".* E: incoherent-logrotate-file /etc/logrotate.d/slurm.*\.conf")
|
||||
|
||||
# Testsuite is not meant to be installed on a running system.
|
||||
# ? Why should we package the log dir?
|
||||
addFilter(".*: E: logrotate-log-dir-not-packaged /var/log")
|
||||
# these packages contain %service_del_postun_without_restart -
|
||||
# which we define if it is not defined. This needs to be kept
|
||||
# as long as we need to support the HPC module for SLE-12.
|
||||
addFilter("slurm(|-node|-slurmdbd)\..*: systemd-service-without-service_del_postun .*")
|
||||
|
||||
# Testsuite is not meant to be installed on a user system.
|
||||
# The idea is to place the test suite into a package mostly unaltered
|
||||
# to place it to a test rig without requiring to install the full Slurm
|
||||
# sources.
|
||||
# Test setup requires /opt to be shared between nodes in a test system
|
||||
addFilter("slurm-testsuite.*: E: devel-file-in-non-devel-package .*")
|
||||
# For the same reason do not bother with /usr/bin/env expect
|
||||
addFilter("slurm-testsuite.*: E: env-script-interpreter .*")
|
||||
# Likewise, the test suite requires all of Slurm to be installed - even devel
|
||||
addFilter("slurm-testsuite.*: E: devel-dependency slurm-devel.*")
|
||||
# ... and in the same vein
|
||||
addFilter("slurm-testsuite.*: E: filelist-forbidden-opt /opt/slurmtest")
|
||||
addFilter("slurm-testsuite.*: E: non-executable-script /opt/slurmtest/testsuite/expect/.* .* /usr/bin/env (expect)|(bash)")
|
||||
addFilter("slurm-testsuite.*: E: spurious-executable-perm /opt/slurmtest/testsuite/expect/*.c)
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: filelist-forbidden-opt /opt/slurmtest")
|
||||
# This is by intention - the test suite requires a test suite specific
|
||||
# systemd unit file.
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: filelist-forbidden-systemd-userdirs")
|
||||
# It is not a devel package but a test suite. The test suite is designed to
|
||||
# build test binaries when it is executed.
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: devel-file-in-non-devel-package")
|
||||
# We want to give root a script to set up the test system
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: filelist-forbidden-fhs23 /root")
|
||||
# Testsuite needs this as it builds test binaries.
|
||||
addFilter("slurm(|_.*)-testsuite.*: devel-dependency libnuma-devel")
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: explicit-lib-dependency libnuma-devel")
|
||||
# To reduce the amount of preparation, the test suite supplies all required
|
||||
# settings.
|
||||
addFilter("slurm(|_.*)-testsuite.*: sudoers-file-unauthorized .*")
|
||||
|
Reference in New Issue
Block a user