Skip to content
Started by upstream project "gerrit-osmo-bts" build number 1148
originally caused by:
 Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-bts/+/42704 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-xJbXet5vsZlC/agent.2550060
SSH_AGENT_PID=2550069
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_6358866337704394813.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_6358866337704394813.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/04/42704/1 # timeout=10
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 1054051d68ac5a2cc5eaed12af74b413fba857f7 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1054051d68ac5a2cc5eaed12af74b413fba857f7 # timeout=10
Commit message: "trx: add JSON stats export for WebSDR API"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 664ccc251c4a8b7e12f4faeb9fc41bf46758ef3b # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins3330390446685841542.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-xJbXet5vsZlC/agent.2550060 + docker run --rm -e GERRIT_HOST=gerrit.osmocom.org -e GERRIT_PORT=29418 -e GERRIT_PROJECT=osmo-bts -e GERRIT_CHANGE_NUMBER=42704 -e GERRIT_PATCHSET_NUMBER=1 -e JENKINS_HOME=1 -e SSH_AUTH_SOCK=/ssh-agent -u build -v /tmp/ssh-xJbXet5vsZlC/agent.2550060:/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/osmo-bts-trx/osmo-bts-trx-websdr.c:133: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:133: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:133: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for any arm of this statement src/osmo-bts-trx/osmo-bts-trx-websdr.c:134: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:134: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:135: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:135: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:136: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:136: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:137: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:137: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:138: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:138: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:139: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:139: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:140: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:140: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:141: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:141: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:142: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:142: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:143: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:143: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:144: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:144: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:145: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:145: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/osmo-bts-trx-websdr.c:147: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bts-trx/osmo-bts-trx-websdr.c:147: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bts-trx/stats_json.c:353: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for any arm of this statement src/osmo-bts-trx/stats_json.c:361: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for any arm of this statement src/osmo-bts-trx/stats_json.c:369: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for any arm of this statement total: 14 errors, 18 warnings, 753 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-bts-trx/osmo-bts-trx-websdr.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "133", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "133", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "133", "message": "braces {} are not necessary for any arm of this statement"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "134", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "134", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "135", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "135", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "136", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "136", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "137", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "137", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "138", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "138", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "139", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "139", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "140", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "140", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "141", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "141", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "142", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "142", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "143", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "143", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "144", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "144", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "145", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "145", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "147", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "147", "message": "please, no spaces at the start of a line"}], "src/osmo-bts-trx/stats_json.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "353", "message": "braces {} are not necessary for any arm of this statement"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "361", "message": "braces {} are not necessary for any arm of this statement"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "369", "message": "braces {} are not necessary for any arm of this statement"}]}} + ssh -o UserKnownHostsFile=/build/osmo-ci/lint/../contrib/known_hosts -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project osmo-bts 42704,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 2550069 killed; [ssh-agent] Stopped. Finished: FAILURE