Skip to content

phase1: IGNORE_ERRORS hides package build issues #27

@ynezz

Description

@ynezz

Problem

Following IGNORE_ERRORS constructs in https://github.com/openwrt/buildbot/blob/master/phase1/master.cfg#L1172

make package/compile IGNORE_ERRORS=n m
make target/compile IGNORE_ERRORS=n m

are effectively hiding the build issues, leading to hardly spottable issues such as recent kmod-ltql-vmmc build breakage caused by default GCC version bump, where the buildbot step succeeds, but some target's optional kernel module (or package) might fail to build. Contrary to phase2, there are no faillogs generated on phase1 for failing packages, thus we're completely unaware about the breakage.

For a complete overview see the discussion here openwrt/openwrt#15064

Possible solutions

  1. Get rid of IGNORE_ERRORS=n m and make the build fails, thus making sure, that all packages are building
  2. Provide faillogs/images (or faillogs-images) for phase1 package build issues as we've for phase2

I'm more inclined towards 1. as there is quite good CI test coverage on GitHub so I believe, that when something fails to build, like in the recent kmod-ltql-vmmc case, it should be spotted and fixed like in openwrt/openwrt#15065 and openwrt/openwrt#15098.

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