Skip to content
Started by upstream project "gerrit-libosmo-sigtran" build number 1068
originally caused by:
 Triggered by Gerrit: https://gerrit.osmocom.org/c/libosmo-sigtran/+/43009 in silent mode.
Running as SYSTEM
Building remotely on build4-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-cb96ld5Q1b5F/agent.1629773
SSH_AGENT_PID=1629776
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_4853289176305322072.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_4853289176305322072.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/43009/2 # timeout=10
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 1ae18af96976547513b9e7afc144bded28175764 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1ae18af96976547513b9e7afc144bded28175764 # timeout=10
Commit message: "WIP: implement loop prevention over AS groups"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 823de0ce7a689327440bd2c71ec3e1236992320e # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins17434725548671080692.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 7a65dad contrib/obs-mirror: log to systemd journal + readlink -f /tmp/ssh-cb96ld5Q1b5F/agent.1629773 + docker run --rm -e GERRIT_HOST=gerrit.osmocom.org -e GERRIT_PORT=29418 -e GERRIT_PROJECT=libosmo-sigtran -e GERRIT_CHANGE_NUMBER=43009 -e GERRIT_PATCHSET_NUMBER=2 -e JENKINS_HOME=1 -e SSH_AUTH_SOCK=/ssh-agent -u build -v /tmp/ssh-cb96ld5Q1b5F/agent.1629773:/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/ss7_as_group.c:95: WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EALREADY) src/ss7_as_group.c:112: WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EALREADY) src/ss7_as_vty.c:508: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:509: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:510: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:511: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:525: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:526: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:527: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/ss7_as_vty.c:528: WARNING:LEADING_SPACE: please, no spaces at the start of a line total: 0 errors, 10 warnings, 338 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_group.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "95", "message": "return of an errno should typically be negative (ie: return -EALREADY)"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "112", "message": "return of an errno should typically be negative (ie: return -EALREADY)"}], "src/ss7_as_vty.c": [{"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "508", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "509", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "510", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "511", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "525", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "526", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "527", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "", "url": "", "line": "528", "message": "please, no spaces at the start of a line"}]}} + ssh -o UserKnownHostsFile=/build/osmo-ci/lint/../contrib/known_hosts -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project libosmo-sigtran 43009,2 --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 1629776 killed; [ssh-agent] Stopped. Finished: FAILURE