use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh + EXEC_DIR=/usr/libexec/kselftests/ + SKIP=4 + BUILDS_URL= + TEST_ITEMS=livepatch + nfail=0 + skip_tests=() ++ uname -i + karch=x86_64 ++ uname -r ++ cut -f1 -d- + kver=5.14.0 ++ uname -r ++ cut -f2 -d- ++ sed -e 's/\.x86_64$//' -e 's/\.x86_64+debug$//' -e 's/\.x86_64.debug$//' + krel=243.1946_757261768.el9 ++ uname -r + kvercmp 5.14.0-243.1946_757261768.el9.x86_64+debug 3.10.0-1067.el7 ++ echo 5.14.0-243.1946_757261768.el9.x86_64+debug ++ sed s/-/./ + ver1=5.14.0.243.1946_757261768.el9.x86_64+debug ++ echo 3.10.0-1067.el7 ++ sed s/-/./ + ver2=3.10.0.1067.el7 + ret=0 + i=1 + '[' 1 ']' ++ echo 5.14.0.243.1946_757261768.el9.x86_64+debug ++ cut -d . -f 1 + digit1=5 ++ echo 3.10.0.1067.el7 ++ cut -d . -f 1 + digit2=3 + '[' 5 -eq 5 ']' + '[' 3 -eq 3 ']' + '[' 5 '!=' 3 ']' + '[' 5 -lt 3 ']' + ret=1 + break + kver_ret=1 + cmp_min_rhel7=1 ++ uname -r + kvercmp 5.14.0-243.1946_757261768.el9.x86_64+debug 3.10.0-9999.el7 ++ echo 5.14.0-243.1946_757261768.el9.x86_64+debug ++ sed s/-/./ + ver1=5.14.0.243.1946_757261768.el9.x86_64+debug ++ echo 3.10.0-9999.el7 ++ sed s/-/./ + ver2=3.10.0.9999.el7 + ret=0 + i=1 + '[' 1 ']' ++ echo 5.14.0.243.1946_757261768.el9.x86_64+debug ++ cut -d . -f 1 + digit1=5 ++ echo 3.10.0.9999.el7 ++ cut -d . -f 1 + digit2=3 + '[' 5 -eq 5 ']' + '[' 3 -eq 3 ']' + '[' 5 '!=' 3 ']' + '[' 5 -lt 3 ']' + ret=1 + break + kver_ret=1 + cmp_max_rhel7=1 ++ uname -r + kvercmp 5.14.0-243.1946_757261768.el9.x86_64+debug 4.18.0-147.3.el8 ++ echo 5.14.0-243.1946_757261768.el9.x86_64+debug ++ sed s/-/./ + ver1=5.14.0.243.1946_757261768.el9.x86_64+debug ++ echo 4.18.0-147.3.el8 ++ sed s/-/./ + ver2=4.18.0.147.3.el8 + ret=0 + i=1 + '[' 1 ']' ++ echo 5.14.0.243.1946_757261768.el9.x86_64+debug ++ cut -d . -f 1 + digit1=5 ++ echo 4.18.0.147.3.el8 ++ cut -d . -f 1 + digit2=4 + '[' 5 -eq 5 ']' + '[' 4 -eq 4 ']' + '[' 5 '!=' 4 ']' + '[' 5 -lt 4 ']' + ret=1 + break + kver_ret=1 + cmp_min_rhel8=1 + '[' 1 -ge 0 -a 1 -lt 0 ']' + '[' 1 -ge 0 ']' + install_selftests + rpm -q kernel-selftests-internal package kernel-selftests-internal is not installed + debug_kernel + uname -r + grep -q '[.+]debug$' + modules=kernel-debug-modules-internal + which tc + alias + eval declare -f ++ declare -f + /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot tc /usr/sbin/tc + dnf install -q -y bpftool-5.14.0-243.1946_757261768.el9 Error: Unable to find a match: bpftool-5.14.0-243.1946_757261768.el9 + dnf install -q -y /kernel/5.14.0/243.1946_757261768.el9/x86_64/bpftool-5.14.0-243.1946_757261768.el9.x86_64.rpm Could not open: /kernel/5.14.0/243.1946_757261768.el9/x86_64/bpftool-5.14.0-243.1946_757261768.el9.x86_64.rpm + dnf install -q -y kernel-debug-modules-internal-5.14.0-243.1946_757261768.el9 + dnf install -q -y kernel-selftests-internal-5.14.0-243.1946_757261768.el9 Installed: bpftool-7.0.0-243.1946_757261768.el9.x86_64 kernel-selftests-internal-5.14.0-243.1946_757261768.el9.x86_64 + for item in $TEST_ITEMS + do_livepatch + '[' '!' -d /usr/libexec/kselftests//livepatch ']' + cd /usr/libexec/kselftests//livepatch + livepatch_tests=('test-callbacks.sh' 'test-ftrace.sh' 'test-livepatch.sh' 'test-shadow-vars.sh' 'test-state.sh') + local livepatch_tests + local total_num=5 ++ seq 5 + for num in $(seq $total_num) + local OUTPUTFILE=/mnt/testarea/test-callbacks_result.log + check_skipped_tests test-callbacks.sh + local e match=test-callbacks.sh + shift + return 1 + ./test-callbacks.sh + ret=0 + check_result 1 5 livepatch test-callbacks.sh 0 + local num=1 + local total_num=5 + local test_folder=livepatch + local test_name=test-callbacks.sh + local test_result=0 + '[' 0 -eq 0 ']' + echo '1..5 selftests: livepatch: test-callbacks.sh [PASS]' 1..5 selftests: livepatch: test-callbacks.sh [PASS] + return 0 + test_pass '1..5 selftests: livepatch: test-callbacks.sh Pass' + tee -a /mnt/testarea/test-callbacks_result.log + echo -e '\n:: [ PASS ] :: Test '\''1..5' selftests: livepatch: test-callbacks.sh 'Pass'\''' :: [ PASS ] :: Test '1..5 selftests: livepatch: test-callbacks.sh Pass' + '[' 7466307 ']' + rstrnt-report-result '/1..5 selftests: livepatch: test-callbacks.sh Pass' PASS 0 ** /1..5 selftests: livepatch: test-callbacks.sh Pass PASS Score:0 Uploading resultoutputfile.log .done + echo -e '\n=== Dmesg result ===' + dmesg + submit_log /mnt/testarea/test-callbacks_result.log + '[' '!' 7466307 ']' + for file in "$@" + rstrnt-report-log -l /mnt/testarea/test-callbacks_result.log Uploading test-callbacks_result.log .done + for num in $(seq $total_num) + local OUTPUTFILE=/mnt/testarea/test-ftrace_result.log + check_skipped_tests test-ftrace.sh + local e match=test-ftrace.sh + shift + return 1 + ./test-ftrace.sh + ret=0 + check_result 2 5 livepatch test-ftrace.sh 0 + local num=2 + local total_num=5 + local test_folder=livepatch + local test_name=test-ftrace.sh + local test_result=0 + '[' 0 -eq 0 ']' + echo '2..5 selftests: livepatch: test-ftrace.sh [PASS]' 2..5 selftests: livepatch: test-ftrace.sh [PASS] + return 0 + test_pass '2..5 selftests: livepatch: test-ftrace.sh Pass' + echo -e '\n:: [ PASS ] :: Test '\''2..5' selftests: livepatch: test-ftrace.sh 'Pass'\''' + tee -a /mnt/testarea/test-ftrace_result.log :: [ PASS ] :: Test '2..5 selftests: livepatch: test-ftrace.sh Pass' + '[' 7466307 ']' + rstrnt-report-result '/2..5 selftests: livepatch: test-ftrace.sh Pass' PASS 0 ** /2..5 selftests: livepatch: test-ftrace.sh Pass PASS Score:0 Uploading resultoutputfile.log .done + echo -e '\n=== Dmesg result ===' + dmesg + submit_log /mnt/testarea/test-ftrace_result.log + '[' '!' 7466307 ']' + for file in "$@" + rstrnt-report-log -l /mnt/testarea/test-ftrace_result.log Uploading test-ftrace_result.log .done + for num in $(seq $total_num) + local OUTPUTFILE=/mnt/testarea/test-livepatch_result.log + check_skipped_tests test-livepatch.sh + local e match=test-livepatch.sh + shift + return 1 + ./test-livepatch.sh + ret=0 + check_result 3 5 livepatch test-livepatch.sh 0 + local num=3 + local total_num=5 + local test_folder=livepatch + local test_name=test-livepatch.sh + local test_result=0 + '[' 0 -eq 0 ']' + echo '3..5 selftests: livepatch: test-livepatch.sh [PASS]' 3..5 selftests: livepatch: test-livepatch.sh [PASS] + return 0 + test_pass '3..5 selftests: livepatch: test-livepatch.sh Pass' + echo -e '\n:: [ PASS ] :: Test '\''3..5' selftests: livepatch: test-livepatch.sh 'Pass'\''' + tee -a /mnt/testarea/test-livepatch_result.log :: [ PASS ] :: Test '3..5 selftests: livepatch: test-livepatch.sh Pass' + '[' 7466307 ']' + rstrnt-report-result '/3..5 selftests: livepatch: test-livepatch.sh Pass' PASS 0 ** /3..5 selftests: livepatch: test-livepatch.sh Pass PASS Score:0 Uploading resultoutputfile.log .done + echo -e '\n=== Dmesg result ===' + dmesg + submit_log /mnt/testarea/test-livepatch_result.log + '[' '!' 7466307 ']' + for file in "$@" + rstrnt-report-log -l /mnt/testarea/test-livepatch_result.log Uploading test-livepatch_result.log .done + for num in $(seq $total_num) + local OUTPUTFILE=/mnt/testarea/test-shadow-vars_result.log + check_skipped_tests test-shadow-vars.sh + local e match=test-shadow-vars.sh + shift + return 1 + ./test-shadow-vars.sh + ret=0 + check_result 4 5 livepatch test-shadow-vars.sh 0 + local num=4 + local total_num=5 + local test_folder=livepatch + local test_name=test-shadow-vars.sh + local test_result=0 + '[' 0 -eq 0 ']' + echo '4..5 selftests: livepatch: test-shadow-vars.sh [PASS]' 4..5 selftests: livepatch: test-shadow-vars.sh [PASS] + return 0 + test_pass '4..5 selftests: livepatch: test-shadow-vars.sh Pass' + tee -a /mnt/testarea/test-shadow-vars_result.log + echo -e '\n:: [ PASS ] :: Test '\''4..5' selftests: livepatch: test-shadow-vars.sh 'Pass'\''' :: [ PASS ] :: Test '4..5 selftests: livepatch: test-shadow-vars.sh Pass' + '[' 7466307 ']' + rstrnt-report-result '/4..5 selftests: livepatch: test-shadow-vars.sh Pass' PASS 0 ** /4..5 selftests: livepatch: test-shadow-vars.sh Pass PASS Score:0 Uploading resultoutputfile.log .done + echo -e '\n=== Dmesg result ===' + dmesg + submit_log /mnt/testarea/test-shadow-vars_result.log + '[' '!' 7466307 ']' + for file in "$@" + rstrnt-report-log -l /mnt/testarea/test-shadow-vars_result.log Uploading test-shadow-vars_result.log .done + for num in $(seq $total_num) + local OUTPUTFILE=/mnt/testarea/test-state_result.log + check_skipped_tests test-state.sh + local e match=test-state.sh + shift + return 1 + ./test-state.sh + ret=0 + check_result 5 5 livepatch test-state.sh 0 + local num=5 + local total_num=5 + local test_folder=livepatch + local test_name=test-state.sh + local test_result=0 + '[' 0 -eq 0 ']' + echo '5..5 selftests: livepatch: test-state.sh [PASS]' 5..5 selftests: livepatch: test-state.sh [PASS] + return 0 + test_pass '5..5 selftests: livepatch: test-state.sh Pass' + echo -e '\n:: [ PASS ] :: Test '\''5..5' selftests: livepatch: test-state.sh 'Pass'\''' + tee -a /mnt/testarea/test-state_result.log :: [ PASS ] :: Test '5..5 selftests: livepatch: test-state.sh Pass' + '[' 7466307 ']' + rstrnt-report-result '/5..5 selftests: livepatch: test-state.sh Pass' PASS 0 ** /5..5 selftests: livepatch: test-state.sh Pass PASS Score:0 Uploading resultoutputfile.log .done + echo -e '\n=== Dmesg result ===' + dmesg + submit_log /mnt/testarea/test-state_result.log + '[' '!' 7466307 ']' + for file in "$@" + rstrnt-report-log -l /mnt/testarea/test-state_result.log Uploading test-state_result.log .done + echo 'livepatch: total 5, failed 0' livepatch: total 5, failed 0 + exit 0