Started by upstream project "gerrit-osmo-bsc" build number 1658 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-bsc/+/40917 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-FkZdp0hWMI4o/agent.2195458 SSH_AGENT_PID=2195461 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_11343218415124166624.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_11343218415124166624.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/osmo-bsc > git init /home/osmocom-build/jenkins/workspace/gerrit-lint/code-from-gerrit # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-bsc > 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/osmo-bsc +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/osmo-bsc # 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/osmo-bsc # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-bsc 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/osmo-bsc refs/changes/17/40917/1 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision 0daea0495e47e21f07be1091880d228c8190819b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0daea0495e47e21f07be1091880d228c8190819b # timeout=10 Commit message: "* Add functions to set LAC/CI on a BTS and update hashtables. * Use these function from both the vty and the control interface." > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 8baa7cec367a43cb1f22016e3e2192abdcd9fe8c # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins8954512579290154987.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 cf88fab jobs/gerrit-verifications: osmo-ttcn3-hacks: do make clean + readlink -f /tmp/ssh-FkZdp0hWMI4o/agent.2195458 + docker run --rm -e GERRIT_HOST=gerrit.osmocom.org -e GERRIT_PORT=29418 -e GERRIT_PROJECT=osmo-bsc -e GERRIT_CHANGE_NUMBER=40917 -e GERRIT_PATCHSET_NUMBER=1 -e JENKINS_HOME=1 -e SSH_AUTH_SOCK=/ssh-agent -u build -v /tmp/ssh-FkZdp0hWMI4o/agent.2195458:/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/osmo-bsc/bts.c:761: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts.c:772: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts_ctrl.c:247: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts_ctrl.c:257: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts_ctrl.c:266: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts_ctrl.c:280: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts_ctrl.c:290: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bsc/bts_ctrl.c:299: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line total: 8 errors, 0 warnings, 105 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/osmo-bsc/bts.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "761", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "772", "message": "open brace '{' following function definitions go on the next line"}], "src/osmo-bsc/bts_ctrl.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "247", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "257", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "266", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "280", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "290", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "299", "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 osmo-bsc 40917,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 2195461 killed; [ssh-agent] Stopped. Finished: FAILURE