Skip to content

Duplicate kernel builds #1414

@nuclearcat

Description

@nuclearcat

We have a situation when many trees have normal builds, and "-build-only" builds.
Probably it was supposed to make trees to build only, but to not execute test on them, but feature never got complete.
I have to rather complete it (which i prefer), or drop -build-only kernels.
Reducing tests for trees who anyway doesnt check them probably good idea.

My suggestion, to complete this feature and reduce duplicate build definitions i can implement two options for trees:
build-only: true|falst
tests-whitelist: ["testname", "testname2"]

Example:
https://api.kernelci.org/viewer?search=parent%3D697d760ca1ae387ffbb7c801
This means we build kbuild-gcc-14-riscv, and kbuild-gcc-14-riscv-build-only, which are identical builds, but one has tests, and another is build-only.

Debug info from forecast:
Identical builds: Params {"arch": "arm", "compiler": "gcc-14", "cross_compile": "arm-linux-gnueabihf-", "defconfig": "multi_v7_defconfig"}: ['kbuild-gcc-14-arm', 'kbuild-gcc-14-arm-build-only'],Params {"arch": "arm64", "compiler": "gcc-14", "cross_compile": "aarch64-linux-gnu-", "defconfig": "defconfig", "fragments": ["lab-setup", "kselftest"]}: ['kbuild-gcc-14-arm64', 'kbuild-gcc-14-arm64-build-only'],Params {"arch": "i386", "compiler": "gcc-14", "defconfig": "i386_defconfig"}: ['kbuild-gcc-14-i386', 'kbuild-gcc-14-i386-build-only'],Params {"arch": "riscv", "compiler": "gcc-14", "cross_compile": "riscv64-linux-gnu-", "defconfig": "defconfig"}: ['kbuild-gcc-14-riscv', 'kbuild-gcc-14-riscv-build-only'],

Metadata

Metadata

Assignees

No one assigned

    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