Skip to content
Failed

Console Output

Started by upstream project "gerrit-libasn1c" build number 20
originally caused by:
 Triggered by Gerrit: https://gerrit.osmocom.org/c/libasn1c/+/37984 in silent mode.
Running as SYSTEM
Building remotely on host2-deb11build-ansible (obs osmocom-gerrit 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-GYC1QIwQEVSg/agent.2325216
SSH_AGENT_PID=2325218
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_10066488613828757019.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_10066488613828757019.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/libasn1c
 > git init /home/osmocom-build/jenkins/workspace/gerrit-lint/code-from-gerrit # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libasn1c
 > git --version # timeout=10
 > git --version # 'git version 2.30.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/libasn1c +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/libasn1c # 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/libasn1c # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libasn1c
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/libasn1c refs/changes/84/37984/1 # timeout=10
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 6c49d9790b3a2a1d4e151dc3beaa2503e713f0d7 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6c49d9790b3a2a1d4e151dc3beaa2503e713f0d7 # timeout=10
Commit message: "coverity CID#57681"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 589f3f197434189c41eab1581dd7bd207f25c27f # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins2939036632471987523.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 c98cd9b jobs/ttcn3-testsuites-testenv: add s1gw + 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/OCTET_STRING.c:1862: ERROR:CODE_INDENT: code indent should use tabs where possible src/OCTET_STRING.c:1862: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/OCTET_STRING.c:1892: ERROR:CODE_INDENT: code indent should use tabs where possible src/OCTET_STRING.c:1892: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/OCTET_STRING.c:1893: ERROR:CODE_INDENT: code indent should use tabs where possible src/OCTET_STRING.c:1894: ERROR:CODE_INDENT: code indent should use tabs where possible src/OCTET_STRING.c:1894: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/OCTET_STRING.c:1895: ERROR:CODE_INDENT: code indent should use tabs where possible src/OCTET_STRING.c:1895: WARNING:LEADING_SPACE: please, no spaces at the start of a line src/OCTET_STRING.c:1896: ERROR:CODE_INDENT: code indent should use tabs where possible src/OCTET_STRING.c:1896: WARNING:LEADING_SPACE: please, no spaces at the start of a line total: 6 errors, 5 warnings, 10 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-18195 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/ checkpatch_output {"comments": [], "robot_comments": {"src/OCTET_STRING.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1862", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1862", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1892", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1892", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1893", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1894", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1894", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1895", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1895", "message": "please, no spaces at the start of a line"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1896", "message": "code indent should use tabs where possible"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-18195", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/18195/", "line": "1896", "message": "please, no spaces at the start of a line"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project libasn1c 37984,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 2325218 killed; [ssh-agent] Stopped. Finished: FAILURE