CI Tests: Regression/small-tests: Use debuginfod on Fedora
This commit is contained in:
parent
ca2a8a03ea
commit
863bc06741
@ -27,11 +27,14 @@
|
|||||||
|
|
||||||
# Include Beaker environment
|
# Include Beaker environment
|
||||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
. /etc/os-release ||:
|
||||||
|
|
||||||
PACKAGE="systemtap"
|
PACKAGE="systemtap"
|
||||||
|
|
||||||
export DEBUGINFOD_URLS="https://debuginfod.fedoraproject.org/ $DEBUGINFOD_URLS"
|
if echo $ID | grep -Fq fedora; then
|
||||||
export DEBUGINFOD_TIMEOUT=300
|
export DEBUGINFOD_URLS="https://debuginfod.fedoraproject.org/ $DEBUGINFOD_URLS"
|
||||||
|
export DEBUGINFOD_TIMEOUT=300
|
||||||
|
fi
|
||||||
|
|
||||||
_arch=$(arch)
|
_arch=$(arch)
|
||||||
|
|
||||||
@ -73,14 +76,7 @@ rlJournalStart
|
|||||||
(
|
(
|
||||||
perf_probe_failed "vfs_read" && exit
|
perf_probe_failed "vfs_read" && exit
|
||||||
rlPhaseStart FAIL "test 1 bz1162939"
|
rlPhaseStart FAIL "test 1 bz1162939"
|
||||||
# At this point a weird problem shows up: sometimes the first
|
rlRun "stap -e 'probe vfs.read{println(\"hit\"); exit()}' -c 'head -1 /etc/hosts' | grep -F hit"
|
||||||
# systemtap invocation fails for some reason, but subsequent
|
|
||||||
# invocations succeed. Can't reproduce this manually:
|
|
||||||
rlRun "stap -vvvp4 -e 'probe vfs.read{println(\"hit\")}'" 0,1
|
|
||||||
sleep 30
|
|
||||||
rlRun "stap -vvvp4 -e 'probe vfs.read{println(\"hit\")}'" 0,1
|
|
||||||
sleep 30
|
|
||||||
rlRun "stap -e 'probe vfs.read{println(\"hit\")}' -c 'head -1 /etc/hosts'"
|
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
)
|
)
|
||||||
# bz1119335 ---------------------------------------------------
|
# bz1119335 ---------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user