00:00:00.001 Started by upstream project "autotest-per-patch" build number 130462 00:00:00.001 originally caused by: 00:00:00.001 Started by user sys_sgci 00:00:00.011 Checking out git https://review.spdk.io/gerrit/a/build_pool/jenkins_build_pool into /var/jenkins_home/workspace/check-format-docker-autotest_script/33b20b30f0a51e6b52980845e0f6aa336787973ad45e341fbbf98d1b65b265d4 to read jbp/jenkins/jjb-config/jobs/autotest-downstream/autotest-docker.groovy 00:00:00.012 The recommended git tool is: git 00:00:00.012 using credential 00000000-0000-0000-0000-000000000002 00:00:00.014 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/check-format-docker-autotest_script/33b20b30f0a51e6b52980845e0f6aa336787973ad45e341fbbf98d1b65b265d4/jbp/.git # timeout=10 00:00:00.031 Fetching changes from the remote Git repository 00:00:00.034 > git config remote.origin.url https://review.spdk.io/gerrit/a/build_pool/jenkins_build_pool # timeout=10 00:00:00.048 Using shallow fetch with depth 1 00:00:00.048 Fetching upstream changes from https://review.spdk.io/gerrit/a/build_pool/jenkins_build_pool 00:00:00.048 > git --version # timeout=10 00:00:00.061 > git --version # 'git version 2.39.2' 00:00:00.061 using GIT_ASKPASS to set credentials SPDKCI HTTPS Credentials 00:00:00.073 Setting http proxy: proxy-dmz.intel.com:911 00:00:00.073 > git fetch --tags --force --progress --depth=1 -- https://review.spdk.io/gerrit/a/build_pool/jenkins_build_pool refs/heads/master # timeout=5 00:00:02.238 > git rev-parse origin/FETCH_HEAD^{commit} # timeout=10 00:00:02.251 > git rev-parse FETCH_HEAD^{commit} # timeout=10 00:00:02.264 Checking out Revision 70d5e5e82d323b37dc3e2563432f17e0eaa6afe8 (FETCH_HEAD) 00:00:02.264 > git config core.sparsecheckout # timeout=10 00:00:02.277 > git read-tree -mu HEAD # timeout=10 00:00:02.294 > git checkout -f 70d5e5e82d323b37dc3e2563432f17e0eaa6afe8 # timeout=5 00:00:02.320 Commit message: "ansible/roles/custom_facts: Allow jq to properly escape given input" 00:00:02.320 > git rev-list --no-walk ed51aa2de26c52853865c02d2a476bec63af1054 # timeout=10 00:00:02.653 [Pipeline] Start of Pipeline 00:00:02.668 [Pipeline] library 00:00:02.669 Loading library shm_lib@master 00:00:02.670 Library shm_lib@master is cached. Copying from home. 00:00:02.685 [Pipeline] retry 00:00:02.687 [Pipeline] { 00:00:02.697 [Pipeline] timeout 00:00:02.697 Timeout set to expire after 10 min without activity 00:00:02.699 [Pipeline] { 00:00:02.708 [Pipeline] node 00:00:06.466 Running on agt-_autotest_32378-12852 in /var/jenkins/workspace/check-format-docker-autotest 00:00:06.468 [Pipeline] { 00:00:06.482 [Pipeline] wrap 00:00:06.490 [Pipeline] { 00:00:06.500 [Pipeline] stage 00:00:06.503 [Pipeline] { (Prologue) 00:00:06.528 [Pipeline] echo 00:00:06.530 Node: agt-_autotest_32378-12852 00:00:06.773 [Pipeline] setCustomBuildProperty 00:00:06.797 [Pipeline] sh 00:00:07.783 + sudo git config --global --replace-all safe.directory '*' 00:00:07.902 [Pipeline] httpRequest 00:00:10.053 [Pipeline] echo 00:00:10.055 Sorcerer 10.211.164.101 is alive 00:00:10.066 [Pipeline] retry 00:00:10.068 [Pipeline] { 00:00:10.083 [Pipeline] httpRequest 00:00:10.089 HttpMethod: GET 00:00:10.090 URL: http://10.211.164.101/packages/jbp_70d5e5e82d323b37dc3e2563432f17e0eaa6afe8.tar.gz 00:00:10.092 Sending request to url: http://10.211.164.101/packages/jbp_70d5e5e82d323b37dc3e2563432f17e0eaa6afe8.tar.gz 00:00:10.096 Response Code: HTTP/1.1 200 OK 00:00:10.097 Success: Status code 200 is in the accepted range: 200,404 00:00:10.097 Saving response body to /var/jenkins/workspace/check-format-docker-autotest/jbp_70d5e5e82d323b37dc3e2563432f17e0eaa6afe8.tar.gz 00:00:10.244 [Pipeline] } 00:00:10.261 [Pipeline] // retry 00:00:10.268 [Pipeline] sh 00:00:10.568 + tar --no-same-owner -xf jbp_70d5e5e82d323b37dc3e2563432f17e0eaa6afe8.tar.gz 00:00:10.583 [Pipeline] httpRequest 00:00:11.411 [Pipeline] echo 00:00:11.414 Sorcerer 10.211.164.101 is alive 00:00:11.425 [Pipeline] retry 00:00:11.427 [Pipeline] { 00:00:11.441 [Pipeline] httpRequest 00:00:11.447 HttpMethod: GET 00:00:11.448 URL: http://10.211.164.101/packages/spdk_0eb82744f0a18851b516ff4f3895e3c36ab7410a.tar.gz 00:00:11.449 Sending request to url: http://10.211.164.101/packages/spdk_0eb82744f0a18851b516ff4f3895e3c36ab7410a.tar.gz 00:00:11.453 Response Code: HTTP/1.1 200 OK 00:00:11.454 Success: Status code 200 is in the accepted range: 200,404 00:00:11.454 Saving response body to /var/jenkins/workspace/check-format-docker-autotest/spdk_0eb82744f0a18851b516ff4f3895e3c36ab7410a.tar.gz 00:00:19.317 [Pipeline] } 00:00:19.335 [Pipeline] // retry 00:00:19.344 [Pipeline] sh 00:00:19.655 + tar --no-same-owner -xf spdk_0eb82744f0a18851b516ff4f3895e3c36ab7410a.tar.gz 00:00:22.978 [Pipeline] sh 00:00:23.277 + git -C spdk log --oneline -n5 00:00:23.277 0eb82744f AE4DMA : Added header files and basic functions 00:00:23.277 ec7092bca version: v25.01-pre 00:00:23.277 4b88d7425 dif: Do copy data + insert/strip metadata if DIF is disabled 00:00:23.277 c07b60333 pkgdep/apt-get: Always update package indexes prior installation 00:00:23.277 6f4e195f0 scripts/pkgdep: Add patchelf to ubuntu dependencies 00:00:23.296 [Pipeline] writeFile 00:00:23.311 [Pipeline] sh 00:00:23.610 + cat autorun-spdk.conf 00:00:23.610 : 00:00:23.610 00:00:23.618 RUN_NIGHTLY=0 00:00:23.620 [Pipeline] } 00:00:23.634 [Pipeline] // stage 00:00:23.642 [Pipeline] catchError 00:00:23.644 [Pipeline] { 00:00:23.657 [Pipeline] timeout 00:00:23.657 Timeout set to expire in 5 min 0 sec 00:00:23.659 [Pipeline] { 00:00:23.672 [Pipeline] stage 00:00:23.674 [Pipeline] { (Tests) 00:00:23.690 [Pipeline] sh 00:00:23.990 + jbp/jenkins/jjb-config/jobs/scripts/docker-autoruner.sh check-format-docker-autotest autorun-spdk.conf 00:00:23.990 08:23:46 -- common/autotest_common.sh@1680 -- # [[ n == y ]] 00:00:23.990 08:23:46 -- common/autobuild_common.sh@15 -- # source /var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/common.sh 00:00:23.990 08:23:46 -- scripts/common.sh@15 -- # shopt -s extglob 00:00:23.990 08:23:46 -- scripts/common.sh@547 -- # [[ -e /bin/wpdk_common.sh ]] 00:00:23.990 08:23:46 -- scripts/common.sh@555 -- # [[ -e /etc/opt/spdk-pkgdep/paths/export.sh ]] 00:00:23.990 08:23:46 -- scripts/common.sh@556 -- # source /etc/opt/spdk-pkgdep/paths/export.sh 00:00:23.990 08:23:46 -- paths/export.sh@2 -- # PATH=/opt/golangci/1.54.2/bin:/opt/protoc/21.7/bin:/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 00:00:23.990 08:23:46 -- paths/export.sh@3 -- # PATH=/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/opt/protoc/21.7/bin:/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 00:00:23.990 08:23:46 -- paths/export.sh@4 -- # PATH=/opt/protoc/21.7/bin:/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/opt/protoc/21.7/bin:/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 00:00:23.990 08:23:46 -- paths/export.sh@5 -- # export PATH 00:00:23.990 08:23:46 -- paths/export.sh@6 -- # echo /opt/protoc/21.7/bin:/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/opt/protoc/21.7/bin:/opt/go/1.21.1/bin:/opt/golangci/1.54.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 00:00:23.990 08:23:46 -- common/autobuild_common.sh@478 -- # out=/var/jenkins/workspace/check-format-docker-autotest/spdk/../output 00:00:23.990 08:23:46 -- common/autobuild_common.sh@479 -- # date +%s 00:00:23.990 08:23:46 -- common/autobuild_common.sh@479 -- # mktemp -dt spdk_1727425426.XXXXXX 00:00:23.990 08:23:46 -- common/autobuild_common.sh@479 -- # SPDK_WORKSPACE=/tmp/spdk_1727425426.fxmPr2 00:00:23.990 08:23:46 -- common/autobuild_common.sh@481 -- # [[ -n '' ]] 00:00:23.990 08:23:46 -- common/autobuild_common.sh@485 -- # '[' -n '' ']' 00:00:23.990 08:23:46 -- common/autobuild_common.sh@488 -- # scanbuild_exclude='--exclude /var/jenkins/workspace/check-format-docker-autotest/spdk/dpdk/' 00:00:23.990 08:23:46 -- common/autobuild_common.sh@492 -- # scanbuild_exclude+=' --exclude /var/jenkins/workspace/check-format-docker-autotest/spdk/xnvme --exclude /tmp' 00:00:23.990 08:23:46 -- common/autobuild_common.sh@494 -- # scanbuild='scan-build -o /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/scan-build-tmp --exclude /var/jenkins/workspace/check-format-docker-autotest/spdk/dpdk/ --exclude /var/jenkins/workspace/check-format-docker-autotest/spdk/xnvme --exclude /tmp --status-bugs' 00:00:23.990 08:23:46 -- common/autobuild_common.sh@495 -- # get_config_params 00:00:23.990 08:23:46 -- common/autotest_common.sh@407 -- # xtrace_disable 00:00:23.990 08:23:46 -- common/autotest_common.sh@10 -- # set +x 00:00:23.990 08:23:46 -- common/autobuild_common.sh@495 -- # config_params='--enable-debug --enable-werror --with-rdma --with-idxd --with-fio=/usr/src/fio --with-iscsi-initiator --disable-unit-tests --enable-coverage --with-ublk' 00:00:23.990 08:23:46 -- common/autobuild_common.sh@497 -- # start_monitor_resources 00:00:23.990 08:23:46 -- pm/common@17 -- # local monitor 00:00:23.990 08:23:46 -- pm/common@19 -- # for monitor in "${MONITOR_RESOURCES[@]}" 00:00:23.990 08:23:46 -- pm/common@19 -- # for monitor in "${MONITOR_RESOURCES[@]}" 00:00:23.991 08:23:46 -- pm/common@25 -- # sleep 1 00:00:23.991 08:23:46 -- pm/common@21 -- # date +%s 00:00:23.991 08:23:46 -- pm/common@21 -- # date +%s 00:00:23.991 08:23:46 -- pm/common@21 -- # /var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/perf/pm/collect-vmstat -d /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/power -l -p monitor.docker-autoruner.sh.1727425426 00:00:23.991 08:23:46 -- pm/common@21 -- # /var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/perf/pm/collect-cpu-load -d /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/power -l -p monitor.docker-autoruner.sh.1727425426 00:00:23.991 Redirecting to /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/power/monitor.docker-autoruner.sh.1727425426_collect-cpu-load.pm.log 00:00:23.991 Redirecting to /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/power/monitor.docker-autoruner.sh.1727425426_collect-vmstat.pm.log 00:00:24.934 08:23:47 -- common/autobuild_common.sh@498 -- # trap stop_monitor_resources EXIT 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@11 -- # cd /var/jenkins/workspace/check-format-docker-autotest/spdk 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@13 -- # cp /var/spdk/build-repo-manifest.txt /var/jenkins/workspace/check-format-docker-autotest/output 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@21 -- # [[ check-format-docker-autotest == unittest-valgrind-docker-autotest ]] 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@26 -- # cpus_limit=26 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@27 -- # nproc 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@27 -- # nproc 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@27 -- # export 'MAKEFLAGS=-j 26' 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@27 -- # MAKEFLAGS='-j 26' 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@29 -- # [[ -n '' ]] 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@39 -- # case "$job_name" in 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@45 -- # CHECK_FORMAT_ONLY_DIFF=yes 00:00:24.934 08:23:47 -- scripts/docker-autoruner.sh@45 -- # check_format 00:00:24.934 08:23:47 -- common/autobuild_common.sh@361 -- # run_test autobuild_check_format /var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/check_format.sh 00:00:24.934 08:23:47 -- common/autotest_common.sh@1101 -- # '[' 2 -le 1 ']' 00:00:24.934 08:23:47 -- common/autotest_common.sh@1107 -- # xtrace_disable 00:00:24.934 08:23:47 -- common/autotest_common.sh@10 -- # set +x 00:00:24.935 ************************************ 00:00:24.935 START TEST autobuild_check_format 00:00:24.935 ************************************ 00:00:24.935 08:23:47 autobuild_check_format -- common/autotest_common.sh@1125 -- # /var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/check_format.sh 00:00:25.879 Checking file permissions... OK 00:00:26.447 Checking coding style... OK 00:00:26.447 Checking comment style... OK 00:00:27.827 Checking markdown files format... OK 00:00:28.087 Checking for spaces before tabs... OK 00:00:28.087 Checking trailing whitespace in output strings... OK 00:00:28.087 Checking for use of forbidden library functions... OK 00:00:28.087 Checking for use of forbidden CUnit macros... OK 00:00:29.993 Checking blank lines at end of file... OK 00:00:30.563 Checking for POSIX includes... OK 00:00:30.564 Checking #include style... OK 00:00:31.136 Checking Python style... OK 00:00:31.396 Checking .sh formatting style... OK 00:00:33.575 Checking Bash static analysis with shellcheck... Bash shellcheck errors detected! 00:00:33.575 00:00:33.575 In scripts/check_format.sh line 56: 00:00:33.575 name="$1[@]" 00:00:33.575 ^----------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 00:00:33.575 00:00:33.575 In scripts/check_format.sh line 57: 00:00:33.575 array=("${!name}") 00:00:33.575 ^----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 00:00:33.575 00:00:33.575 In scripts/check_format.sh line 59: 00:00:33.575 for element in "${array[@]}"; do 00:00:33.575 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 00:00:33.575 00:00:33.575 In scripts/check_format.sh line 60: 00:00:33.575 if [ "$element" = "$2" ]; then 00:00:33.575 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 ^-------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 00:00:33.575 00:00:33.575 In scripts/check_format.sh line 61: 00:00:33.575 return $(true) 00:00:33.575 ^------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 00:00:33.575 00:00:33.575 In scripts/check_format.sh line 65: 00:00:33.575 return $(false) 00:00:33.575 ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.575 ^---^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 299: 00:00:33.576 local rc=0 00:00:33.576 ^--------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 301: 00:00:33.576 echo -n "Checking for proper function naming conventions..." 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 303: 00:00:33.576 commit_to_compare="$(git log --pretty=oneline --skip=1 -n 1 | awk '{print $1}')" 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 304: 00:00:33.576 failed_naming_conventions=false 00:00:33.576 ^-----------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 305: 00:00:33.576 changed_c_libs=() 00:00:33.576 ^---------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 306: 00:00:33.576 declared_symbols=() 00:00:33.576 ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 309: 00:00:33.576 mapfile -t changed_c_libs < <(git diff --name-only HEAD $commit_to_compare -- lib/**/*.c module/**/*.c | xargs -r dirname | sort | uniq) 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 311: 00:00:33.576 mapfile -t declared_symbols < <(grep -Eh 'spdk_[a-zA-Z0-9_]*\(' include/spdk*/*.h \ 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 314: 00:00:33.576 for c_lib in "${changed_c_libs[@]}"; do 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 315: 00:00:33.576 lib_map_file="mk/spdk_blank.map" 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 316: 00:00:33.576 defined_symbols=() 00:00:33.576 ^----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 317: 00:00:33.576 removed_symbols=() 00:00:33.576 ^----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 318: 00:00:33.576 exported_symbols=() 00:00:33.576 ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 319: 00:00:33.576 if ls "$c_lib"/*.map &> /dev/null; then 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 ^----------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 00:00:33.576 00:00:33.576 In scripts/check_format.sh line 320: 00:00:33.576 lib_map_file="$(ls "$c_lib"/*.map)" 00:00:33.576 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.576 ^---------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 324: 00:00:33.577 mapfile -t defined_symbols < <(git diff -U0 $commit_to_compare HEAD -- $c_lib | sed -En 's/(^[+])(spdk[a-z,A-Z,0-9,_]*)(\(.*)/\2/p') 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 326: 00:00:33.577 mapfile -t removed_symbols < <(git diff -U0 $commit_to_compare HEAD -- $c_lib | sed -En 's/(^[-])(spdk[a-z,A-Z,0-9,_]*)(\(.*)/\2/p') 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 327: 00:00:33.577 for symbol in "${removed_symbols[@]}"; do 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 328: 00:00:33.577 for i in "${!defined_symbols[@]}"; do 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 329: 00:00:33.577 if [[ ${defined_symbols[i]} = "$symbol" ]]; then 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 330: 00:00:33.577 unset -v 'defined_symbols[i]' 00:00:33.577 ^---------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 336: 00:00:33.577 mapfile -t exported_symbols < <(sed -En 's/(^[[:space:]]*)(spdk[a-z,A-Z,0-9,_]*);/\2/p' < $lib_map_file) 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 337: 00:00:33.577 for defined_symbol in "${defined_symbols[@]}"; do 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 339: 00:00:33.577 if [ "$defined_symbol" = '' ]; then 00:00:33.577 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 ^------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 340: 00:00:33.577 continue 00:00:33.577 ^------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 342: 00:00:33.577 not_exported=true 00:00:33.577 ^---------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.577 00:00:33.577 00:00:33.577 In scripts/check_format.sh line 343: 00:00:33.578 not_declared=true 00:00:33.578 ^---------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 344: 00:00:33.578 if array_contains_string exported_symbols $defined_symbol; then 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 345: 00:00:33.578 not_exported=false 00:00:33.578 ^----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 348: 00:00:33.578 if array_contains_string declared_symbols $defined_symbol; then 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 349: 00:00:33.578 not_declared=false 00:00:33.578 ^----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 352: 00:00:33.578 if $not_exported || $not_declared; then 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^-----------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 353: 00:00:33.578 if ! $failed_naming_conventions; then 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 354: 00:00:33.578 echo " found naming convention errors." 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 356: 00:00:33.578 echo "function $defined_symbol starts with spdk_ which is reserved for public API functions." 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 357: 00:00:33.578 echo "Please add this function to its corresponding map file and a public header or remove the spdk_ prefix." 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 358: 00:00:33.578 failed_naming_conventions=true 00:00:33.578 ^----------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 359: 00:00:33.578 rc=1 00:00:33.578 ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 364: 00:00:33.578 if ! $failed_naming_conventions; then 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 365: 00:00:33.578 echo " OK" 00:00:33.578 ^--------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 368: 00:00:33.578 return $rc 00:00:33.578 ^--------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 372: 00:00:33.578 local out decltype=$1 excludes=(${@:2}) 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 376: 00:00:33.578 out=$(git grep -E "^$decltype\s+\w+.*\{$" -- "include/spdk" "${excludes[@]}" \ 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.578 00:00:33.578 00:00:33.578 In scripts/check_format.sh line 380: 00:00:33.578 if [[ -n "$out" ]]; then 00:00:33.578 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 00:00:33.579 00:00:33.579 In scripts/check_format.sh line 381: 00:00:33.579 cat <<- WARN 00:00:33.579 ^----------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 00:00:33.579 00:00:33.579 In scripts/check_format.sh line 386: 00:00:33.579 return 1 00:00:33.579 ^------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 00:00:33.579 00:00:33.579 In scripts/check_format.sh line 391: 00:00:33.579 check_function_conventions 00:00:33.579 ^------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 00:00:33.579 00:00:33.579 In scripts/check_format.sh line 394: 00:00:33.579 check_conventions_generic 'enum' \ 00:00:33.579 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 00:00:33.579 00:00:33.579 In scripts/check_format.sh line 404: 00:00:33.579 check_conventions_generic 'struct' \ 00:00:33.579 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). 00:00:33.579 00:00:33.579 For more information: 00:00:33.579 https://www.shellcheck.net/wiki/SC2317 -- Command appears to be unreachable... 00:00:33.579 Checking whether CHANGELOG.md should be updated... 00:00:33.579 include/spdk/ae4dma.h was modified. Consider updating CHANGELOG.md. 00:00:33.579 include/spdk/ae4dma_spec.h was modified. Consider updating CHANGELOG.md. 00:00:33.579 include/spdk/env.h was modified. Consider updating CHANGELOG.md. 00:00:33.579 include/spdk/pci_ids.h was modified. Consider updating CHANGELOG.md. 00:00:33.838 Checking that all RPCs are documented... OK 00:00:33.838 Checking rpc.py argument option names... OK 00:00:34.099 Checking SPDX-license...OK 00:00:46.327 Checking Golang style...OK 00:00:46.327 Checking extern "C"... OK 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1125 -- # trap - ERR 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1125 -- # print_backtrace 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1153 -- # [[ ehxBET =~ e ]] 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1155 -- # args=('/var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/check_format.sh' 'autobuild_check_format') 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1155 -- # local args 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1157 -- # xtrace_disable 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@10 -- # set +x 00:00:46.327 ========== Backtrace start: ========== 00:00:46.327 00:00:46.327 in /var/jenkins/workspace/check-format-docker-autotest/spdk/test/common/autotest_common.sh:1125 -> run_test(["autobuild_check_format"],["/var/jenkins/workspace/check-format-docker-autotest/spdk/scripts/check_format.sh"]) 00:00:46.327 ... 00:00:46.327 1120 timing_enter $test_name 00:00:46.327 1121 echo "************************************" 00:00:46.327 1122 echo "START TEST $test_name" 00:00:46.327 1123 echo "************************************" 00:00:46.327 1124 xtrace_restore 00:00:46.327 1125 time "$@" 00:00:46.327 1126 xtrace_disable 00:00:46.327 1127 echo "************************************" 00:00:46.327 1128 echo "END TEST $test_name" 00:00:46.327 1129 echo "************************************" 00:00:46.327 1130 timing_exit $test_name 00:00:46.327 ... 00:00:46.327 in /var/jenkins/workspace/check-format-docker-autotest/spdk/test/common/autobuild_common.sh:361 -> check_format([]) 00:00:46.327 ... 00:00:46.327 356 fi 00:00:46.327 357 rm -rf "$rootdir"/doc/output 00:00:46.327 358 } 00:00:46.327 359 00:00:46.327 360 check_format() { 00:00:46.327 => 361 run_test "autobuild_check_format" "$rootdir/scripts/check_format.sh" 00:00:46.327 362 } 00:00:46.327 363 00:00:46.327 364 check_so_deps() { 00:00:46.327 365 run_test "autobuild_check_so_deps" "$rootdir/test/make/check_so_deps.sh" -c "$spdk_conf" -a "$SPDK_ABI_DIR" 00:00:46.327 366 } 00:00:46.327 ... 00:00:46.327 in jbp/jenkins/jjb-config/jobs/scripts/docker-autoruner.sh:45 -> main([]) 00:00:46.327 ... 00:00:46.327 backtrace unavailable 00:00:46.327 ... 00:00:46.327 00:00:46.327 ========== Backtrace end ========== 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1194 -- # return 0 00:00:46.327 00:00:46.327 real 0m20.811s 00:00:46.327 user 1m46.557s 00:00:46.327 sys 0m51.968s 00:00:46.327 08:24:08 autobuild_check_format -- common/autotest_common.sh@1 -- # stop_monitor_resources 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@29 -- # signal_monitor_resources TERM 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@40 -- # local monitor pid pids signal=TERM 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@42 -- # for monitor in "${MONITOR_RESOURCES[@]}" 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@43 -- # [[ -e /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/power/collect-cpu-load.pid ]] 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@44 -- # pid=202 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@50 -- # kill -TERM 202 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@42 -- # for monitor in "${MONITOR_RESOURCES[@]}" 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@43 -- # [[ -e /var/jenkins/workspace/check-format-docker-autotest/spdk/../output/power/collect-vmstat.pid ]] 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@44 -- # pid=203 00:00:46.327 08:24:08 autobuild_check_format -- pm/common@50 -- # kill -TERM 203 00:00:46.339 [Pipeline] } 00:00:46.355 [Pipeline] // stage 00:00:46.375 [Pipeline] } 00:00:46.391 [Pipeline] // timeout 00:00:46.397 [Pipeline] } 00:00:46.399 ERROR: script returned exit code 1 00:00:46.399 Setting overall build result to FAILURE 00:00:46.409 [Pipeline] // catchError 00:00:46.416 [Pipeline] stage 00:00:46.418 [Pipeline] { (Epilogue) 00:00:46.427 [Pipeline] sh 00:00:46.774 [Pipeline] setCustomBuildProperty 00:00:46.784 [Pipeline] catchError 00:00:46.786 [Pipeline] { 00:00:46.800 [Pipeline] sh 00:00:47.097 + jbp/jenkins/jjb-config/jobs/scripts/check_artifacts_size.sh 00:00:47.097 Artifacts sizes are good 00:00:47.107 [Pipeline] } 00:00:47.121 [Pipeline] // catchError 00:00:47.129 [Pipeline] sh 00:00:47.422 + jbp/jenkins/jjb-config/jobs/scripts/compress_artifacts.sh 00:00:47.437 [Pipeline] archiveArtifacts 00:00:47.445 Archiving artifacts 00:00:47.879 [Pipeline] } 00:00:47.895 [Pipeline] // stage 00:00:47.900 [Pipeline] } 00:00:47.913 [Pipeline] // wrap 00:00:47.919 [Pipeline] } 00:00:47.934 [Pipeline] // node 00:00:47.940 [Pipeline] } 00:00:47.950 [Pipeline] // timeout 00:00:47.956 [Pipeline] } 00:00:47.966 [Pipeline] // retry 00:00:47.972 [Pipeline] End of Pipeline 00:00:48.026 Finished: FAILURE