DASH icon indicating copy to clipboard operation
DASH copied to clipboard

Bug:NPU SetPackage activation not reliable

Open rameshraghupathy opened this issue 5 months ago • 1 comments

Is it platform specific

generic

Importance or Severity

High

Description of the bug

After System.SetPackage, image may be installed and marked as next, but reboot may not reliably boot the intended target unless sonic-installer set-next-boot is explicitly called. Fix used:

images = _get_images_from_sonic_installer_list(duthost) if images.get("next") == cfg.to_version: duthost.shell(f"sudo sonic-installer set-next-boot '{cfg.to_version}'")

Steps to Reproduce

Run full SmartSwitch DPU+NPU gNOI upgrade.

Actual Behavior and Expected Behavior

Actual: Device can reboot into old image.

Expected: After SetPackage, next boot target should be explicitly validated/enforced before reboot.

Relevant log output


Output of show version


Attach files (if any)

No response

rameshraghupathy avatar Jun 08 '26 19:06 rameshraghupathy

@vaibhavhd @hdwhdw

rameshraghupathy avatar Jun 08 '26 19:06 rameshraghupathy