E2E TS: Add firmware - automatic (FW flash)


Prerequisities

  • Version 0.5 for core test and 0.7.2+ for full test
  • Shared server cache cleaned up
  • 2 Advantech routers with different FW version


Steps

  1. Install agent on both devices, wait until status of both devices is Synced
  2. Verify that both of the FW versions (A) and (B) are added into the SW Manager -> Firmware table
  3. Confirm that both FW versions download has started
  4. Wait until both versions are downloaded
  5. Approve both FW versions
  6. Open Details for one of the devices
  7. Set firmware version to be flashed
  8. Verify that device status switches to Sync Pending (potentially showing as Being processed for a while (while = no more than 30 seconds))
  9. Either wait or push device sync from Router agent UI
  10. Verify FW flash starts and wait for router to reboot.
  11. Verify that router flash performed is logged in agent:
    1. Router UI: _User Modules -> Adwarfg -> System Logs, inspect Global log file text window.
  12. Verify:
    1. device status is now Synced
    2. correct (flashed) version is shown in both Devices table and Details for the device
  13. Switch to the Devices table
  14. Select multiple devices, at least one applicable for FW flash (Advantech router) and at least one illigible (e.g. Linux box)
  15. Click on Assign FW to Selected Devices button
  16. Confirm that the illegible device(s) does not get the FW assigned and all the applicable ones got this assigned and changed Sync Status to Pending
  17. Wait for all devices to finish flashing the FW and that the resulting FW version is correct.