Started by upstream project "gerrit-osmo-bsc" build number 1584 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-bsc/+/39290 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-qeMKG9b4v60b/agent.1868483 SSH_AGENT_PID=1868485 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_3597229116678236687.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_3597229116678236687.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-bsc > 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-bsc > 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/osmo-bsc +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/osmo-bsc # 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-bsc # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-bsc 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-bsc refs/changes/90/39290/1 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision 5d37cca640d4c9b093988ce59ddd60e8891ebb60 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d37cca640d4c9b093988ce59ddd60e8891ebb60 # timeout=10 Commit message: "nokia_site: introduce hopping control for Nokia *Site" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 676817a1a5892d2a43ed0a99158580182a626503 # timeout=10 [gerrit-lint] $ /bin/sh -xe /tmp/jenkins14042447799302182865.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 b7e67c1 jobs/ttcn3-testsuites: adjust timer for bts + 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/osmo-bsc/bts_nokia_site.c:1137: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent src/osmo-bsc/bts_vty.c:469: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:469: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:470: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:470: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:471: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:471: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:472: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:472: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:473: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:473: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:474: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:474: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:476: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:476: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:478: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:478: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:479: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:479: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:480: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:480: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:481: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:481: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:482: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:482: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:484: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:484: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/osmo-bsc/bts_vty.c:486: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-bsc/bts_vty.c:486: WARNING:LEADING_SPACE: please, no spaces at the start of a line total: 15 errors, 14 warnings, 55 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-20868 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/ checkpatch_output {"comments": [], "robot_comments": {"src/osmo-bsc/bts_nokia_site.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "1137", "message": "switch and case should be at the same indent"}], "src/osmo-bsc/bts_vty.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "469", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "469", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "470", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "470", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "471", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "471", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "472", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "472", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "473", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "473", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "474", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "474", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "476", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "476", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "478", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "478", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "479", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "479", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "480", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "480", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "481", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "481", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "482", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "482", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "484", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "484", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "486", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-20868", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/20868/", "line": "486", "message": "please, no spaces at the start of a line"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project osmo-bsc 39290,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 1868485 killed; [ssh-agent] Stopped. Finished: FAILURE