Skip to content

Fatal error running coccicheck #97

Description

@pamolloy

It looks like coccicheck is failing for recent builds:

Run status=0; timeout 1d bash -c "source ./ci/build.sh ; check_coccicheck" || status=$?
  status=0; timeout 1d bash -c "source ./ci/build.sh ; check_coccicheck" || status=$?
  [ $status -eq 124 ] && echo "step_fail_coccicheck_timeout=true" >> "$GITHUB_ENV"
  exit $status
  shell: /usr/bin/bash -e {0}
  env:
    merge_commit_sha: 7139491b0f40d650164833cc2a7a0204ae375716
    pr: 94
    branch: get-rid-of-platdata-from-adi-spi3
    fetch_depth: 3
    head_sha: af116011d3cce788c1ab4e650dedfbd721f72b27
    base_sha: 1b70d04794b2a62831769c1e0da0bfffa193f255
coccicheck on range 1b70d04794b2a62831769c1e0da0bfffa193f255..af116011d3cce788c1ab4e650dedfbd721f72b27
drivers/spi/adi_spi3.c
Fatal error: exception Sys_error("include/linux/compiler-version.h: No such file or directory")
Fatal error: exception Sys_error("include/linux/compiler-version.h: No such file or directory")
virtual rule report not supported
Fatal error: exception Sys_error("include/linux/compiler-version.h: No such file or directory")

https://github.com/analogdevicesinc/u-boot/actions/runs/25387403634/job/74452255698?pr=94#step:8:1
https://github.com/analogdevicesinc/u-boot/actions/runs/25535381965/job/74950069167#step:8:1

I tried to reproduce this on the main development branch by running the workflow manually, but the whole check task failed:

Run analogdevicesinc/doctools/checkout@action
Run # Resolve ref to pr number and merge commit sha
jq: error (at <stdin>:3): Cannot index array with string "status"
Error: Process completed with exit code 5.

https://github.com/analogdevicesinc/u-boot/actions/runs/27205465231/job/80320000449#step:2:1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions