Issues with UBIFS, rebooting and dashboard

Hello,

I’m currently working on a buildroot integration for the efus A9 from F&S Systeme Elektronik GmbH. It has 512MB RAM and 256MB NAND-flash. It’s using u-boot as bootloader. The buildroot version ist already adaptet and working well.

The work:

U-Boot:

I have already adapted U-Boot to mender, and checked it multiple times with the given integration checklist (Integration checklist).
The adaptation to u-boot has handled by refrence to U-Boot Patch.

RootFS:

A UBI partition with two (same sized) rootfs volumes. Only for testing purposes.

Mender-Client:

Backported version 2.3 to our buildroot version.

The Problems:

1. UBIFS:

I’m trying to use a standard UBI partition with two rootfs[A/B] Volumes. From the OS side it is writeable through the standard linux tools.
While running the update, mender outputs that the UBI partition is busy and not writeable. After a while it is resetting the board and boot the B partition with the not written update. The mender client is not recognizing the update and starts now the same update again, now on partition A. You can imaging what happens on next boot.

2. Dashboard:

Here, the update hangs on 99% percent and the “rebooting” status. I can not abort the update, the system mentioned it has already been done.

So, I have no idea how I can delete the update or what I am doing wrong while updating. In my understanding the mender server is recognizing and tracking the update process. After an update, it should check if the system is running on the right partition and than accept the update.

There is the (important) log part while this update process:

> DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:777 github.com/mendersoftware/mender/app.(*updateStoreState).Handle() Handling update install state
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/client/client_status.go:90 github.com/mendersoftware/mender/client.(*StatusClient).Report() Status reported, response 204 No Content
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:79 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /var/lib/mender/device_type
DEBU[0033]/home/developer/mender_integration/buildroot-2019.ubi0 error: ubi_open_volume: cannot open device 0, volume 0, error -16
05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:90 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:97 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE
INFO[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/installer.go:109 github.com/mendersoftware/mender/installer.ReadHeaders() No public key was provided for authenticating the artifact
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/installer.go:120 github.com/mendersoftware/mender/installer.ReadHeaders.func1() Checking if device [BUILDROOT_DEVICE] is on compatible device list: [BUILDROOT_DEVICE]
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/installer.go:196 github.com/mendersoftware/mender/installer.ReadHeaders() Installer: Successfully read artifact [name: imx.6_system_update_1.0; version: 3; compatible devices: [BUILDROOT_DEVICE]]
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:55 github.com/mendersoftware/mender/installer.(*partitions).GetActive() Active partition: ubi0_1
WARN[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi0_1 Attempting to continue
WARN[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi0_1 Attempting to continue
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:82 github.com/mendersoftware/mender/installer.(*partitions).getAndCacheInactivePartition() Detected inactive partition ubi0_0, based on active partition ubi0_1
INFO[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:66 github.com/mendersoftware/mender/installer.bdevice.Open() Opening device "ubi0_0" for writing
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:71 github.com/mendersoftware/mender/installer.bdevice.Open() Installing update of size: 102850560
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:94 github.com/mendersoftware/mender/installer.bdevice.Open() Device: ubi0_0 is a ubi device: true
ERRO[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:117 github.com/mendersoftware/mender/installer.bdevice.Open() Failed to read size of block device /dev/ubi0_0: open /dev/ubi0_0: device or resource busy
ERRO[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:824 github.com/mendersoftware/mender/app.(*updateStoreState).Handle() Artifact install failed: Payload: can not install Payload: rootfs.ubifs: Failed to write the update to the inactive partition: "ubi0_0": open /dev/ubi0_0: device or resource busy
INFO[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:585 github.com/mendersoftware/mender/app.transitionState() State transition: update-store [Download_Enter] -> cleanup [Error]
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:601 github.com/mendersoftware/mender/app.transitionState() Transitioning to error state
DEBU[0033]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1295 github.com/mendersoftware/mender/app.(*updateCleanupState).Handle() Handling Cleanup state
INFO[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:585 github.com/mendersoftware/mender/app.transitionState() State transition: cleanup [Error] -> update-status-report [none]
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1373 github.com/mendersoftware/mender/app.(*updateStatusReportState).Handle() Handling update status report state
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/client/client_status.go:90 github.com/mendersoftware/mender/client.(*StatusClient).Report() Status reported, response 204 No Content
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1388 github.com/mendersoftware/mender/app.(*updateStatusReportState).Handle() Attempting to upload deployment logs for failed update
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/client/client_log.go:61 github.com/mendersoftware/mender/client.(*LogUploadClient).Upload() Logs uploaded, response &{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:[Wed, 16 Sep 2020 09:33:42 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:[2feee6c8-dfcc-4f3b-8701-5f2bc42ec39f] X-Xss-Protection:[1; mode=block]] 0x1af7970 0 [] false false map[] 0x186e680 0x1890720}
DEBU[0034]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1402 github.com/mendersoftware/mender/app.(*updateStatusReportState).Handle() Reporting complete

Thank you,
Götz

Edit: @mirzak: formatting

Can you post the contents of /etc/mender/mender.conf and /data/mender/mender.conf?

Yes, but I do not know a /data/mender/mender.conf.
My /etc/mender/mender.conf conatins:

{
“InventoryPollIntervalSeconds”: 30,
“UpdatePollIntervalSeconds”: 30,
“RetryPollIntervalSeconds”: 30,
“RootfsPartA”: “ubi0_0”,
“RootfsPartB”: “ubi0_1”,
“ServerURL”: “https://hosted.mender.io”,
“TenantToken”: “Here would be my token”
}

Hmm. It seems to be trying to write the update to ubi0_0 rather than ubi0_1. From your original post it seems like you are booted into the ubi0_0 rootfs. In this case you should be trying to write to ubi0_1.

I wonder if the testing steps you followed left the bootloader env in an invalid state. Can you try to reflash the board to make sure everything is properly initialized?

Drew

Well, it should make no diffrence if I boot from A and update B or boot from B and update A. But your right, in my explanation I mentioned the other case. I inspected the logs, and there is no diffrence to one thats boot from A and update B.

I deleted the U Boot environment before starting the update tests, that should be enough initialization.
To start from a clean set up I erase all and set it up again.

It is still not clear what the issue is, but I am pretty sure this has something to do with the U-Boot environment.

So could you please try local updates for now (without server), by running the following sequence:

mender -install <path to .mender>
reboot

# - halt U-Boot and run printenv
# resume boot from U-Boot

mender -commit 

# Print environment again
fw_printenv

Can you repeat this successfully on both A and B parts? It would be helpful if you can share the full serial output while you do this.

With offline updating the client saves the file completly inside the NAND and it seems not to use the streaming feature.

INFO[0000] Loaded configuration file: /etc/mender/mender.conf
WARN[0000] Could not resolve path link: ubi0_0 Attempting to continue
WARN[0000] Could not resolve path link: ubi0_1 Attempting to continue
INFO[0000] Mender running on partition: ubi0_0
INFO[0000] Start updating from local image file: [Artifact_test.mender]
Installing Artifact of size 86223360…
INFO[0000] No public key was provided for authenticating the artifact
… 1% 1024 KiB
… 2% 2048 KiB
… 3% 3072 KiB
… 4% 4096 KiB
… 6% 5120 KiB
… 7% 6144 KiB
… 8% 7168 KiB
… 9% 8192 KiB
… 10% 9216 KiB
… 12% 10240 KiB
… 13% 11264 KiB
… 14% 12288 KiB
… 15% 13312 KiB
… 17% 14336 KiB
… 18% 15360 KiB
… 19% 16384 KiB
.ERRO[0008] Download failed: Payload: can not install Payload: rootfs.ubifs: Unable to stream into /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: write /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: no space left on device
ERRO[0009] Payload: can not install Payload: rootfs.ubifs: Unable to stream into /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: write /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: no space left on device

What is the command line you used here? Please post the entire log.
Also please post the output of:
# df -h
# mount
# fw_printenv

Yes, please share the full command, and output with -debug flag as well.

Also can you share output of:

mender-artifact read Artifact_test.mender

df -h: (before execution)

| Filesystem  | Size  | Used  | Available  | Use%  | Mounted on |
|---|---|---|---|---|---|
| ubi0:rootfsA  | 109.3M  | 92.3M  | 17.0M  | 84%  | /  |
| devtmpfs  | 86.9M  |  0 |  86.9M |   0% | /dev  |
.... number of tmpfs folders.
 # fw_printenv
 >altbootcmd=run mender_altbootcmd; run bootcmd
baudrate=115200
bootargs=login_tty=${sercon},${baudrate} init=linuxrc
bootcmd=mtdparts; run mender_setup; setenv login login_tty=${sercon},${baudrate}; setenv console console=${sercon},${baudrate}; run set_bootargs; setenv bootargs root=ubi0:${mender_boot_part_name} ${mode} ${mtdparts} ubi.mtd=${mender_mtd_ubi_dev_name} rootfstype=ubifs ${bootargs}; ubi part ${mender_mtd_ubi_dev_name}; ubifsmount ubi0:${mender_uboot_root_name}; if test "${fdt_addr_r}" != ""; then ubifsload ${fdt_addr_r} /boot/${mender_dtb_name}; fi; ubifsload . /boot/${mender_kernel_name}; ${mender_boot_kernel_type} ${loadaddr} - ${fdt_addr_r}; run mender_try_to_recover
bootcount=1
bootdelay=3
bootfile=zImage
bootlimit=1
ethact=FEC
ethaddr=00:05:51:07:55:83
ethprime=FEC
fdt_addr_r=12000000
fdt_high=ffffffff
gatewayip=10.0.0.5
init=init=linuxrc
ipaddr=10.0.0.252
loadaddr=11000000
login=login_tty=${sercon},${baudrate}
mem=522240k
mender_altbootcmd=if test ${mender_boot_part} = 0; then setenv mender_boot_part 1; setenv mender_boot_part_hex 1; else setenv mender_boot_part 0; setenv mender_boot_part_hex 0; fi; setenv upgrade_available 0; saveenv; run mender_setup
mender_boot_kernel_type=bootm
mender_boot_part=0
mender_boot_part_hex=0
mender_check_saveenv_canary=1
mender_dtb_name=efusa9dl.dtb
mender_kernel_name=zImage
mender_mtd_ubi_dev_name=TargetFS
mender_saveenv_canary=1
mender_setup=if test "${mender_saveenv_canary}" != "1"; then setenv mender_saveenv_canary 1; saveenv; fi; if test "${mender_pre_setup_commands}" != ""; then run mender_pre_setup_commands; fi; setenv mender_kernel_root TargetFS${mender_boot_part}; if test ${mender_boot_part} = 0; then setenv mender_boot_part_name rootfsA; else setenv mender_boot_part_name rootfsB; fi; setenv mender_kernel_root_name ${mender_boot_part_name}; setenv mender_uboot_root nand :${mender_boot_part_hex}; setenv mender_uboot_root_name ${mender_boot_part_name}; setenv expand_bootargs "setenv bootargs \\"${bootargs}\\""; run expand_bootargs; setenv expand_bootargs; if test "${mender_post_setup_commands}" != ""; then run mender_post_setup_commands; fi
mender_try_to_recover=if test ${upgrade_available} = 1; then reset; fi
mender_uboot_boot=nand :0
mender_uboot_if=nand
mmcdev=0
mode=rw
mtddevname=NBoot
mtddevnum=0
mtdids=nand0=gpmi-nand
mtdparts=mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot),256k(UBootEnv),-(TargetFS)
netdev=eth0
netmask=255.0.0.0
network=ip=dhcp
partition=nand0,0
platform=efusa9dl
rootpath=/rootfs
sercon=ttymxc3
serverip=10.0.0.91
set_bootargs=setenv bootargs ${console} ${login} ${init}
stderr=serial
stdin=serial
stdout=serial
upgrade_available=0
usdhcdev=0

mount

>ubi0:rootfsA on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=88956k,nr_inodes=22239,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)

mender-artifact read Artifact_test.mender

> Mender artifact:
  Name: Artifact_test
  Format: mender
  Version: 3
  Signature: no signature
  Compatible devices: '[BUILDROOT_DEVICE_2]'
  Provides group: 
  Depends on one of artifact(s): []
  Depends on one of group(s): []
  State scripts:
Updates:
    0:
    Type:   single-file
    Provides: Nothing
    Depends: Nothing
    Metadata: Nothing
    Files:
      name:     dest_dir
      size:     31
      modified: 2020-10-05 07:23:25 +0000 UTC
      checksum: ef46778e4dd65fa656122d5d4e1aad99d9092a81aabf1863031353b3e1475052
      name:     filename
      size:     13
      modified: 2020-10-05 07:23:25 +0000 UTC
      checksum: d8463bda1bedde9b42cf9eda58c9d8945f5df91ba6f28c18086e61e996d7a980
      name:     permissions
      size:     4
      modified: 2020-10-05 07:23:25 +0000 UTC
      checksum: 0a2a5ea75282bf45dfcd2df50bea57b953ffecba63d8809c4e9abd233b828f73
      name:     rootfs.ubifs
      size:     102850560
      modified: 2020-10-05 06:26:33 +0000 UTC
      checksum: 60e7c256415b5ce54adcca58f9cca7ff21565bd594d3bda847446853da0fef7b

edit: @mirzak: fix formatting

Mender artifact installation:

>\# mender -debug -install Artifact_test.mender
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/conf/config.go:174 github.com/mendersoftware/mender/conf.loadConfigFile() Configuration file does not exist: /var/lib/mend                                                    er/mender.conf
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/conf/config.go:191 github.com/mendersoftware/mender/conf.readConfigFile() Reading Mender configuration from file /etc/mend                                                    er/mender.conf
INFO[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/conf/config.go:184 github.com/mendersoftware/mender/conf.loadConfigFile() Loaded configuration file: /etc/mender/mender.co                                                    nf
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/conf/config.go:125 github.com/mendersoftware/mender/conf.LoadConfig() Loaded 1 configuration file(s)
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/conf/config.go:132 github.com/mendersoftware/mender/conf.LoadConfig() Loaded configuration = &conf.MenderConfig{MenderConf                                                    igFromFile:conf.MenderConfigFromFile{ClientProtocol:"", ArtifactVerifyKey:"", HttpsClient:struct { Certificate string; Key string; SkipVe                                                    rify bool }{Certificate:"", Key:"", SkipVerify:false}, RootfsPartA:"ubi0_0", RootfsPartB:"ubi0_1", DeviceTypeFile:"/var/lib/mender/device                                                    _type", UpdatePollIntervalSeconds:30, InventoryPollIntervalSeconds:30, RetryPollIntervalSeconds:30, StateScriptTimeoutSeconds:0, StateScr                                                    iptRetryTimeoutSeconds:0, StateScriptRetryIntervalSeconds:0, ModuleTimeoutSeconds:0, ServerCertificate:"", ServerURL:"https://hosted.mend                                                    er.io", UpdateLogPath:"", TenantToken:[spoiler]"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW5kZXIudGVuYW50IjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3Iiwia                                                    XNzIjoiTWVuZGVyIiwic3ViIjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3In0.TwMP0KxZvRd-exN5MqOlEKQaHHqtXbLRyKDL1oXjHULwG8BO7eXAziqD-KSQnTSxLUJZ9mkIm5                                                    jbqbE3FKrOH3f7cyIu8aX9J7LefbJTjBWyEiz75OgrYen81SGgGK3gtyx9gRdPR8e8iJLY9kkQjhG8xd99sd_q7YDDgvXL659g_GemA7wBhNMUiJiIz0RHglFV4OFRdmgSJgGTOGQ                                                    YLt-USkbvyT41qB58EsmM62-pL3agte4Fam47Bjf2QBbInrPCfeKHjgSmG3yhxPLUyjzt_QwLDnoAUAgxWRzuh8jsxrpHD3CmX5YLKeHrO5cwxaBn7akMDAGMPocmAF_4NsRB33_U                                                    SVR1MpbPT28GR88ZCogspdr95jBFfCnLAlDI_X6ZsdBQxEU-M-6DoYyJmYNmD6ux-_wY6eRVplPUfBshLoFb9kg9a1rNXXaG1ZsOEzplSEMGzEXoykAYbMrm5lduccpEe71y4DcEG                                                    N0QS1cw6W9FYIK-dC-JCdZ4TD3N"[/spoiler], Servers:[]client.MenderServer(nil)}, ModulesPath:"/usr/share/mender/modules/v3", ModulesWorkPath:"/var/lib/                                                    mender/modules/v3", ArtifactInfoFile:"/etc/mender/artifact_info", ArtifactScriptsPath:"/var/lib/mender/scripts", RootfsScriptsPath:"/etc/                                                    mender/scripts"}
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/conf/config.go:165 github.com/mendersoftware/mender/conf.(*MenderConfig).Validate() Verified configuration = &conf.MenderC                                                    onfig{MenderConfigFromFile:conf.MenderConfigFromFile{ClientProtocol:"", ArtifactVerifyKey:"", HttpsClient:struct { Certificate string; Ke                                                    y string; SkipVerify bool }{Certificate:"", Key:"", SkipVerify:false}, RootfsPartA:"ubi0_0", RootfsPartB:"ubi0_1", DeviceTypeFile:"/var/l                                                    ib/mender/device_type", UpdatePollIntervalSeconds:30, InventoryPollIntervalSeconds:30, RetryPollIntervalSeconds:30, StateScriptTimeoutSec                                                    onds:0, StateScriptRetryTimeoutSeconds:0, StateScriptRetryIntervalSeconds:0, ModuleTimeoutSeconds:0, ServerCertificate:"", ServerURL:"htt                                                    ps://hosted.mender.io", UpdateLogPath:"", TenantToken:[spoiler]"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW5kZXIudGVuYW50IjoiNWY1NzlkOGZjNjY4YTBhM                                                    jM4ZDNiM2M3IiwiaXNzIjoiTWVuZGVyIiwic3ViIjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3In0.TwMP0KxZvRd-exN5MqOlEKQaHHqtXbLRyKDL1oXjHULwG8BO7eXAziqD-K                                                    SQnTSxLUJZ9mkIm5jbqbE3FKrOH3f7cyIu8aX9J7LefbJTjBWyEiz75OgrYen81SGgGK3gtyx9gRdPR8e8iJLY9kkQjhG8xd99sd_q7YDDgvXL659g_GemA7wBhNMUiJiIz0RHglF                                                    V4OFRdmgSJgGTOGQYLt-USkbvyT41qB58EsmM62-pL3agte4Fam47Bjf2QBbInrPCfeKHjgSmG3yhxPLUyjzt_QwLDnoAUAgxWRzuh8jsxrpHD3CmX5YLKeHrO5cwxaBn7akMDAGM                                                    PocmAF_4NsRB33_USVR1MpbPT28GR88ZCogspdr95jBFfCnLAlDI_X6ZsdBQxEU-M-6DoYyJmYNmD6ux-_wY6eRVplPUfBshLoFb9kg9a1rNXXaG1ZsOEzplSEMGzEXoykAYbMrm5                                                    lduccpEe71y4DcEGN0QS1cw6W9FYIK-dC-JCdZ4TD3N"[/spoiler], Servers:[]client.MenderServer{client.MenderServer{ServerURL:"https://hosted.mender.io"}}},                                                     ModulesPath:"/usr/share/mender/modules/v3", ModulesWorkPath:"/var/lib/mender/modules/v3", ArtifactInfoFile:"/etc/mender/artifact_info", A                                                    rtifactScriptsPath:"/var/lib/mender/scripts", RootfsScriptsPath:"/etc/mender/scripts"}
WARN[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi                                                    0_0 Attempting to continue
WARN[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi                                                    0_1 Attempting to continue
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/bootenv.go:153 github.com/mendersoftware/mender/installer.getEnvironmentVariable() Have U-Boot variable: mender_                                                    check_saveenv_canary=1
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/bootenv.go:176 github.com/mendersoftware/mender/installer.getEnvironmentVariable() List of U-Boot variables:map[                                                    mender_check_saveenv_canary:1]
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/bootenv.go:153 github.com/mendersoftware/mender/installer.getEnvironmentVariable() Have U-Boot variable: mender_                                                    saveenv_canary=1
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/bootenv.go:176 github.com/mendersoftware/mender/installer.getEnvironmentVariable() List of U-Boot variables:map[                                                    mender_saveenv_canary:1]
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/bootenv.go:153 github.com/mendersoftware/mender/installer.getEnvironmentVariable() Have U-Boot variable: mender_                                                    boot_part=0
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/bootenv.go:176 github.com/mendersoftware/mender/installer.getEnvironmentVariable() List of U-Boot variables:map[                                                    mender_boot_part:0]
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/partitions.go:202 github.com/mendersoftware/mender/installer.(*partitions).getAndCacheActivePartition() Setting                                                     active partition from configuration and environment: ubi0_0
INFO[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/cli/cli.go:419 github.com/mendersoftware/mender/cli.(*runOptionsType).commonCLIHandler() Mender running on partition: ubi0                                                    _0
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/store/keystore.go:176 github.com/mendersoftware/mender/store.loadFromPem() Block type: RSA PRIVATE KEY
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:881 github.com/mendersoftware/mender/installer.NewModuleInstallerFactory() ModuleTimeoutSeconds not s                                                    et. Defaulting to 14400 seconds
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/app/standalone.go:54 github.com/mendersoftware/mender/app.DoStandaloneInstall() Starting device update.                                                                       
INFO[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/app/standalone.go:74 github.com/mendersoftware/mender/app.DoStandaloneInstall() Start updating from local image file: [Art                                                    ifact_test.mender]
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/app/standalone.go:77 github.com/mendersoftware/mender/app.DoStandaloneInstall() Fetching update from file results: [&{0x19                                                    34a40}], 86223360, <nil>
Installing Artifact of size 86223360...
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:79 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file:                                                     /var/lib/mender/device_type
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:90 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2                                                                  
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:97 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2                                                       
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for                                                     executing scripts is not defined; using default of 1h0m0s seconds
INFO[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/installer.go:109 github.com/mendersoftware/mender/installer.ReadHeaders() No public key was provided for authent                                                    icating the artifact
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/installer.go:120 github.com/mendersoftware/mender/installer.ReadHeaders.func1() Checking if device [BUILDROOT_DE                                                    VICE_2] is on compatible device list: [BUILDROOT_DEVICE_2]
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:673 github.com/mendersoftware/mender/installer.(*ModuleInstaller).Initialize() Executing ModuleInstal                                                    ler.Initialize
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:133 github.com/mendersoftware/mender/device.(*DeviceManager).GetCurrentArtifactName() Returning artifact                                                     name from /etc/mender/artifact_info file.
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:79 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file:                                                     /etc/mender/artifact_info
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:90 github.com/mendersoftware/mender/device.GetManifestData() artifact_name=BUILDROOT_ARTIFACT                                                                
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:97 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_ARTIFACT                                                       
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:79 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file:                                                     /etc/mender/artifact_info
DEBU[0000]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:90 github.com/mendersoftware/mender/device.GetManifestData() artifact_name=BUILDROOT_ARTIFACT                                                                
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:79 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file:                                                     /var/lib/mender/device_type
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:90 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2                                                                  
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/device/device.go:97 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2                                                       
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/installer.go:196 github.com/mendersoftware/mender/installer.ReadHeaders() Installer: Successfully read artifact                                                     [name: Artifact_test; version: 3; compatible devices: [BUILDROOT_DEVICE_2]]
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:694 github.com/mendersoftware/mender/installer.(*ModuleInstaller).PrepareStoreUpdate() Executing Modu                                                    leInstaller.PrepareStoreUpdate
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:698 github.com/mendersoftware/mender/installer.(*ModuleInstaller).PrepareStoreUpdate() Calling module                                                    : /usr/share/mender/modules/v3/single-file Download /var/lib/mender/modules/v3/payloads/0000/tree
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:728 github.com/mendersoftware/mender/installer.(*ModuleInstaller).StoreUpdate() Executing ModuleInsta                                                    ller.StoreUpdate
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:728 github.com/mendersoftware/mender/installer.(*ModuleInstaller).StoreUpdate() Executing ModuleInsta                                                    ller.StoreUpdate
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:728 github.com/mendersoftware/mender/installer.(*ModuleInstaller).StoreUpdate() Executing ModuleInsta                                                    ller.StoreUpdate
DEBU[0001]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/menders                                                    oftware/mender/installer/modules.go:728 github.com/mendersoftware/mender/installer.(*ModuleInstaller).StoreUpdate() Executing ModuleInsta                                                    ller.StoreUpdate
................................   1% 1024 KiB
................................   2% 2048 KiB
................................   3% 3072 KiB
................................   4% 4096 KiB
................................   6% 5120 KiB
................................   7% 6144 KiB
................................   8% 7168 KiB
................................   9% 8192 KiB
................................  10% 9216 KiB
....................
............  12% 10240 KiB
................................  13% 11264 KiB
................................  14% 12288 KiB
................................  15% 13312 KiB
................................  17% 14336 KiB
................................  18% 15360 KiB
................................  19% 16384 KiB
..DEBU[0011]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/modules.go:738 github.com/mendersoftware/mender/installer.(*ModuleInstaller).FinishStoreUpdate() Executing ModuleInstaller.FinishStoreUpdate
ERRO[0011]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/app/standalone.go:158 github.com/mendersoftware/mender/app.doStandaloneInstallStatesDownload() Download failed: Payload: can not install Payload: rootfs.ubifs: Unable to stream into /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: write /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: no space left on device
DEBU[0011]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0011]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/modules.go:838 github.com/mendersoftware/mender/installer.(*ModuleInstaller).Cleanup() Executing ModuleInstaller.Cleanup
DEBU[0011]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/installer/modules.go:91 github.com/mendersoftware/mender/installer.(*ModuleInstaller).callModule() Calling module: /usr/share/mender/modules/v3/single-file Cleanup /var/lib/mender/modules/v3/payloads/0000/tree
ERRO[0011]/home/developer/mender_integration/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.3.0/_gopath/src/github.com/mendersoftware/mender/main.go:31 main.doMain() Payload: can not install Payload: rootfs.ubifs: Unable to stream into /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: write /var/lib/mender/modules/v3/payloads/0000/tree/files/rootfs.ubifs: no space left on device

edit: @mirzak: fix formatting

How come you are using a single-file as Artifact type. This should be rootfs-image if you are doing A/B updates.

How do you create the Artifact?

I see, I used the wrong flag for building the artifact. I’m sorry for that. With the correct flag it works perfectly offline. The update installs and on the next boot it starts.

I inspected the mender remote update package and I did not make the same mistake there.

Both ways? A -> B and B -> A ?

Yes, with interruption and additionally rollback.

Oki, so can you please share the full log of the Mender client during an update cycle where it fails?

# mender -debug daemon
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/conf/config.go:175 github.com/mendersoftware/mender/conf.loadConfigFile() Configuration file does not exist: /var/lib/mender/mender.conf
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/conf/config.go:192 github.com/mendersoftware/mender/conf.readConfigFile() Reading Mender configuration from file /etc/mender/mender.conf
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/conf/config.go:185 github.com/mendersoftware/mender/conf.loadConfigFile() Loaded configuration file: /etc/mender/mender.conf
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/conf/config.go:124 github.com/mendersoftware/mender/conf.LoadConfig() Loaded 1 configuration file(s)
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/conf/config.go:131 github.com/mendersoftware/mender/conf.LoadConfig() Loaded configuration = &conf.MenderConfig{MenderConfigFromFile:conf.MenderConfigFromFile{ClientProtocol:"", ArtifactVerifyKey:"", HttpsClient:client.HttpsClient{Certificate:"", Key:"", SSLEngine:""}, RootfsPartA:"ubi0_0", RootfsPartB:"ubi0_1", DeviceTypeFile:"/var/lib/mender/device_type", UpdatePollIntervalSeconds:30, InventoryPollIntervalSeconds:30, SkipVerify:false, RetryPollIntervalSeconds:30, StateScriptTimeoutSeconds:0, StateScriptRetryTimeoutSeconds:0, StateScriptRetryIntervalSeconds:0, ModuleTimeoutSeconds:0, ServerCertificate:"", ServerURL:"https://hosted.mender.io", UpdateLogPath:"", TenantToken:"[spoiler]eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW5kZXIudGVuYW50IjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3IiwiaXNzIjoiTWVuZGVyIiwic3ViIjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3In0.TwMP0KxZvRd-exN5MqOlEKQaHHqtXbLRyKDL1oXjHULwG8BO7eXAziqD-KSQnTSxLUJZ9mkIm5jbqbE3FKrOH3f7cyIu8aX9J7LefbJTjBWyEiz75OgrYen81SGgGK3gtyx9gRdPR8e8iJLY9kkQjhG8xd99sd_q7YDDgvXL659g_GemA7wBhNMUiJiIz0RHglFV4OFRdmgSJgGTOGQYLt-USkbvyT41qB58EsmM62-pL3agte4Fam47Bjf2QBbInrPCfeKHjgSmG3yhxPLUyjzt_QwLDnoAUAgxWRzuh8jsxrpHD3CmX5YLKeHrO5cwxaBn7akMDAGMPocmAF_4NsRB33_USVR1MpbPT28GR88ZCogspdr95jBFfCnLAlDI_X6ZsdBQxEU-M-6DoYyJmYNmD6ux-_wY6eRVplPUfBshLoFb9kg9a1rNXXaG1ZsOEzplSEMGzEXoykAYbMrm5lduccpEe71y4DcEGN0QS1cw6W9FYIK-dC-JCdZ4TD3N[/spoiler]", Servers:[]client.MenderServer(nil)}, ModulesPath:"/usr/share/mender/modules/v3", ModulesWorkPath:"/var/lib/mender/modules/v3", ArtifactInfoFile:"/etc/mender/artifact_info", ArtifactScriptsPath:"/var/lib/mender/scripts", RootfsScriptsPath:"/etc/mender/scripts"}
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/conf/config.go:166 github.com/mendersoftware/mender/conf.(*MenderConfig).Validate() Verified configuration = &conf.MenderConfig{MenderConfigFromFile:conf.MenderConfigFromFile{ClientProtocol:"", ArtifactVerifyKey:"", HttpsClient:client.HttpsClient{Certificate:"", Key:"", SSLEngine:""}, RootfsPartA:"ubi0_0", RootfsPartB:"ubi0_1", DeviceTypeFile:"/var/lib/mender/device_type", UpdatePollIntervalSeconds:30, InventoryPollIntervalSeconds:30, SkipVerify:false, RetryPollIntervalSeconds:30, StateScriptTimeoutSeconds:0, StateScriptRetryTimeoutSeconds:0, StateScriptRetryIntervalSeconds:0, ModuleTimeoutSeconds:0, ServerCertificate:"", ServerURL:"https://hosted.mender.io", UpdateLogPath:"", TenantToken:"[spoiler]eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW5kZXIudGVuYW50IjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3IiwiaXNzIjoiTWVuZGVyIiwic3ViIjoiNWY1NzlkOGZjNjY4YTBhMjM4ZDNiM2M3In0.TwMP0KxZvRd-exN5MqOlEKQaHHqtXbLRyKDL1oXjHULwG8BO7eXAziqD-KSQnTSxLUJZ9mkIm5jbqbE3FKrOH3f7cyIu8aX9J7LefbJTjBWyEiz75OgrYen81SGgGK3gtyx9gRdPR8e8iJLY9kkQjhG8xd99sd_q7YDDgvXL659g_GemA7wBhNMUiJiIz0RHglFV4OFRdmgSJgGTOGQYLt-USkbvyT41qB58EsmM62-pL3agte4Fam47Bjf2QBbInrPCfeKHjgSmG3yhxPLUyjzt_QwLDnoAUAgxWRzuh8jsxrpHD3CmX5YLKeHrO5cwxaBn7akMDAGMPocmAF_4NsRB33_USVR1MpbPT28GR88ZCogspdr95jBFfCnLAlDI_X6ZsdBQxEU-M-6DoYyJmYNmD6ux-_wY6eRVplPUfBshLoFb9kg9a1rNXXaG1ZsOEzplSEMGzEXoykAYbMrm5lduccpEe71y4DcEGN0QS1cw6W9FYIK-dC-JCdZ4TD3N[/spoiler]", Servers:[]client.MenderServer{client.MenderServer{ServerURL:"https://hosted.mender.io"}}}, ModulesPath:"/usr/share/mender/modules/v3", ModulesWorkPath:"/var/lib/mender/modules/v3", ArtifactInfoFile:"/etc/mender/artifact_info", ArtifactScriptsPath:"/var/lib/mender/scripts", RootfsScriptsPath:"/etc/mender/scripts"}
WARN[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi0_0 Attempting to continue
WARN[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi0_1 Attempting to continue
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/bootenv.go:153 github.com/mendersoftware/mender/installer.getEnvironmentVariable() Have U-Boot variable: mender_check_saveenv_canary=1
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/bootenv.go:176 github.com/mendersoftware/mender/installer.getEnvironmentVariable() List of U-Boot variables:map[mender_check_saveenv_canary:1]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/bootenv.go:153 github.com/mendersoftware/mender/installer.getEnvironmentVariable() Have U-Boot variable: mender_saveenv_canary=1
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/bootenv.go:176 github.com/mendersoftware/mender/installer.getEnvironmentVariable() List of U-Boot variables:map[mender_saveenv_canary:1]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/bootenv.go:153 github.com/mendersoftware/mender/installer.getEnvironmentVariable() Have U-Boot variable: mender_boot_part=1
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/bootenv.go:176 github.com/mendersoftware/mender/installer.getEnvironmentVariable() List of U-Boot variables:map[mender_boot_part:1]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:207 github.com/mendersoftware/mender/installer.(*partitions).getAndCacheActivePartition() Setting active partition from configuration and environment: ubi0_1
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/cli/cli.go:419 github.com/mendersoftware/mender/cli.(*runOptionsType).commonCLIHandler() Mender running on partition: ubi0_1
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/modules.go:881 github.com/mendersoftware/mender/installer.NewModuleInstallerFactory() ModuleTimeoutSeconds not set. Defaulting to 14400 seconds
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: init [none] -> init [none]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:269 github.com/mendersoftware/mender/app.(*initState).Handle() No state data stored
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: init [none] -> idle [Idle]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:198 github.com/mendersoftware/mender/app.(*Mender).IsAuthorized() authorization data present and valid
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: idle [Idle] -> check-wait [Idle]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1120 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Handle check wait state
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1131 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Check wait state; next checks: (update: 0001-01-01 00:00:30 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1149 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2020-10-06 15:12:29.414317009 +0000 UTC m=+0.795749334)
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1181 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Check wait returned: inventory-update
INFO[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: check-wait [Idle] -> inventory-update [Sync]
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:134 github.com/mendersoftware/mender/device.(*DeviceManager).GetCurrentArtifactName() Returning artifact name from /etc/mender/artifact_info file.
DEBU[0000]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /etc/mender/artifact_info
DEBU[0001]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() artifact_name=BUILDROOT_ARTIFACT
DEBU[0001]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_ARTIFACT
DEBU[0001]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /var/lib/mender/device_type
DEBU[0001]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2
DEBU[0001]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_inventory.go:55 github.com/mendersoftware/mender/client.(*InventoryClient).Submit() Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Cache-Control:[no-cache, no-store] Connection:[keep-alive] Content-Encoding:[gzip] Content-Length:[0] Content-Security-Policy:[default-src https: data: 'unsafe-inline' 'unsafe-eval'] Content-Type:[application/json; charset=utf-8] Date:[Tue, 06 Oct 2020 15:12:30 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-Frame-Options:[SAMEORIGIN] X-Inventory-Version:[unknown] X-Men-Requestid:[1ec37544-9038-44da-955c-df0e8818f21b] X-Xss-Protection:[1; mode=block]] 0x1acad10 0 [] false false map[] 0x186ed00 0x1886480}
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1198 github.com/mendersoftware/mender/app.(*inventoryUpdateState).Handle() Inventory refresh complete
INFO[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: inventory-update [Sync] -> check-wait [Idle]
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1120 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Handle check wait state
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1131 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Check wait state; next checks: (update: 0001-01-01 00:00:30 +0000 UTC) (inventory: 2020-10-06 15:12:59.414317009 +0000 UTC m=+30.795749334)
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1149 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Next check: 0001-01-01 00:00:30 +0000 UTC:update-check, (2020-10-06 15:12:30.971651009 +0000 UTC m=+2.353082667)
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1181 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Check wait returned: update-check
INFO[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: check-wait [Idle] -> update-check [Sync]
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:662 github.com/mendersoftware/mender/app.(*updateCheckState).Handle() Handle update check state
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:134 github.com/mendersoftware/mender/device.(*DeviceManager).GetCurrentArtifactName() Returning artifact name from /etc/mender/artifact_info file.
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /etc/mender/artifact_info
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() artifact_name=BUILDROOT_ARTIFACT
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_ARTIFACT
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /var/lib/mender/device_type
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_update.go:183 github.com/mendersoftware/mender/client.processUpdateResponse() Received response:204 No Content
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_update.go:206 github.com/mendersoftware/mender/client.processUpdateResponse() No update available
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:383 github.com/mendersoftware/mender/app.(*Mender).CheckUpdate() no updates available
INFO[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: update-check [Sync] -> check-wait [Idle]
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1120 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Handle check wait state
DEBU[0002]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1131 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Check wait state; next checks: (update: 2020-10-06 15:13:00.971651009 +0000 UTC m=+32.353082667) (inventory: 2020-10-06 15:12:59.414317009 +0000 UTC m=+30.795749334)
DEBU[0003]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1149 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Next check: 2020-10-06 15:12:59.414317009 +0000 UTC m=+30.795749334:inventory-update, (2020-10-06 15:12:31.76630401 +0000 UTC m=+3.147736668)
DEBU[0003]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1177 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Waiting 27.648012666s for the next state
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:191 github.com/mendersoftware/mender/app.(*waitState).Wait() Wait complete
INFO[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: check-wait [Idle] -> inventory-update [Sync]
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:134 github.com/mendersoftware/mender/device.(*DeviceManager).GetCurrentArtifactName() Returning artifact name from /etc/mender/artifact_info file.
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /etc/mender/artifact_info
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() artifact_name=BUILDROOT_ARTIFACT
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_ARTIFACT
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /var/lib/mender/device_type
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2
DEBU[0030]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_inventory.go:55 github.com/mendersoftware/mender/client.(*InventoryClient).Submit() Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Cache-Control:[no-cache, no-store] Connection:[keep-alive] Content-Encoding:[gzip] Content-Length:[0] Content-Security-Policy:[default-src https: data: 'unsafe-inline' 'unsafe-eval'] Content-Type:[application/json; charset=utf-8] Date:[Tue, 06 Oct 2020 15:12:59 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-Frame-Options:[SAMEORIGIN] X-Inventory-Version:[unknown] X-Men-Requestid:[ab0b6a11-45bf-4963-9653-0cedfb65bed8] X-Xss-Protection:[1; mode=block]] 0x1adc050 0 [] false false map[] 0x1818780 0x1886480}
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1198 github.com/mendersoftware/mender/app.(*inventoryUpdateState).Handle() Inventory refresh complete
INFO[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: inventory-update [Sync] -> check-wait [Idle]
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1120 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Handle check wait state
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1131 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Check wait state; next checks: (update: 2020-10-06 15:13:00.971651009 +0000 UTC m=+32.353082667) (inventory: 2020-10-06 15:13:29.414317009 +0000 UTC m=+60.795749334)
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1149 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Next check: 2020-10-06 15:13:00.971651009 +0000 UTC m=+32.353082667:update-check, (2020-10-06 15:12:59.71716368 +0000 UTC m=+31.098595338)
DEBU[0031]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:1177 github.com/mendersoftware/mender/app.(*checkWaitState).Handle() Waiting 1.254487329s for the next state
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:191 github.com/mendersoftware/mender/app.(*waitState).Wait() Wait complete
INFO[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: check-wait [Idle] -> update-check [Sync]
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:662 github.com/mendersoftware/mender/app.(*updateCheckState).Handle() Handle update check state
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:134 github.com/mendersoftware/mender/device.(*DeviceManager).GetCurrentArtifactName() Returning artifact name from /etc/mender/artifact_info file.
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /etc/mender/artifact_info
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() artifact_name=BUILDROOT_ARTIFACT
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_ARTIFACT
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /var/lib/mender/device_type
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_update.go:183 github.com/mendersoftware/mender/client.processUpdateResponse() Received response:200 OK
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_update.go:192 github.com/mendersoftware/mender/client.processUpdateResponse() Have update available
INFO[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_update.go:175 github.com/mendersoftware/mender/client.validateGetUpdate() Correct request for getting image from: https://s3.amazonaws.com/hosted-mender-artifacts/5f579d8fc668a0a238d3b3c7/6c40370e-9776-45d1-9afe-4f29b4efb872?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6MOCESDWO%2F20201006%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201006T151301Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=5c8e3e0879ef25c9df934e7e68203b84306ce1e2e9f78363afe4e6cee869c385 [name: i.mx_test_0.1; devices: [BUILDROOT_DEVICE_2]]
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:391 github.com/mendersoftware/mender/app.(*Mender).CheckUpdate() Received update response: {{{https://s3.amazonaws.com/hosted-mender-artifacts/5f579d8fc668a0a238d3b3c7/6c40370e-9776-45d1-9afe-4f29b4efb872?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6MOCESDWO%2F20201006%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201006T151301Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=5c8e3e0879ef25c9df934e7e68203b84306ce1e2e9f78363afe4e6cee869c385 2020-10-06T15:13:01.055681184Z} [BUILDROOT_DEVICE_2] [] i.mx_test_0.1  map[]} 2b70e7ca-0380-4238-a1cd-9dcc6435d9ab []  0 false}
INFO[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: update-check [Sync] -> update-fetch [Download_Enter]
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/statescript/executor.go:82 github.com/mendersoftware/mender/statescript.Launcher.getTimeout() statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds
INFO[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/deployment_logger.go:143 github.com/mendersoftware/mender/app.(*DeploymentLogManager).Enable() Running Mender client version: unknown
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:704 github.com/mendersoftware/mender/app.(*updateFetchState).Handle() Handling update fetch state
DEBU[0032]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_status.go:90 github.com/mendersoftware/mender/client.(*StatusClient).Report() Status reported, response 204 No Content
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_update.go:146 github.com/mendersoftware/mender/client.(*UpdateClient).FetchUpdate() Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Accept-Ranges:[bytes] Content-Length:[86441984] Content-Type:[application/vnd.mender-artifact] Date:[Tue, 06 Oct 2020 15:13:03 GMT] Etag:["3a2f06ac585904390a97e40ed25bd3fb-9"] Expires:[Tue, 06 Oct 2020 14:19:11 GMT] Last-Modified:[Tue, 06 Oct 2020 14:09:12 GMT] Server:[AmazonS3] X-Amz-Id-2:[Mu8nUPSnD+l6gYNivas7oRfKsLtJFs9V9iuIh12MHL4xaxfaX5tK1+Kpa6smfjGtZpQwu4nmCnc=] X-Amz-Request-Id:[29718181270A723E]] 0x1adda60 86441984 [] false false map[] 0x186e680 0x1b14ea0}+
INFO[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/mender.go:591 github.com/mendersoftware/mender/app.transitionState() State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/app/state.go:777 github.com/mendersoftware/mender/app.(*updateStoreState).Handle() Handling update install state
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/client_status.go:90 github.com/mendersoftware/mender/client.(*StatusClient).Report() Status reported, response 204 No Content
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:80 github.com/mendersoftware/mender/device.GetManifestData() Reading data from the device manifest file: /var/lib/mender/device_type
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:91 github.com/mendersoftware/mender/device.GetManifestData() device_type=BUILDROOT_DEVICE_2
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/device/device.go:98 github.com/mendersoftware/mender/device.GetManifestData() Current manifest data: BUILDROOT_DEVICE_2
INFO[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/installer.go:109 github.com/mendersoftware/mender/installer.ReadHeaders() No public key was provided for authenticating the artifact
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/installer.go:120 github.com/mendersoftware/mender/installer.ReadHeaders.func1() Checking if device [BUILDROOT_DEVICE_2] is on compatible device list: [BUILDROOT_DEVICE_2]
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/installer.go:196 github.com/mendersoftware/mender/installer.ReadHeaders() Installer: Successfully read artifact [name: i.mx_test_0.1; version: 3; compatible devices: [BUILDROOT_DEVICE_2]]
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:55 github.com/mendersoftware/mender/installer.(*partitions).GetActive() Active partition: ubi0_1
WARN[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi0_1 Attempting to continue
WARN[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:240 github.com/mendersoftware/mender/installer.maybeResolveLink() Could not resolve path link: ubi0_1 Attempting to continue
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/partitions.go:82 github.com/mendersoftware/mender/installer.(*partitions).getAndCacheInactivePartition() Detected inactive partition ubi0_0, based on active partition ubi0_1
INFO[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:66 github.com/mendersoftware/mender/installer.bdevice.Open() Opening device "ubi0_0" for writing
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:71 github.com/mendersoftware/mender/installer.bdevice.Open() Installing update of size: 102850560
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:94 github.com/mendersoftware/mender/installer.bdevice.Open() Device: ubi0_0 is a ubi device: true
INFO[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:146 github.com/mendersoftware/mender/installer.bdevice.Open() Native sector size of block device /dev/ubi0_0 is 126976 bytes. Mender will write in chunks of 2031616 bytes
DEBU[0033]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/installer/block_device.go:152 github.com/mendersoftware/mender/installer.bdevice.Open() Opening device: /dev/ubi0_0 for writing with flag: 1
ubi0 error: ubi_open_volume: cannot open device 0, volume 0, error -16
ERRO[0064]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/update_resumer.go:77 github.com/mendersoftware/mender/client.(*UpdateResumer).Read() Download connection broken: read tcp 10.0.0.58:35558->52.216.102.125:443: read: connection reset by peer
INFO[0064]/home/developer/mender_integration/efusA9/buildroot-2019.05.3-fsimx6-B2020.04/output/build/mender-2.4.0/_gopath/src/github.com/mendersoftware/mender/client/update_resumer.go:85 github.com/mendersoftware/mender/client.(*UpdateResumer).Read() Resuming download in 1m0s

I’m sorry for splitting the post, but I run into the word limit. Update is from B -> A

What does ubinfo /dev/ubi0 -a show?