NRF Connect extension for SDK, "Another task is is currently building this configuration, closing"

Today for some reason after I build from Visual Studio using nrf Connect extension, the progress spinner over the configuration continues after the build completes.  When I try to build another time it immediately fails:

sign the payload
[348/350] Generating ../../zephyr/app_moved_test_update.hex
[349/350] Generating zephyr/merged.hex
[350/350] Generating zephyr/merged_domains.hex
* Terminal will be reused by tasks, press any key to close it.

* Executing task: nRF Connect: Build: app/build_shell (active)

Another task is currently building this configuration, closing.

* Terminal will be reused by tasks, press any key to close it.

If I exit and restart visual studio I am able to build once and then the problem happens again.

Any suggestions on how to fix this?

Parents
  • Hi,

    Several customers have reported such issues lately, for instance in this thread. We are looking into it.

    Note that in some cases this seems to be triggered by issues in the project itself, like for instance an invalid sample.yaml file.

  • After removing sample.yaml from my project the issue seems to be resolved.   I don't believe I need the sample.yaml since this project is far removed from the original sample source.

  • Hi,

    Thanks for letting me know. You are right, the sample.yaml file is mostly relevant for actual sample projects. Would you mind sharing the sample.yaml file you had that caused problems before you deleted it? It could be useful input for our VS Code team.

  • Here is the sample.yaml, it was unchanged from the original application creation.

    sample:
    description: Simple Management Protocol sample
    name: smp svr
    common:
    harness: bluetooth
    tags: bluetooth
    tests:
    sample.mcumgr.smp_svr.bt:
    extra_args: OVERLAY_CONFIG="overlay-bt.conf"
    platform_allow: nrf52dk_nrf52832 nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52dk_nrf52832
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.udp:
    extra_args: OVERLAY_CONFIG="overlay-udp.conf"
    platform_allow: frdm_k64f
    integration_platforms:
    - frdm_k64f
    sample.mcumgr.smp_svr.cdc:
    extra_args: OVERLAY_CONFIG="overlay-cdc.conf"
    DTC_OVERLAY_FILE="usb.overlay"
    platform_allow: nrf52833dk_nrf52820 nrf52833dk_nrf52833 nrf52840dk_nrf52840 nrf5340dk_nrf5340_cpuapp pinnacle_100_dvk
    integration_platforms:
    - nrf52833dk_nrf52820
    - nrf52833dk_nrf52833
    - nrf52840dk_nrf52840
    - nrf5340dk_nrf5340_cpuapp
    sample.mcumgr.smp_svr.serial:
    extra_args: OVERLAY_CONFIG="overlay-serial.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.serial:
    extra_args: OVERLAY_CONFIG="overlay-serial-console.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.shell:
    extra_args: OVERLAY_CONFIG="overlay-shell.conf"
    platform_allow: nrf52840dk_nrf52840 mimxrt1060_evk mimxrt1064_evk pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    - mimxrt1060_evk
    - mimxrt1064_evk
    sample.mcumgr.smp_svr.shell_mgmt:
    extra_args: OVERLAY_CONFIG="overlay-shell-mgmt.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.fs:
    extra_args: OVERLAY_CONFIG="overlay-fs.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840

Reply
  • Here is the sample.yaml, it was unchanged from the original application creation.

    sample:
    description: Simple Management Protocol sample
    name: smp svr
    common:
    harness: bluetooth
    tags: bluetooth
    tests:
    sample.mcumgr.smp_svr.bt:
    extra_args: OVERLAY_CONFIG="overlay-bt.conf"
    platform_allow: nrf52dk_nrf52832 nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52dk_nrf52832
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.udp:
    extra_args: OVERLAY_CONFIG="overlay-udp.conf"
    platform_allow: frdm_k64f
    integration_platforms:
    - frdm_k64f
    sample.mcumgr.smp_svr.cdc:
    extra_args: OVERLAY_CONFIG="overlay-cdc.conf"
    DTC_OVERLAY_FILE="usb.overlay"
    platform_allow: nrf52833dk_nrf52820 nrf52833dk_nrf52833 nrf52840dk_nrf52840 nrf5340dk_nrf5340_cpuapp pinnacle_100_dvk
    integration_platforms:
    - nrf52833dk_nrf52820
    - nrf52833dk_nrf52833
    - nrf52840dk_nrf52840
    - nrf5340dk_nrf5340_cpuapp
    sample.mcumgr.smp_svr.serial:
    extra_args: OVERLAY_CONFIG="overlay-serial.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.serial:
    extra_args: OVERLAY_CONFIG="overlay-serial-console.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.shell:
    extra_args: OVERLAY_CONFIG="overlay-shell.conf"
    platform_allow: nrf52840dk_nrf52840 mimxrt1060_evk mimxrt1064_evk pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    - mimxrt1060_evk
    - mimxrt1064_evk
    sample.mcumgr.smp_svr.shell_mgmt:
    extra_args: OVERLAY_CONFIG="overlay-shell-mgmt.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840
    sample.mcumgr.smp_svr.fs:
    extra_args: OVERLAY_CONFIG="overlay-fs.conf"
    platform_allow: nrf52840dk_nrf52840 pinnacle_100_dvk mg100
    integration_platforms:
    - nrf52840dk_nrf52840

Children
Related