Description
I was updating a group of devices with the mender update. The update of 4 of the 5 devices failed. The update process were stuck at 99% for a while and failed. These groups of devices run the same image of yocto mender. I don’t understand why this fails. The following is the log. Can someone help please?
deployments.0001.ea87551f-f69e-4dbb-a427-daf12f19fd42.log deployments.0002.27b07dea-b847-4bd3-8e59-b929ddfca2be.log root@j140-tx2:/data/mender# cat deployments.0001.ea87551f-f69e-4dbb-a427-daf12f19fd42.log {"level":"info","message":"Running Mender version 2.2.0b1","timestamp":"2020-08-24T14:11:26Z"} {"level":"debug","message":"handle update fetch state","timestamp":"2020-08-24T14:11:26Z"} {"level":"debug","message":"status reported, response 204 No Content","timestamp":"2020-08-24T14:11:26Z"} {"level":"debug","message":"Received fetch update response \u0026{200 OK 200 HTTP/1.1 1 1 map[Accept-Ranges:[bytes] Content-Length:[741602816] Content-Type:[application/vnd.mender-artifact] Date:[Mon, 24 Aug 2020 14:11:28 GMT] Etag:[\"8e17d4e41e35e415e4d1909aa67b5885-71\"] Expires:[Mon, 24 Aug 2020 12:07:02 GMT] Last-Modified:[Mon, 24 Aug 2020 11:57:03 GMT] Server:[AmazonS3] X-Amz-Id-2:[ml4lIoUBFa6UxxWsnODXF2Zs2n+HqttC+8o3Q6y5ykWURYb0LbS5Ry+dmHC6+L4DUlkCcHLFxS8=] X-Amz-Request-Id:[B537E9A51521247D]] 0x4000346b60 741602816 [] false false map[] 0x4000580200 0x40000a44d0}+","timestamp":"2020-08-24T14:11:27Z"} {"level":"info","message":"State transition: update-fetch [Download_Enter] -\u003e update-store [Download_Enter]","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"handle update install state","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"status reported, response 204 No Content","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Read data from device manifest file: device_type=j140-tx2","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Current manifest data: j140-tx2","timestamp":"2020-08-24T14:11:27Z"} {"level":"info","message":"no public key was provided for authenticating the artifact","timestamp":"2020-08-24T14:11:27Z"} {"level":"info","message":"Update Module path \"/usr/share/mender/modules/v3\" could not be opened (open /usr/share/mender/modules/v3: no such file or directory). Update modules will not be available","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"checking if device [j140-tx2] is on compatible device list: [j140-tx2]\n","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"installer: processing script: ArtifactReboot_Enter_50","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"installer: successfully read artifact [name: lab-test-2; version: 3; compatible devices: [j140-tx2]]","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Active partition: /dev/mmcblk0p1","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Detected inactive partition /dev/mmcblk0p30, based on active partition /dev/mmcblk0p1","timestamp":"2020-08-24T14:11:27Z"} {"level":"info","message":"opening device /dev/mmcblk0p30 for writing","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Open block-device for installing update of size: 3078619136","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Device: /dev/mmcblk0p30 is a ubi device: false","timestamp":"2020-08-24T14:11:27Z"} {"level":"info","message":"native sector size of block device /dev/mmcblk0p30 is 512, we will write in chunks of 1048576","timestamp":"2020-08-24T14:11:27Z"} {"level":"debug","message":"Opening device: /dev/mmcblk0p30 for writing with flag: 2","timestamp":"2020-08-24T14:11:27Z"} {"level":"info","message":"Running Mender version 2.2.0b1","timestamp":"2020-08-24T14:13:23Z"} {"level":"error","message":"Update was interrupted in state: update-store","timestamp":"2020-08-24T14:13:23Z"} {"level":"info","message":"Update Module path \"/usr/share/mender/modules/v3\" could not be opened (open /usr/share/mender/modules/v3: no such file or directory). Update modules will not be available","timestamp":"2020-08-24T14:13:23Z"} {"level":"info","message":"State transition: init [none] -\u003e cleanup [Error]","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"transitioning to error state","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"Handling Cleanup state","timestamp":"2020-08-24T14:13:23Z"} {"level":"info","message":"State transition: cleanup [Error] -\u003e update-status-report [none]","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"handle update status report state","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"status reported, response 204 No Content","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"attempting to upload deployment logs for failed update","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"logs uploaded, response \u0026{204 No Content 204 HTTP/1.1 1 1 map[Cache-Control:[no-cache, no-store] Connection:[keep-alive] Content-Encoding:[gzip] Content-Security-Policy:[default-src https: data: 'unsafe-inline' 'unsafe-eval'] Content-Type:[application/json; charset=utf-8] Date:[Mon, 24 Aug 2020 14:13:23 GMT] Pragma:[no-cache] Referrer-Policy:[strict-origin] Server:[openresty/1.13.6.2] Strict-Transport-Security:[max-age=31536000; includeSubdomains] Vary:[Accept-Encoding] X-Content-Type-Options:[nosniff] X-Deployments-Version:[unknown] X-Frame-Options:[SAMEORIGIN] X-Men-Requestid:[dc3b9a55-b76f-4325-88bb-9a6b5130439c] X-Xss-Protection:[1; mode=block]] 0x400032d660 0 [] false false map[] 0x40004a0300 0x40000b2370}","timestamp":"2020-08-24T14:13:23Z"} {"level":"debug","message":"reporting complete","timestamp":"2020-08-24T14:13:23Z"} root@j140-tx2:/data/mender# date Mon Aug 24 14:19:37 UTC 2020