Skip to content

Instantly share code, notes, and snippets.

@mkozjak
Created April 16, 2020 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkozjak/b00d9850c54f2cceaaf52fa376b33c2c to your computer and use it in GitHub Desktop.
Save mkozjak/b00d9850c54f2cceaaf52fa376b33c2c to your computer and use it in GitHub Desktop.
2020-04-16 10:47:29 +0000 UTC info: Running Mender version 2.2.0
2020-04-16 10:47:29 +0000 UTC debug: handle update fetch state
2020-04-16 10:47:29 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 10:47:30 +0000 UTC debug: Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Last-Modified:[Thu, 16 Apr 2020 10:46:13 GMT] Accept-Ranges:[bytes] X-Amz-Id-2:[0g+34W7mTK0aEoD75Md0hqffNmfE/GHria7N4LBG3yAHn384JD4qv4dmRxZL8H2K3cntVuWzMww=] X-Amz-Request-Id:[693EE3AA81C2C818] Date:[Thu, 16 Apr 2020 10:47:30 GMT] Content-Length:[645017600] Server:[AmazonS3] Etag:["cc35966358d983004cdaa46a914a8cad"] X-Amz-Tagging-Count:[1] Content-Type:[application/vnd.mender-artifact]] 0x26f5420 645017600 [] false false map[] 0x2508600 0x2846060}+
2020-04-16 10:47:30 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2020-04-16 10:47:30 +0000 UTC debug: handle update install state
2020-04-16 10:47:30 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 10:47:30 +0000 UTC debug: Read data from device manifest file: device_type=raspberrypi3
2020-04-16 10:47:30 +0000 UTC debug: Current manifest data: raspberrypi3
2020-04-16 10:47:30 +0000 UTC info: no public key was provided for authenticating the artifact
2020-04-16 10:47:30 +0000 UTC debug: checking if device [raspberrypi3] is on compatible device list: [raspberrypi3]
2020-04-16 10:47:30 +0000 UTC debug: installer: processing script: ArtifactRollbackReboot_Leave_00_Wait_For_Network
2020-04-16 10:47:30 +0000 UTC debug: installer: processing script: ArtifactCommit_Enter_00_Wait_For_Network
2020-04-16 10:47:30 +0000 UTC debug: installer: processing script: ArtifactReboot_Leave_00_Wait_For_Network
2020-04-16 10:47:30 +0000 UTC debug: installer: processing script: ArtifactReboot_Enter_00_Wait_For_Network
2020-04-16 10:47:30 +0000 UTC debug: installer: successfully read artifact [name: raspberrypi3-0.0.8; version: 3; compatible devices: [raspberrypi3]]
2020-04-16 10:47:30 +0000 UTC debug: Active partition: /dev/mmcblk0p2
2020-04-16 10:47:30 +0000 UTC debug: Detected inactive partition /dev/mmcblk0p3, based on active partition /dev/mmcblk0p2
2020-04-16 10:47:30 +0000 UTC info: opening device /dev/mmcblk0p3 for writing
2020-04-16 10:47:30 +0000 UTC debug: Open block-device for installing update of size: 3737124864
2020-04-16 10:47:30 +0000 UTC debug: Device: /dev/mmcblk0p3 is a ubi device: false
2020-04-16 10:47:30 +0000 UTC info: native sector size of block device /dev/mmcblk0p3 is 512, we will write in chunks of 1048576
2020-04-16 10:47:30 +0000 UTC debug: Opening device: /dev/mmcblk0p3 for writing with flag: 2
2020-04-16 11:00:00 +0000 UTC info: 0 bytes remaining to be written
2020-04-16 11:00:00 +0000 UTC info: The optimized block-device writer wrote a total of 3565 frames, where 1675 frames did need to be rewritten
2020-04-16 11:00:00 +0000 UTC info: Wrote 3737124864/3737124864 bytes to the inactive partition
2020-04-16 11:00:01 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:00:01 +0000 UTC info: State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]
2020-04-16 11:00:01 +0000 UTC info: State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]
2020-04-16 11:00:01 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:01 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:01 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:00:01 +0000 UTC debug: Inactive partition: /dev/mmcblk0p3
2020-04-16 11:00:01 +0000 UTC debug: Marking inactive partition (/dev/mmcblk0p3) as the new boot candidate.
2020-04-16 11:00:01 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 3
2020-04-16 11:00:01 +0000 UTC debug: Have U-Boot variable: mender_check_saveenv_canary=1
2020-04-16 11:00:01 +0000 UTC debug: List of U-Boot variables:map[mender_check_saveenv_canary:1]
2020-04-16 11:00:01 +0000 UTC debug: Have U-Boot variable: mender_saveenv_canary=1
2020-04-16 11:00:01 +0000 UTC debug: List of U-Boot variables:map[mender_saveenv_canary:1]
2020-04-16 11:00:01 +0000 UTC debug: Marking inactive partition as a boot candidate successful.
2020-04-16 11:00:01 +0000 UTC info: State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]
2020-04-16 11:00:01 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:01 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:01 +0000 UTC debug: start executing script: ArtifactReboot_Enter_00_Wait_For_Network
2020-04-16 11:00:02 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:00:02 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:00:02 +0000 UTC debug: handling reboot state
2020-04-16 11:00:03 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:00:03 +0000 UTC info: rebooting device(s)
2020-04-16 11:00:03 +0000 UTC info: Mender rebooting from active partition: /dev/mmcblk0p2
2020-04-16 07:07:49 +0000 UTC info: Running Mender version 2.2.0
2020-04-16 07:07:49 +0000 UTC info: State transition: init [none] -> after-reboot [ArtifactReboot_Leave]
2020-04-16 07:07:49 +0000 UTC debug: Have U-Boot variable: mender_check_saveenv_canary=1
2020-04-16 07:07:49 +0000 UTC debug: List of U-Boot variables:map[mender_check_saveenv_canary:1]
2020-04-16 07:07:49 +0000 UTC debug: Have U-Boot variable: mender_saveenv_canary=1
2020-04-16 07:07:49 +0000 UTC debug: List of U-Boot variables:map[mender_saveenv_canary:1]
2020-04-16 07:07:49 +0000 UTC debug: Have U-Boot variable: upgrade_available=1
2020-04-16 07:07:49 +0000 UTC debug: List of U-Boot variables:map[upgrade_available:1]
2020-04-16 07:07:49 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]
2020-04-16 07:07:49 +0000 UTC debug: handling state after reboot
2020-04-16 07:07:49 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]
2020-04-16 07:07:49 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 07:07:49 +0000 UTC debug: start executing script: ArtifactReboot_Leave_00_Wait_For_Network
2020-04-16 07:07:49 +0000 UTC error: failed to report status: Put https://hosted.mender.io/api/devices/v1/deployments/device/deployments/d16df6e6-8dfa-4193-a933-f1f2151d391e/status: dial tcp: lookup hosted.mender.io on 213.191.128.8:53: dial udp 213.191.128.8:53: connect: network is unreachable
2020-04-16 07:07:49 +0000 UTC error: statescript: can not send start status to server: reporting status failed: Put https://hosted.mender.io/api/devices/v1/deployments/device/deployments/d16df6e6-8dfa-4193-a933-f1f2151d391e/status: dial tcp: lookup hosted.mender.io on 213.191.128.8:53: dial udp 213.191.128.8:53: connect: network is unreachable
2020-04-16 07:07:49 +0000 UTC warning: No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s
2020-04-16 07:07:49 +0000 UTC info: statescript: ArtifactReboot_Leave_00_Wait_For_Network requested a retry
2020-04-16 07:07:49 +0000 UTC warning: No timeout interval set for the retry-scripts. Falling back to default: 1m0s
2020-04-16 11:00:19 +0000 UTC info: Running Mender version 2.2.0
2020-04-16 11:00:19 +0000 UTC error: Update was interrupted in state: after-reboot
2020-04-16 11:00:19 +0000 UTC info: State transition: init [none] -> rollback [ArtifactRollback]
2020-04-16 11:00:19 +0000 UTC debug: transitioning to error state
2020-04-16 11:00:19 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:19 +0000 UTC info: performing rollback
2020-04-16 11:00:19 +0000 UTC debug: Have U-Boot variable: mender_check_saveenv_canary=1
2020-04-16 11:00:19 +0000 UTC debug: List of U-Boot variables:map[mender_check_saveenv_canary:1]
2020-04-16 11:00:19 +0000 UTC debug: Have U-Boot variable: mender_saveenv_canary=1
2020-04-16 11:00:19 +0000 UTC debug: List of U-Boot variables:map[mender_saveenv_canary:1]
2020-04-16 11:00:19 +0000 UTC debug: Have U-Boot variable: upgrade_available=0
2020-04-16 11:00:19 +0000 UTC debug: List of U-Boot variables:map[upgrade_available:0]
2020-04-16 11:00:19 +0000 UTC debug: will try to rollback reboot the device
2020-04-16 11:00:19 +0000 UTC info: State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]
2020-04-16 11:00:19 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:19 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:19 +0000 UTC info: rebooting device(s) after rollback
2020-04-16 11:00:19 +0000 UTC info: Mender rebooting from inactive partition: /dev/mmcblk0p2
2020-04-16 11:00:29 +0000 UTC info: Running Mender version 2.2.0
2020-04-16 11:00:29 +0000 UTC info: Update was interrupted in state: rollback-reboot
2020-04-16 11:00:29 +0000 UTC info: State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]
2020-04-16 11:00:29 +0000 UTC debug: transitioning to error state
2020-04-16 11:00:29 +0000 UTC debug: Have U-Boot variable: mender_check_saveenv_canary=1
2020-04-16 11:00:29 +0000 UTC debug: List of U-Boot variables:map[mender_check_saveenv_canary:1]
2020-04-16 11:00:29 +0000 UTC debug: Have U-Boot variable: mender_saveenv_canary=1
2020-04-16 11:00:29 +0000 UTC debug: List of U-Boot variables:map[mender_saveenv_canary:1]
2020-04-16 11:00:29 +0000 UTC debug: Have U-Boot variable: upgrade_available=0
2020-04-16 11:00:29 +0000 UTC debug: List of U-Boot variables:map[upgrade_available:0]
2020-04-16 11:00:29 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]
2020-04-16 11:00:29 +0000 UTC debug: handling state after rollback reboot
2020-04-16 11:00:29 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]
2020-04-16 11:00:29 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:00:29 +0000 UTC debug: start executing script: ArtifactRollbackReboot_Leave_00_Wait_For_Network
2020-04-16 11:00:29 +0000 UTC error: failed to report status: Put https://hosted.mender.io/api/devices/v1/deployments/device/deployments/d16df6e6-8dfa-4193-a933-f1f2151d391e/status: dial tcp: lookup hosted.mender.io on 213.191.128.8:53: dial udp 213.191.128.8:53: connect: network is unreachable
2020-04-16 11:00:29 +0000 UTC error: statescript: can not send start status to server: reporting status failed: Put https://hosted.mender.io/api/devices/v1/deployments/device/deployments/d16df6e6-8dfa-4193-a933-f1f2151d391e/status: dial tcp: lookup hosted.mender.io on 213.191.128.8:53: dial udp 213.191.128.8:53: connect: network is unreachable
2020-04-16 11:00:29 +0000 UTC warning: No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s
2020-04-16 11:00:29 +0000 UTC info: statescript: ArtifactRollbackReboot_Leave_00_Wait_For_Network requested a retry
2020-04-16 11:00:29 +0000 UTC warning: No timeout interval set for the retry-scripts. Falling back to default: 1m0s
2020-04-16 11:02:27 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:02:27 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:02:27 +0000 UTC debug: handle update error state
2020-04-16 11:02:27 +0000 UTC info: State transition: update-error [ArtifactFailure] -> cleanup [Error]
2020-04-16 11:02:27 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:02:27 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:02:27 +0000 UTC debug: Handling Cleanup state
2020-04-16 11:02:27 +0000 UTC info: State transition: cleanup [Error] -> update-status-report [none]
2020-04-16 11:02:27 +0000 UTC debug: statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds
2020-04-16 11:02:27 +0000 UTC debug: handle update status report state
2020-04-16 11:02:27 +0000 UTC debug: status reported, response 204 No Content
2020-04-16 11:02:27 +0000 UTC debug: attempting to upload deployment logs for failed update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment