Started by upstream project "gerrit-osmo-asf4-dfu" build number 83 originally caused by: Triggered by Gerrit: https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/42170 in silent mode. Running as SYSTEM Building remotely on build4-deb12build-ansible (ttcn3 obs osmo-gsm-tester-build qemu io_uring linux-shallow-clone osmocom-gerrit coverity 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-RGRoWMeK83JU/agent.1252699 SSH_AGENT_PID=1252701 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_14555605804900318011.key (/home/osmocom-build/jenkins/workspace/gerrit-lint@tmp/private_key_14555605804900318011.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-asf4-dfu > 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-asf4-dfu > git --version # timeout=10 > git --version # 'git version 2.39.5' 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-asf4-dfu +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/osmo-asf4-dfu # 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-asf4-dfu # timeout=10 Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/osmo-asf4-dfu 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-asf4-dfu refs/changes/70/42170/1 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 Checking out Revision 77a6793af3aa4285e277321216ddee07324b03a9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 77a6793af3aa4285e277321216ddee07324b03a9 # timeout=10 Commit message: "dfu: mainloop: work on a local copy of dfu_state" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 3ea186ed706967febc0c26154c52ea7d21520059 # timeout=10
[gerrit-lint] $ /bin/sh -xe /tmp/jenkins5259686649849387868.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 61e1dc6 jobs/build-kernels-testenv: use linux-shallow-clone + readlink -f /tmp/ssh-RGRoWMeK83JU/agent.1252699 + docker run --rm -e GERRIT_HOST=gerrit.osmocom.org -e GERRIT_PORT=29418 -e GERRIT_PROJECT=osmo-asf4-dfu -e GERRIT_CHANGE_NUMBER=42170 -e GERRIT_PATCHSET_NUMBER=1 -e JENKINS_HOME=1 -e SSH_AUTH_SOCK=/ssh-agent -u build -v /tmp/ssh-RGRoWMeK83JU/agent.1252699:/ssh-agent -v ./code-from-gerrit:/build/code-from-gerrit -v ./osmo-ci:/build/osmo-ci -w /build/code-from-gerrit osmocom-build/debian-bookworm-build /build/osmo-ci/lint/lint_diff.sh HEAD~1 Running docker_run_rm.sh on the whole tree... Running checkpatch on 'git diff HEAD~1'... Running clang-format on 'git diff HEAD~1'... --- usb_start.c (before formatting) +++ usb_start.c (after formatting) @@ -162,7 +162,8 @@ enum usb_dfu_state last_dfu_state = dfu_state; // run the second part of the USB DFU state machine handling non-USB aspects - if (USB_DFU_STATE_DFU_DNLOAD_SYNC == last_dfu_state || USB_DFU_STATE_DFU_DNBUSY == last_dfu_state) { // there is some data to be flashed + if (USB_DFU_STATE_DFU_DNLOAD_SYNC == last_dfu_state || + USB_DFU_STATE_DFU_DNBUSY == last_dfu_state) { // there is some data to be flashed LED_SYSTEM_off(); // switch LED off to indicate we are flashing if (dfu_download_length > 0) { // there is some data to be flashed int32_t rc = flash_write(&FLASH_0, application_start_address + dfu_download_offset, dfu_download_data, dfu_download_length); // write downloaded data chunk to flash 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 + /build/osmo-ci/lint/checkpatch/checkpatch_osmo.sh + cd .. + /build/osmo-ci/lint/checkpatch/checkpatch_json.py checkpatch_output gerrit_report.json checkpatch_output {"comments": [], "robot_comments": {}} + ssh -o UserKnownHostsFile=/build/osmo-ci/lint/../contrib/known_hosts -p 29418 -l jenkins gerrit.osmocom.org gerrit review --project osmo-asf4-dfu 42170,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 1252701 killed; [ssh-agent] Stopped. Finished: FAILURE