Skip to content

Console Output

Started by upstream project "gerrit-osmo-hnbgw" build number 586
originally caused by:
 Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-hnbgw/+/36539 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]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-OWcxZJtf1ei3/agent.3124456
SSH_AGENT_PID=3124458
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_3779592952188076546.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_3779592952188076546.key)
[ssh-agent] Using credentials jenkins (gerrit.osmocom.org)
The recommended git tool is: NONE
using credential d5eda5e9-b59d-44ba-88d2-43473cb6e42d
 > git rev-parse --resolve-git-dir /home/osmocom-build/jenkins/workspace/gerrit-lint/code-from-gerrit/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/osmo-hnbgw # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-hnbgw
 > 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-hnbgw refs/changes/39/36539/5 # timeout=10
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 2603870ddb444f384b5c87d58d339d0707688e31 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2603870ddb444f384b5c87d58d339d0707688e31 # timeout=10
Commit message: "per-HNB GTP-U traffic counters via nft"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk a121f82f3391976eed32afc62728a5d45e654bac # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins10867090480519639460.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 072c4df jobs/ttcn3-testsuites.yml: add ttcn3-bts-test-io_uring + 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-hnbgw/nft_kpi.c:193: WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const src/osmo-hnbgw/nft_kpi.c:620: WARNING:BRACES_NOT_NECESSARY: braces {} are not necessary for single statement blocks src/osmo-hnbgw/nft_kpi.c:652: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15) src/osmo-hnbgw/nft_kpi.c:653: ERROR:CODE_INDENT: code indent should use tabs where possible src/osmo-hnbgw/nft_kpi.c:653: WARNING:LEADING_SPACE: please, no spaces at the start of a line total: 1 errors, 4 warnings, 1192 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-16223 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16223/ checkpatch_output {"comments": [], "robot_comments": {"src/osmo-hnbgw/nft_kpi.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16223", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16223/", "line": "193", "message": "static const char * array should probably be static const char * const"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16223", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16223/", "line": "620", "message": "braces {} are not necessary for single statement blocks"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16223", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16223/", "line": "652", "message": "suspect code indent for conditional statements (7, 15)"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16223", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16223/", "line": "653", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16223", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16223/", "line": "653", "message": "please, no spaces at the start of a line"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project osmo-hnbgw 36539,5 --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 3124458 killed; [ssh-agent] Stopped. Finished: FAILURE