I upgraded my fleet with a new artifact with success but for one of our devices, i got the following error.
Do someone knows if i can do anything or consider this device “non upgradable” ?
Thanks
2021-12-17 07:59:48 +0000 UTC info: Running Mender client version: 2.4.1
2021-12-17 07:59:48 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2021-12-17 07:59:53 +0000 UTC info: No public key was provided for authenticating the artifact
2021-12-17 07:59:53 +0000 UTC info: Opening device "/dev/mmcblk0p3" for writing
2021-12-17 07:59:53 +0000 UTC info: Native sector size of block device /dev/mmcblk0p3 is 512 bytes. Mender will write in chunks of 1048576 bytes
2021-12-17 08:16:47 +0000 UTC error: Failed to read a full frame of size: &{%!d(string=read) %!d(string=/dev/mmcblk0p3) 5} from the block-device
2021-12-17 08:16:47 +0000 UTC error: Failed to write 3012215468 bytes to the new partition
2021-12-17 08:17:59 +0000 UTC error: Failed to read a full frame of size: &{%!d(string=read) %!d(string=/dev/mmcblk0p3) 5} from the block-device
2021-12-17 08:17:59 +0000 UTC info: The optimized block-device writer wrote a total of 1068 frames, where 1004 frames did need to be rewritten (i.e., skipped)
2021-12-17 08:18:00 +0000 UTC error: Artifact install failed: Payload: can not install Payload: rootfs.img: read /dev/mmcblk0p3: input/output error
2021-12-17 08:18:00 +0000 UTC info: State transition: update-store [Download_Enter] -> cleanup [Error]
2021-12-17 08:18:00 +0000 UTC info: State transition: cleanup [Error] -> update-status-report [none]
The problem could be mechanical, as in your SD card is wearing out, but could also be a driver issue.
But considering all the other devices succeeded, and I’m guessing they’re using the same cards, and the same software, then maybe if you are unlucky, the SD card has had too many writes.