Started by upstream project "gerrit-libosmocore" build number 1825 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/libosmocore/+/38764 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-6uyYre7L0Rzs/agent.466610 SSH_AGENT_PID=466612 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_10762353208010576567.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_10762353208010576567.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.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/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/64/38764/3 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision e4237795591ec21217b62d7bd58695b26d7ee2fb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f e4237795591ec21217b62d7bd58695b26d7ee2fb # timeout=10 Commit message: "gsm_utils: add gprs_tlli2tmsi()" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 6f03711aa266f67e8edcee808134793eec7b1abd # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins12439027981717965482.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 0ba4ce0 build-old-tags: ignore failing due to api break + 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/gsm_utils.c:1031: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent tests/gprs/gprs_test.c:113: ERROR:FUNCTION_WITHOUT_ARGS: Bad function definition - void test_ptmsi_tlli() should probably be void test_ptmsi_tlli(void) total: 2 errors, 0 warnings, 34 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-19919 https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19919/ checkpatch_output {"comments": [], "robot_comments": {"src/gsm/gsm_utils.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19919", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19919/", "line": "1031", "message": "switch and case should be at the same indent"}], "tests/gprs/gprs_test.c": [{"robot_id": "checkpatch", "robot_run_id": "jenkins-gerrit-lint-19919", "url": "https://jenkins.osmocom.org/jenkins/job/gerrit-lint/19919/", "line": "113", "message": "Bad function definition - void test_ptmsi_tlli() should probably be void test_ptmsi_tlli(void)"}]}} + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project libosmocore 38764,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 466612 killed; [ssh-agent] Stopped. Finished: FAILURE