Started by upstream project "gerrit-osmo-sgsn" build number 277 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-sgsn/+/37869 in silent mode. Running as SYSTEM Building remotely on build4-deb12build-ansible (ttcn3 obs ttcn3_with_linux_6.1_or_higher qemu 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-XXXXXXzktmUq/agent.892116 SSH_AGENT_PID=892119 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_13641309842186309151.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_13641309842186309151.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-sgsn > 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-sgsn > git --version # timeout=10 > git --version # 'git version 2.39.2' 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-sgsn +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/osmo-sgsn # 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-sgsn # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-sgsn 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-sgsn refs/changes/69/37869/9 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision 3a2826bb82bac9d5457762e2eaed528ed22c4602 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a2826bb82bac9d5457762e2eaed528ed22c4602 # timeout=10 Commit message: "GMM: split parsing of a RA Update Request in a separate file" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 558135b6ad3cad2fde5a6afd775188c88daaf1a1 # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins3269169404833150190.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 072b1ea manuals: publish pyosmocom manuals for releases + cd code-from-gerrit + ../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/sgsn/gprs_gmm.c:1624: WARNING:PRINTF_I_OSMO: Use %d instead of %i src/sgsn/gprs_gmm_util.c:98: ERROR:OPEN_BRACE: that open brace { should be on the previous line src/sgsn/gprs_gmm_util.c:108: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for single statement blocks src/sgsn/gprs_gmm_util.c:115: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for single statement blocks total: 1 errors, 3 warnings, 147 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 + /home/osmocom-build/jenkins/workspace/gerrit-lint/osmo-ci/lint/checkpatch/checkpatch_osmo.sh + true + cd .. + /home/osmocom-build/jenkins/workspace/gerrit-lint/osmo-ci/lint/checkpatch/checkpatch_json.py checkpatch_output gerrit_report.json jenkins-gerrit-lint-18817 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18817/ checkpatch_output {"comments": [], "robot_comments": {"src/sgsn/gprs_gmm.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18817", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18817/", "line": "1624", "message": "Use %d instead of %i"}], "src/sgsn/gprs_gmm_util.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18817", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18817/", "line": "98", "message": "that open brace { should be on the previous line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18817", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18817/", "line": "108", "message": "braces {} are not necessary for single statement blocks"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18817", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18817/", "line": "115", "message": "braces {} are not necessary for single statement blocks"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project osmo-sgsn 37869,9 --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 892119 killed; [ssh-agent] Stopped. Finished: FAILURE