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
- Install agent on both devices, wait until status of both devices is Synced
- Verify that both of the FW versions (A) and (B) are added into the SW Manager -> Firmware table
- Confirm that both FW versions download has started
- Wait until both versions are downloaded
- Approve both FW versions
- Open Details for one of the devices
- Set firmware version to be flashed
- Verify that device status switches to Sync Pending (potentially showing as Being processed for a while (while = no more than 30 seconds))
- Either wait or push device sync from Router agent UI
- Verify FW flash starts and wait for router to reboot.
- Verify that router flash performed is logged in agent:
- Router UI: _User Modules -> Adwarfg -> System Logs, inspect Global log file text window.
- Verify:
- device status is now Synced
- correct (flashed) version is shown in both Devices table and Details for the device
- Switch to the Devices table
- Select multiple devices, at least one applicable for FW flash (Advantech router) and at least one illigible (e.g. Linux box)
- Click on Assign FW to Selected Devices button
- 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
- Wait for all devices to finish flashing the FW and that the resulting FW version is correct.