Started by upstream project "gerrit-osmo-bts" build number 1145 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-bts/+/42703 in silent mode. Running as SYSTEM Building remotely on build5-deb12build-ansible (ttcn3 obs osmo-gsm-tester-build qemu io_uring linux-shallow-clone 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-A9Dr6uxts1oA/agent.2538111 SSH_AGENT_PID=2538154 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_15526837882678678041.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_15526837882678678041.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-bts > 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-bts > 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-bts +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/osmo-bts # 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-bts # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-bts 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-bts refs/changes/03/42703/1 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision 664ccc251c4a8b7e12f4faeb9fc41bf46758ef3b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 664ccc251c4a8b7e12f4faeb9fc41bf46758ef3b # timeout=10 Commit message: "trx, bts: add optional WebSDR backend (callback-based transport)" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 11629f70e51a73ba0bcc15d1839c1ae0c37fd8ed # timeout=10 [gerrit-lint] $ /bin/sh -xe /tmp/jenkins1920012080316669348.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 59eb59c jobs/gerrit-verifications.yml: pysim: allow skipping card tests + readlink -f /tmp/ssh-A9Dr6uxts1oA/agent.2538111 + docker run --rm -e GERRIT_HOST=gerrit.osmocom.org -e GERRIT_PORT=29418 -e GERRIT_PROJECT=osmo-bts -e GERRIT_CHANGE_NUMBER=42703 -e GERRIT_PATCHSET_NUMBER=1 -e JENKINS_HOME=1 -e SSH_AUTH_SOCK=/ssh-agent -u build -v /tmp/ssh-A9Dr6uxts1oA/agent.2538111:/ssh-agent -v ./code-from-gerrit:/build/code-from-gerrit -v ./osmo-ci:/build/osmo-ci -w /build/code-from-gerrit osmocom-build/debian-trixie-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/common/osmux.c:132: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for single statement blocks src/common/osmux.c:578: ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" src/osmo-bts-trx/osmo-bts-trx-websdr.c:66: ERROR:SPACING: space prohibited after that open square bracket '[' src/osmo-bts-trx/osmo-bts-trx-websdr.c:66: ERROR:SPACING: space prohibited before that close square bracket ']' src/osmo-bts-trx/osmo-bts-trx-websdr.c:67: ERROR:SPACING: space prohibited after that open square bracket '[' src/osmo-bts-trx/osmo-bts-trx-websdr.c:67: ERROR:SPACING: space prohibited before that close square bracket ']' src/osmo-bts-trx/osmo-bts-trx-websdr.c:91: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const src/osmo-bts-trx/osmo-bts-trx-websdr.c:96: WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(params) src/osmo-bts-trx/osmo-bts-trx-websdr.c:156: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for single statement blocks src/osmo-bts-trx/osmo-bts-trx-websdr.h:48: WARNING:MISSING_EOF_NEWLINE: adding a line without newline at end of file src/osmo-bts-trx/scheduler_trx.c:789: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line src/osmo-bts-trx/scheduler_trx.c:799: WARNING:MISSING_EOF_NEWLINE: adding a line without newline at end of file total: 6 errors, 6 warnings, 713 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/common/osmux.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "132", "message": "braces {} are not necessary for single statement blocks"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "578", "message": "\"foo* bar\" should be \"foo *bar\""}], "src/osmo-bts-trx/osmo-bts-trx-websdr.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "66", "message": "space prohibited after that open square bracket '['"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "66", "message": "space prohibited before that close square bracket ']'"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "67", "message": "space prohibited after that open square bracket '['"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "67", "message": "space prohibited before that close square bracket ']'"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "91", "message": "char * array declaration might be better as static const"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "96", "message": "Prefer ARRAY_SIZE(params)"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "156", "message": "braces {} are not necessary for single statement blocks"}], "src/osmo-bts-trx/osmo-bts-trx-websdr.h": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "48", "message": "adding a line without newline at end of file"}], "src/osmo-bts-trx/scheduler_trx.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "789", "message": "open brace '{' following function definitions go on the next line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "799", "message": "adding a line without newline at end of file"}]}} + ssh -o UserKnownHostsFile=/build/osmo-ci/lint/../contrib/known_hosts -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project osmo-bts 42703,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 2538154 killed; [ssh-agent] Stopped. Finished: FAILURE