Skip to content
Failed

Console Output

Started by upstream project "gerrit-libosmocore" build number 1819
originally caused by:
 Triggered by Gerrit: https://gerrit.osmocom.org/c/libosmocore/+/38668 in silent mode.
Running as SYSTEM
Building remotely on build2-deb10build-ansible (obs osmo-gsm-tester-build osmocom-master-debian10 ttcn3-ggsn-test-kernel-git osmocom-gerrit-debian10 osmocom-gerrit repo-install-test 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-E7Hw9Da0IFkG/agent.1428990
SSH_AGENT_PID=1428993
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_17164005372013363062.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_17164005372013363062.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/libosmocore
 > git init /home/osmocom-build/jenkins/workspace/gerrit-lint/code-from-gerrit # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libosmocore
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
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/libosmocore +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/libosmocore # 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/libosmocore # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libosmocore
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/libosmocore refs/changes/68/38668/1 # timeout=10
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 5bcbbb7b015f31b3139f32c91ef3f9b79462ceb5 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5bcbbb7b015f31b3139f32c91ef3f9b79462ceb5 # timeout=10
Commit message: "gprs/gsm23003: add osmo_gummei_cmp"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 51bbb34a16359941f17a0b80d8fe9b6d73d12307 # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins14917194178033528376.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 3557e3f osmo-depcheck: Remove libosmo-sccp-legacy dep libosmo-xua + 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/gsm/gsm23003.c:666: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:667: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:668: ERROR:CODE_INDENT: code indent should use tabs where possible src/gsm/gsm23003.c:668: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:670: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:671: ERROR:CODE_INDENT: code indent should use tabs where possible src/gsm/gsm23003.c:671: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:672: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:673: ERROR:CODE_INDENT: code indent should use tabs where possible src/gsm/gsm23003.c:673: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:675: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:676: ERROR:CODE_INDENT: code indent should use tabs where possible src/gsm/gsm23003.c:676: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:677: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:678: ERROR:CODE_INDENT: code indent should use tabs where possible src/gsm/gsm23003.c:678: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/gsm/gsm23003.c:680: WARNING:LEADING_SPACE: please, no spaces at the start of a line total: 5 errors, 12 warnings, 26 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-19680 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/ checkpatch_output {"comments": [], "robot_comments": {"src/gsm/gsm23003.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "666", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "667", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "668", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "668", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "670", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "671", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "671", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "672", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "673", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "673", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "675", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "676", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "676", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "677", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "678", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "678", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19680", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19680/", "line": "680", "message": "please, no spaces at the start of a line"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project libosmocore 38668,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 1428993 killed; [ssh-agent] Stopped. Finished: FAILURE