project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.55k stars 2.04k forks source link

[1.3] nRF Build Fails intermittently #30504

Open woody-apple opened 1 year ago

woody-apple commented 1 year ago

Reproduction steps

https://github.com/project-chip/connectedhomeip/actions/runs/6881386942/job/18717625776

2023-11-15T19:17:33.1606656Z 🕐 Generation time: 2s 854ms 
2023-11-15T19:17:33.1608092Z Searching for zcl file from /__w/connectedhomeip/connectedhomeip/examples/lighting-app/nrfconnect/../lighting-common/lighting-app.zap
2023-11-15T19:17:33.1610441Z Files generated in: /__w/connectedhomeip/connectedhomeip/examples/lighting-app/nrfconnect/build/gen/app-zapgen/zapgen/app-templates/zap-generated
2023-11-15T19:17:33.1612594Z [215/622] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a
2023-11-15T19:17:33.1620057Z FAILED: modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-build hci_rpmsg/zephyr/zephyr.hex hci_rpmsg/zephyr/zephyr.elf hci_rpmsg/zephyr/merged_CPUNET.hex /__w/connectedhomeip/connectedhomeip/examples/lighting-app/nrfconnect/build/modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-build /__w/connectedhomeip/connectedhomeip/examples/lighting-app/nrfconnect/build/hci_rpmsg/zephyr/zephyr.hex /__w/connectedhomeip/connectedhomeip/examples/lighting-app/nrfconnect/build/hci_rpmsg/zephyr/zephyr.elf /__w/connectedhomeip/connectedhomeip/examples/lighting-app/nrfconnect/build/hci_rpmsg/zephyr/merged_CPUNET.hex 

Bug prevalence

Intermittently

GitHub hash of the SDK that was being used

master

Platform

nrf

Platform Version(s)

No response

Type

Platform Issue

Anything else?

No response

Damian-Nordic commented 1 year ago

The right error message is:

"Hash of key in '%s' contains 0xffff. Please regenerate the key."

Unfortunately, this can't be fixed without bumping nRF Connect SDK version (which we'll do soon).