Skip to content

Automatic FUM update starts on every TTY #1603

@m-iwanicki

Description

@m-iwanicki

Component

Dasharo Tools Suite

Device

QEMU Q35 Emulator

Dasharo version

v0.2.1-rc1

Dasharo Tools Suite version

v2.6.0

Test case ID

No response

Brief summary

Automatic update done when DTS is booted via FUM starts on every tty which starts dts-boot

How reproducible

100%

How to reproduce

Start DTS via FUM on platform with serial (ttyS0) and other tty e.g. tty1 (probably most platforms).

Expected behavior

Only one update workflow running, possibly mirrored to all tty

Actual behavior

Multiple, separate update workflows

Screenshots

QEMU example, update tries to run on both tty1 and ttyS0

Image

Additional context

This might result in hard to debug or reproduce bugs (e.g. race conditions) that result from workflows using the same files, accessing flash at the same time, e.t.c.

Solutions you've tried

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions