Started by upstream project "gerrit-libosmo-sigtran" build number 617 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309 in silent mode. Running as SYSTEM Building remotely on build5-deb12build-ansible (obs ttcn3_with_linux_6.1_or_higher qemu registry-build-amd64 ttcn3 osmo-gsm-tester-build ttcn3-ggsn-test-kernel-git io_uring osmocom-gerrit coverity osmocom-master) in workspace /home/osmocom-build/jenkins/workspace/gerrit-lint [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-rNXlXKpbTHXy/agent.4146674 SSH_AGENT_PID=4146680 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_16298898244006314633.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_16298898244006314633.key) [ssh-agent] Using credentials jenkins (gerrit.osmocom.org) The recommended git tool is: NONE using credential d5eda5e9-b59d-44ba-88d2-43473cb6e42d Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran > git init /home/osmocom-build/jenkins/workspace/gerrit-lint/code-from-gerrit # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran > git --version # timeout=10 > git --version # 'git version 2.39.5' using GIT_SSH to set credentials gerrit.osmocom.org Verifying host key using known hosts file, will automatically accept unseen keys > git fetch --tags --force --progress -- ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran using GIT_SSH to set credentials gerrit.osmocom.org Verifying host key using known hosts file, will automatically accept unseen keys > git fetch --tags --force --progress -- ssh://jenkins@gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/09/41309/1 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision 26f3c33273b050230c9fffd39b3eef46572e7738 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26f3c33273b050230c9fffd39b3eef46572e7738 # timeout=10 Commit message: "Add TCAP based loadsharing/routing" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 90b91d42271d87cfcb770c19fc17f8c572706e5c # timeout=10 [gerrit-lint] $ /bin/sh -xe /tmp/jenkins12095258912892168828.sh + rm -rf osmo-ci + git clone --depth=1 --branch=master https://gerrit.osmocom.org/osmo-ci osmo-ci Cloning into 'osmo-ci'... + git -C osmo-ci log --oneline ce3a6cb jobs/osmocom-obs: build binary packages earlier + readlink -f /tmp/ssh-rNXlXKpbTHXy/agent.4146674 + docker run --rm -e GERRIT_HOST=gerrit.osmocom.org -e GERRIT_PORT=29418 -e GERRIT_PROJECT=libosmo-sigtran -e GERRIT_CHANGE_NUMBER=41309 -e GERRIT_PATCHSET_NUMBER=1 -e JENKINS_HOME=1 -e SSH_AUTH_SOCK=/ssh-agent -u build -v /tmp/ssh-rNXlXKpbTHXy/agent.4146674:/ssh-agent -v ./code-from-gerrit:/build/code-from-gerrit -v ./osmo-ci:/build/osmo-ci -w /build/code-from-gerrit osmocom-build/debian-bookworm-build /build/osmo-ci/lint/lint_diff.sh HEAD~1 Running docker_run_rm.sh on the whole tree... Running checkpatch on 'git diff HEAD~1'... src/ss7_as_loadshare_tcap.c:451: WARNING:ONE_SEMICOLON: Statements terminations use 1 semicolon src/ss7_as_loadshare_tcap.c:646: WARNING:SPACING: space prohibited before semicolon src/ss7_as_loadshare_tcap.h:18: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_loadshare_tcap.h:19: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_loadshare_tcap.h:20: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_loadshare_tcap.h:21: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_loadshare_tcap.h:22: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_loadshare_tcap.h:23: WARNING:LEADING_SPACE: please, no spaces at the start of a line tests/tcap/tcap_transaction_tracking_test.c:19: WARNING:NEW_TYPEDEFS: do not add new typedefs tests/tcap/tcap_transaction_tracking_test.c:19: ERROR:SPACING: space prohibited after that '*' (ctx:BxW) tests/tcap/tcap_transaction_tracking_test.c:19: ERROR:SPACING: space prohibited before that close parenthesis ')' tests/tcap/tcap_transaction_tracking_test.c:48: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line tests/tcap/tcap_transaction_tracking_test.c:57: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line tests/tcap/tcap_transaction_tracking_test.c:61: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line tests/tcap/tcap_transaction_tracking_test.c:81: ERROR:FUNCTION_WITHOUT_ARGS: Bad function definition - void tcap_trxn_track_test_create_find_free() should probably be void tcap_trxn_track_test_create_find_free(void) tests/tcap/tcap_transaction_tracking_test.c:81: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line tests/tcap/tcap_transaction_tracking_test.c:160: ERROR:FUNCTION_WITHOUT_ARGS: Bad function definition - void tcap_trxn_track_test_transaction() should probably be void tcap_trxn_track_test_transaction(void) tests/tcap/tcap_transaction_tracking_test.c:160: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line tests/tcap/tcap_transaction_tracking_test.c:213: ERROR:FUNCTION_WITHOUT_ARGS: Bad function definition - void tcap_trxn_track_test_gc() should probably be void tcap_trxn_track_test_gc(void) tests/tcap/tcap_transaction_tracking_test.c:213: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line total: 11 errors, 9 warnings, 1933 lines checked Please fix the linting errors above. More information: https://osmocom.org/projects/cellular-infrastructure/wiki/Linting Leaving review comments in gerrit... + git diff -U0 HEAD~1 + /build/osmo-ci/lint/checkpatch/checkpatch_osmo.sh + true + cd .. + /build/osmo-ci/lint/checkpatch/checkpatch_json.py checkpatch_output gerrit_report.json checkpatch_output {"comments": [], "robot_comments": {"src/ss7_as_loadshare_tcap.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "451", "message": "Statements terminations use 1 semicolon"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "646", "message": "space prohibited before semicolon"}], "src/ss7_as_loadshare_tcap.h": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "18", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "19", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "20", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "21", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "22", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "23", "message": "please, no spaces at the start of a line"}], "tests/tcap/tcap_transaction_tracking_test.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "19", "message": "do not add new typedefs"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "19", "message": "space prohibited after that '*' (ctx:BxW)"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "19", "message": "space prohibited before that close parenthesis ')'"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "48", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "57", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "61", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "81", "message": "Bad function definition - void tcap_trxn_track_test_create_find_free() should probably be void tcap_trxn_track_test_create_find_free(void)"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "81", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "160", "message": "Bad function definition - void tcap_trxn_track_test_transaction() should probably be void tcap_trxn_track_test_transaction(void)"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "160", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "213", "message": "Bad function definition - void tcap_trxn_track_test_gc() should probably be void tcap_trxn_track_test_gc(void)"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "213", "message": "open brace '{' following function definitions go on the next line"}]}} + ssh -o UserKnownHostsFile=/build/osmo-ci/lint/../contrib/known_hosts -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project libosmo-sigtran 41309,1 --json + exit 1 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 4146680 killed; [ssh-agent] Stopped. Finished: FAILURE