Minor adjustments to rpmbuild tests for RHEL 10

* Disable librsvg2 in rhel 10 due to false positives
* Increase duration for stratisd as it times out in some archs
* Add extra logging with system resources at the script setup phase
This commit is contained in:
Jesus Checa Hidalgo 2024-07-05 12:06:01 +02:00
commit d2c570acd2
3 changed files with 12 additions and 1 deletions

View file

@ -16,3 +16,8 @@ adjust+:
- enabled: false
when: distro < rhel-8
continue: false
# librsvg2 is flaky in rhel 10 as well
- enabled: false
when: distro == rhel-10
continue: false

View file

@ -15,6 +15,12 @@ rlJournalStart
rlDie "The package must be passed over PKG_TO_BUILD environment variable."
fi
# Log basic system resources. If we start seeing failures due to disk
# out of space, timeouts, or OOMs this will help identifying where
# the issue might be.
rlRun "free -h" 0 "Available memory"
rlRun 'echo "Processing units: $(nproc)"' 0 "Show processing units"
rlRun "df -h" 0 "Storage space"
rlPhaseEnd
rlPhaseStart FAIL ${PKG_TO_BUILD}FetchSrcAndInstallBuildDeps

View file

@ -3,7 +3,7 @@ require+:
- stratisd
environment+:
PKG_TO_BUILD: "stratisd"
duration: 1h
duration: 2h
tier: 1
tag: