Skip to content

Console Output

Started by upstream project "gerrit-libosmocore" build number 1732
originally caused by:
 Triggered by Gerrit: https://gerrit.osmocom.org/c/libosmocore/+/31496 in silent mode.
Running as SYSTEM
Building remotely on build4-deb12build-ansible (ttcn3 obs ttcn3_with_linux_6.1_or_higher qemu io_uring osmocom-gerrit coverity 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-XXXXXXWYCvSP/agent.4025865
SSH_AGENT_PID=4025869
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_15060227336063243071.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_15060227336063243071.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/libosmocore # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/libosmocore
 > git --version # timeout=10
 > git --version # 'git version 2.39.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/libosmocore refs/changes/96/31496/3 # timeout=10
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 57731f73a6ff411383736420bbafe2a653e884b6 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 57731f73a6ff411383736420bbafe2a653e884b6 # timeout=10
Commit message: "utils: use built-in static_assert() if available"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 4f0dbac51c994e56a53530c676f26aa64fde7b6d # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins6638927595996510801.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 e6d4b42 jenkins-jobs-osmo: new file + 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'... include/osmocom/core/utils.h:88: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon include/osmocom/core/utils.h:89: WARNING:NEW_TYPEDEFS: do not add new typedefs include/osmocom/core/utils.h:89: ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' total: 1 errors, 2 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-16465 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16465/ checkpatch_output {"comments": [], "robot_comments": {"include/osmocom/core/utils.h": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16465", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16465/", "line": "88", "message": "macros should not use a trailing semicolon"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16465", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16465/", "line": "89", "message": "do not add new typedefs"}, {"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-16465", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/16465/", "line": "89", "message": "space prohibited before open square bracket '['"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project libosmocore 31496,3 --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 4025869 killed; [ssh-agent] Stopped. Finished: FAILURE